Searched refs:height (Results 101 - 125 of 1015) sorted by relevance

1234567891011>>

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcontrast.cpp29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
35 const int numPixels = width * height;
28 Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dpixelutils.cpp24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
29 for (int y = 0; y < height; ++y) {
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
/frameworks/native/include/android/
H A Dnative_window.h43 int32_t height; member in struct:ANativeWindow_Buffer
77 * Return the current height in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 * width and height must be either both zero or both non-zero.
103 int32_t width, int32_t height, int32_t format);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp50 void Texture::setDimensions(size_t width, size_t height) { argument
52 mHeight = height;
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h38 void setDimensions(uint32_t width, uint32_t height) { argument
40 mHeight = height;
/frameworks/support/v4/ics/android/support/v4/widget/
H A DEdgeEffectCompatIcs.java33 public static void setSize(Object edgeEffect, int width, int height) { argument
34 ((EdgeEffect) edgeEffect).setSize(width, height);
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java41 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
44 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
77 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); argument
261 * @param h The surface initial height.
466 public int height; field in class:SurfaceControl.PhysicalDisplayInfo
490 && height == other.height
507 height = other.height;
520 return "PhysicalDisplayInfo{" + width + " x " + height
40 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
43 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
592 setDisplaySize(IBinder displayToken, int width, int height) argument
638 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform) argument
655 screenshot(IBinder display, Surface consumer, int width, int height) argument
700 screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform, int rotation) argument
722 screenshot(int width, int height) argument
730 screenshot(IBinder display, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp176 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument
178 memcpy(dst, src, width * height * sizeof(T));
182 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument
184 for (size_t i = 0; i < height; ++i) {
186 dst[j * height + height - 1 - i] = src[i * width + j];
192 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument
194 for (size_t i = 0; i < height; ++i) {
196 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j];
202 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument
212 rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument
260 uint32_t width, height; local
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java51 float height
68 int height
85 short height
102 int height
/frameworks/base/rs/java/android/renderscript/
H A DRSTextureView.java68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
73 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
86 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTextureSource.java63 public void allocate(int width, int height) { argument
64 //Log.i("TextureSource", "Allocating empty texture " + mTexId + ": " + width + "x" + height + ".");
65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height);
69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) { argument
70 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + ": " + width + "x" + height + ".");
71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DActionBarPolicy.java75 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
78 // Stacked tabs; limit the height
79 height = Math.min(height,
83 return height;
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
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=" +
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/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h150 int height, /* i */
164 int height, /* i */
182 int height, /* i */
201 int height /* i */
253 int height,
283 void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int T);
291 void Deringing_Luma(uint8 *Rec_Y, int width, int height, int16 *QP_store,
293 void Deringing_Chroma(uint8 *Rec_C, int width, int height, int16 *QP_store,
295 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store,
297 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int1
[all...]
H A Dpost_filter.cpp43 int width, height; local
51 height = video->height;
52 size = (int32)width * height;
75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod);
83 CombinedHorzVertFilter(output, width, height,
88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height,
94 Deringing_Luma(output, width, height, QP_store,
107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod);
116 (int)(height >>
176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.h42 uint32_t width, uint32_t height, int format);
49 uint32_t width, uint32_t height, size_t maxSize, int format);
67 uint32_t width, uint32_t height, int format);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRect.java45 buffer.putInt(value.height());
53 int height = buffer.getInt();
56 int bottom = top + height;
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.h42 ANDROID_API bool setSize(uint32_t width, uint32_t height) { argument
43 if (mWidth != width || mHeight != height) {
45 mHeight = height;
H A DLayerRenderer.h58 static Layer* createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height);
59 static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height);
60 static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
H A DRenderBufferCache.h46 * @param height The desired height of the buffer
48 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
84 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSingleFilterEffect.java67 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
70 Frame inputFrame = frameFromTexture(inputTexId, width, height);
71 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBitmapHelper.java29 * Generate a new bitmap (width x height pixels, ARGB_8888) with the input bitmap scaled
33 * @param height Height of output bitmap
36 public static Bitmap createCircularClip(Bitmap input, int width, int height) { argument
41 final Bitmap output = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
47 final RectF dstRect = new RectF(0, 0, width, height);
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp21 // Width and height of the screen
62 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height);
66 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
69 gHeight = height;
/frameworks/av/camera/
H A DCameraParameters.cpp41 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height";
331 int width, height; local
332 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
338 sizes.push(Size(width, height));
347 void CameraParameters::setPreviewSize(int width, int height) argument
350 sprintf(str, "%dx%d", width, height);
354 void CameraParameters::getPreviewSize(int *width, int *height) const
356 *width = *height = -1;
360 parse_pair(p, width, height, 'x');
363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons
377 setVideoSize(int width, int height) argument
426 setPictureSize(int width, int height) argument
[all...]
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp144 int height = mEglWindow.getHeight(); local
146 glViewport(0, 0, width, height);
164 mTextRenderer.setScreenSize(width, height);
178 mGlConsumer->setDefaultBufferSize(width, height);
221 int height = mEglWindow.getHeight(); local
224 100, 100, width-200, height-200);
227 0, 0, width, height);
234 100, 100, width-200, height-200);
297 int height = window.getHeight(); local
298 glViewport(0, 0, width, height);
332 int height = window.getHeight(); local
[all...]

Completed in 557 milliseconds

1234567891011>>