Lines Matching refs:src_height
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,
153 assert(IS_ALIGNED(src_height, 2));
187 static void ScaleARGBBilinearDown(int src_width, int src_height,
264 const int max_y = (src_height - 1) << 16;
289 static void ScaleARGBBilinearUp(int src_width, int src_height,
302 const int max_y = (src_height - 1) << 16;
389 if (src_height > 1) {
426 static void ScaleYUVToARGBBilinearUp(int src_width, int src_height,
554 const int max_y = (src_height - 1) << 16;
578 if (src_height > 1) {
586 if (src_height > 2) {
638 static void ScaleARGBSimple(int src_width, int src_height,
681 int src_width, int src_height,
693 filtering = ScaleFilterReduce(src_width, src_height,
697 // Negative src_height means invert the image.
698 if (src_height < 0) {
699 src_height = -src_height;
700 src = src + (src_height - 1) * src_stride;
703 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering,
728 ScaleARGBDown2(src_width, src_height,
736 ScaleARGBDown4Box(src_width, src_height,
742 ScaleARGBDownEven(src_width, src_height,
762 ScalePlaneVertical(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);
844 src_width, src_height);
847 src_width, src_height,