Searched refs:width (Results 1 - 25 of 355) sorted by relevance

1234567891011>>

/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/base/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...]
H A Dmp4dec_lib.h95 void BlockIDCT(uint8 *dst, uint8 *pred, int16 *blk, int width, int nzcoefs,
149 int width, /* i */
163 int width, /* i */
200 int width, /* i */
211 int width,
220 int width, /* i */
227 int width, /* i */
234 int width, /* i */
241 int width, /* i */
252 int width,
[all...]
H A Dpost_filter.cpp43 int width, height; local
50 width = video->width;
52 size = (int32)width * height;
75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod);
83 CombinedHorzVertFilter(output, width, height,
88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height,
94 Deringing_Luma(output, width, height, QP_store,
107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod);
115 CombinedHorzVertFilter(output, (int)(width >>
176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument
[all...]
H A Dadaptive_smooth_no_mmx.cpp51 width = value of type int that specifies the width of the display
90 location of pelc0 = [(y_start+1) * width] + x_start
93 incrementing or decrementing "width" elements within Rec_Y.
97 (y_blk_start, x_blk_start). The width and height of the block is BLKSIZE.
219 int width, /* i */
248 addr_v = (int32)(y_start + 1) * width; /* y coord of 1st element in the row /
264 pelu = *(Rec_Y_ptr - width); /* assigning value of pelu0 to pelu */
269 pell = *(Rec_Y_ptr + width); /* assigning value of pell0 to pell */
278 pelu = *(Rec_Y_ptr - width); /* assignin
212 AdaptiveSmooth_NoMMX( uint8 *Rec_Y, int y_start, int x_start, int y_blk_start, int x_blk_start, int thr, int width, int max_diff ) argument
[all...]
/frameworks/base/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/base/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/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/base/opengl/tests/angeles/
H A Dapp.h43 extern void appRender(long tick, int width, int height);
/frameworks/base/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/base/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/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/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument
39 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
51 int width, int height, int quality) {
52 cinfo->image_width = width;
82 int width = cinfo->image_width; local
85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
86 uint8_t* uRows = new uint8_t [8 * (width >> 1)];
87 uint8_t* vRows = new uint8_t [8 * (width >> 1)];
93 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width);
101 // height and width ar
50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
114 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width) argument
155 int width = cinfo->image_width; local
186 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
213 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
H A DYuvToJpegEncoder.h27 * @param width Width of the the Yuv data in terms of pixels.
33 bool encode(SkWStream* stream, void* inYuv, int width,
41 void setJpegCompressStruct(jpeg_compress_struct* cinfo, int width,
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
58 int rowIndex, int width);
71 uint8_t* vRows, int rowIndex, int width, int height);
/frameworks/base/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/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);
115 * @param width the width of the image in pixels.
118 public static native void formatHeader(Buffer header, int width, int height); argument
127 * Read the image width from a PKM header
109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
/frameworks/base/core/java/android/service/urlrenderer/
H A DIUrlRendererService.aidl25 void render(in List<String> urls, int width, int height,
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl25 void setDesiredSize(int width, int height);
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java28 public final float width; field in class:OrientedBoundingBox
38 width = w;
58 point[0] = -width / 2;
66 point[0] = -width / 2;
71 point[0] = width / 2;
76 point[0] = width / 2;
/frameworks/base/media/libstagefright/colorconversion/
H A DColorConverter.cpp54 size_t width, size_t height,
62 width, height, srcBits, srcSkip, dstBits, dstSkip);
67 width, height, srcBits, srcSkip, dstBits, dstSkip);
72 width, height, srcBits, srcSkip, dstBits, dstSkip);
77 width, height, srcBits, srcSkip, dstBits, dstSkip);
89 size_t width, size_t height,
93 CHECK(dstSkip >= width * 2);
103 for (size_t x = 0; x < width; x += 2) {
137 src += width * 2;
143 size_t width, size_
53 convert( size_t width, size_t height, const void *srcBits, size_t srcSkip, void *dstBits, size_t dstSkip) argument
88 convertCbYCrY( size_t width, size_t height, const void *srcBits, size_t srcSkip, void *dstBits, size_t dstSkip) argument
142 convertYUV420Planar( size_t width, size_t height, const void *srcBits, size_t srcSkip, void *dstBits, size_t dstSkip) argument
226 convertQCOMYUV420SemiPlanar( size_t width, size_t height, const void *srcBits, size_t srcSkip, void *dstBits, size_t dstSkip) argument
288 convertYUV420SemiPlanar( size_t width, size_t height, const void *srcBits, size_t srcSkip, void *dstBits, size_t dstSkip) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DViewManager.java41 int width; field in class:ViewManager.ChildView
48 void setBounds(int x, int y, int width, int height) { argument
51 this.width = width;
55 void attachView(int x, int y, int width, int height) { argument
59 setBounds(x, y, width, height);
122 int width = mWebView.contentToViewDimension(v.width);
132 lp.width = width;
[all...]

Completed in 333 milliseconds

1234567891011>>