[FFmpeg-devel] [PATCH] Arithmetic decoding in ALS
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,
Revision 4 attached.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel