Lines Matching refs:dst_height
75 int dst_width, int dst_height) in I420Crop() argument
80 if (src_width == dst_width && src_height == dst_height) { in I420Crop()
82 return 3 * dst_height * dst_width / 2; in I420Crop()
84 if (dst_width > src_width || dst_height > src_height) { in I420Crop()
92 int halfdst_height = dst_height / 2; in I420Crop()
95 int crop_height = ( src_height - dst_height ) / 2; in I420Crop()
98 for (i = src_width * crop_height + crop_width; loop < dst_height ; in I420Crop()
124 int dst_width, int dst_height) in I420CropPad() argument
126 if (src_width < 1 || dst_width < 1 || src_height < 1 || dst_height < 1) { in I420CropPad()
129 if (src_width == dst_width && src_height == dst_height) { in I420CropPad()
130 memcpy(dst_frame, src_frame, 3 * dst_width * (dst_height >> 1)); in I420CropPad()
132 if (src_height < dst_height) { in I420CropPad()
134 int pad_height = dst_height - src_height; in I420CropPad()
227 int diff_height = src_height - dst_height; in I420CropPad()
230 for (i = 0; i < dst_height; i++) { in I420CropPad()
247 for (i = 0; i < (dst_height >> 1); i++) { in I420CropPad()
264 for (i = 0; i < (dst_height >> 1); i++) { in I420CropPad()