summaryrefslogtreecommitdiff
path: root/libavcodec/hap.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/hapdec: Change compressed_offset to unsigned 32bitMichael Niedermayer2021-02-201-1/+1
| | | | | | | | | | | Fixes: out of array access Fixes: 29345/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5401813482340352 Fixes: 30745/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5762798221131776 Suggested-by: Anton Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hap : move parse_section_header to hap.c in order to be use by new ↵Martin Vignali2018-03-131-0/+6
| | | | bsf filter
* avcodec/hapdec : use gray8 for HapAlphaOnly decoding instead of RGB0Martin Vignali2017-11-251-0/+1
|
* avcodec/hapdec : add support for hapqa decodingMartin Vignali2017-11-211-0/+3
|
* avcodec/hapdec : reorganize code before adding multi-texture decodingMartin Vignali2017-11-211-0/+2
|
* libavcodec/hapdec : add support HapAlphaOnlyMartin Vignali2017-09-241-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hap: add "compressor" option to Hap encoder to disable secondary ↵Tom Butterworth2016-11-101-0/+1
| | | | | | | | | | | | | compression The secondary compression in Hap is optional, this change exposes that option to the user as some use-cases favour higher bitrate files to reduce workload decoding. Adds "none" or "snappy" as options for "compressor". Selecting "none" disregards "chunks" option: chunking is only of benefit decompressing Snappy. Reviewed-by: Martin Vignali <martin.vignali@gmail.com> Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
* Merge commit '3ee217853a6741b829a2683f49c590618891b1ab'Michael Niedermayer2015-07-271-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '3ee217853a6741b829a2683f49c590618891b1ab': Support the Hap chunked frame format Conflicts: libavcodec/hap.h libavcodec/hapdec.c libavcodec/version.h See: c7e6443441ed5c1b5f64067dfbf4956bc2c6acbb Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * Support the Hap chunked frame formatTom Butterworth2015-07-271-3/+35
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * hap: Name enums, remove unused struct memberTom Butterworth2015-07-231-13/+12
| |
* | Merge commit 'ae5a8dca675ee544178225256893e679b750cb63'Michael Niedermayer2015-07-231-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'ae5a8dca675ee544178225256893e679b750cb63': hap: Fix slice size computation Conflicts: libavcodec/hapdec.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hap: Fix slice size computationTom Butterworth2015-07-231-1/+1
| | | | | | | | | | | | | | | | 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>
* | Support the Hap chunked frame formatTom Butterworth2015-07-221-3/+34
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '977105407cae55876041dddbf4ce0934cdd4cd6c'Michael Niedermayer2015-07-211-0/+2
|\ \ | |/ | | | | | | | | | | * commit '977105407cae55876041dddbf4ce0934cdd4cd6c': hap: Decode using optimal slices sizes Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hap: Decode using optimal slices sizesLuca Barbato2015-07-211-0/+2
| | | | | | | | | | | | | | 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>
* | libavcodec/hap: remove unused struct memberTom Butterworth2015-07-211-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/hap: Name enumsTom Butterworth2015-07-211-12/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '7ca3e5203f133eb41a0b5c3a1d753a7427ba72e7'Michael Niedermayer2015-06-221-4/+4
|/ | | | | | | | | | | | | | * commit '7ca3e5203f133eb41a0b5c3a1d753a7427ba72e7': Hap decoder and encoder Conflicts: Changelog configure doc/general.texi libavcodec/allcodecs.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Hap decoder and encoderVittorio Giovara2015-06-221-0/+65
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>