Searched refs:width (Results 51 - 75 of 1047) sorted by relevance

1234567891011>>

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java70 flatSizes.add(s.width());
86 int width = Integer.parseInt(flatSizes[i]);
88 list.add(new Size(width,height));
98 public Size(int width, int height) { argument
99 val = new Point(width, height);
109 val = new Point(other.width(), other.height());
122 val = new Point(other.width, other.height);
152 public int width() { method in class:Size
176 return "Size: (" + this.width() + " x " + this.height() + ")";
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdWriteMacroblock.s27 width RN 2 label
93 LDR width, [image, #4]
101 LSL width, width, #4
103 LSR cwidth, width, #1
104 VST1 {qRow0}, [luma@128], width
106 VST1 {qRow1}, [luma@128], width
108 VST1 {qRow2}, [luma@128], width
110 VST1 {qRow3}, [luma@128], width
112 VST1 {qRow4}, [luma@128], width
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdWriteMacroblock.S29 #define width r2 define
95 LDR width, [image, #4]
103 LSL width, width, #4
105 LSR cwidth, width, #1
106 VST1 {qRow0}, [luma,:128], width
108 VST1 {qRow1}, [luma,:128], width
110 VST1 {qRow2}, [luma,:128], width
112 VST1 {qRow3}, [luma,:128], width
114 VST1 {qRow4}, [luma,:128], width
[all...]
/frameworks/base/core/jni/android/graphics/
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, int height);
71 uint8_t* vRows, int rowIndex, int width, int height);
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, height);
102 // height and width ar
50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
115 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
158 int width = cinfo->image_width; local
190 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
219 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
H A DPicture.cpp26 mWidth = src->width();
39 Canvas* Picture::beginRecording(int width, int height) { argument
42 mWidth = width;
44 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0);
59 int Picture::width() const { function in class:android::Picture
61 SkASSERT(mPicture->width() == mWidth);
70 SkASSERT(mPicture->width() == mWidth);
82 newPict->mWidth = newPict->mPicture->width();
H A DPicture.h40 Canvas* beginRecording(int width, int height);
44 int width() const;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h72 float x, y, width, height; member in struct:android::filterfw::Rect
76 width = height = 1.0f;
79 Rect(float x, float y, float width, float height) { argument
82 this->width = width;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DIconMerger.java52 int width = getMeasuredWidth();
53 setMeasuredDimension(width - (width % mIconSize), getMeasuredHeight());
62 private void checkOverflow(int width) { argument
73 final boolean moreRequired = visibleChildren * mIconSize > width;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c100 width width of the reference frame chrominance in pixels
103 chromaPartWidth width of the predicted part in pixels
115 u32 width,
137 if ((x0 < 0) || ((u32)x0+chromaPartWidth+1 > width) ||
140 h264bsdFillBlock(pRef, block, x0, y0, width, height,
142 pRef += width * height;
144 x0, y0, width, height, chromaPartWidth + 1,
150 width = chromaPartWidth+1;
159 ptrA = pRef + (comp * height + (u32)y0) * width
110 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
206 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
302 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
428 u32 xFrac, yFrac, width, height, chromaPartWidth, chromaPartHeight; local
491 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
609 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
743 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
866 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1004 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument
1210 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
1396 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
1600 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1834 u32 xFrac, yFrac, width, height; local
1983 u32 width, height; local
2222 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument
[all...]
H A Dh264bsd_reconstruct.h76 u32 width,
87 u32 width,
98 u32 width,
109 u32 width,
121 u32 width,
131 u32 width,
142 u32 width,
152 u32 width,
163 u32 width,
174 u32 width,
[all...]
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp43 status_t FrameOutput::createInputSurface(int width, int height, argument
47 err = mEglWindow.createPbuffer(width, height);
53 glViewport(0, 0, width, height);
76 mGlConsumer->setDefaultBufferSize(width, height);
82 mPixelBuf = new uint8_t[width * height * kGlBytesPerPixel];
123 int width = mEglWindow.getWidth(); local
126 width, height, true);
139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf);
147 reduceRgbaToRgb(mPixelBuf, width * height);
155 size_t rgbDataLen = width * heigh
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSizeAreaComparator.java30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p>
45 long width = size.getWidth();
47 long area = width * size.getHeight();
51 return (width > width2) ? 1 : -1;
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DIdentityEffect.java34 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
37 Frame inputFrame = frameFromTexture(inputTexId, width, height);
38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/base/libs/hwui/
H A DPixelBuffer.h66 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
119 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0;
129 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument
130 upload(x, y, width, height, getOffset(x, y));
134 * Returns the width of the render buffer in pixels.
202 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument
203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
H A DPathCache.cpp88 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
90 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
94 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
95 const float pathWidth = fmax(bounds.width(), 1.0f);
103 width = uint32_t(pathWidth + offset * 2.0 + 0.5);
107 static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) { argument
108 bitmap.allocPixels(SkImageInfo::MakeA8(width, height));
125 float left, float top, float offset, uint32_t width, uint32_t height) {
126 initBitmap(bitmap, width, height);
137 uint32_t width, uint32_
87 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
93 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
124 drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, float left, float top, float offset, uint32_t width, uint32_t height) argument
136 createTexture(float left, float top, float offset, uint32_t width, uint32_t height, uint32_t id) argument
240 purgeCache(uint32_t width, uint32_t height) argument
261 uint32_t width, height; local
341 uint32_t width, height; local
504 getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint) argument
550 getOval(float width, float height, const SkPaint* paint) argument
573 getRect(float width, float height, const SkPaint* paint) argument
596 getArc(float width, float height, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
[all...]
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h80 float width() const { return width_; } function in class:android::filterfw::SlantedRect
89 float x, y, width, height; member in struct:android::filterfw::Rect
93 width = height = 1.0f;
96 Rect(float x, float y, float width, float height) { argument
99 this->width = width;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java31 * @param width pixel width of the display
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
46 displayRect.right = width;
/frameworks/base/libs/hwui/tests/
H A DTestContext.cpp35 sp<SurfaceControl> createWindow(int width, int height) { argument
37 width, height, PIXEL_FORMAT_RGBX_8888);
/frameworks/base/libs/hwui/utils/
H A DBlur.h39 uint8_t* dest, int32_t width, int32_t height);
41 uint8_t* dest, int32_t width, int32_t height);
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java74 int width = texture.getWidth();
79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height,
84 int stride = pixelSize * width;
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border,
117 public ETC1Texture(int width, int height, ByteBuffer data) { argument
118 mWidth = width;
124 * Get the width of the texture in pixels.
125 * @return the width of the texture in pixels.
131 * @return the width o
192 compressTexture(Buffer input, int width, int height, int pixelSize, int stride) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java87 int width = mBitmap1.getWidth();
90 canvas.translate((getWidth() - width) / 2, 0);
92 for (int x = 0; x < width; x++) {
98 mPixels[y * width + x] = color;
102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height);
107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp34 width = width of the VOP in pixels (x axis); full-pel resolution;
198 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
200 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
202 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
204 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
206 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
208 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
210 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
216 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
241 GetPredOutside( int xpos, int ypos, uint8 *c_prev, uint8 *pred_block, int width, int height, int rnd1, int pred_width ) argument
[all...]
H A Dblock_idct.cpp123 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width);
124 static void idctrow_intra(int16 *blk, PIXEL *, int width);
231 int width, width_uv; local
233 width = video->width;
234 width_uv = width >> 1;
235 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
241 BlockIDCT_intra(mblock, c_comp, 0, width);
242 BlockIDCT_intra(mblock, c_comp + 8, 1, width);
243 BlockIDCT_intra(mblock, c_comp + (width <<
250 BlockIDCT_intra( MacroBlock *mblock, PIXEL *c_comp, int comp, int width) argument
323 Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) argument
348 BlockIDCT( uint8 *dst, uint8 *pred, int16 *coeff_in, int width, int nz_coefs, uint8 *bitmapcol, uint8 bitmaprow ) argument
[all...]
H A Dderinging_luma.cpp25 int width,
47 incr = width - BLKSIZE;
50 for (MB_H = 0; MB_H < width; MB_H += MBSIZE)
62 ptr = &Rec_Y[(int32)(BLK_V) * width + MB_H + BLK_H];
97 thr, width, max_diff);
109 max_diff = (QP_store[((((int32)MB_V*width)>>4))>>4] >> 2) + 4;
117 ptr = &Rec_Y[(int32)(MB_V + BLK_V) * width + BLK_H];
151 thr, width, max_diff);
158 for (MB_H = MBSIZE; MB_H < width; MB_H += MBSIZE)
160 max_diff = (QP_store[((((int32)MB_V*width)>>
23 Deringing_Luma( uint8 *Rec_Y, int width, int height, int16 *QP_store, int, uint8 *pp_mod) argument
[all...]

Completed in 3719 milliseconds

1234567891011>>