#include "media/base/video_types.h"
#include <ostream>
#include "base/notreached.h"
#include "base/strings/stringprintf.h"
namespace media {
std::string VideoPixelFormatToString(VideoPixelFormat format) { … }
std::string VideoChromaSamplingToString(VideoChromaSampling chroma_sampling) { … }
std::ostream& operator<<(std::ostream& os, VideoPixelFormat format) { … }
std::string FourccToString(uint32_t fourcc) { … }
VideoChromaSampling VideoPixelFormatToChromaSampling(VideoPixelFormat format) { … }
bool IsYuvPlanar(VideoPixelFormat format) { … }
bool IsRGB(VideoPixelFormat format) { … }
bool IsOpaque(VideoPixelFormat format) { … }
size_t BitDepth(VideoPixelFormat format) { … }
}