/frameworks/rs/ |
H A D | rsScriptC_Lib.cpp | 182 uint32_t width, uint32_t height, 187 dstMip, dstFace, width, height, 179 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsScriptC_Lib.cpp | 182 uint32_t width, uint32_t height, 187 dstMip, dstFace, width, height, 179 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument 141 GLES20.glViewport(0, 0, width, height); 142 mRatio = (float) width / height;
|
H A D | NativeMedia.java | 86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 88 height); 108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 110 height); 132 int height = mediaPlayer.getVideoHeight(); 133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height); 134 if (width != 0 && height ! 345 setFixedSize(int width, int height) argument 359 setFixedSize(int width, int height) argument 381 setFixedSize(int width, int height) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 108 * @param height the height of the image 112 public FaceDetector(int width, int height, int maxFaces) argument 117 fft_initialize(width, height, maxFaces); 119 mHeight = height; 121 mBWBuffer = new byte[width * height]; 189 native private int fft_initialize(int width, int height, int maxFaces); argument
|
H A D | MediaFormat.java | 88 * A key describing the height of the content in a video format. 91 public static final String KEY_HEIGHT = "height"; 131 public static final String KEY_SLICE_HEIGHT = "slice-height"; 280 * @param height The height of the content (in pixels) 285 int height) { 289 format.setInteger(KEY_HEIGHT, height); 282 createVideoFormat( String mime, int width, int height) argument
|
H A D | ThumbnailUtils.java | 181 int height = bitmap.getHeight(); 182 int max = Math.max(width, height); 186 int h = Math.round(scale * height); 203 * @param height targeted height 206 Bitmap source, int width, int height) { 207 return extractThumbnail(source, width, height, OPTIONS_NONE); 215 * @param height targeted height 219 Bitmap source, int width, int height, in 205 extractThumbnail( Bitmap source, int width, int height) argument 218 extractThumbnail( Bitmap source, int width, int height, int options) argument [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorThumbnailMain.cpp | 70 * @param height (IN) Height of thumbnail 76 M4OSA_UInt32 width, M4OSA_UInt32 height, 221 M4OSA_UInt32 width, M4OSA_UInt32 height, 228 if ((pC->m_width != width) || (pC->m_height != height)) 231 0, 0, width, height); 234 pC->m_height = height; 267 M4OSA_UInt32 height, M4OSA_UInt32* timeMS, 281 err = ThumbnailGetPixels(pContext, pixelArray, width, height, timeMS, tolerance); 290 M4OSA_UInt32 height, M4OSA_UInt32* timeMS, 303 err = ThumbnailGetPixels(pContext, (M4OSA_Int32*)pixelArray, width, height, 219 ThumbnailGetPixels(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance) argument 265 ThumbnailGetPixels32(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument 288 ThumbnailGetPixels16(const M4OSA_Context pContext, M4OSA_Int16* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLEnvironment.java | 110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument 112 int result = nativeAddSurfaceWidthHeight(surface, width, height); 173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); argument
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 197 jint height) { 211 // anyway), but do care about width and height 215 ANativeWindow_setBuffersGeometry(window, width, height, 0); 193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument
|
H A D | jni_gl_frame.cpp | 48 jint height) { 52 if (frame->Init(width, height)) { 65 jint height) { 69 if (frame->InitWithTexture(tex_id, width, height)) { 82 jint height) { 86 if (frame->InitWithFbo(fbo_id, width, height)) { 253 jint height) { 255 return frame ? ToJBool(frame->SetViewport(x, y, width, height)) : JNI_FALSE; 44 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, jobject thiz, jobject gl_env, jint width, jint height) argument 60 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument 77 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument 248 Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, jobject thiz, jint x, jint y, jint width, jint height) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_frame.cpp | 56 bool GLFrame::Init(int width, int height) { argument 59 InitDimensions(width, height); 65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { argument 68 InitDimensions(width, height); 72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { argument 76 InitDimensions(width, height); 87 void GLFrame::InitDimensions(int width, int height) { argument 89 height_ = height; 91 vp_height_ = height; 187 bool GLFrame::SetViewport(int x, int y, int width, int height) { argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 61 /** Frame height to request from camera. Actual size may not match requested. */ 62 @GenerateFieldPort(name = "height", hasDefault = true) 283 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument 288 int smallestHeight = previewSizes.get(0).height; 295 size.height <= height && 297 size.height >= closestHeight) { 299 closestHeight = size.height; 302 size.height < smallestHeight) { 304 smallestHeight = size.height; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | VideoEditorHelper.java | 127 public Bitmap getBitmap(String file, int width, int height) throws IOException { argument 137 dbo.outHeight = height; 330 assertEquals("Export height Mismatch for file " + fileName + 384 assertEquals("Export: height Mismatch for file " + fileName +
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | MediaPropertiesTest.java | 74 int videoProfile, int videoLevel, int width, int height, int audioCodecType, 87 assertEquals("Video height " + mvi.getHeight(), height, mvi.getHeight()); 121 int width, int height, MediaImageItem mii) 125 assertEquals("Image height " + mii.getHeight(), height, mii.getHeight()); 150 final int height = MediaProperties.HEIGHT_480; 157 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType, 182 final int height = MediaProperties.HEIGHT_480; 189 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecTyp 72 validateVideoProperties(int aspectRatio, int fileType, int videoCodecType, int duration, int videoBitrate, int fps, int videoProfile, int videoLevel, int width, int height, int audioCodecType, int audioSamplingFrequency, int audioChannel, int audioBitrate, MediaVideoItem mvi) argument 120 validateImageProperties(int aspectRatio, int fileType, int width, int height, MediaImageItem mii) argument [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | omx_jpeg_decoder.cpp | 104 int height; local 106 meta->findInt32(kKeyHeight, &height); 107 configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height); 186 int width, int height) { 187 bm->setConfig(getColorSpaceConfig(pref), width, height); local 185 configBitmapSize(SkBitmap* bm, SkBitmap::Config pref, int width, int height) argument
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPreviewController.cpp | 471 uint32_t width, height; local 472 getVideoSizeByResolution(mOutputVideoSize, &width, &height); 473 mNativeWindowRenderer = new NativeWindowRenderer(mSurface, width, height); 847 // Swap width and height if 90 or 270 degrees 1419 /* get the video width and height by resolution */
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 179 status_t setVideoSize(int width, int height) argument 181 ALOGV("setVideoSize(%dx%d)", width, height); 185 data.writeInt32(height); 401 int height = data.readInt32(); local 402 reply->writeInt32(setVideoSize(width, height));
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 248 int32_t width, height; local 250 CHECK(meta->findInt32(kKeyHeight, &height)); 258 crop_bottom = height - 1; 292 width, height,
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 49 int32_t width, int32_t height) { 51 int32_t outYsize = width * height; 61 for (int32_t i = height >> 1; i > 0; --i) { 715 vin.height = ((mVideoHeight + 15) >> 4) << 4; 719 vin.uChan = vin.yChan + vin.height * vin.pitch; 720 vin.vChan = vin.uChan + ((vin.height * vin.pitch) >> 2); 47 ConvertYUV420SemiPlanarToYUV420Planar( uint8_t *inyuv, uint8_t* outyuv, int32_t width, int32_t height) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
H A D | omxtypes.h | 226 * and height in the y-direction */ 231 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon695 248 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon697
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
H A D | omxtypes.h | 226 * and height in the y-direction */ 231 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon739 248 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon741
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/ |
H A D | omxtypes.h | 226 * and height in the y-direction */ 231 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon783 248 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon785
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 59 size_t width, size_t height, 64 mHeight(height), 57 BitmapParams( void *bits, size_t width, size_t height, size_t cropLeft, size_t cropTop, size_t cropRight, size_t cropBottom) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | APacketSource.cpp | 108 const char *params, int32_t *width, int32_t *height) { 110 *height = 0; 200 FindAVCDimensions(nal, width, height); 201 ALOGI("dimensions %dx%d", *width, *height); 338 const sp<ABuffer> &config, int32_t *width, int32_t *height) { 340 *height = 0; 361 &ptr[offset], config->size() - offset, width, height); 365 const char *params, int32_t *width, int32_t *height) { 367 *height = 0; 375 if (!ExtractDimensionsMPEG4Config(config, width, height)) { 107 MakeAVCCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument 337 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument 364 MakeMPEG4VideoCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument 430 int32_t width, height; local 462 int32_t width, height; local 515 int32_t width, height; local [all...] |