/external/skia/src/utils/ |
H A D | SkTextureCompressor_ASTC.h | 18 int width, int height, size_t rowBytes); 20 SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer, 24 int width, int height, int blockDimX, int blockDimY);
|
H A D | SkTextureCompressor_LATC.h | 18 int width, int height, size_t rowBytes); 20 SkBlitter* CreateLATCBlitter(int width, int height, void* outputBuffer, 23 void DecompressLATC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height);
|
H A D | SkTextureCompressor_R11EAC.h | 18 int width, int height, size_t rowBytes); 20 SkBlitter* CreateR11EACBlitter(int width, int height, void* outputBuffer, 23 void DecompressR11EAC(uint8_t* dst, int dstRB, const uint8_t* src, int width, int height);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | row_mips.cc | 384 int width) { 388 "srl $t4, %[width], 4 \n" // multiplies of 16 390 " andi %[width], %[width], 0xf \n" // residual 424 "beqz %[width], 3f \n" 431 "addiu %[width], %[width], -1 \n" 435 "bgtz %[width], 2b \n" 441 [width] "+r" (width), 383 SplitUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width) argument 450 SplitUVRow_Unaligned_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width) argument 533 MirrorRow_MIPS_DSPR2(const uint8* src, uint8* dst, int width) argument 584 MirrorUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width) argument 741 I422ToARGBRow_MIPS_DSPR2(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument 803 I422ToABGRRow_MIPS_DSPR2(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument 865 I422ToBGRARow_MIPS_DSPR2(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument [all...] |
H A D | convert_argb.cc | 31 int width, int height) { 33 width <= 0 || height == 0) { 44 width * 4, height); 54 int width, int height) { 60 int width) = I444ToARGBRow_C; 63 width <= 0 || height == 0) { 73 if (src_stride_y == width && 74 src_stride_u == width && 75 src_stride_v == width && 76 dst_stride_argb == width * 29 ARGBCopy(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 50 I444ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 112 I422ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 192 I411ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 254 I400ToARGB_Reference(const uint8* src_y, int src_stride_y, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 305 I400ToARGB(const uint8* src_y, int src_stride_y, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 371 BGRAToARGB(const uint8* src_bgra, int src_stride_bgra, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 382 ARGBToBGRA(const uint8* src_bgra, int src_stride_bgra, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 393 ABGRToARGB(const uint8* src_abgr, int src_stride_abgr, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 404 ARGBToABGR(const uint8* src_abgr, int src_stride_abgr, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 415 RGBAToARGB(const uint8* src_rgba, int src_stride_rgba, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 426 RGB24ToARGB(const uint8* src_rgb24, int src_stride_rgb24, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 476 RAWToARGB(const uint8* src_raw, int src_stride_raw, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 526 RGB565ToARGB(const uint8* src_rgb565, int src_stride_rgb565, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 576 ARGB1555ToARGB(const uint8* src_argb1555, int src_stride_argb1555, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 626 ARGB4444ToARGB(const uint8* src_argb4444, int src_stride_argb4444, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 676 NV12ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_uv, int src_stride_uv, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 727 NV21ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_uv, int src_stride_uv, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 779 M420ToARGB(const uint8* src_m420, int src_stride_m420, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 831 YUY2ToARGB(const uint8* src_yuy2, int src_stride_yuy2, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 884 UYVYToARGB(const uint8* src_uyvy, int src_stride_uyvy, uint8* dst_argb, int dst_stride_argb, int width, int height) argument [all...] |
H A D | planar_functions.cc | 30 int width, int height) { 32 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; 34 if (src_stride_y == width && 35 dst_stride_y == width) { 36 width *= height; 45 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { 50 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && 62 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 32)) { 74 CopyRow(src_y, dst_y, width); 83 int width, in 28 CopyPlane(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 81 CopyPlane_16(const uint16* src_y, int src_stride_y, uint16* dst_y, int dst_stride_y, int width, int height) argument 131 I422Copy(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 162 I444Copy(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 193 I400ToI400(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 211 I420ToI400(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, int width, int height) argument 230 MirrorPlane(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 274 YUY2ToI422(const uint8* src_yuy2, int src_stride_yuy2, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 352 UYVYToI422(const uint8* src_uyvy, int src_stride_uyvy, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 430 I400Mirror(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 450 I420Mirror(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 485 ARGBMirror(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 556 ARGBBlend(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 592 ARGBMultiply(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 653 ARGBAdd(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 719 ARGBSubtract(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 780 I422ToBGRA(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_bgra, int dst_stride_bgra, int width, int height) argument 850 I422ToABGR(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_abgr, int dst_stride_abgr, int width, int height) argument 912 I422ToRGBA(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_rgba, int dst_stride_rgba, int width, int height) argument 974 NV12ToRGB565(const uint8* src_y, int src_stride_y, const uint8* src_uv, int src_stride_uv, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument 1022 NV21ToRGB565(const uint8* src_y, int src_stride_y, const uint8* src_vu, int src_stride_vu, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument 1069 SetPlane(uint8* dst_y, int dst_stride_y, int width, int height, uint32 value) argument 1103 I420Rect(uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int x, int y, int width, int height, int value_y, int value_u, int value_v) argument 1131 ARGBRect(uint8* dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height, uint32 value) argument 1178 ARGBAttenuate(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 1244 ARGBUnattenuate(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 1293 ARGBGrayTo(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 1336 ARGBGray(uint8* dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height) argument 1371 ARGBSepia(uint8* dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height) argument 1405 ARGBColorMatrix(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const int8* matrix_argb, int width, int height) argument 1448 RGBColorMatrix(uint8* dst_argb, int dst_stride_argb, const int8* matrix_rgb, int dst_x, int dst_y, int width, int height) argument 1482 ARGBColorTable(uint8* dst_argb, int dst_stride_argb, const uint8* table_argb, int dst_x, int dst_y, int width, int height) argument 1514 RGBColorTable(uint8* dst_argb, int dst_stride_argb, const uint8* table_argb, int dst_x, int dst_y, int width, int height) argument 1553 ARGBQuantize(uint8* dst_argb, int dst_stride_argb, int scale, int interval_size, int interval_offset, int dst_x, int dst_y, int width, int height) argument 1590 ARGBComputeCumulativeSum(const uint8* src_argb, int src_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height) argument 1620 ARGBBlur(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height, int radius) argument 1724 ARGBShade(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height, uint32 value) argument 1767 ARGBInterpolate(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height, int interpolation) argument 1855 ARGBShuffle(const uint8* src_bgra, int src_stride_bgra, uint8* dst_argb, int dst_stride_argb, const uint8* shuffler, int width, int height) argument 1924 ARGBSobelize(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height, void (*SobelRow)(const uint8* src_sobelx, const uint8* src_sobely, uint8* dst, int width)) argument 2045 ARGBSobel(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 2067 ARGBSobelToPlane(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, int width, int height) argument 2090 ARGBSobelXY(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 2112 ARGBPolynomial(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const float* poly, int width, int height) argument 2158 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument 2198 ARGBCopyAlpha(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 2244 ARGBCopyYToAlpha(const uint8* src_y, int src_stride_y, uint8* dst_argb, int dst_stride_argb, int width, int height) argument [all...] |
H A D | convert_from.cc | 62 // 420 chroma is 1/2 width, 1/2 height 63 // 422 chroma is 1/2 width, 1x height 71 int width, int height) { 72 const int dst_uv_width = (Abs(width) + 1) >> 1; 80 width, height, 84 // 420 chroma is 1/2 width, 1/2 height 85 // 444 chroma is 1x width, 1x height 93 int width, int height) { 94 const int dst_uv_width = Abs(width); 102 width, heigh 65 I420ToI422(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 87 I420ToI444(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 109 I420ToI411(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 130 I400Copy(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 148 I422ToYUY2(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_yuy2, int dst_stride_yuy2, int width, int height) argument 203 I420ToYUY2(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_yuy2, int dst_stride_yuy2, int width, int height) argument 254 I422ToUYVY(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_uyvy, int dst_stride_uyvy, int width, int height) argument 309 I420ToUYVY(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_uyvy, int dst_stride_uyvy, int width, int height) argument 360 I420ToNV12(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_uv, int dst_stride_uv, int width, int height) argument 441 I420ToNV21(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_vu, int dst_stride_vu, int width, int height) argument 457 I420ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 529 I420ToBGRA(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_bgra, int dst_stride_bgra, int width, int height) argument 591 I420ToABGR(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_abgr, int dst_stride_abgr, int width, int height) argument 645 I420ToRGBA(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_rgba, int dst_stride_rgba, int width, int height) argument 699 I420ToRGB24(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_rgb24, int dst_stride_rgb24, int width, int height) argument 750 I420ToRAW(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_raw, int dst_stride_raw, int width, int height) argument 801 I420ToARGB1555(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb1555, int dst_stride_argb1555, int width, int height) argument 853 I420ToARGB4444(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb4444, int dst_stride_argb4444, int width, int height) argument 904 I420ToRGB565(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument 955 ConvertFromI420(const uint8* y, int y_stride, const uint8* u, int u_stride, const uint8* v, int v_stride, uint8* dst_sample, int dst_sample_stride, int width, int height, uint32 fourcc) argument [all...] |
H A D | convert.cc | 69 int width, int height) { 70 int halfwidth = (width + 1) >> 1; 74 width <= 0 || height == 0) { 90 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); 98 // 422 chroma is 1/2 width, 1x height 99 // 420 chroma is 1/2 width, 1/2 height 107 int width, int height) { 108 const int src_uv_width = SUBSAMPLE(width, 1, 1); 115 width, height, 119 // 444 chroma is 1x width, 63 I420Copy(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 101 I422ToI420(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 122 I444ToI420(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 142 I411ToI420(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 162 I400ToI420(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 186 CopyPlane2(const uint8* src, int src_stride_0, int src_stride_1, uint8* dst, int dst_stride, int width, int height) argument 241 X420ToI420(const uint8* src_y, int src_stride_y0, int src_stride_y1, const uint8* src_uv, int src_stride_uv, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 349 NV12ToI420(const uint8* src_y, int src_stride_y, const uint8* src_uv, int src_stride_uv, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 365 NV21ToI420(const uint8* src_y, int src_stride_y, const uint8* src_vu, int src_stride_vu, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 381 M420ToI420(const uint8* src_m420, int src_stride_m420, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 397 Q420ToI420(const uint8* src_y, int src_stride_y, const uint8* src_yuy2, int src_stride_yuy2, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 515 YUY2ToI420(const uint8* src_yuy2, int src_stride_yuy2, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 588 UYVYToI420(const uint8* src_uyvy, int src_stride_uyvy, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 661 ARGBToI420(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 741 BGRAToI420(const uint8* src_bgra, int src_stride_bgra, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 810 ABGRToI420(const uint8* src_abgr, int src_stride_abgr, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 879 RGBAToI420(const uint8* src_rgba, int src_stride_rgba, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 948 RGB24ToI420(const uint8* src_rgb24, int src_stride_rgb24, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 1060 RAWToI420(const uint8* src_raw, int src_stride_raw, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 1172 RGB565ToI420(const uint8* src_rgb565, int src_stride_rgb565, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 1284 ARGB1555ToI420(const uint8* src_argb1555, int src_stride_argb1555, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 1398 ARGB4444ToI420(const uint8* src_argb4444, int src_stride_argb4444, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument [all...] |
H A D | rotate_argb.cc | 47 int width, int height) { 64 for (i = 0; i < width; ++i) { // column of source to row of dest. 73 int width, int height) { 79 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); 84 int width, int height) { 88 dst += dst_stride * (width - 1); 90 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); 95 int width, int height) { 97 align_buffer_64(row, width * 4); 102 void (*ARGBMirrorRow)(const uint8* src, uint8* dst, int width) 45 ARGBTranspose(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument 71 ARGBRotate90(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument 82 ARGBRotate270(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument 93 ARGBRotate180(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument 164 ARGBRotate(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height, enum RotationMode mode) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_zs.h | 37 util_format_s8_uint_unpack_s_8uint(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 util_format_s8_uint_pack_s_8uint(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 45 util_format_z16_unorm_unpack_z_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 49 util_format_z16_unorm_pack_z_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 53 util_format_z16_unorm_unpack_z_32unorm(uint32_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 57 util_format_z16_unorm_pack_z_32unorm(uint8_t *dst_row, unsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height); 61 util_format_z32_unorm_unpack_z_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 65 util_format_z32_unorm_pack_z_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 69 util_format_z32_unorm_unpack_z_32unorm(uint32_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 73 util_format_z32_unorm_pack_z_32unorm(uint8_t *dst_row, unsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigne [all...] |
H A D | u_format_rgtc.h | 35 util_format_rgtc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 38 util_format_rgtc1_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 util_format_rgtc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 44 util_format_rgtc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 55 util_format_rgtc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 58 util_format_rgtc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 61 util_format_rgtc1_snorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 64 util_format_rgtc1_snorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 74 util_format_rgtc2_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 77 util_format_rgtc2_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigne [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
H A D | PreFillType.java | 12 private final int width; field in class:PreFillType 20 * @param width The width in pixels of the {@link android.graphics.Bitmap Bitmaps} to 29 PreFillType(int width, int height, Bitmap.Config config, int weight) { argument 34 this.width = width; 41 * Returns the width in pixels of the {@link android.graphics.Bitmap Bitmaps}. 44 return width; 73 && width == other.width 103 private final int width; field in class:PreFillType.Builder 122 Builder(int width, int height) argument [all...] |
/external/toybox/toys/posix/ |
H A D | expand.c | 46 int width = 1; local 52 width = mbrtowc(&blah, toybuf+i, len-i, 0); 53 if (width > 1) { 54 if (width != fwrite(toybuf+i, width, 1, stdout)) 56 i += width-1; 59 } else if (width == -2) break; 60 else if (width == -1) continue; 67 if (c == '\b' && x) width = -1; 74 width [all...] |
/external/vixl/src/vixl/ |
H A D | compiler-intrinsics.h | 91 int CountLeadingSignBitsFallBack(int64_t value, int width); 92 int CountLeadingZerosFallBack(uint64_t value, int width); 93 int CountSetBitsFallBack(uint64_t value, int width); 94 int CountTrailingZerosFallBack(uint64_t value, int width); 102 inline int CountLeadingSignBits(V value, int width = (sizeof(V) * 8)) { 104 if (width == 32) { 106 } else if (width == 64) { 110 return CountLeadingSignBitsFallBack(value, width); 115 inline int CountLeadingZeros(V value, int width = (sizeof(V) * 8)) { 117 if (width [all...] |
/external/deqp/modules/egl/ |
H A D | teglVGRenderUtil.cpp | 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color) argument 44 vgClear(x, y, width, height); 48 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) argument 50 dst.setSize(width, height); 51 vgReadPixels(dst.getAccess().getDataPtr(), width*4, VG_sRGBA_8888, 0, 0, width, height); 61 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 63 DE_UNREF(x && y && width && height); 68 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 70 DE_UNREF(x && y && width [all...] |
/external/toybox/kconfig/lxdialog/ |
H A D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument 29 int x = width / 2 - 10; 42 int dialog_yesno(const char *title, const char *prompt, int height, int width) argument 50 if (getmaxx(stdscr) < (width + 4)) 54 x = (COLS - width) / 2; 57 draw_shadow(stdscr, y, x, height, width); 59 dialog = newwin(height, width, y, x); 62 draw_box(dialog, 0, 0, height, width, 66 for (i = 0; i < width - 2; i++) 71 print_title(dialog, title, width); [all...] |
/external/libyuv/files/source/ |
H A D | planar_functions.cc | 30 int width, int height) { 31 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; 33 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 64)) { 38 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { 43 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && 52 CopyRow(src_y, dst_y, width); 64 int width, int height) { 65 if (!src_y || !dst_y || width <= 0 || height == 0) { 74 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); 81 int width, in 28 CopyPlane(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 60 I420ToI400(const uint8* src_y, int src_stride_y, uint8*, int, uint8*, int, uint8* dst_y, int dst_stride_y, int width, int height) argument 79 MirrorPlane(const uint8* src_y, int src_stride_y, uint8* dst_y, int dst_stride_y, int width, int height) argument 110 YUY2ToI422(const uint8* src_yuy2, int src_stride_yuy2, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 172 UYVYToI422(const uint8* src_uyvy, int src_stride_uyvy, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 234 I420Mirror(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 269 ARGBMirror(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 324 ARGBBlend(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 351 ARGBToI400(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, int width, int height) argument 384 ARGBToI422(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument 433 I422ToBGRA(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_bgra, int dst_stride_bgra, int width, int height) argument 485 I422ToABGR(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_abgr, int dst_stride_abgr, int width, int height) argument 537 I422ToRGBA(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_rgba, int dst_stride_rgba, int width, int height) argument 589 ARGBToRGBA(const uint8* src_argb, int src_stride_argb, uint8* dst_rgba, int dst_stride_rgba, int width, int height) argument 628 ARGBToRGB24(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb24, int dst_stride_rgb24, int width, int height) argument 674 ARGBToRAW(const uint8* src_argb, int src_stride_argb, uint8* dst_raw, int dst_stride_raw, int width, int height) argument 720 ARGBToRGB565(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument 755 ARGBToARGB1555(const uint8* src_argb, int src_stride_argb, uint8* dst_argb1555, int dst_stride_argb1555, int width, int height) argument 790 ARGBToARGB4444(const uint8* src_argb, int src_stride_argb, uint8* dst_argb4444, int dst_stride_argb4444, int width, int height) argument 826 NV12ToRGB565(const uint8* src_y, int src_stride_y, const uint8* src_uv, int src_stride_uv, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument 877 NV21ToRGB565(const uint8* src_y, int src_stride_y, const uint8* src_vu, int src_stride_vu, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument 922 SetPlane(uint8* dst_y, int dst_stride_y, int width, int height, uint32 value) argument 949 I420Rect(uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int x, int y, int width, int height, int value_y, int value_u, int value_v) argument 977 ARGBRect(uint8* dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height, uint32 value) argument 1018 ARGBAttenuate(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 1056 ARGBUnattenuate(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 1087 ARGBGrayTo(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument 1118 ARGBGray(uint8* dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height) argument 1142 ARGBSepia(uint8* dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height) argument 1164 ARGBColorMatrix(uint8* dst_argb, int dst_stride_argb, const int8* matrix_argb, int dst_x, int dst_y, int width, int height) argument 1190 ARGBColorTable(uint8* dst_argb, int dst_stride_argb, const uint8* table_argb, int dst_x, int dst_y, int width, int height) argument 1220 ARGBQuantize(uint8* dst_argb, int dst_stride_argb, int scale, int interval_size, int interval_offset, int dst_x, int dst_y, int width, int height) argument 1246 ARGBComputeCumulativeSum(const uint8* src_argb, int src_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height) argument 1275 ARGBBlur(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height, int radius) argument 1360 ARGBShade(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height, uint32 value) argument 1391 ARGBInterpolate(const uint8* src_argb0, int src_stride_argb0, const uint8* src_argb1, int src_stride_argb1, uint8* dst_argb, int dst_stride_argb, int width, int height, int interpolation) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
H A D | test_context.c | 34 const unsigned int width = 16, height = 16; local 49 width, 72 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == XvMCBadContext); 75 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort); 77 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); 79 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue); 80 /* Test huge width */ 83 assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) == BadValue); 84 /* Test huge width & height */ 87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, heigh [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_type.h | 44 * Native SIMD architecture width available at runtime. 46 * Using this width should give the best performance, 52 * Maximum supported vector width (not necessarily supported at run-time). 112 * Element width. 115 * width. 117 unsigned width:14; member in struct:lp_type 122 * width*length should be a power of two greater or equal to eight. 171 return type.width * type.length; 177 lp_type_float(unsigned width) argument 184 res_type.width 193 lp_type_float_vec(unsigned width, unsigned total_width) argument 209 lp_type_int(unsigned width) argument 224 lp_type_int_vec(unsigned width, unsigned total_width) argument 239 lp_type_uint(unsigned width) argument 253 lp_type_uint_vec(unsigned width, unsigned total_width) argument 266 lp_type_unorm(unsigned width, unsigned total_width) argument 280 lp_type_fixed(unsigned width, unsigned total_width) argument 295 lp_type_ufixed(unsigned width, unsigned total_width) argument [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texstorage.h | 31 GLsizei width); 36 GLsizei width, GLsizei height); 41 GLsizei width, GLsizei height, GLsizei depth); 48 GLsizei width); 53 GLsizei width, GLsizei height); 58 GLsizei width, GLsizei height, GLsizei depth);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_pixel_draw.c | 44 GLsizei width, GLsizei height, 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type, 42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_pixel_draw.c | 44 GLsizei width, GLsizei height, 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type, 42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_pixel_draw.c | 44 GLsizei width, GLsizei height, 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type, 42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
|
/external/pdfium/samples/ |
H A D | image_diff_png.h | 17 int* width, int* height); 21 int width, 28 int width,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowCameraSize.java | 14 public void __constructor__(Camera camera, int width, int height) { argument 15 realCameraSize.width = width;
|