Home
last modified time | relevance | path

Searched refs:dst_width (Results 1 – 25 of 88) sorted by relevance

1234

/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dscale_row.h88 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 …]
Dscale.h34 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,
Dscale_argb.h26 int dst_width, int dst_height,
34 int dst_width, int dst_height,
48 int dst_width, int dst_height,
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.cc37 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 …]
Dscale_mips.cc25 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 …]
Dscale_common.cc32 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 …]
Dscale_neon.cc27 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 …]
Dscale_neon64.cc25 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 …]
Dscale_argb.cc34 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 …]
Dscale_gcc.cc100 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 …]
Dscale_any.cc24 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; \
Dscale_win.cc100 uint8* dst_ptr, int dst_width) { in ScaleRowDown2_SSE2() argument
126 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Linear_SSE2() argument
162 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Box_SSE2() argument
205 uint8* dst_ptr, int dst_width) { in ScaleRowDown2_AVX2() argument
233 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Linear_AVX2() argument
270 uint8* dst_ptr, int dst_width) { in ScaleRowDown2Box_AVX2() argument
312 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_SSE2() argument
343 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_SSE2() argument
403 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_AVX2() argument
437 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Box_AVX2() argument
[all …]
/external/libyuv/files/source/
Dscale_neon.cc30 uint8* dst, int dst_width) { in ScaleRowDown2_NEON() argument
40 "+r"(dst_width) // %2 in ScaleRowDown2_NEON()
47 uint8* dst, int dst_width) { in ScaleRowDown2Int_NEON() argument
66 "+r"(dst_width) // %3 in ScaleRowDown2Int_NEON()
73 uint8* dst_ptr, int dst_width) { in ScaleRowDown4_NEON() argument
84 "+r"(dst_width) // %2 in ScaleRowDown4_NEON()
91 uint8* dst_ptr, int dst_width) { in ScaleRowDown4Int_NEON() argument
113 "+r"(dst_width) // %2 in ScaleRowDown4Int_NEON()
124 uint8* dst_ptr, int dst_width) { in ScaleRowDown34_NEON() argument
134 "+r"(dst_width) // %2 in ScaleRowDown34_NEON()
[all …]
Dscale.cc57 uint8* dst, int dst_width);
60 uint8* dst, int dst_width);
64 uint8* dst_ptr, int dst_width);
66 uint8* dst_ptr, int dst_width);
74 uint8* dst_ptr, int dst_width);
77 uint8* dst_ptr, int dst_width);
80 uint8* dst_ptr, int dst_width);
86 uint8* dst_ptr, int dst_width);
90 uint8* dst_ptr, int dst_width);
94 uint8* dst_ptr, int dst_width);
[all …]
Dscale_argb.cc42 uint8* dst_ptr, int dst_width) { in ScaleARGBRowDown2_SSE2() argument
69 uint8* dst_ptr, int dst_width) { in ScaleARGBRowDown2Int_SSE2() argument
106 uint8* dst_ptr, int dst_width) { in ScaleARGBRowDownEven_SSE2() argument
145 uint8* dst_ptr, int dst_width) { in ScaleARGBRowDownEvenInt_SSE2() argument
194 ptrdiff_t src_stride, int dst_width, in ScaleARGBFilterRows_SSE2() argument
282 ptrdiff_t src_stride, int dst_width, in ScaleARGBFilterRows_SSSE3() argument
368 uint8* dst_ptr, int dst_width) {
382 "+r"(dst_width) // %2
393 uint8* dst_ptr, int dst_width) {
414 "+r"(dst_width) // %2
[all …]
Dconvert_argb.cc1005 int dst_width, int dst_height, in ConvertToARGB() argument
1009 src_width <= 0 || dst_width <= 0 || in ConvertToARGB()
1034 int argb_size = dst_width * abs_dst_height * 4; in ConvertToARGB()
1040 argb_stride = dst_width; in ConvertToARGB()
1049 dst_width, inv_dst_height); in ConvertToARGB()
1055 dst_width, inv_dst_height); in ConvertToARGB()
1070 dst_width, inv_dst_height); in ConvertToARGB()
1076 dst_width, inv_dst_height); in ConvertToARGB()
1082 dst_width, inv_dst_height); in ConvertToARGB()
1088 dst_width, inv_dst_height); in ConvertToARGB()
[all …]
Dconvert.cc195 uint8* dst, int dst_width);
200 uint8* dst_ptr, int dst_width);
203 uint8* dst_ptr, int dst_width);
230 uint8* dst_ptr, int dst_width) = ScaleRowDown2Int_C; in I444ToI420()
277 int dst_width, int dst_height,
1720 int dst_width, int dst_height, in ConvertToI420() argument
1724 src_width <= 0 || dst_width <= 0 || in ConvertToI420()
1755 int y_size = dst_width * abs_dst_height; in ConvertToI420()
1756 int uv_size = ((dst_width + 1) / 2) * ((abs_dst_height + 1) / 2); in ConvertToI420()
1764 y_stride = dst_width; in ConvertToI420()
[all …]
/external/libyuv/files/unit_test/
Dscale_argb_test.cc21 int dst_width, int dst_height, in ARGBTestFilter() argument
30 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; in ARGBTestFilter()
31 int dst_stride_argb = (b * 2 + dst_width) * 4; in ARGBTestFilter()
52 dst_width, dst_height, f); in ARGBTestFilter()
57 dst_width, dst_height, f); in ARGBTestFilter()
65 dst_width, dst_height, f); in ARGBTestFilter()
75 dst_width, dst_height, f); in ARGBTestFilter()
89 for (j = b * 4; j < (dst_width + b) * 4; ++j) { in ARGBTestFilter()
107 const int dst_width = src_width / 2; in TEST_F() local
112 dst_width, dst_height, in TEST_F()
[all …]
Dscale_test.cc21 int dst_width, int dst_height, in TestFilter() argument
37 int dst_width_uv = (dst_width + rounding) >> 1; in TestFilter()
40 int dst_y_plane_size = (dst_width + b * 2) * (dst_height + b * 2); in TestFilter()
43 int dst_stride_y = b * 2 + dst_width; in TestFilter()
78 dst_width, dst_height, f); in TestFilter()
87 dst_width, dst_height, f); in TestFilter()
99 dst_width, dst_height, f); in TestFilter()
113 dst_width, dst_height, f); in TestFilter()
127 for (j = b; j < (dst_width + b); ++j) { in TestFilter()
168 const int dst_width = src_width / 2; in TEST_F() local
[all …]
Drotate_argb_test.cc21 int dst_width, int dst_height, in ARGBTestRotate() argument
30 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; in ARGBTestRotate()
31 int dst_stride_argb = (b * 2 + dst_width) * 4; in ARGBTestRotate()
85 for (j = b * 4; j < (dst_width + b) * 4; ++j) { in ARGBTestRotate()
102 const int dst_width = 1280; in TEST_F() local
106 dst_width, dst_height, kRotate0, in TEST_F()
114 const int dst_width = 720; in TEST_F() local
118 dst_width, dst_height, kRotate90, in TEST_F()
126 const int dst_width = 1280; in TEST_F() local
130 dst_width, dst_height, kRotate180, in TEST_F()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_gather.c77 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/
Drescaler.c24 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()
/external/opencv3/3rdparty/libwebp/utils/
Drescaler.c28 uint8_t* const dst, int dst_width, int dst_height, in WebPRescalerInit() argument
31 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit()
34 wrk->dst_width = dst_width; in WebPRescalerInit()
51 wrk->frow = work + num_channels * dst_width; in WebPRescalerInit()
57 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRow()
104 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRow()
/external/libyuv/files/include/libyuv/
Dscale.h33 int dst_width, int dst_height,
54 int dst_width, int dst_height,
64 int dst_width, int dst_height,
70 uint8* dst, int dst_width, int dst_height, int dst_yoffset,
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_alpha.c75 const unsigned dst_width = 8; in lp_build_alpha_test() local
80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha); in lp_build_alpha_test()
81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref); in lp_build_alpha_test()

1234