Lines Matching refs:src_width
25 static void I420TestRotate(int src_width, in I420TestRotate() argument
33 if (src_width < 1) { in I420TestRotate()
34 src_width = 1; in I420TestRotate()
45 int src_i420_y_size = src_width * Abs(src_height); in I420TestRotate()
46 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I420TestRotate()
62 I420Rotate(src_i420, src_width, src_i420 + src_i420_y_size, in I420TestRotate()
63 (src_width + 1) / 2, src_i420 + src_i420_y_size + src_i420_uv_size, in I420TestRotate()
64 (src_width + 1) / 2, dst_i420_c, dst_width, in I420TestRotate()
67 (dst_width + 1) / 2, src_width, src_height, mode); in I420TestRotate()
72 src_i420, src_width, src_i420 + src_i420_y_size, (src_width + 1) / 2, in I420TestRotate()
73 src_i420 + src_i420_y_size + src_i420_uv_size, (src_width + 1) / 2, in I420TestRotate()
76 (dst_width + 1) / 2, src_width, src_height, mode); in I420TestRotate()
144 static void I422TestRotate(int src_width, in I422TestRotate() argument
152 if (src_width < 1) { in I422TestRotate()
153 src_width = 1; in I422TestRotate()
164 int src_i422_y_size = src_width * Abs(src_height); in I422TestRotate()
165 int src_i422_uv_size = ((src_width + 1) / 2) * Abs(src_height); in I422TestRotate()
181 I422Rotate(src_i422, src_width, src_i422 + src_i422_y_size, in I422TestRotate()
182 (src_width + 1) / 2, src_i422 + src_i422_y_size + src_i422_uv_size, in I422TestRotate()
183 (src_width + 1) / 2, dst_i422_c, dst_width, in I422TestRotate()
186 (dst_width + 1) / 2, src_width, src_height, mode); in I422TestRotate()
191 src_i422, src_width, src_i422 + src_i422_y_size, (src_width + 1) / 2, in I422TestRotate()
192 src_i422 + src_i422_y_size + src_i422_uv_size, (src_width + 1) / 2, in I422TestRotate()
195 (dst_width + 1) / 2, src_width, src_height, mode); in I422TestRotate()
232 static void I444TestRotate(int src_width, in I444TestRotate() argument
240 if (src_width < 1) { in I444TestRotate()
241 src_width = 1; in I444TestRotate()
252 int src_i444_y_size = src_width * Abs(src_height); in I444TestRotate()
253 int src_i444_uv_size = src_width * Abs(src_height); in I444TestRotate()
269 I444Rotate(src_i444, src_width, src_i444 + src_i444_y_size, src_width, in I444TestRotate()
270 src_i444 + src_i444_y_size + src_i444_uv_size, src_width, in I444TestRotate()
273 src_width, src_height, mode); in I444TestRotate()
277 I444Rotate(src_i444, src_width, src_i444 + src_i444_y_size, src_width, in I444TestRotate()
278 src_i444 + src_i444_y_size + src_i444_uv_size, src_width, in I444TestRotate()
281 dst_width, src_width, src_height, mode); in I444TestRotate()
349 static void NV12TestRotate(int src_width, in NV12TestRotate() argument
357 if (src_width < 1) { in NV12TestRotate()
358 src_width = 1; in NV12TestRotate()
369 int src_nv12_y_size = src_width * Abs(src_height); in NV12TestRotate()
371 ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2) * 2; in NV12TestRotate()
387 NV12ToI420Rotate(src_nv12, src_width, src_nv12 + src_nv12_y_size, in NV12TestRotate()
388 (src_width + 1) & ~1, dst_i420_c, dst_width, in NV12TestRotate()
391 (dst_width + 1) / 2, src_width, src_height, mode); in NV12TestRotate()
395 NV12ToI420Rotate(src_nv12, src_width, src_nv12 + src_nv12_y_size, in NV12TestRotate()
396 (src_width + 1) & ~1, dst_i420_opt, dst_width, in NV12TestRotate()
399 (dst_width + 1) / 2, src_width, src_height, mode); in NV12TestRotate()
603 static void I010TestRotate(int src_width, in I010TestRotate() argument
611 if (src_width < 1) { in I010TestRotate()
612 src_width = 1; in I010TestRotate()
623 int src_i010_y_size = src_width * Abs(src_height); in I010TestRotate()
624 int src_i010_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I010TestRotate()
640 I010Rotate(src_i010, src_width, src_i010 + src_i010_y_size, in I010TestRotate()
641 (src_width + 1) / 2, src_i010 + src_i010_y_size + src_i010_uv_size, in I010TestRotate()
642 (src_width + 1) / 2, dst_i010_c, dst_width, in I010TestRotate()
645 (dst_width + 1) / 2, src_width, src_height, mode); in I010TestRotate()
650 src_i010, src_width, src_i010 + src_i010_y_size, (src_width + 1) / 2, in I010TestRotate()
651 src_i010 + src_i010_y_size + src_i010_uv_size, (src_width + 1) / 2, in I010TestRotate()
654 (dst_width + 1) / 2, src_width, src_height, mode); in I010TestRotate()
691 static void I210TestRotate(int src_width, in I210TestRotate() argument
699 if (src_width < 1) { in I210TestRotate()
700 src_width = 1; in I210TestRotate()
711 int src_i210_y_size = src_width * Abs(src_height); in I210TestRotate()
712 int src_i210_uv_size = ((src_width + 1) / 2) * Abs(src_height); in I210TestRotate()
728 I210Rotate(src_i210, src_width, src_i210 + src_i210_y_size, in I210TestRotate()
729 (src_width + 1) / 2, src_i210 + src_i210_y_size + src_i210_uv_size, in I210TestRotate()
730 (src_width + 1) / 2, dst_i210_c, dst_width, in I210TestRotate()
733 (dst_width + 1) / 2, src_width, src_height, mode); in I210TestRotate()
738 src_i210, src_width, src_i210 + src_i210_y_size, (src_width + 1) / 2, in I210TestRotate()
739 src_i210 + src_i210_y_size + src_i210_uv_size, (src_width + 1) / 2, in I210TestRotate()
742 (dst_width + 1) / 2, src_width, src_height, mode); in I210TestRotate()
779 static void I410TestRotate(int src_width, in I410TestRotate() argument
787 if (src_width < 1) { in I410TestRotate()
788 src_width = 1; in I410TestRotate()
799 int src_i410_y_size = src_width * Abs(src_height); in I410TestRotate()
800 int src_i410_uv_size = src_width * Abs(src_height); in I410TestRotate()
816 I410Rotate(src_i410, src_width, src_i410 + src_i410_y_size, src_width, in I410TestRotate()
817 src_i410 + src_i410_y_size + src_i410_uv_size, src_width, in I410TestRotate()
820 src_width, src_height, mode); in I410TestRotate()
824 I410Rotate(src_i410, src_width, src_i410 + src_i410_y_size, src_width, in I410TestRotate()
825 src_i410 + src_i410_y_size + src_i410_uv_size, src_width, in I410TestRotate()
828 dst_width, src_width, src_height, mode); in I410TestRotate()