Searched refs:width (Results 1 - 25 of 1122) 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
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 DPixelUtils.java38 * @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 Dmb_utils.cpp25 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 Didct.h48 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...]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNILib.java28 * @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 DGLPerfLib.java28 * @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 DGLDualLib.java28 * @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 DGLPaint.java33 public void setLineWidth(float width) { argument
34 Assert.assertTrue(width >= 0);
35 mLineWidth = width;
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java35 * 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/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMeshActivity.java48 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 DBitmapMeshLayerActivity.java49 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 DAlpha8BitmapActivity.java59 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/tools/layoutlib/bridge/src/android/text/
H A DPrimitive.java27 // Box and Glue have width only.
28 // Penalty has both width and penalty.
30 public final float width; field in class:Primitive
36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { argument
39 this.width = width;
45 * Something with a constant width that is to be typeset - like a character.
49 * Blank space with fixed width.
61 * For tabs - variable width space.
83 public Primitive getNewPrimitive(int location, float width, floa argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * 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...]
H A DAtlas.java78 * @param width The width of the atlas in pixels
83 public Atlas(Type type, int width, int height) { argument
84 this(type, width, height, FLAG_DEFAULTS);
93 * @param width The width of the atlas in pixels
100 public Atlas(Type type, int width, int height, int flags) { argument
101 mPolicy = findPolicy(type, width, height, flags);
107 * @param width The width o
115 pack(int width, int height) argument
132 pack(int width, int height, Entry entry) argument
137 findPolicy(Type type, int width, int height, int flags) argument
159 pack(int width, int height, Entry entry) argument
248 int width; field in class:Atlas.SlicePolicy.Cell
259 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) argument
273 pack(int width, int height, Entry entry) argument
356 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.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateLuma.c48 * srcStep -reference frame step, in bytes; must be a multiple of roi.width
50 * roi.width
55 * roi -Dimension of the interpolation region; the parameters roi.width and
60 * pDst -Pointer to the destination frame buffer if roi.width==4, 4-byte
61 * alignment required if roi.width==8, 8-byte alignment required
62 * if roi.width==16, 16-byte alignment required
69 * srcStep or dstStep < roi.width.
71 * roi.width or roi.height is out of range {4, 8, 16}.
72 * roi.width is equal to 4, but pDst is not 4 byte aligned.
73 * roi.width i
[all...]
/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;
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/java/android/hardware/camera2/legacy/
H A DSizeAreaComparator.java30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p>
46 long width = size.width;
47 long width2 = size2.width;
48 long area = width * size.height;
52 return (width > width2) ? 1 : -1;
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java27 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 Dh264bsd_conceal.c130 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...]
/frameworks/av/media/libstagefright/filters/
H A DColorConvert.cpp49 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
54 for (int32_t j = 0; j < width; j++) {
55 int32_t y = *(pY + i * width + j);
56 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
57 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1);
71 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
76 for (int32_t j = 0; j < width; j++) {
77 int32_t y = *(pY + i * width + j);
78 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
79 int32_t v = *(pUV + (i/2) * width
48 convertYUV420spToARGB( uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, uint8_t *dest) argument
70 convertYUV420spToRGB888( uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, uint8_t *dest) argument
93 convertRGBAToARGB( uint8_t *src, int32_t width, int32_t height, uint32_t stride, uint8_t *dest) argument
[all...]

Completed in 6903 milliseconds

1234567891011>>