Searched refs:new_frame_height (Results 1 – 1 of 1) sorted by relevance
113 int new_frame_height = frame_height; in ComputeScaleMaxPixels() local117 new_frame_height = new_frame_height * kMaxWidth / new_frame_width; in ComputeScaleMaxPixels()121 if (new_frame_height > kMaxHeight) { in ComputeScaleMaxPixels()122 new_frame_width = new_frame_width * kMaxHeight / new_frame_height; in ComputeScaleMaxPixels()123 new_frame_height = kMaxHeight; in ComputeScaleMaxPixels()126 if (new_frame_width * new_frame_height > max_pixels) { in ComputeScaleMaxPixels()130 max_pixels) * new_frame_width / new_frame_height)); in ComputeScaleMaxPixels()131 new_frame_height = max_pixels / new_frame_width; in ComputeScaleMaxPixels()135 new_frame_width * new_frame_height); in ComputeScaleMaxPixels()