Skip to content

Commit

Permalink
lavc: add standalone cached bitstream reader
Browse files Browse the repository at this point in the history
The cached bitstream reader was originally written by Alexandra Hájková
for Libav, with significant input from Kostya Shishkov and Luca Barbato.
It was then committed to FFmpeg in ca079b0, by merging it with the
implementation of the current bitstream reader.

This merge makes the code of get_bits.h significantly harder to read,
since it now contains two different bitstream readers interleaved with
 #ifdefs. Additionally, the code was committed without proper authorship
attribution.

This commit re-adds the cached bitstream reader as a standalone header,
as it was originally developed. It will be made useful in following
commits.

Integration by Anton Khirnov.

Signed-off-by: Anton Khirnov <[email protected]>
  • Loading branch information
sasshka authored and elenril committed Jan 6, 2023
1 parent 4b2b9a6 commit 8fe551e
Showing 1 changed file with 529 additions and 0 deletions.
Loading

0 comments on commit 8fe551e

Please sign in to comment.