Home
last modified time | relevance | path

Searched refs:crop_aspect (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/talk/media/base/
Dvideocommon.cc186 float crop_aspect = static_cast<float>(cropped_format_width) / in ComputeCrop() local
194 if (frame_aspect > crop_aspect && in ComputeCrop()
195 frame_aspect < crop_aspect * kAspectThresh) { in ComputeCrop()
199 frame_width = static_cast<int>((crop_aspect * frame_height * in ComputeCrop()
201 } else if (frame_aspect < crop_aspect && in ComputeCrop()
202 frame_aspect > crop_aspect / kAspectThresh) { in ComputeCrop()
204 (crop_aspect * pixel_height) + 0.5f) & ~1; in ComputeCrop()