diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-05-08 08:39:37 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-05-08 08:39:37 +0200 |
commit | 143a5c55ff4d792e66045b6b0c44d26fe30158f1 (patch) | |
tree | dcf0c775022125e560716cd6b2baf791fe15147e /libavcodec | |
parent | 7da0a07283e8546c7cf4cde9eca7ad4fe9f57fb4 (diff) | |
download | ffmpeg-143a5c55ff4d792e66045b6b0c44d26fe30158f1.tar.gz |
Add yuva422p pix_fmt.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/imgconvert.c | 4 | ||||
-rw-r--r-- | libavcodec/utils.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index a8d01f7bdb..3111418e26 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -114,6 +114,10 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { .color_type = FF_COLOR_YUV, }, + [PIX_FMT_YUVA422P] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUVA444P] = { .color_type = FF_COLOR_YUV, }, diff --git a/libavcodec/utils.c b/libavcodec/utils.c index a2ffdb8bcb..addae0413a 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -178,6 +178,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, case PIX_FMT_YUVJ440P: case PIX_FMT_YUVJ444P: case PIX_FMT_YUVA420P: + case PIX_FMT_YUVA422P: case PIX_FMT_YUVA444P: case PIX_FMT_YUV420P9LE: case PIX_FMT_YUV420P9BE: |