[FFmpeg-devel] Add new pix_fmt RGBA64, BGRA64

Jean First jeanfirst at gmail.com
Fri Sep 23 20:34:36 CEST 2011


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 ?
jean
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-new-pix_fmt-RGBA64.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110923/82ee99e1/attachment.ksh>


More information about the ffmpeg-devel mailing list