/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 | 33 * Returns the width of the Shape. 61 * @param width the width of the shape (in pixels) 64 public final void resize(float width, float height) { argument 65 if (width < 0) { 66 width = 0; 71 if (mWidth != width || mHeight != height) { 72 mWidth = width; 74 onResize(width, height); 91 * @param width 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 38 * @param width the width 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); 57 * @param width the width of the image 61 ByteBuffer input, ByteBuffer output, int width, in 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 | 38 * @param width The width of the input image. 46 int width, 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); 69 int width, 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_utils.cpp | 25 void PutSKIPPED_MB(uint8 *comp, uint8 *prev, int width) argument 42 comp += width; 43 prev += width; 53 comp += width; 54 prev += width; 64 comp += width; 65 prev += width; 74 comp += width; 75 prev += width; 86 void PutSKIPPED_B(uint8 *comp, uint8 *prev, int width) argument [all...] |
H A D | idct.h | 48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width); 49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width); 50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width); 51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width); 52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width); 59 void idctrow0_intra(int16 *blk, PIXEL *comp, int width); 60 void idctrow1_intra(int16 *blk, PIXEL *comp, int width); 61 void idctrow2_intra(int16 *blk, PIXEL *comp, int width); 62 void idctrow3_intra(int16 *blk, PIXEL *comp, int width); 63 void idctrow4_intra(int16 *blk, PIXEL *comp, int width); [all...] |
H A D | chv_filter.cpp | 149 int width, 156 width : width of decoded frame. 178 int width, 198 pp_w = (width >> 3); 232 jVal0 = *(ptr - width); /* C */ 241 *(ptr - width) = (uint8)(jVal0); /* C */ 244 jVal0 = *(ptr - (width << 1)); /* B */ 245 jVal1 = *(ptr + width); /* E */ 252 *(ptr - (width << 176 CombinedHorzVertFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument 453 CombinedHorzVertFilter_NoSoftDeblocking( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument [all...] |
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNILib.java | 28 * @param width the current view width 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 | 28 * @param width the current view width 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 | 28 * @param width the current view width 31 public static native void init(int width, int height); argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLPaint.java | 33 public void setLineWidth(float width) { argument 34 Assert.assertTrue(width >= 0); 35 mLineWidth = width;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapMeshActivity.java | 48 final float width = mBitmap1.getWidth() / 3.0f; 52 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.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 * [all...] |
H A D | BitmapMeshLayerActivity.java | 49 final float width = mBitmap1.getWidth() / 3.0f; 53 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.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 * [all...] |
H A D | Alpha8BitmapActivity.java | 59 final float width = texture.getWidth() / 3.0f; 63 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.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 * [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Atlas.java | 83 * @param width The width of the atlas in pixels 88 public Atlas(Type type, int width, int height) { argument 89 this(type, width, height, FLAG_DEFAULTS); 98 * @param width The width of the atlas in pixels 105 public Atlas(Type type, int width, int height, int flags) { argument 106 mPolicy = findPolicy(type, width, height, flags); 112 * @param width The width 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 254 int width; 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...] |
H A D | YuvImage.java | 28 * region by left, top, width and height. 56 * The width of the image. 71 * @param width The width of the YuvImage. 75 * padding and derives the row bytes by format and width itself. 76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument 87 if (width <= 0 || height <= 0) { 89 "width and height must large than 0"); 97 mStrides = calculateStrides(width, forma 199 calculateStrides(int width, int format) argument 237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_InterpolateLuma.c | 33 * srcStep -reference frame step, in bytes; must be a multiple of roi.width 35 * roi.width 40 * roi -Dimension of the interpolation region; the parameters roi.width and 45 * pDst -Pointer to the destination frame buffer if roi.width==4, 4-byte 46 * alignment required if roi.width==8, 8-byte alignment required 47 * if roi.width==16, 16-byte alignment required 54 * srcStep or dstStep < roi.width. 56 * roi.width or roi.height is out of range {4, 8, 16}. 57 * roi.width is equal to 4, but pDst is not 4 byte aligned. 58 * roi.width i [all...] |
/frameworks/base/tools/aapt/ |
H A D | qsort_r_compat.h | 32 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk,
|
/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 | 28 * @param width the current view width 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 27 mWidth = width;
|
/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; 79 const float dx = width * (ratio / current_ratio - 1.0f); 81 width += dx; 91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) { 95 const float current_length = width > height ? width : height; 97 const float dx = width * (length / current_length - 1.0f); 99 width += dx; 108 if (width < [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | PackedIntVectorTest.java | 27 for (int width = 0; width < 10; width++) { 28 PackedIntVector p = new PackedIntVector(width); 29 int[] ins = new int[width]; 31 for (int height = width * 2; height < width * 4; height++) { 32 assertEquals(p.width(), width); 45 for (int j = 0; j < width; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_conceal.c | 130 u32 width, height; local 142 width = currImage->width; 164 if (col == width) 176 H264SwDecMemset(currImage->data, 128, width*height*384); 178 H264SwDecMemcpy(currImage->data, refData, width*height*384); 191 mb = pStorage->mb + row * width; 198 for (j = col + 1; j < width; j++) 210 for (j = 0; j < width; j++) 213 mb = pStorage->mb + i*width 262 u32 width, height; local [all...] |