diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-04-27 21:36:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-27 21:36:30 +0200 |
commit | e91946ed23dfbb9a6341266020ed8475ec15697d (patch) | |
tree | d30938a1e4b7b2cf903ed0211d37fc333d323449 /libavutil | |
parent | 52a81cd0e413eb54f8d96a79d84f588fe01cc0cc (diff) | |
download | ffmpeg-e91946ed23dfbb9a6341266020ed8475ec15697d.tar.gz |
Rename y400a to gray8a.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pixdesc.c | 4 | ||||
-rw-r--r-- | libavutil/pixfmt.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index ad2f5643a5..dae6dc264b 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -861,8 +861,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_h = 1, .flags = PIX_FMT_HWACCEL, }, - [PIX_FMT_Y400A] = { - .name = "y400a", + [PIX_FMT_GRAY8A] = { + .name = "gray8a", .nb_components= 2, .comp = { {0,1,1,0,7}, /* Y */ diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 3b48c1994a..f781967a7d 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -132,7 +132,7 @@ enum PixelFormat { PIX_FMT_RGB444BE, ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), big-endian, most significant bits to 0 PIX_FMT_BGR444LE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), little-endian, most significant bits to 1 PIX_FMT_BGR444BE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1 - PIX_FMT_Y400A, ///< 8bit gray, 8bit alpha + PIX_FMT_GRAY8A, ///< 8bit gray, 8bit alpha PIX_FMT_BGR48BE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian PIX_FMT_BGR48LE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian @@ -145,6 +145,8 @@ enum PixelFormat { PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions }; +#define PIX_FMT_Y400A PIX_FMT_GRAY8A + #if AV_HAVE_BIGENDIAN # define PIX_FMT_NE(be, le) PIX_FMT_##be #else |