Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-13get_bits: Factor out leb parsing to dav1d_get_uleb128()Vittorio Giovara
2019-02-13Remove leading double underscores from include guard definesMartin Storsjö
A symbol starting with two leading underscores is reserved for the compiler/standard library implementation. Also remove the trailing two double underscores for consistency and symmetry.
2019-02-13Add casts to silence warnings about intended type conversions/shorteningsMartin Storsjö
2018-11-14Correctly flush at the end of OBUsRupert Swarbrick
This fixes failures when an OBU has more than a byte's worth of trailing zeros. As part of this work, it also rejigs the dav1d_flush_get_bits function slightly. This worked before, but it wasn't very obvious why (it worked because bits_left was never more than 7). This patch renames it to dav1d_bytealign_get_bits, which makes it clearer what it does and adds a comment explaining why it works properly. The new dav1d_bytealign_get_bits is also now void (rather than returning the next byte to read). The patch defines dav1d_get_bits_pos, which returns the current bit position. This feels a little easier to reason about. We also add a new check to make sure that we haven't fallen off the end of the OBU. This can happen when a byte buffer contains more than one OBU: the GetBits might not have got to EOF, but we might now be half-way through the next OBU.
2018-10-23Avoid calling get_uniform(max=1)Luc Trudeau
Calling get_uniform(max=1) results in a read_bits(n=0), In get_uniform, the n param is renamed to max to clarify the semantics. Asserts are added to detect calls to get_uniform() and get_bits() that don't actually read anything. Closes #76
2018-10-04Correctly use dav1d_ prefix for global symbolsHenrik Gramner
2018-09-22Initial decoder implementation.Ronald S. Bultje
With minor contributions from: - Jean-Baptiste Kempf <jb@videolan.org> - Marvin Scholz <epirat07@gmail.com> - Hugo Beauzée-Luyssen <hugo@videolan.org>