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

1234567891011>>

/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.cpp144 int height, width, pred_width; local
172 /* width of luminance data in pixels (y axis) */
173 width = video->width;
188 /* ypos*width -> row, +x -> column */
189 offset = (int32)ypos * width + xpos;
260 video->mblock->pred_block, width, height,
276 pred_width = width;
280 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) &&
286 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width),
567 int width, width_uv; local
[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/libs/hwui/renderthread/
H A DFrame.h30 Frame(int32_t width, int32_t height, int32_t bufferAge) argument
31 : mWidth(width)
35 int32_t width() const { return mWidth; } function in class:android::uirenderer::renderthread::Frame
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format, argument
23 Alloc(width, height, kDefaultGraphicBufferLayerCount, format, usage);
26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, argument
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride,
31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, argument
36 "IonBuffer::IonBuffer: handle=%p width=%u height=%u layer_count=%u "
38 handle, width, height, layer_count, stride, format, usage);
40 Import(handle, width, height, layer_count, stride, format, usage);
46 "IonBuffer::~IonBuffer: handle=%p width=%u height=%u stride=%u "
48 handle(), width(), heigh
74 Alloc(uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage) argument
91 Reset(buffer_handle_t handle, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
101 Import(buffer_handle_t handle, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
122 Import(const int* fd_array, int fd_count, const int* int_array, int int_count, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
198 Lock(uint32_t usage, int x, int y, int width, int height, void** address) argument
214 LockYUV(uint32_t usage, int x, int y, int width, int height, struct android_ycbcr* yuv) argument
[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);
40 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
49 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
50 : PixelBuffer(format, width, height)
51 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
65 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument
66 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
76 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
81 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
93 uint32_t width, uint32_
92 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
137 upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) argument
150 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/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDropTarget.java28 * RecentsView, and the width/height are of the RecentsView.
30 boolean acceptsDrop(int x, int y, int width, int height, Rect insets, boolean isCurrentTarget); 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);
/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/support/design/tests/src/android/support/design/testutils/
H A DTestDrawable.java34 public TestDrawable(@ColorInt int color, int width, int height) { argument
36 mWidth = width;
/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/libs/hwui/tests/common/scenes/
H A DShadowGrid2Animation.cpp31 void createContent(int width, int height, Canvas& 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, Canvas& canvas) {
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
H A DShadowGridAnimation.cpp31 void createContent(int width, int height, Canvas& 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, Canvas& canvas) {
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
H A DShadowShaderAnimation.cpp31 void createContent(int width, int height, Canvas& canvas) override {
38 width - (outset * 2), height - (outset * 2));
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, Canvas& canvas) {
62 props.mutableOutline().setRoundRect(0, 0, width, height, 0, 0.99f);

Completed in 1017 milliseconds

1234567891011>>