[FFmpeg-devel] Add new pix_fmt RGBA64, BGRA64

Michael Niedermayer michaelni at gmx.at
Sat Sep 24 06:12:44 CEST 2011


On Fri, Sep 23, 2011 at 08:34:36PM +0200, Jean First wrote:
> On Fri Sep 23 2011 17:55:32 GMT+0200 (CEST), Michael Niedermayer wrote:
> >On Fri, Sep 23, 2011 at 10:21:16AM +0200, Jean First wrote:
> >>Adds the pix_fmt RGBA64[LE,BE] BGRA64[LE,BE]. But no sws functions included.
> >>Jean
> >[...]
> >>diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
> >>index bac7b45..96cc3f8 100644
> >>--- a/libavutil/pixfmt.h
> >>+++ b/libavutil/pixfmt.h
> >>@@ -104,6 +104,8 @@ enum PixelFormat {
> >>      PIX_FMT_VDPAU_VC1, ///<  VC-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
> >>      PIX_FMT_RGB48BE,   ///<  packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big-endian
> >>      PIX_FMT_RGB48LE,   ///<  packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as little-endian
> >>+    PIX_FMT_RGBA64BE,  ///<  packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian
> >>+    PIX_FMT_RGBA64LE,  ///<  packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian
> >>
> >>      PIX_FMT_RGB565BE,  ///<  packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), big-endian
> >>      PIX_FMT_RGB565LE,  ///<  packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), little-endian
> >adding them in the middle breaks ABI
> >
> >
> >[...]
> >
> better like this ?

yes, applied & thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110924/c93d2bc3/attachment.asc>


More information about the ffmpeg-devel mailing list