summaryrefslogtreecommitdiff
path: root/libavcodec/hapdec.c
Commit message (Collapse)AuthorAge
* Support the Hap chunked frame formatTom Butterworth2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hap: Move some per-stream setup into decoder init rather than per-frameTom Butterworth2015-07-27
| | | | | | | This change will reject frames with a texture type which does not match the stream description. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* snappy: Refactor so ff_snappy_uncompress() uses an existing bufferTom Butterworth2015-07-23
| | | | | | Some uses of Snappy require uncompressing to positions within an existing buffer. Also adds a function to get the uncompressed length of Snappy data.
* hap: Fix slice size computationTom Butterworth2015-07-23
| | | | | | | | A bug was introduced in 977105407cae55876041dddbf4ce0934cdd4cd6c whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hap: Decode using optimal slices sizesLuca Barbato2015-07-21
| | | | | | | Enjoy some cache locality and use less threads. About 5x speedup (from 60ms to 12ms to decode a 4k frame). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Hap decoder and encoderVittorio Giovara2015-06-22
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>