diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-05-11 10:00:50 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-05-11 14:38:14 +0200 |
commit | 5c511ad4ce20aff96ec587de1a8be6f28aed4544 (patch) | |
tree | 48c337fd8823c5707fbe3fa5be0f51ba88bed2db /libavcodec | |
parent | b437f5b055497fc81b8061de593f3ef27657c1e3 (diff) | |
download | ffmpeg-5c511ad4ce20aff96ec587de1a8be6f28aed4544.tar.gz |
swscale: extend YUV422p support to 10bits depth
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 9a19cde9cc..9e879940a9 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -140,6 +140,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int l case PIX_FMT_YUV420P9BE: case PIX_FMT_YUV420P10LE: case PIX_FMT_YUV420P10BE: + case PIX_FMT_YUV422P10LE: + case PIX_FMT_YUV422P10BE: w_align= 16; //FIXME check for non mpeg style codecs and use less alignment h_align= 16; if(s->codec_id == CODEC_ID_MPEG2VIDEO || s->codec_id == CODEC_ID_MJPEG || s->codec_id == CODEC_ID_AMV || s->codec_id == CODEC_ID_THP || s->codec_id == CODEC_ID_H264) |