Lines Matching refs:frame_width
105 void ComputeScaleMaxPixels(int frame_width, int frame_height, int max_pixels, in ComputeScaleMaxPixels() argument
112 int new_frame_width = frame_width; in ComputeScaleMaxPixels()
134 float scale = FindLowerScale(frame_width, frame_height, in ComputeScaleMaxPixels()
136 *scaled_width = static_cast<int>(frame_width * scale + .5f); in ComputeScaleMaxPixels()
142 void ComputeScale(int frame_width, int frame_height, int fps, in ComputeScale() argument
151 frame_width, frame_height, max_pixels, scaled_width, scaled_height); in ComputeScale()
157 int frame_width, int frame_height, in ComputeCrop() argument
167 ASSERT(frame_width > 0); in ComputeCrop()
184 float frame_aspect = static_cast<float>(frame_width * pixel_width) / in ComputeCrop()
199 frame_width = static_cast<int>((crop_aspect * frame_height * in ComputeCrop()
203 frame_height = static_cast<int>((frame_width * pixel_width) / in ComputeCrop()
206 *cropped_width = frame_width; in ComputeCrop()