Lines Matching refs:src_width
33 static void ScaleARGBDown2(int src_width, int src_height,
93 static void ScaleARGBDown4Box(int src_width, int src_height,
140 static void ScaleARGBDownEven(int src_width, int src_height,
152 assert(IS_ALIGNED(src_width, 2));
187 static void ScaleARGBBilinearDown(int src_width, int src_height,
199 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C;
207 if (xr > src_width) {
208 xr = src_width;
247 if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) {
289 static void ScaleARGBBilinearUp(int src_width, int src_height,
333 if (src_width >= 32768) {
338 if (filtering && TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) {
351 if (!filtering && TestCpuFlag(kCpuHasSSE2) && src_width < 32768) {
363 if (!filtering && src_width * 2 == dst_width && x < 0x8000) {
426 static void ScaleYUVToARGBBilinearUp(int src_width, int src_height,
447 if (IS_ALIGNED(src_width, 8)) {
455 if (IS_ALIGNED(src_width, 16)) {
463 if (IS_ALIGNED(src_width, 8)) {
469 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(src_width, 4) &&
515 if (src_width >= 32768) {
520 if (filtering && TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) {
533 if (!filtering && TestCpuFlag(kCpuHasSSE2) && src_width < 32768) {
545 if (!filtering && src_width * 2 == dst_width && x < 0x8000) {
570 align_buffer_64(argb_row, src_width * 4);
607 I422ToARGBRow(src_row_y, src_row_u, src_row_v, argb_row, src_width);
638 static void ScaleARGBSimple(int src_width, int src_height,
646 (src_width >= 32768) ? ScaleARGBCols64_C : ScaleARGBCols_C;
648 if (TestCpuFlag(kCpuHasSSE2) && src_width < 32768) {
660 if (src_width * 2 == dst_width && x < 0x8000) {
681 int src_width, int src_height,
693 filtering = ScaleFilterReduce(src_width, src_height,
703 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering,
705 src_width = Abs(src_width);
728 ScaleARGBDown2(src_width, src_height,
736 ScaleARGBDown4Box(src_width, src_height,
742 ScaleARGBDownEven(src_width, src_height,
769 ScaleARGBBilinearUp(src_width, src_height,
776 ScaleARGBBilinearDown(src_width, src_height,
782 ScaleARGBSimple(src_width, src_height, clip_width, clip_height,
789 int src_width, int src_height,
794 if (!src_argb || src_width == 0 || src_height == 0 ||
802 ScaleARGB(src_argb, src_stride_argb, src_width, src_height,
811 int src_width, int src_height,
815 if (!src_argb || src_width == 0 || src_height == 0 ||
816 src_width > 32768 || src_height > 32768 ||
820 ScaleARGB(src_argb, src_stride_argb, src_width, src_height,
832 int src_width, int src_height,
838 uint8* argb_buffer = (uint8*)malloc(src_width * src_height * 4);
843 argb_buffer, src_width * 4,
844 src_width, src_height);
846 r = ARGBScaleClip(argb_buffer, src_width * 4,
847 src_width, src_height,