Searched refs:height (Results 1 - 25 of 1015) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A Djpeg.h4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorSpace.java31 * The input data is expected to be laid out in 3 planes. The width x height Y plane, followed
39 * @param height the height of the image (must be a multiple of 2)
42 ByteBuffer input, ByteBuffer output, int width, int height) {
43 expectInputSize(input, (3 * width * height) / 2);
44 expectOutputSize(output, width * height * 4);
45 nativeYuv420pToRgba8888(input, output, width, height);
58 * @param height the height of the image
61 ByteBuffer input, ByteBuffer output, int width, int height) {
41 convertYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
60 convertArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
79 convertRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
98 convertRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
121 nativeYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
124 nativeArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
127 nativeRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
130 nativeRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
[all...]
H A DPixelUtils.java39 * @param height The height of the input image.
47 int height,
57 } else if ((width * height * 4) != input.remaining()) {
60 } else if ((width * height * 4) != output.remaining()) {
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
70 int height,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNILib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfLib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualLib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java42 * Returns the height of the Shape.
62 * @param height the height of the shape (in pixels)
64 public final void resize(float width, float height) { argument
68 if (height < 0) {
69 height =0;
71 if (mWidth != width || mHeight != height) {
73 mHeight = height;
74 onResize(width, height);
92 * @param height th
94 onResize(float width, float height) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMeshActivity.java49 final float height = mBitmap1.getHeight() / 3.0f;
53 0.0f, height, width, height, width * 2, height, width * 4, height,
54 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
55 0.0f, height *
[all...]
H A DBitmapMeshLayerActivity.java50 final float height = mBitmap1.getHeight() / 3.0f;
54 0.0f, height, width, height, width * 2, height, width * 4, height,
55 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
56 0.0f, height *
[all...]
H A DAlpha8BitmapActivity.java60 final float height = texture.getHeight() / 3.0f;
64 0.0f, height, width, height, width * 2, height, width * 4, height,
65 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
66 0.0f, height *
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DAtlas.java84 * @param height The height of the atlas in pixels
88 public Atlas(Type type, int width, int height) { argument
89 this(type, width, height, FLAG_DEFAULTS);
99 * @param height The height of the atlas in pixels
105 public Atlas(Type type, int width, int height, int flags) { argument
106 mPolicy = findPolicy(type, width, height, flags);
113 * @param height The height o
120 pack(int width, int height) argument
137 pack(int width, int height, Entry entry) argument
142 findPolicy(Type type, int width, int height, int flags) argument
164 pack(int width, int height, Entry entry) argument
255 int height; field in class:Atlas.SlicePolicy.Cell
265 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) argument
280 pack(int width, int height, Entry entry) argument
364 insert(Cell cell, Cell prev, int width, int height, Entry entry) argument
[all...]
/frameworks/native/opengl/tests/angeles/
H A Dapp.h43 extern void appRender(long tick, int width, int height);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNILib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DColorDrawableWithDimensions.java25 public ColorDrawableWithDimensions(int color, int width, int height) { argument
28 mHeight = height;
/frameworks/native/opengl/libagl/
H A Ddxt.h27 bool DXT1HasAlpha(const GLvoid *data, int width, int height);
28 void decodeDXT(const GLvoid *data, int width, int height,
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
77 const float current_ratio = width / height;
83 const float dy = height * (current_ratio / ratio - 1.0f);
85 height += dy;
91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
95 const float current_length = width > height ? width : height;
100 const float dy = height * (length / current_length - 1.0f);
102 height += dy;
108 if (width <= 0.0f || height <
[all...]
/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
44 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset);
50 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height): argument
51 PixelBuffer(format, width, height) {
52 mBuffer = new uint8_t[width * height * formatSize(format)];
74 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument
75 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
85 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
93 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset);
101 GpuPixelBuffer::GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
149 upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) argument
161 create(GLenum format, uint32_t width, uint32_t height, BufferType type) argument
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffect.java55 * <p>The input texture must be a valid texture name with the given width and height and must be
71 * @param height The height of the input texture in pixels.
74 public abstract void apply(int inputTexId, int width, int height, int outputTexId); argument
/frameworks/base/opengl/java/android/opengl/
H A DETC1.java86 public static native int getEncodedDataSize(int width, int height); argument
97 public static native void encodeImage(Buffer in, int width, int height, argument
110 int width, int height, int pixelSize, int stride);
116 * @param height the height of the image in pixels.
118 public static native void formatHeader(Buffer header, int width, int height); argument
133 * Read the image height from a PKM header
109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dcolorspace.h31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
H A Dcontrast.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dexposure.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
33 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
/frameworks/native/opengl/include/ETC1/
H A Detc1.h58 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height);
67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height,
79 etc1_uint32 width, etc1_uint32 height,
88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
98 // Read the image height from a PKM header
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java29 public final float height; field in class:OrientedBoundingBox
39 height = h;
59 point[1] = height / 2;
67 point[1] = -height / 2;
72 point[1] = -height / 2;
77 point[1] = height / 2;

Completed in 510 milliseconds

1234567891011>>