Searched defs:width (Results 201 - 225 of 422) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp44 * sourceDim: [width, height]
171 static EGLint width, height; variable
402 rect.sourceCrop.right = rect.sourceDim.width();
490 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width())
491 || ((uint32_t) rect.sourceCrop.right > rect.sourceDim.width())
497 if ((rect.displayFrame.left >= width)
498 || (rect.displayFrame.right > width)
510 rect.texture = new GraphicBuffer(rect.sourceDim.width(),
522 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u "
525 rect.sourceDim.width(), rec
[all...]
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java144 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
145 GLES20.glViewport(0, 0, width, height);
146 mScaleX = 2.0f / width;
/frameworks/rs/
H A DrsScriptC_Lib.cpp182 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 DrsScriptC_Lib.cpp182 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 DMyGLSurfaceView.java138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument
141 GLES20.glViewport(0, 0, width, height);
142 mRatio = (float) width / height;
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
131 int width = mediaPlayer.getVideoWidth();
133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
134 if (width !
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 DFaceDetector.java105 * Note that the width of the image must be even.
107 * @param width the width of the image
112 public FaceDetector(int width, int height, int maxFaces) argument
117 fft_initialize(width, height, maxFaces);
118 mWidth = width;
121 mBWBuffer = new byte[width * height];
189 native private int fft_initialize(int width, int height, int maxFaces); argument
H A DMediaFormat.java82 * A key describing the width of the content in a video format.
85 public static final String KEY_WIDTH = "width";
279 * @param width The width of the content (in pixels)
284 int width,
288 format.setInteger(KEY_WIDTH, width);
282 createVideoFormat( String mime, int width, int height) argument
H A DThumbnailUtils.java180 int width = bitmap.getWidth();
182 int max = Math.max(width, height);
185 int w = Math.round(scale * width);
202 * @param width targeted width
206 Bitmap source, int width, int height) {
207 return extractThumbnail(source, width, height, OPTIONS_NONE);
214 * @param width targeted width
219 Bitmap source, int width, 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 DVideoEditorThumbnailMain.cpp69 * @param width (IN) Width 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);
233 pC->m_width = width;
266 M4OSA_Int32* pixelArray, M4OSA_UInt32 width,
281 err = ThumbnailGetPixels(pContext, pixelArray, width, height, timeMS, tolerance);
289 M4OSA_Int16* pixelArray, M4OSA_UInt32 width,
303 err = ThumbnailGetPixels(pContext, (M4OSA_Int32*)pixelArray, width, heigh
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 DGLEnvironment.java110 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 Djni_gl_environment.cpp196 jint width,
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 Djni_gl_frame.cpp47 jint width,
52 if (frame->Init(width, height)) {
64 jint width,
69 if (frame->InitWithTexture(tex_id, width, height)) {
81 jint width,
86 if (frame->InitWithFbo(fbo_id, width, height)) {
252 jint width,
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 Dgl_frame.cpp56 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
88 width_ = width;
90 vp_width_ = width;
187 bool GLFrame::SetViewport(int x, int y, int width, in argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java57 /** Frame width to request from camera. Actual size may not match requested. */
58 @GenerateFieldPort(name = "width", hasDefault = true)
283 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
287 int smallestWidth = previewSizes.get(0).width;
294 if ( size.width <= width &&
296 size.width >= closestWidth &&
298 closestWidth = size.width;
301 if ( size.width < smallestWidth &&
303 smallestWidth = size.width;
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DVideoEditorHelper.java127 public Bitmap getBitmap(String file, int width, int height) throws IOException { argument
136 dbo.outWidth = width;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DMediaPropertiesTest.java74 int videoProfile, int videoLevel, int width, int height, int audioCodecType,
88 assertEquals("Video width " + mvi.getWidth(), width, mvi.getWidth());
121 int width, int height, MediaImageItem mii)
126 assertEquals("Image width " + mii.getWidth(), width, mii.getWidth());
149 final int width = 854;
157 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType,
181 final int width = 800;
189 videoBitrate, fps, videoProfile, videoLevel, width, heigh
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 Domx_jpeg_decoder.cpp103 int width; local
105 meta->findInt32(kKeyWidth, &width);
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/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java50 float width,
67 int width,
84 short width,
101 int width,
46 glDrawTexfOES( float x, float y, float z, float width, float height ) argument
63 glDrawTexiOES( int x, int y, int z, int width, int height ) argument
80 glDrawTexsOES( short x, short y, short z, short width, short height ) argument
97 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.cpp471 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 DIMediaRecorder.cpp179 status_t setVideoSize(int width, int height) argument
181 ALOGV("setVideoSize(%dx%d)", width, height);
184 data.writeInt32(width);
400 int width = data.readInt32(); local
402 reply->writeInt32(setVideoSize(width, height));
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp248 int32_t width, height; local
249 CHECK(meta->findInt32(kKeyWidth, &width));
257 crop_right = width - 1;
292 width, height,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp49 int32_t width, int32_t height) {
51 int32_t outYsize = width * height;
62 for (int32_t j = width >> 2; j > 0; --j) {
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 Domxtypes.h225 * of the rectangle, with dimensions width in the x-direction
230 OMX_INT width; /** Width in the x-direction. */ member in struct:__anon695
247 OMX_INT width; /** Width of the rectangle, in the x-direction */ member in struct:__anon697
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A Domxtypes.h225 * of the rectangle, with dimensions width in the x-direction
230 OMX_INT width; /** Width in the x-direction. */ member in struct:__anon739
247 OMX_INT width; /** Width of the rectangle, in the x-direction */ member in struct:__anon741

Completed in 302 milliseconds

1234567891011>>