diff options
author | Jean First <jeanfirst@gmail.com> | 2011-09-23 20:26:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-24 06:01:45 +0200 |
commit | 9569a3c9f41387a8c7d1ce97d8693520477a66c3 (patch) | |
tree | 89efe3c64f53986a5dd0ec41764079160a97b054 /libavcodec/imgconvert.c | |
parent | 3715e67591a459312f6e9975b617e4bb30acddac (diff) | |
download | ffmpeg-9569a3c9f41387a8c7d1ce97d8693520477a66c3.tar.gz |
Add new pix_fmt RGBA64
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 13c2cde53d..5f5a50ea19 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -143,6 +143,14 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { [PIX_FMT_RGB48LE] = { .color_type = FF_COLOR_RGB, }, + [PIX_FMT_RGBA64BE] = { + .is_alpha = 1, + .color_type = FF_COLOR_RGB, + }, + [PIX_FMT_RGBA64LE] = { + .is_alpha = 1, + .color_type = FF_COLOR_RGB, + }, [PIX_FMT_RGB565BE] = { .color_type = FF_COLOR_RGB, }, @@ -195,6 +203,20 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { .is_alpha = 1, .color_type = FF_COLOR_RGB, }, + [PIX_FMT_BGR48BE] = { + .color_type = FF_COLOR_RGB, + }, + [PIX_FMT_BGR48LE] = { + .color_type = FF_COLOR_RGB, + }, + [PIX_FMT_BGRA64BE] = { + .is_alpha = 1, + .color_type = FF_COLOR_RGB, + }, + [PIX_FMT_BGRA64LE] = { + .is_alpha = 1, + .color_type = FF_COLOR_RGB, + }, [PIX_FMT_BGR565BE] = { .color_type = FF_COLOR_RGB, .padded_size = 16, |