Home | History | Annotate | Download | only in base

Lines Matching full:desired

573 // Get the distance between the supported and desired formats.
578 // 4) Compression. If desired format has a specific fourcc, we need exact match;
580 int64_t VideoCapturer::GetFormatDistance(const VideoFormat& desired,
587 if (FOURCC_ANY == desired.fourcc) {
588 // Any fourcc is OK for the desired. Use preference to find best fourcc.
608 } else if (supported_fourcc == CanonicalFourCC(desired.fourcc)) {
618 int desired_width = desired.width;
619 int desired_height = desired.height;
623 supported_fps - VideoFormat::IntervalToFpsFloat(desired.interval);
631 // Set high penalty if the supported format is lower than the desired format.
651 VideoFormat::IntervalToFpsFloat(desired.interval) * 28.f / 30.f :
652 VideoFormat::IntervalToFpsFloat(desired.interval) * 23.f / 30.f;