Searched refs:width (Results 1 - 25 of 715) 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/graphics/java/android/graphics/drawable/shapes/
H A DShape.java33 * 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/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...]
H A Dchv_filter.cpp149 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...]
H A Dderinging_chroma.cpp25 int width,
47 incr = width - BLKSIZE;
54 for (h_blk = 0; h_blk < width; h_blk += BLKSIZE)
59 FindMaxMin(ptr, &min_blk, &max_blk, width);
69 addr_v = (int32)v_pel * width;
74 pelu = *(ptr - width);
76 pell = *(ptr + width);
81 pelu = *(ptr - width);
83 pell = *(ptr + width);
90 pelu = *(ptr - width);
23 Deringing_Chroma( uint8 *Rec_C, int width, int height, int16 *QP_store, int, uint8 *pp_mod ) argument
[all...]
H A Dmb_motion_comp.cpp140 int height, width, pred_width; local
168 /* width of luminance data in pixels (y axis) */
169 width = video->width;
184 /* ypos*width -> row, +x -> column */
185 offset = (int32)ypos * width + xpos;
251 video->mblock->pred_block, width, height,
267 pred_width = width;
271 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) &&
277 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width),
558 int width, width_uv; local
[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/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...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateLuma.c33 * 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...]
H A DomxVCM4P10_InterpolateChroma.c35 * 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==2, 2-byte
46 * alignment required if roi.width==4, 4-byte alignment required
47 * if roi.width==8, 8-byte alignment required
56 * roi.width or roi.height is out of range {2,4,8}.
57 * roi.width is equal to 2, but pDst is not 2-byte aligned.
58 * roi.width is equal to 4, but pDst is not 4-byte aligned.
59 * roi.width is equal to 8, but pDst is not 8 byte aligned.
83 armRetArgErrIf((roi.width !
[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...]
/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/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/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/base/libs/hwui/
H A DVertex.h75 float width; member in struct:android::uirenderer::AAVertex
78 static inline void set(AAVertex* vertex, float x, float y, float width, float length) { argument
80 vertex[0].width = width;
84 static inline void setColor(AAVertex* vertex, float width, float length) { argument
85 vertex[0].width = width;
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp97 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH); local
98 if (width < 0 || width >= U_EA_COUNT)
99 width = PROPERTY_UNDEFINED;
101 return width;
130 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local
131 if (width < 0 || width >= U_EA_COUNT)
132 width = PROPERTY_UNDEFINED;
134 dest[i++] = width;
138 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local
[all...]
/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);
94 // Read the image width from a PKM header
/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
70 * @param width The width of the input texture in pixels.
74 public abstract void apply(int inputTexId, int width, int height, int outputTexId); argument

Completed in 396 milliseconds

1234567891011>>