Lines Matching refs:frame_height
105 void ComputeScaleMaxPixels(int frame_width, int frame_height, int max_pixels, in ComputeScaleMaxPixels() argument
113 int new_frame_height = frame_height; in ComputeScaleMaxPixels()
134 float scale = FindLowerScale(frame_width, frame_height, in ComputeScaleMaxPixels()
137 *scaled_height = static_cast<int>(frame_height * 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
168 ASSERT(frame_height > 0); in ComputeCrop()
185 static_cast<float>(frame_height * pixel_height); 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()
207 *cropped_height = frame_height; in ComputeCrop()