/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
H A D | h264bsdWriteMacroblock.s | 27 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 D | h264bsdWriteMacroblock.S | 29 #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 D | YuvToJpegEncoder.h | 27 * @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 D | YuvToJpegEncoder.cpp | 26 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument 41 setJpegCompressStruct(&cinfo, width, height, jpegQuality); 53 int width, int height, int quality) { 54 cinfo->image_width = width; 84 int width = cinfo->image_width; local 87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 88 uint8_t* uRows = new uint8_t [8 * (width >> 1)]; 89 uint8_t* vRows = new uint8_t [8 * (width >> 1)]; 95 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height); 104 // height and width ar 52 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument 117 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument 160 int width = cinfo->image_width; local 192 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument 221 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 D | Picture.h | 40 Canvas* beginRecording(int width, int height); 44 int width() const;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 72 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 D | IconMerger.java | 52 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 D | h264bsd_reconstruct.c | 100 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 D | h264bsd_reconstruct.h | 76 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 D | FrameOutput.cpp | 43 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 D | SizeAreaComparator.java | 30 * <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 D | IdentityEffect.java | 34 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/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AsyncStructure.java | 38 final int width = getWidth(); 50 child.setDimens(width / 4, height / 4, 0, 0, width / 2, height / 2);
|
/frameworks/native/libs/gui/ |
H A D | GraphicBufferAlloc.cpp | 34 sp<GraphicBuffer> GraphicBufferAlloc::createGraphicBuffer(uint32_t width, argument 37 new GraphicBuffer(width, height, format, usage)); 46 width, height, strerror(-err), graphicBuffer->handle);
|
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.h | 67 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height, 120 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0; 130 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument 131 upload(x, y, width, height, getOffset(x, y)); 135 * Returns the width of the render buffer in pixels. 203 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument 204 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
|
H A D | TextureCache.cpp | 135 if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) { 137 bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize); 263 ATRACE_FORMAT("Upload %ux%u Texture", bitmap->width(), bitmap->height()); 271 const bool resize = !regenerate || bitmap->width() != int(texture->width) || 280 texture->width = bitmap->width(); 288 texture->width, texture->height, GL_UNSIGNED_BYTE, bitmap->getPixels()); 293 texture->width, texture->height, GL_UNSIGNED_SHORT_5_6_5, bitmap->getPixels()); 298 texture->width, textur 326 uploadLoFiTexture(bool resize, const SkBitmap* bitmap, uint32_t width, uint32_t height) argument 339 uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, GLenum type, const GLvoid * data) argument [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.h | 80 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 D | AccessibilityNodeInfoHelper.java | 31 * @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/utils/ |
H A D | Blur.h | 39 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 D | ETC1Util.java | 74 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 D | BitmapMutateActivity.java | 87 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 D | get_pred_outside.cpp | 34 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 D | block_idct.cpp | 123 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 D | deringing_luma.cpp | 25 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...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 108 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, argument 115 mWidth = width; 135 * width/height values 138 void reinit(int width, int height, boolean requestPremultiplied) { argument 139 mWidth = width; 189 * <p>Modifies the bitmap to have a specified width, height, and {@link 219 public void reconfigure(int width, int height, Config config) { argument 221 if (width <= 0 || height <= 0) { 222 throw new IllegalArgumentException("width and height must be > 0"); 231 nativeReconfigure(mFinalizer.mNativeBitmap, width, heigh 249 setWidth(int width) argument 376 checkWidthHeight(int width, int height) argument 652 createBitmap(Bitmap source, int x, int y, int width, int height) argument 680 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument 774 createBitmap(int width, int height, Config config) argument 789 createBitmap(DisplayMetrics display, int width, int height, Config config) argument 807 createBitmap(int width, int height, Config config, boolean hasAlpha) argument 826 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument 863 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument 888 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 927 createBitmap(int colors[], int width, int height, Config config) argument 948 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument 1379 getPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1419 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1493 setPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1675 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 1683 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument 1695 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1700 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |