Home
last modified time | relevance | path

Searched refs:src_width (Results 1 – 22 of 22) sorted by relevance

/external/libyuv/files/unit_test/
Dscale_argb_test.cc20 static int ARGBTestFilter(int src_width, int src_height, in ARGBTestFilter() argument
24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4; in ARGBTestFilter()
25 int src_stride_argb = (b * 2 + src_width) * 4; in ARGBTestFilter()
37 for (j = b; j < (src_width + b) * 4; ++j) { in ARGBTestFilter()
50 src_width, src_height, in ARGBTestFilter()
55 src_width, src_height, in ARGBTestFilter()
63 src_width, src_height, in ARGBTestFilter()
73 src_width, src_height, in ARGBTestFilter()
105 const int src_width = 1280; in TEST_F() local
107 const int dst_width = src_width / 2; in TEST_F()
[all …]
Dscale_test.cc20 static int TestFilter(int src_width, int src_height, in TestFilter() argument
24 int src_width_uv = (src_width + rounding) >> 1; in TestFilter()
27 int src_y_plane_size = (src_width + b * 2) * (src_height + b * 2); in TestFilter()
30 int src_stride_y = b * 2 + src_width; in TestFilter()
50 for (j = b; j < (src_width + b); ++j) { in TestFilter()
74 src_width, src_height, in TestFilter()
83 src_width, src_height, in TestFilter()
95 src_width, src_height, in TestFilter()
109 src_width, src_height, in TestFilter()
166 const int src_width = 1280; in TEST_F() local
[all …]
Drotate_argb_test.cc20 static int ARGBTestRotate(int src_width, int src_height, in ARGBTestRotate() argument
24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4; in ARGBTestRotate()
25 int src_stride_argb = (b * 2 + src_width) * 4; in ARGBTestRotate()
37 for (j = b; j < (src_width + b) * 4; ++j) { in ARGBTestRotate()
51 src_width, src_height, mode); in ARGBTestRotate()
55 src_width, src_height, mode); in ARGBTestRotate()
62 src_width, src_height, mode); in ARGBTestRotate()
71 src_width, src_height, mode); in ARGBTestRotate()
100 const int src_width = 1280; in TEST_F() local
105 int err = ARGBTestRotate(src_width, src_height, in TEST_F()
[all …]
/external/libyuv/files/source/
Dconvert_argb.cc1004 int src_width, int src_height, in ConvertToARGB() argument
1009 src_width <= 0 || dst_width <= 0 || in ConvertToARGB()
1013 int aligned_src_width = (src_width + 1) & ~1; in ConvertToARGB()
1067 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
1068 r = RGB24ToARGB(src, src_width * 3, in ConvertToARGB()
1073 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
1074 r = RAWToARGB(src, src_width * 3, in ConvertToARGB()
1079 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
1080 r = ARGBToARGB(src, src_width * 4, in ConvertToARGB()
1085 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
[all …]
Dconvert.cc276 void ScalePlaneBilinear(int src_width, int src_height,
1719 int src_width, int src_height, in ConvertToI420() argument
1724 src_width <= 0 || dst_width <= 0 || in ConvertToI420()
1728 int aligned_src_width = (src_width + 1) & ~1; in ConvertToI420()
1798 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
1799 r = RGB24ToI420(src, src_width * 3, in ConvertToI420()
1806 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
1807 r = RAWToI420(src, src_width * 3, in ConvertToI420()
1814 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
1815 r = ARGBToI420(src, src_width * 4, in ConvertToI420()
[all …]
Dscale.cc872 uint16* dst_ptr, int src_width, in ScaleAddRows_SSE2() argument
1756 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_SSE2() argument
1794 "+r"(src_width), // %4 in ScaleAddRows_SSE2()
2273 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_C() argument
2274 assert(src_width > 0); in ScaleAddRows_C()
2276 for (int x = 0; x < src_width; ++x) { in ScaleAddRows_C()
2618 static void ScalePlaneBox(int src_width, int src_height, in ScalePlaneBox() argument
2624 int dx = (src_width << 16) / dst_width; in ScalePlaneBox()
2629 if (!IS_ALIGNED(src_width, 16) || (src_width > kMaxInputWidth) || in ScalePlaneBox()
2648 uint16* dst_ptr, int src_width, int src_height)= in ScalePlaneBox()
[all …]
Dscale_argb.cc827 static void ScaleARGBDownEven(int src_width, int src_height, in ScaleARGBDownEven() argument
832 assert(IS_ALIGNED(src_width, 2)); in ScaleARGBDownEven()
845 int src_step = src_width / dst_width; in ScaleARGBDownEven()
861 static void ScaleARGBBilinear(int src_width, int src_height, in ScaleARGBBilinear() argument
867 assert(src_width <= kMaxInputWidth); in ScaleARGBBilinear()
885 int dx = (src_width << 16) / dst_width; in ScaleARGBBilinear()
894 ScaleARGBFilterRows(row, src, src_stride, src_width, yf); in ScaleARGBBilinear()
930 static void ScaleARGBSimple(int src_width, int src_height, in ScaleARGBSimple() argument
934 int dx = (src_width << 16) / dst_width; in ScaleARGBSimple()
948 static void ScaleARGBAnySize(int src_width, int src_height, in ScaleARGBAnySize() argument
[all …]
Dconvert_from.cc102 void ScalePlaneBilinear(int src_width, int src_height,
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.c1222 uint16* dst_ptr, int src_width, in ScaleAddRows_SSE2() argument
1992 uint16* dst_ptr, int src_width,
2531 uint16* dst_ptr, int src_width, in ScaleAddRows_SSE2() argument
2562 "+r"(src_width), // %2 in ScaleAddRows_SSE2()
3030 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_C() argument
3032 assert(src_width > 0); in ScaleAddRows_C()
3034 for (x = 0; x < src_width; ++x) { in ScaleAddRows_C()
3052 static void ScalePlaneDown2(int src_width, int src_height, in ScalePlaneDown2() argument
3059 assert(IS_ALIGNED(src_width, 2)); in ScalePlaneDown2()
3096 static void ScalePlaneDown4(int src_width, int src_height, in ScalePlaneDown4() argument
[all …]
/external/libyuv/files/include/libyuv/
Dscale.h31 int src_width, int src_height,
50 int src_width, int src_height,
61 int src_width, int src_height,
69 int ScaleOffset(const uint8* src, int src_width, int src_height,
Drotate.h42 int src_width, int src_height, RotationMode mode);
51 int src_width, int src_height, RotationMode mode);
Drotate_argb.h26 int src_width, int src_height, RotationMode mode);
Dscale_argb.h24 int src_width, int src_height,
Dconvert_argb.h186 int src_width, int src_height,
218 int src_width, int src_height,
Dconvert.h206 int src_width, int src_height,
240 int src_width, int src_height,
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dscale.h41 int src_width, int src_height,
51 int src_width, int src_height,
58 int ScaleOffset(const uint8* src, int src_width, int src_height,
/external/llvm/test/CodeGen/ARM/
D2011-04-07-schediv.ll7 define void @t(i32 %src_width, float* nocapture %src_copy_start, float* nocapture %dst_copy_start, …
10 %0 = icmp eq i32 %src_width, 0
27 %exitcond = icmp eq i32 %2, %src_width
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/
Dbilin_scaler.c134 unsigned int src_width = parms.src_pixel_width; in scale_srcw16_dstw16() local
140 unsigned int src_linestride_y = src_width; in scale_srcw16_dstw16()
141 unsigned int src_dbl_linestride_y = src_width<<1; in scale_srcw16_dstw16()
142 unsigned int src_linestride_vu = src_width>>1; in scale_srcw16_dstw16()
143 unsigned int src_dbl_linestride_vu = src_width; in scale_srcw16_dstw16()
169 vector float vf_x_scale = spu_splats( (float)src_width/(float)dst_width ); in scale_srcw16_dstw16()
440 unsigned int src_width = parms.src_pixel_width; in scale_srcw16_dstw32() local
446 unsigned int src_linestride_y = src_width; in scale_srcw16_dstw32()
447 unsigned int src_dbl_linestride_y = src_width<<1; in scale_srcw16_dstw32()
448 unsigned int src_linestride_vu = src_width>>1; in scale_srcw16_dstw32()
[all …]
/external/webp/src/utils/
Drescaler.c25 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, in WebPRescalerInit() argument
29 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit()
30 wrk->src_width = src_width; in WebPRescalerInit()
Drescaler.h31 int src_width, src_height; // source dimensions member
39 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height,
/external/webp/src/enc/
Dpicture.c375 int src_width, int src_height, int src_stride, in RescalePlane() argument
382 WebPRescalerInit(&rescaler, src_width, src_height, in RescalePlane()
385 src_width, dst_width, in RescalePlane()
/external/opencv/cv/src/
Dcvlkpyramid.cpp229 int src_width = src_size.width, dst_width = src_size.width-2; in icvCalcIxIy_32f() local
231 float* buffer1 = buffer0 + src_width; in icvCalcIxIy_32f()
241 for( x = 0; x < src_width; x++ ) in icvCalcIxIy_32f()