[FFmpeg-devel] [PATCH] Fix non-rounding up to next 16-bit aligned bug in IFF decoder
Michael Niedermayer
michaelni
Thu Apr 29 16:34:17 CEST 2010
On Thu, Apr 29, 2010 at 03:36:07PM +0200, Sebastian Vater wrote:
[...]
> static void decodeplane8(uint8_t *dst,
> const uint8_t *buf,
> const unsigned buf_size,
> const unsigned bps,
> const unsigned plane)
> {
> START_TIMER;
> const uint8_t *end = dst + (buf_size * 8);
> const uint64_t *lut = plane8_lut[plane];
> for(; dst < end; dst += 8) {
> const uint64_t v = AV_RN64A(dst) | lut[*buf++];
> AV_WN64A(dst, v);
> }
> STOP_TIMER("decodeplane8");
> }
this looks very nice
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100429/84cb8247/attachment.pgp>
More information about the ffmpeg-devel
mailing list