Lines Matching refs:src_height
38 int src_height, in ScalePlaneDown2() argument
55 (void)src_height; in ScalePlaneDown2()
150 int src_height, in ScalePlaneDown2_16() argument
167 (void)src_height; in ScalePlaneDown2_16()
213 int src_height, in ScalePlaneDown4() argument
227 (void)src_height; in ScalePlaneDown4()
289 int src_height, in ScalePlaneDown4_16() argument
303 (void)src_height; in ScalePlaneDown4_16()
338 int src_height, in ScalePlaneDown34() argument
353 (void)src_height; in ScalePlaneDown34()
459 int src_height, in ScalePlaneDown34_16() argument
474 (void)src_height; in ScalePlaneDown34_16()
545 int src_height, in ScalePlaneDown38() argument
561 (void)src_height; in ScalePlaneDown38()
654 int src_height, in ScalePlaneDown38_16() argument
669 (void)src_height; in ScalePlaneDown38_16()
844 int src_height, in ScalePlaneBox() argument
857 const int max_y = (src_height << 16); in ScalePlaneBox()
858 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterBox, &x, &y, in ScalePlaneBox()
933 int src_height, in ScalePlaneBox_16() argument
946 const int max_y = (src_height << 16); in ScalePlaneBox_16()
947 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterBox, &x, &y, in ScalePlaneBox_16()
993 int src_height, in ScalePlaneBilinearDown() argument
1010 const int max_y = (src_height - 1) << 16; in ScalePlaneBilinearDown()
1018 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearDown()
1108 int src_height, in ScalePlaneBilinearDown_16() argument
1125 const int max_y = (src_height - 1) << 16; in ScalePlaneBilinearDown_16()
1133 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearDown_16()
1200 int src_height, in ScalePlaneBilinearUp() argument
1214 const int max_y = (src_height - 1) << 16; in ScalePlaneBilinearUp()
1221 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearUp()
1304 if (src_height > 1) { in ScalePlaneBilinearUp()
1340 int src_height, in ScalePlaneBilinearUp_16() argument
1354 const int max_y = (src_height - 1) << 16; in ScalePlaneBilinearUp_16()
1361 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScalePlaneBilinearUp_16()
1436 if (src_height > 1) { in ScalePlaneBilinearUp_16()
1477 int src_height, in ScalePlaneSimple() argument
1492 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterNone, &x, &y, in ScalePlaneSimple()
1518 int src_height, in ScalePlaneSimple_16() argument
1533 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterNone, &x, &y, in ScalePlaneSimple_16()
1565 int src_height, in ScalePlane() argument
1572 filtering = ScaleFilterReduce(src_width, src_height, dst_width, dst_height, in ScalePlane()
1576 if (src_height < 0) { in ScalePlane()
1577 src_height = -src_height; in ScalePlane()
1578 src = src + (src_height - 1) * src_stride; in ScalePlane()
1584 if (dst_width == src_width && dst_height == src_height) { in ScalePlane()
1590 int dy = FixedDiv(src_height, dst_height); in ScalePlane()
1592 ScalePlaneVertical(src_height, dst_width, dst_height, src_stride, in ScalePlane()
1596 if (dst_width <= Abs(src_width) && dst_height <= src_height) { in ScalePlane()
1598 if (4 * dst_width == 3 * src_width && 4 * dst_height == 3 * src_height) { in ScalePlane()
1600 ScalePlaneDown34(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1604 if (2 * dst_width == src_width && 2 * dst_height == src_height) { in ScalePlane()
1606 ScalePlaneDown2(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1611 if (8 * dst_width == 3 * src_width && 8 * dst_height == 3 * src_height) { in ScalePlane()
1613 ScalePlaneDown38(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1617 if (4 * dst_width == src_width && 4 * dst_height == src_height && in ScalePlane()
1620 ScalePlaneDown4(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1625 if (filtering == kFilterBox && dst_height * 2 < src_height) { in ScalePlane()
1626 ScalePlaneBox(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1630 if (filtering && dst_height > src_height) { in ScalePlane()
1631 ScalePlaneBilinearUp(src_width, src_height, dst_width, dst_height, in ScalePlane()
1636 ScalePlaneBilinearDown(src_width, src_height, dst_width, dst_height, in ScalePlane()
1640 ScalePlaneSimple(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane()
1648 int src_height, in ScalePlane_16() argument
1655 filtering = ScaleFilterReduce(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1659 if (src_height < 0) { in ScalePlane_16()
1660 src_height = -src_height; in ScalePlane_16()
1661 src = src + (src_height - 1) * src_stride; in ScalePlane_16()
1667 if (dst_width == src_width && dst_height == src_height) { in ScalePlane_16()
1673 int dy = FixedDiv(src_height, dst_height); in ScalePlane_16()
1675 ScalePlaneVertical_16(src_height, dst_width, dst_height, src_stride, in ScalePlane_16()
1679 if (dst_width <= Abs(src_width) && dst_height <= src_height) { in ScalePlane_16()
1681 if (4 * dst_width == 3 * src_width && 4 * dst_height == 3 * src_height) { in ScalePlane_16()
1683 ScalePlaneDown34_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1687 if (2 * dst_width == src_width && 2 * dst_height == src_height) { in ScalePlane_16()
1689 ScalePlaneDown2_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1694 if (8 * dst_width == 3 * src_width && 8 * dst_height == 3 * src_height) { in ScalePlane_16()
1696 ScalePlaneDown38_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1700 if (4 * dst_width == src_width && 4 * dst_height == src_height && in ScalePlane_16()
1703 ScalePlaneDown4_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1708 if (filtering == kFilterBox && dst_height * 2 < src_height) { in ScalePlane_16()
1709 ScalePlaneBox_16(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane_16()
1713 if (filtering && dst_height > src_height) { in ScalePlane_16()
1714 ScalePlaneBilinearUp_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1719 ScalePlaneBilinearDown_16(src_width, src_height, dst_width, dst_height, in ScalePlane_16()
1723 ScalePlaneSimple_16(src_width, src_height, dst_width, dst_height, src_stride, in ScalePlane_16()
1738 int src_height, in I420Scale() argument
1749 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale()
1752 if (!src_y || !src_u || !src_v || src_width == 0 || src_height == 0 || in I420Scale()
1753 src_width > 32768 || src_height > 32768 || !dst_y || !dst_u || !dst_v || in I420Scale()
1758 ScalePlane(src_y, src_stride_y, src_width, src_height, dst_y, dst_stride_y, in I420Scale()
1775 int src_height, in I420Scale_16() argument
1786 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale_16()
1789 if (!src_y || !src_u || !src_v || src_width == 0 || src_height == 0 || in I420Scale_16()
1790 src_width > 32768 || src_height > 32768 || !dst_y || !dst_u || !dst_v || in I420Scale_16()
1795 ScalePlane_16(src_y, src_stride_y, src_width, src_height, dst_y, dst_stride_y, in I420Scale_16()
1815 int src_height, in I444Scale() argument
1825 if (!src_y || !src_u || !src_v || src_width == 0 || src_height == 0 || in I444Scale()
1826 src_width > 32768 || src_height > 32768 || !dst_y || !dst_u || !dst_v || in I444Scale()
1831 ScalePlane(src_y, src_stride_y, src_width, src_height, dst_y, dst_stride_y, in I444Scale()
1833 ScalePlane(src_u, src_stride_u, src_width, src_height, dst_u, dst_stride_u, in I444Scale()
1835 ScalePlane(src_v, src_stride_v, src_width, src_height, dst_v, dst_stride_v, in I444Scale()
1848 int src_height, in I444Scale_16() argument
1858 if (!src_y || !src_u || !src_v || src_width == 0 || src_height == 0 || in I444Scale_16()
1859 src_width > 32768 || src_height > 32768 || !dst_y || !dst_u || !dst_v || in I444Scale_16()
1864 ScalePlane_16(src_y, src_stride_y, src_width, src_height, dst_y, dst_stride_y, in I444Scale_16()
1866 ScalePlane_16(src_u, src_stride_u, src_width, src_height, dst_u, dst_stride_u, in I444Scale_16()
1868 ScalePlane_16(src_v, src_stride_v, src_width, src_height, dst_v, dst_stride_v, in I444Scale_16()
1882 int src_height, in NV12Scale() argument
1891 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in NV12Scale()
1894 if (!src_y || !src_uv || src_width == 0 || src_height == 0 || in NV12Scale()
1895 src_width > 32768 || src_height > 32768 || !dst_y || !dst_uv || in NV12Scale()
1900 ScalePlane(src_y, src_stride_y, src_width, src_height, dst_y, dst_stride_y, in NV12Scale()
1916 int src_height, in Scale() argument
1927 src_stride_v, src_width, src_height, dst_y, dst_stride_y, in Scale()