Searched refs:width (Results 26 - 50 of 1274) sorted by relevance

1234567891011>>

/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...]
H A DColorConvert.h29 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
33 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
38 uint8_t *src, int32_t width, int32_t height, uint32_t stride,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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/av/media/libstagefright/codecs/m4v_h263/dec/src/
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...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c50 * 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==2, 2-byte
61 * alignment required if roi.width==4, 4-byte alignment required
62 * if roi.width==8, 8-byte alignment required
71 * roi.width or roi.height is out of range {2,4,8}.
72 * roi.width is equal to 2, but pDst is not 2-byte aligned.
73 * roi.width is equal to 4, but pDst is not 4-byte aligned.
74 * roi.width is equal to 8, but pDst is not 8 byte aligned.
98 armRetArgErrIf((roi.width !
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp98 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH); local
99 if (width < 0 || width >= U_EA_COUNT)
100 width = PROPERTY_UNDEFINED;
102 return width;
131 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local
132 if (width < 0 || width >= U_EA_COUNT)
133 width = PROPERTY_UNDEFINED;
135 dest[i++] = width;
139 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local
[all...]
/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
42 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
51 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
52 : PixelBuffer(format, width, height)
53 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument
72 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
82 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
89 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
101 uint32_t width, uint32_
100 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
162 create(GLenum format, uint32_t width, uint32_t height, BufferType type) argument
[all...]
H A DRenderBuffer.h35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): argument
36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
92 void resize(uint32_t width, uint32_t height) { argument
93 if (isAllocated() && (width != mWidth || height != mHeight)) {
94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height);
97 mWidth = width;
102 * Returns the width of the render buffer in pixels.
/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
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dcolorspace.h31 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 Dcontrast.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dexposure.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
33 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dsobeloperator.cpp42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { argument
44 for (int j = 0; j < width; j++) {
46 const int right = (j < width - 1) ? 4 : 0;
47 const int curr = (i * width + j) * 4;
48 const int above = (i > 0) ? curr - 4 * width : curr;
49 const int below = (i < height - 1) ? curr + 4 * width : curr;
50 const int offset = (i * width + j) * 3;
66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer,
78 int numPixels = width * height;
82 computeGradient(srcPtr, width, heigh
65 Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, jobject magBuffer, jobject dirBuffer) argument
[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/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/graphics/tests/graphicstests/src/android/graphics/
H A DPaintTest.java171 float width = p.measureText(bidiText, 0, 4);
173 width += p.measureText(bidiText, 4, 7);
175 width += p.measureText(bidiText, 7, bidiText.length());
176 assertEquals(width, p.measureText(bidiText), 1.0f);
181 float width = p.measureText(bidiText, 0, 4);
182 width += p.measureText(bidiText, 4, 7);
183 width += p.measureText(bidiText, 7, bidiText.length());
184 assertEquals(width, p.measureText(bidiText), 1.0f);
189 float width = p.measureText(bidiText, 0, 4);
190 width
[all...]
/frameworks/base/libs/hwui/tests/common/scenes/
H A DShadowGrid2Animation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override {
35 for (int x = dp(8); x < (width - dp(58)); x += dp(58)) {
54 sp<RenderNode> createCard(int x, int y, int width, int height) { argument
55 return TestUtils::createNode(x, y, x + width, y + height,
56 [width, height](RenderProperties& props, TestCanvas& canvas) {
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
H A DShadowGridAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override {
35 for (int x = dp(16); x < (width - dp(116)); x += dp(116)) {
54 sp<RenderNode> createCard(int x, int y, int width, int height) { argument
55 return TestUtils::createNode(x, y, x + width, y + height,
56 [width, height](RenderProperties& props, TestCanvas& canvas) {
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchingTaskPositioner.java94 int width = mAvailableRect.width();
96 mDefaultFreeformStartX = mAvailableRect.left + width / MARGIN_SIZE_DENOMINATOR;
98 mDefaultFreeformWidth = width / WINDOW_SIZE_DENOMINATOR;
100 mDefaultFreeformStepHorizontal = Math.max(width / STEP_DENOMINATOR, MINIMAL_STEP);
124 int width = getFinalWidth(windowLayout);
130 positionTopRight(task, tasks, width, height);
132 positionTopLeft(task, tasks, width, height);
136 positionBottomRight(task, tasks, width, height);
138 positionBottomLeft(task, tasks, width, heigh
171 positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
178 positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
185 positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
192 positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
199 positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
[all...]

Completed in 7660 milliseconds

1234567891011>>