Home | History | Annotate | Download | only in base

Lines Matching refs:format

103   // 1 Primary Compressed YUV format.
130 // 1 Auxiliary compressed YUV format set aside for capturer.
199 explicit VideoFormat(const VideoFormatPod& format) {
200 Construct(format.width, format.height, format.interval, format.fourcc);
229 bool operator==(const VideoFormat& format) const {
230 return width == format.width && height == format.height &&
231 interval == format.interval && fourcc == format.fourcc;
234 bool operator!=(const VideoFormat& format) const {
235 return !(*this == format);
238 bool operator<(const VideoFormat& format) const {
239 return (fourcc < format.fourcc) ||
240 (fourcc == format.fourcc && width < format.width) ||
241 (fourcc == format.fourcc && width == format.width &&
242 height < format.height) ||
243 (fourcc == format.fourcc && width == format.width &&
244 height == format.height && interval > format.interval);
252 // Check if this format is less than another one by comparing the resolution
254 bool IsPixelRateLess(const VideoFormat& format) const {
256 format.width * format.height * format.framerate();