Go to the documentation of this file.
21 #include <vpx/vpx_codec.h>
25 #if CONFIG_LIBVPX_VP9_ENCODER
26 #include <vpx/vpx_encoder.h>
27 #include <vpx/vp8cx.h>
36 #if CONFIG_LIBVPX_VP9_ENCODER
71 #if CONFIG_LIBVPX_VP9_ENCODER
73 vpx_codec_caps_t codec_caps = vpx_codec_get_caps(vpx_codec_vp9_cx());
74 if (codec_caps & VPX_CODEC_CAP_HIGHBITDEPTH)
75 codec->
pix_fmts = vp9_pix_fmts_highbd;
77 codec->
pix_fmts = vp9_pix_fmts_highcol;
AVPixelFormat
Pixel format.
enum AVPixelFormat * pix_fmts
array of supported pixel formats, or NULL if unknown, array is terminated by -1
#define AV_PIX_FMT_YUV420P10
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
#define AV_PIX_FMT_GBRP10
#define AV_PIX_FMT_YUV444P10
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
static enum AVPixelFormat vp9_pix_fmts_def[]
av_cold void ff_vp9_init_static(AVCodec *codec)
#define AV_PIX_FMT_YUV440P10
#define AV_PIX_FMT_YUV422P10
#define AV_PIX_FMT_YUV422P12
#define AV_PIX_FMT_YUV444P12
#define AV_PIX_FMT_GBRP12
#define AV_PIX_FMT_YUV420P12
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_PIX_FMT_YUV440P12