• Home
  • Raw
  • Download

Lines Matching refs:dst_height

2295                             int dst_width, int dst_height,  in ScalePlaneDown2()  argument
2319 for (int y = 0; y < dst_height; ++y) { in ScalePlaneDown2()
2333 int dst_width, int dst_height, in ScalePlaneDown4() argument
2353 for (int y = 0; y < dst_height; ++y) { in ScalePlaneDown4()
2368 int dst_width, int dst_height, in ScalePlaneDown8() argument
2384 for (int y = 0; y < dst_height; ++y) { in ScalePlaneDown8()
2398 int dst_width, int dst_height, in ScalePlaneDown34() argument
2445 for (int y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown34()
2459 if ((dst_height % 3) == 2) { in ScalePlaneDown34()
2464 } else if ((dst_height % 3) == 1) { in ScalePlaneDown34()
2487 int dst_width, int dst_height, in ScalePlaneDown38() argument
2526 for (int y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown38()
2539 if ((dst_height % 3) == 2) { in ScalePlaneDown38()
2544 } else if ((dst_height % 3) == 1) { in ScalePlaneDown38()
2619 int dst_width, int dst_height, in ScalePlaneBox() argument
2623 assert(dst_height > 0); in ScalePlaneBox()
2625 int dy = (src_height << 16) / dst_height; in ScalePlaneBox()
2630 dst_height * 2 > src_height) { in ScalePlaneBox()
2632 for (int j = 0; j < dst_height; ++j) { in ScalePlaneBox()
2664 for (int j = 0; j < dst_height; ++j) { in ScalePlaneBox()
2683 int dst_width, int dst_height, in ScalePlaneBilinearSimple() argument
2687 int dy = (src_height << 16) / dst_height; in ScalePlaneBilinearSimple()
2691 for (int i = 0; i < dst_height; ++i) { in ScalePlaneBilinearSimple()
2725 int dst_width, int dst_height, in ScalePlaneBilinear() argument
2729 assert(dst_height > 0); in ScalePlaneBilinear()
2731 ScalePlaneBilinearSimple(src_width, src_height, dst_width, dst_height, in ScalePlaneBilinear()
2759 int dy = (src_height << 16) / dst_height; in ScalePlaneBilinear()
2763 for (int j = 0; j < dst_height; ++j) { in ScalePlaneBilinear()
2785 int dst_width, int dst_height, in ScalePlaneSimple() argument
2789 int dy = (src_height << 16) / dst_height; in ScalePlaneSimple()
2791 for (int j = 0; j < dst_height; ++j) { in ScalePlaneSimple()
2809 int dst_width, int dst_height, in ScalePlaneAnySize() argument
2814 ScalePlaneSimple(src_width, src_height, dst_width, dst_height, in ScalePlaneAnySize()
2818 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height, in ScalePlaneAnySize()
2832 int dst_width, int dst_height, in ScalePlaneDown() argument
2837 ScalePlaneSimple(src_width, src_height, dst_width, dst_height, in ScalePlaneDown()
2839 } else if (filtering == kFilterBilinear || src_height * 2 > dst_height) { in ScalePlaneDown()
2841 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height, in ScalePlaneDown()
2844 ScalePlaneBox(src_width, src_height, dst_width, dst_height, in ScalePlaneDown()
2857 int dst_width, int dst_height, in ScalePlane() argument
2868 if (dst_width == src_width && dst_height == src_height) { in ScalePlane()
2870 CopyPlane(src, src_stride, dst, dst_stride, dst_width, dst_height); in ScalePlane()
2871 } else if (dst_width <= src_width && dst_height <= src_height) { in ScalePlane()
2875 ScalePlaneDown(src_width, src_height, dst_width, dst_height, in ScalePlane()
2878 4 * dst_height == 3 * src_height) { in ScalePlane()
2880 ScalePlaneDown34(src_width, src_height, dst_width, dst_height, in ScalePlane()
2882 } else if (2 * dst_width == src_width && 2 * dst_height == src_height) { in ScalePlane()
2884 ScalePlaneDown2(src_width, src_height, dst_width, dst_height, in ScalePlane()
2888 dst_height == ((src_height * 3 + 7) / 8)) { in ScalePlane()
2890 ScalePlaneDown38(src_width, src_height, dst_width, dst_height, in ScalePlane()
2892 } else if (4 * dst_width == src_width && 4 * dst_height == src_height && in ScalePlane()
2895 ScalePlaneDown4(src_width, src_height, dst_width, dst_height, in ScalePlane()
2897 } else if (8 * dst_width == src_width && 8 * dst_height == src_height && in ScalePlane()
2900 ScalePlaneDown8(src_width, src_height, dst_width, dst_height, in ScalePlane()
2904 ScalePlaneDown(src_width, src_height, dst_width, dst_height, in ScalePlane()
2909 ScalePlaneAnySize(src_width, src_height, dst_width, dst_height, in ScalePlane()
2927 int dst_width, int dst_height, in I420Scale() argument
2930 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) { in I420Scale()
2947 int dst_halfheight = (dst_height + 1) >> 1; in I420Scale()
2965 if ((dst_height & 1) && in I420Scale()
2967 dst_halfheight = dst_height >> 1; in I420Scale()
2972 dst_y, dst_stride_y, dst_width, dst_height, in I420Scale()
2990 int dst_width, int dst_height, in Scale() argument
2993 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) { in Scale()
3010 int dst_halfheight = (dst_height + 1) >> 1; in Scale()
3029 if ((dst_height & 1) && in Scale()
3031 dst_halfheight = dst_height >> 1; in Scale()
3036 dst_y, dst_stride_y, dst_width, dst_height, in Scale()
3050 uint8* dst, int dst_width, int dst_height, int dst_yoffset, in ScaleOffset() argument
3053 !dst || dst_width <= 0 || dst_height <= 0 || dst_yoffset < 0 || in ScaleOffset()
3054 dst_yoffset >= dst_height) { in ScaleOffset()
3061 int dst_halfheight = (dst_height + 1) >> 1; in ScaleOffset()
3062 int aheight = dst_height - dst_yoffset * 2; // actual output height in ScaleOffset()
3068 uint8* dst_u = dst + dst_width * dst_height + in ScaleOffset()
3070 uint8* dst_v = dst + dst_width * dst_height + dst_halfwidth * dst_halfheight + in ScaleOffset()