[FFmpeg-devel] [PATCH] use AV_RB16 in cabac refill

David Conrad lessen42
Thu Mar 25 09:08:55 CET 2010


On Mar 25, 2010, at 3:30 AM, Alexander Strange wrote:

> Measured 1 cycle faster decode_cabac_residual on x86-64. Didn't try anywhere else, but I'd be a little interested in what arm does.

It ought to be 2 instruction less and faster. However, both llvm and gcc decide to zero extend from 16 bits twice, and (llvm-)gcc-4.2 decides to load bytestream twice.



More information about the ffmpeg-devel mailing list