[FFmpeg-devel] [PATCH]Support decoding Avid 1:1 10-bit RGB Packer
Nicolas George
nicolas.george at normalesup.org
Wed Jan 4 12:53:33 CET 2012
Le quintidi 15 nivôse, an CCXX, Carl Eugen Hoyos a écrit :
> for (w = 0; w < avctx->width; w++) {
> - uint32_t pixel = av_be2ne32(*src++);
> + uint32_t pixel;
> uint16_t r, g, b;
> + if (avctx->codec_id==CODEC_ID_AVRP) {
> + pixel = av_le2ne32(*src++);
> + } else {
> + pixel = av_be2ne32(*src++);
> + }
How does it affect the speed?
Regards,
--
Nicolas George
-------------- 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/20120104/b2af0bff/attachment.asc>
More information about the ffmpeg-devel
mailing list