/frameworks/av/cmds/stagefright/ |
H A D | jpeg.h | 4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | Shape.java | 40 * 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/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorSpace.java | 31 * 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 D | PixelUtils.java | 39 * @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 D | GL2JNILib.java | 29 * @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 D | GLPerfLib.java | 29 * @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 D | GLDualLib.java | 29 * @param height the current view height 31 public static native void init(int width, int height); argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapMeshActivity.java | 49 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 D | BitmapMeshLayerActivity.java | 50 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 D | Alpha8BitmapActivity.java | 60 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 D | Atlas.java | 84 * @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 D | app.h | 43 extern void appRender(long tick, int width, int height);
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
H A D | GLJNILib.java | 29 * @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 D | ColorDrawableWithDimensions.java | 25 public ColorDrawableWithDimensions(int color, int width, int height) { argument 28 mHeight = height;
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.h | 27 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 D | geometry.cpp | 73 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/av/libvideoeditor/vss/src/ |
H A D | M4DECODER_Null.c | 199 M4OSA_UInt32 height = 0;
local 224 for (height = 0; height<pStreamContext->pDecYuvWithEffect[0].u_height;
225 height++) {
238 for (height = 0; height<pStreamContext->pDecYuvWithEffect[1].u_height;
239 height++) {
252 for (height = 0; height<pStreamContext->pDecYuvWithEffect[2].u_height;
253 height 328 M4OSA_UInt32 height; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.cpp | 36 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 D | Effect.java | 55 * <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 D | ETC1.java | 86 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 D | brightness.h | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
|
H A D | colorspace.h | 31 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 D | contrast.h | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
|
/frameworks/native/opengl/include/ETC1/ |
H A D | etc1.h | 58 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/libs/hwui/utils/ |
H A D | Blur.h | 29 uint8_t* dest, int32_t width, int32_t height); 31 uint8_t* dest, int32_t width, int32_t height);
|