[FFmpeg-devel] [PATCH 3/4] rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
Stefano Sabatini
stefano.sabatini-lala at poste.it
Wed Mar 23 17:14:11 CET 2011
On date Wednesday 2011-03-23 22:41:08 +1100, Peter Ross encoded:
> ---
> libavcodec/raw.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/raw.c b/libavcodec/raw.c
> index 1fbf4d2..26b4df6 100644
> --- a/libavcodec/raw.c
> +++ b/libavcodec/raw.c
> @@ -102,6 +102,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
> { PIX_FMT_BGR4_BYTE,MKTAG('R', '4', 'B', 'Y') },
> { PIX_FMT_RGB48LE, MKTAG('R', 'G', 'B', 48 ) },
> { PIX_FMT_RGB48BE, MKTAG( 48, 'R', 'G', 'B') },
> + { PIX_FMT_BGR48LE, MKTAG('B', 'G', 'R', 48 ) },
> + { PIX_FMT_BGR48BE, MKTAG( 48, 'B', 'G', 'R') },
> { PIX_FMT_GRAY16LE, MKTAG('Y', '1', 0 , 16 ) },
> { PIX_FMT_GRAY16BE, MKTAG(16 , 0 , '1', 'Y') },
> { PIX_FMT_YUV420P16LE, MKTAG('Y', '3', 11 , 16 ) },
LGTM.
Note, nut/nut4cc.txt doesn't list these tags, so I suppose they're
standard AVI tags, otherwise we need to update nut/nut4cc.txt (which
can be done in a second moment if Michael is fine with it).
--
FFmpeg = Faithless & Fascinating Multimedia Philosofic Easy Gorilla
More information about the ffmpeg-devel
mailing list