[FFmpeg-devel] [PATCH] Arithmetic decoding in ALS

Thilo Borgmann thilo.borgmann
Tue Jan 19 23:54:50 CET 2010

Am 19.01.10 19:37, schrieb Michael Niedermayer:
> On Thu, Jan 14, 2010 at 03:20:04PM +0100, Thilo Borgmann wrote:
> [...]
>> The size of the luts might be further reduced if the shifted symbol
>> would be stored and use a smaller type than uint for the luts. Then, the
>> stored symbol would have to be shifted back before usage, but this again
>> costs many << operations (one for each sample in the file). Useful?
> I think this is a good idea, the luts look a little large to me

3509969 dezicycles in bgmc NO shift & unsigned int, 512 runs, 0 skips
3738521 dezicycles in bgmc DO shift & uint8_t, 512 runs, 0 skips

Also I made the luts non-static what should make them thread safe,
doesn't it?

Revision 4 attached.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: als_bgmc.rev4.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100119/144f6574/attachment.txt>

More information about the ffmpeg-devel mailing list