Lines Matching refs:format
104 // 1 Primary Compressed YUV format.
131 // 1 Auxiliary compressed YUV format set aside for capturer.
204 explicit VideoFormat(const VideoFormatPod& format) {
205 Construct(format.width, format.height, format.interval, format.fourcc);
234 bool operator==(const VideoFormat& format) const {
235 return width == format.width && height == format.height &&
236 interval == format.interval && fourcc == format.fourcc;
239 bool operator!=(const VideoFormat& format) const {
240 return !(*this == format);
243 bool operator<(const VideoFormat& format) const {
244 return (fourcc < format.fourcc) ||
245 (fourcc == format.fourcc && width < format.width) ||
246 (fourcc == format.fourcc && width == format.width &&
247 height < format.height) ||
248 (fourcc == format.fourcc && width == format.width &&
249 height == format.height && interval > format.interval);
257 // Check if this format is less than another one by comparing the resolution
259 bool IsPixelRateLess(const VideoFormat& format) const {
261 format.width * format.height * format.framerate();