/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | scale_row.h | 88 int dst_width, int dst_height, 95 int dst_width, int dst_height, 103 int dst_width, int dst_height, 122 int dst_width, int dst_height, 127 uint8* dst, int dst_width); 129 uint16* dst, int dst_width); 131 uint8* dst, int dst_width); 133 uint16* dst, int dst_width); 135 uint8* dst, int dst_width); 137 uint16* dst, int dst_width); [all …]
|
D | scale.h | 34 int dst_width, int dst_height, 41 int dst_width, int dst_height, 62 int dst_width, int dst_height, 73 int dst_width, int dst_height, 84 int dst_width, int dst_height, 90 uint8* dst_i420, int dst_width, int dst_height, int dst_yoffset,
|
/external/libyuv/files/include/libyuv/ |
D | scale_row.h | 107 int dst_width, int dst_height, 114 int dst_width, int dst_height, 122 int dst_width, int dst_height, 141 int dst_width, int dst_height, 146 uint8* dst, int dst_width); 148 uint16* dst, int dst_width); 150 uint8* dst, int dst_width); 152 uint16* dst, int dst_width); 154 uint8* dst, int dst_width); 156 uint8* dst, int dst_width); [all …]
|
D | scale.h | 34 int dst_width, int dst_height, 41 int dst_width, int dst_height, 62 int dst_width, int dst_height, 73 int dst_width, int dst_height, 84 int dst_width, int dst_height, 90 uint8* dst_i420, int dst_width, int dst_height, int dst_yoffset,
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | scale.cc | 37 int dst_width, int dst_height, in ScalePlaneDown2() argument 43 uint8* dst_ptr, int dst_width) = in ScalePlaneDown2() 57 if (IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2() 69 if (IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2() 81 if (IS_ALIGNED(dst_width, 32)) { in ScalePlaneDown2() 102 ScaleRowDown2(src_ptr, src_stride, dst_ptr, dst_width); in ScalePlaneDown2() 109 int dst_width, int dst_height, in ScalePlaneDown2_16() argument 115 uint16* dst_ptr, int dst_width) = in ScalePlaneDown2_16() 126 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16() 132 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16() [all …]
|
D | scale_mips.cc | 25 uint8* dst, int dst_width) { in ScaleRowDown2_MIPS_DSPR2() argument 75 : [dst_width] "r" (dst_width) in ScaleRowDown2_MIPS_DSPR2() 82 uint8* dst, int dst_width) { in ScaleRowDown2Box_MIPS_DSPR2() argument 175 : [dst_width] "r" (dst_width) in ScaleRowDown2Box_MIPS_DSPR2() 182 uint8* dst, int dst_width) { in ScaleRowDown4_MIPS_DSPR2() argument 231 : [dst_width] "r" (dst_width) in ScaleRowDown4_MIPS_DSPR2() 238 uint8* dst, int dst_width) { in ScaleRowDown4Box_MIPS_DSPR2() argument 311 : [dst_width] "r" (dst_width) in ScaleRowDown4Box_MIPS_DSPR2() 318 uint8* dst, int dst_width) { in ScaleRowDown34_MIPS_DSPR2() argument 357 [dst_width] "+r" (dst_width) in ScaleRowDown34_MIPS_DSPR2() [all …]
|
D | scale_common.cc | 32 uint8* dst, int dst_width) { in ScaleRowDown2_C() argument 34 for (x = 0; x < dst_width - 1; x += 2) { in ScaleRowDown2_C() 40 if (dst_width & 1) { in ScaleRowDown2_C() 46 uint16* dst, int dst_width) { in ScaleRowDown2_16_C() argument 48 for (x = 0; x < dst_width - 1; x += 2) { in ScaleRowDown2_16_C() 54 if (dst_width & 1) { in ScaleRowDown2_16_C() 60 uint8* dst, int dst_width) { in ScaleRowDown2Linear_C() argument 63 for (x = 0; x < dst_width - 1; x += 2) { in ScaleRowDown2Linear_C() 69 if (dst_width & 1) { in ScaleRowDown2Linear_C() 75 uint16* dst, int dst_width) { in ScaleRowDown2Linear_16_C() argument [all …]
|
D | scale_neon.cc | 27 uint8* dst, int dst_width) { in ScaleRowDown2_NEON() argument 40 "+r"(dst_width) // %2 in ScaleRowDown2_NEON() 48 uint8* dst, int dst_width) { in ScaleRowDown2Linear_NEON() argument 64 "+r"(dst_width) // %2 in ScaleRowDown2Linear_NEON() 72 uint8* dst, int dst_width) { in ScaleRowDown2Box_NEON() argument 95 "+r"(dst_width) // %3 in ScaleRowDown2Box_NEON() 102 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_NEON() argument 114 "+r"(dst_width) // %2 in ScaleRowDown4_NEON() 121 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_NEON() argument 149 "+r"(dst_width), // %2 in ScaleRowDown4Box_NEON() [all …]
|
D | scale_neon64.cc | 25 uint8* dst, int dst_width) { in ScaleRowDown2_NEON() argument 37 "+r"(dst_width) // %2 in ScaleRowDown2_NEON() 45 uint8* dst, int dst_width) { in ScaleRowDown2Linear_NEON() argument 60 "+r"(dst_width) // %2 in ScaleRowDown2Linear_NEON() 68 uint8* dst, int dst_width) { in ScaleRowDown2Box_NEON() argument 90 "+r"(dst_width) // %3 in ScaleRowDown2Box_NEON() 97 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_NEON() argument 108 "+r"(dst_width) // %2 in ScaleRowDown4_NEON() 115 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_NEON() argument 144 "+r"(dst_width) // %5 in ScaleRowDown4Box_NEON() [all …]
|
D | scale_argb.cc | 34 int dst_width, int dst_height, in ScaleARGBDown2() argument 42 uint8* dst_argb, int dst_width) = in ScaleARGBDown2() 60 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDown2() 72 if (IS_ALIGNED(dst_width, 8)) { in ScaleARGBDown2() 84 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width); in ScaleARGBDown2() 94 int dst_width, int dst_height, in ScaleARGBDown4Box() argument 100 const int kRowSize = (dst_width * 2 * 4 + 31) & ~31; in ScaleARGBDown4Box() 104 uint8* dst_argb, int dst_width) = ScaleARGBRowDown2Box_C; in ScaleARGBDown4Box() 112 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDown4Box() 120 if (IS_ALIGNED(dst_width, 8)) { in ScaleARGBDown4Box() [all …]
|
D | scale_gcc.cc | 100 uint8* dst_ptr, int dst_width) { in ScaleRowDown2_SSE2() argument 116 "+r"(dst_width) // %2 in ScaleRowDown2_SSE2() 122 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Linear_SSE2() argument 147 "+r"(dst_width) // %2 in ScaleRowDown2Linear_SSE2() 153 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Box_SSE2() argument 182 "+r"(dst_width) // %2 in ScaleRowDown2Box_SSE2() 190 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_SSE2() argument 212 "+r"(dst_width) // %2 in ScaleRowDown4_SSE2() 218 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_SSE2() argument 262 "+r"(dst_width), // %2 in ScaleRowDown4Box_SSE2() [all …]
|
D | scale_any.cc | 24 int dst_width, int x, int dx) { \ 25 int n = dst_width & ~MASK; \ 30 dst_width & MASK, x + n * dx, dx); \ 48 uint8* dst_ptr, int dst_width) { \ 49 int r = (int)((unsigned int)dst_width % (MASK + 1)); \ 50 int n = dst_width - r; \ 148 uint8* dst_ptr, int dst_width) { \ 149 int r = (int)((unsigned int)dst_width % (MASK + 1)); \ 150 int n = dst_width - r; \
|
/external/libyuv/files/source/ |
D | scale.cc | 37 int dst_width, int dst_height, in ScalePlaneDown2() argument 43 uint8* dst_ptr, int dst_width) = in ScalePlaneDown2() 57 if (IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2() 69 if (IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2() 81 if (IS_ALIGNED(dst_width, 32)) { in ScalePlaneDown2() 102 ScaleRowDown2(src_ptr, src_stride, dst_ptr, dst_width); in ScalePlaneDown2() 109 int dst_width, int dst_height, in ScalePlaneDown2_16() argument 115 uint16* dst_ptr, int dst_width) = in ScalePlaneDown2_16() 126 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16() 132 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16() [all …]
|
D | scale_mips.cc | 25 uint8* dst, int dst_width) { in ScaleRowDown2_DSPR2() argument 74 : [dst_width] "r" (dst_width) in ScaleRowDown2_DSPR2() 81 uint8* dst, int dst_width) { in ScaleRowDown2Box_DSPR2() argument 173 : [dst_width] "r" (dst_width) in ScaleRowDown2Box_DSPR2() 180 uint8* dst, int dst_width) { in ScaleRowDown4_DSPR2() argument 228 : [dst_width] "r" (dst_width) in ScaleRowDown4_DSPR2() 235 uint8* dst, int dst_width) { in ScaleRowDown4Box_DSPR2() argument 307 : [dst_width] "r" (dst_width) in ScaleRowDown4Box_DSPR2() 314 uint8* dst, int dst_width) { in ScaleRowDown34_DSPR2() argument 352 [dst_width] "+r" (dst_width) in ScaleRowDown34_DSPR2() [all …]
|
D | scale_common.cc | 32 uint8* dst, int dst_width) { in ScaleRowDown2_C() argument 34 for (x = 0; x < dst_width - 1; x += 2) { in ScaleRowDown2_C() 40 if (dst_width & 1) { in ScaleRowDown2_C() 46 uint16* dst, int dst_width) { in ScaleRowDown2_16_C() argument 48 for (x = 0; x < dst_width - 1; x += 2) { in ScaleRowDown2_16_C() 54 if (dst_width & 1) { in ScaleRowDown2_16_C() 60 uint8* dst, int dst_width) { in ScaleRowDown2Linear_C() argument 63 for (x = 0; x < dst_width - 1; x += 2) { in ScaleRowDown2Linear_C() 69 if (dst_width & 1) { in ScaleRowDown2Linear_C() 75 uint16* dst, int dst_width) { in ScaleRowDown2Linear_16_C() argument [all …]
|
D | scale_neon.cc | 27 uint8* dst, int dst_width) { in ScaleRowDown2_NEON() argument 39 "+r"(dst_width) // %2 in ScaleRowDown2_NEON() 47 uint8* dst, int dst_width) { in ScaleRowDown2Linear_NEON() argument 62 "+r"(dst_width) // %2 in ScaleRowDown2Linear_NEON() 70 uint8* dst, int dst_width) { in ScaleRowDown2Box_NEON() argument 92 "+r"(dst_width) // %3 in ScaleRowDown2Box_NEON() 99 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_NEON() argument 110 "+r"(dst_width) // %2 in ScaleRowDown4_NEON() 117 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_NEON() argument 144 "+r"(dst_width), // %2 in ScaleRowDown4Box_NEON() [all …]
|
D | scale_neon64.cc | 25 uint8* dst, int dst_width) { in ScaleRowDown2_NEON() argument 37 "+r"(dst_width) // %2 in ScaleRowDown2_NEON() 45 uint8* dst, int dst_width) { in ScaleRowDown2Linear_NEON() argument 60 "+r"(dst_width) // %2 in ScaleRowDown2Linear_NEON() 68 uint8* dst, int dst_width) { in ScaleRowDown2Box_NEON() argument 90 "+r"(dst_width) // %3 in ScaleRowDown2Box_NEON() 97 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_NEON() argument 108 "+r"(dst_width) // %2 in ScaleRowDown4_NEON() 115 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_NEON() argument 144 "+r"(dst_width) // %5 in ScaleRowDown4Box_NEON() [all …]
|
D | scale_gcc.cc | 102 uint8* dst_ptr, int dst_width) { in ScaleRowDown2_SSSE3() argument 118 "+r"(dst_width) // %2 in ScaleRowDown2_SSSE3() 124 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Linear_SSSE3() argument 147 "+r"(dst_width) // %2 in ScaleRowDown2Linear_SSSE3() 153 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Box_SSSE3() argument 184 "+r"(dst_width) // %2 in ScaleRowDown2Box_SSSE3() 193 uint8* dst_ptr, int dst_width) { in ScaleRowDown2_AVX2() argument 211 "+r"(dst_width) // %2 in ScaleRowDown2_AVX2() 217 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Linear_AVX2() argument 242 "+r"(dst_width) // %2 in ScaleRowDown2Linear_AVX2() [all …]
|
D | scale_argb.cc | 34 int dst_width, int dst_height, in ScaleARGBDown2() argument 42 uint8* dst_argb, int dst_width) = in ScaleARGBDown2() 60 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDown2() 72 if (IS_ALIGNED(dst_width, 8)) { in ScaleARGBDown2() 84 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width); in ScaleARGBDown2() 94 int dst_width, int dst_height, in ScaleARGBDown4Box() argument 100 const int kRowSize = (dst_width * 2 * 4 + 31) & ~31; in ScaleARGBDown4Box() 104 uint8* dst_argb, int dst_width) = ScaleARGBRowDown2Box_C; in ScaleARGBDown4Box() 112 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDown4Box() 120 if (IS_ALIGNED(dst_width, 8)) { in ScaleARGBDown4Box() [all …]
|
D | scale_any.cc | 24 int dst_width, int x, int dx) { \ 25 int n = dst_width & ~MASK; \ 30 dst_width & MASK, x + n * dx, dx); \ 48 uint8* dst_ptr, int dst_width) { \ 49 int r = (int)((unsigned int)dst_width % (MASK + 1)); \ 50 int n = dst_width - r; \ 63 uint8* dst_ptr, int dst_width) { \ 64 int r = (int)((unsigned int)(dst_width - 1) % (MASK + 1)); \ 65 int n = dst_width - r; \ 169 uint8* dst_ptr, int dst_width) { \ [all …]
|
/external/libyuv/files/util/ |
D | convert.cc | 32 int dst_width = 0, dst_height = 0; // new width and height variable 95 dst_width = atoi(argv[++c]); // NOLINT in ParseOptions() 147 if (dst_width == 0 || dst_height == 0) { in ParseOptions() 149 dst_width = rec_width; in ParseOptions() 152 dst_width = Abs(image_width); in ParseOptions() 164 int dst_width, int dst_height, in TileARGBScale() argument 167 for (int x = 0; x < dst_width; x += kTileX) { in TileARGBScale() 169 if (x + clip_width > dst_width) { in TileARGBScale() 170 clip_width = dst_width - x; in TileARGBScale() 179 dst_width, dst_height, in TileARGBScale() [all …]
|
/external/libyuv/files/unit_test/ |
D | rotate_test.cc | 20 int dst_width, int dst_height, in I420TestRotate() argument 30 if (dst_width < 1) { in I420TestRotate() 31 dst_width = 1; in I420TestRotate() 44 int dst_i420_y_size = dst_width * dst_height; in I420TestRotate() 45 int dst_i420_uv_size = ((dst_width + 1) / 2) * ((dst_height + 1) / 2); in I420TestRotate() 56 dst_i420_c, dst_width, in I420TestRotate() 57 dst_i420_c + dst_i420_y_size, (dst_width + 1) / 2, in I420TestRotate() 59 (dst_width + 1) / 2, in I420TestRotate() 68 dst_i420_opt, dst_width, in I420TestRotate() 69 dst_i420_opt + dst_i420_y_size, (dst_width + 1) / 2, in I420TestRotate() [all …]
|
D | scale_argb_test.cc | 27 int dst_width, int dst_height, in ARGBTestFilter() argument 30 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in ARGBTestFilter() 47 int64 dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4LL; in ARGBTestFilter() 48 int dst_stride_argb = (b * 2 + dst_width) * 4; in ARGBTestFilter() 64 dst_width, dst_height, f); in ARGBTestFilter() 69 dst_width, dst_height, f); in ARGBTestFilter() 76 dst_width, dst_height, f); in ARGBTestFilter() 86 dst_width, dst_height, f); in ARGBTestFilter() 100 for (j = b * 4; j < (dst_width + b) * 4; ++j) { in ARGBTestFilter() 121 int dst_width, int dst_height, in TileARGBScale() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_gather.c | 77 unsigned dst_width, in lp_build_gather_elem() argument 84 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather_elem() 94 assert(src_width <= dst_width); in lp_build_gather_elem() 95 if (src_width > dst_width) in lp_build_gather_elem() 97 if (src_width < dst_width) in lp_build_gather_elem() 119 unsigned dst_width, in lp_build_gather() argument 128 src_width, dst_width, in lp_build_gather() 133 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather() 142 src_width, dst_width, in lp_build_gather()
|
/external/webp/src/utils/ |
D | rescaler.c | 24 int dst_width, int dst_height, int dst_stride, in WebPRescalerInit() argument 26 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit() 28 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit() 32 wrk->dst_width = dst_width; in WebPRescalerInit() 67 wrk->frow = work + num_channels * dst_width; in WebPRescalerInit() 68 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work)); in WebPRescalerInit() 121 for (x = 0; x < wrk->num_channels * wrk->dst_width; ++x) { in WebPRescalerImport()
|