Lines Matching refs:dst_height
39 int dst_height, in ScalePlaneDown2() argument
133 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown2()
143 int dst_height, in ScalePlaneDown2_16() argument
192 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown2_16()
206 int dst_height, in ScalePlaneDown4() argument
270 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown4()
280 int dst_height, in ScalePlaneDown4_16() argument
321 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown4_16()
332 int dst_height, in ScalePlaneDown34() argument
408 for (y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown34()
421 if ((dst_height % 3) == 2) { in ScalePlaneDown34()
426 } else if ((dst_height % 3) == 1) { in ScalePlaneDown34()
434 int dst_height, in ScalePlaneDown34_16() argument
492 for (y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown34_16()
505 if ((dst_height % 3) == 2) { in ScalePlaneDown34_16()
510 } else if ((dst_height % 3) == 1) { in ScalePlaneDown34_16()
533 int dst_height, in ScalePlaneDown38() argument
629 for (y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown38()
642 if ((dst_height % 3) == 2) { in ScalePlaneDown38()
647 } else if ((dst_height % 3) == 1) { in ScalePlaneDown38()
655 int dst_height, in ScalePlaneDown38_16() argument
713 for (y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown38_16()
726 if ((dst_height % 3) == 2) { in ScalePlaneDown38_16()
731 } else if ((dst_height % 3) == 1) { in ScalePlaneDown38_16()
857 int dst_height, in ScalePlaneBox() argument
869 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterBox, &x, &y, in ScalePlaneBox()
922 for (j = 0; j < dst_height; ++j) { in ScalePlaneBox()
946 int dst_height, in ScalePlaneBox_16() argument
958 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterBox, &x, &y, in ScalePlaneBox_16()
976 for (j = 0; j < dst_height; ++j) { in ScalePlaneBox_16()
1001 int dst_height, in ScalePlaneBilinearDown() argument
1024 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearDown()
1086 for (j = 0; j < dst_height; ++j) { in ScalePlaneBilinearDown()
1108 int dst_height, in ScalePlaneBilinearDown_16() argument
1131 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearDown_16()
1185 for (j = 0; j < dst_height; ++j) { in ScalePlaneBilinearDown_16()
1208 int dst_height, in ScalePlaneBilinearUp() argument
1227 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearUp()
1311 for (j = 0; j < dst_height; ++j) { in ScalePlaneBilinearUp()
1343 int dst_height, in ScalePlaneBilinearUp_16() argument
1362 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearUp_16()
1446 for (j = 0; j < dst_height; ++j) { in ScalePlaneBilinearUp_16()
1483 int dst_height, in ScalePlaneSimple() argument
1496 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterNone, &x, &y, in ScalePlaneSimple()
1509 for (i = 0; i < dst_height; ++i) { in ScalePlaneSimple()
1519 int dst_height, in ScalePlaneSimple_16() argument
1532 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterNone, &x, &y, in ScalePlaneSimple_16()
1545 for (i = 0; i < dst_height; ++i) { in ScalePlaneSimple_16()
1563 int dst_height, in ScalePlane() argument
1566 filtering = ScaleFilterReduce(src_width, src_height, dst_width, dst_height, in ScalePlane()
1578 if (dst_width == src_width && dst_height == src_height) { in ScalePlane()
1580 CopyPlane(src, src_stride, dst, dst_stride, dst_width, dst_height); in ScalePlane()
1584 int dy = FixedDiv(src_height, dst_height); in ScalePlane()
1586 ScalePlaneVertical(src_height, dst_width, dst_height, src_stride, in ScalePlane()
1590 if (dst_width <= Abs(src_width) && dst_height <= src_height) { in ScalePlane()
1592 if (4 * dst_width == 3 * src_width && 4 * dst_height == 3 * src_height) { in ScalePlane()
1594 ScalePlaneDown34(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1598 if (2 * dst_width == src_width && 2 * dst_height == src_height) { in ScalePlane()
1600 ScalePlaneDown2(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1605 if (8 * dst_width == 3 * src_width && 8 * dst_height == 3 * src_height) { in ScalePlane()
1607 ScalePlaneDown38(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1611 if (4 * dst_width == src_width && 4 * dst_height == src_height && in ScalePlane()
1614 ScalePlaneDown4(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1619 if (filtering == kFilterBox && dst_height * 2 < src_height) { in ScalePlane()
1620 ScalePlaneBox(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1624 if (filtering && dst_height > src_height) { in ScalePlane()
1625 ScalePlaneBilinearUp(src_width, src_height, dst_width, dst_height, in ScalePlane()
1630 ScalePlaneBilinearDown(src_width, src_height, dst_width, dst_height, in ScalePlane()
1634 ScalePlaneSimple(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1646 int dst_height, in ScalePlane_16() argument
1649 filtering = ScaleFilterReduce(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1661 if (dst_width == src_width && dst_height == src_height) { in ScalePlane_16()
1663 CopyPlane_16(src, src_stride, dst, dst_stride, dst_width, dst_height); in ScalePlane_16()
1667 int dy = FixedDiv(src_height, dst_height); in ScalePlane_16()
1669 ScalePlaneVertical_16(src_height, dst_width, dst_height, src_stride, in ScalePlane_16()
1673 if (dst_width <= Abs(src_width) && dst_height <= src_height) { in ScalePlane_16()
1675 if (4 * dst_width == 3 * src_width && 4 * dst_height == 3 * src_height) { in ScalePlane_16()
1677 ScalePlaneDown34_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1681 if (2 * dst_width == src_width && 2 * dst_height == src_height) { in ScalePlane_16()
1683 ScalePlaneDown2_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1688 if (8 * dst_width == 3 * src_width && 8 * dst_height == 3 * src_height) { in ScalePlane_16()
1690 ScalePlaneDown38_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1694 if (4 * dst_width == src_width && 4 * dst_height == src_height && in ScalePlane_16()
1697 ScalePlaneDown4_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1702 if (filtering == kFilterBox && dst_height * 2 < src_height) { in ScalePlane_16()
1703 ScalePlaneBox_16(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane_16()
1707 if (filtering && dst_height > src_height) { in ScalePlane_16()
1708 ScalePlaneBilinearUp_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1713 ScalePlaneBilinearDown_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1717 ScalePlaneSimple_16(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane_16()
1740 int dst_height, in I420Scale() argument
1745 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale()
1748 dst_width <= 0 || dst_height <= 0) { in I420Scale()
1753 dst_width, dst_height, filtering); in I420Scale()
1777 int dst_height, in I420Scale_16() argument
1782 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale_16()
1785 dst_width <= 0 || dst_height <= 0) { in I420Scale_16()
1790 dst_width, dst_height, filtering); in I420Scale_16()
1815 int dst_height, in Scale() argument
1820 dst_height, interpolate ? kFilterBox : kFilterNone); in Scale()
1830 int dst_height, in ScaleOffset() argument
1838 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in ScaleOffset()
1839 int aheight = dst_height - dst_yoffset_even * 2; // actual output height in ScaleOffset()
1846 dst + dst_width * dst_height + (dst_yoffset_even >> 1) * dst_halfwidth; in ScaleOffset()
1847 uint8* dst_v = dst + dst_width * dst_height + dst_halfwidth * dst_halfheight + in ScaleOffset()
1850 dst_height <= 0 || dst_yoffset_even < 0 || in ScaleOffset()
1851 dst_yoffset_even >= dst_height) { in ScaleOffset()