summaryrefslogtreecommitdiffstats
path: root/libavcodec/libvpx.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-05-20 17:52:47 -0300
committerJames Almer <jamrial@gmail.com>2015-05-20 20:08:56 -0300
commit40bf3687a1c12dc859ad9e76a53c79dd15d99ed6 (patch)
treeba9ff9c128cf92bc9285185da280f65d0c27aa36 /libavcodec/libvpx.c
parenta2aff2690b578d6e449b5435e69e43f892499750 (diff)
downloadffmpeg-streaming-40bf3687a1c12dc859ad9e76a53c79dd15d99ed6.zip
ffmpeg-streaming-40bf3687a1c12dc859ad9e76a53c79dd15d99ed6.tar.gz
libvpx: add support for yuv440p and yuv440p10/12 encoding
Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libvpx.c')
-rw-r--r--libavcodec/libvpx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/libvpx.c b/libavcodec/libvpx.c
index b432fe9..e0f9df3 100644
--- a/libavcodec/libvpx.c
+++ b/libavcodec/libvpx.c
@@ -36,6 +36,7 @@ static const enum AVPixelFormat vp9_pix_fmts_def[] = {
static const enum AVPixelFormat vp9_pix_fmts_highcol[] = {
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_YUV422P,
+ AV_PIX_FMT_YUV440P,
AV_PIX_FMT_YUV444P,
AV_PIX_FMT_NONE
};
@@ -43,12 +44,15 @@ static const enum AVPixelFormat vp9_pix_fmts_highcol[] = {
static const enum AVPixelFormat vp9_pix_fmts_highbd[] = {
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_YUV422P,
+ AV_PIX_FMT_YUV440P,
AV_PIX_FMT_YUV444P,
AV_PIX_FMT_YUV420P10LE,
AV_PIX_FMT_YUV422P10LE,
+ AV_PIX_FMT_YUV440P10LE,
AV_PIX_FMT_YUV444P10LE,
AV_PIX_FMT_YUV420P12LE,
AV_PIX_FMT_YUV422P12LE,
+ AV_PIX_FMT_YUV440P12LE,
AV_PIX_FMT_YUV444P12LE,
AV_PIX_FMT_NONE
};
OpenPOWER on IntegriCloud