Lines Matching refs:crop_width
74 int crop_width, in CropAndScaleFrom() argument
79 I420Buffer::Create(crop_width, crop_height); in CropAndScaleFrom()
80 buffer->CropAndScaleFrom(*src.GetI420(), offset_x, offset_y, crop_width, in CropAndScaleFrom()
86 I010Buffer::Create(crop_width, crop_height); in CropAndScaleFrom()
87 buffer->CropAndScaleFrom(*src.GetI010(), offset_x, offset_y, crop_width, in CropAndScaleFrom()
99 int crop_width, in CropAndScaleFrom() argument
102 std::min(src.width(), crop_width * src.height() / crop_height); in CropAndScaleFrom()
104 std::min(src.height(), crop_height * src.width() / crop_width); in CropAndScaleFrom()
111 ScaleFrom(const VideoFrameBuffer& src, int crop_width, int crop_height) { in ScaleFrom() argument
115 I420Buffer::Create(crop_width, crop_height); in ScaleFrom()
121 I010Buffer::Create(crop_width, crop_height); in ScaleFrom()