summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
Commit message (Collapse)AuthorAge
* hevc: add hwaccel hooksHendrik Leppkes2015-01-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hevc: store the short term rps flag and size in the contextHendrik Leppkes2015-01-27
| | | | | | For future use by hardware accelerators. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hevc: store the escaped/raw bitstream in HEVCNALHendrik Leppkes2015-01-27
| | | | | | Hardware Accelerators require access to the escaped bitstream. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '2c6a7f9348378f887066fb1669c46b9485e8ef3e'Michael Niedermayer2014-11-17
|\ | | | | | | | | | | | | | | | | | | * commit '2c6a7f9348378f887066fb1669c46b9485e8ef3e': hevc: do not store rqt_root_cbf in the context Conflicts: libavcodec/hevc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: do not store rqt_root_cbf in the contextAnton Khirnov2014-11-17
| | | | | | | | It does not need to be accessed outside of hls_coding_unit().
* | Merge commit '920bca3e2332dced9c78bd14cfc2ff138188bd57'Michael Niedermayer2014-11-17
|\| | | | | | | | | | | | | * commit '920bca3e2332dced9c78bd14cfc2ff138188bd57': hevc: do not store pcm_flag in the context Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: do not store pcm_flag in the contextAnton Khirnov2014-11-17
| | | | | | | | It does not need to be accessed outside of hls_coding_unit().
| * hevc: use intreadwriteChristophe Gisquet2014-08-12
| | | | | | | | | | | | When dealing with MVs, both components may be processed at a time. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * hevc: deobfuscate slice/tile boundary handling for DBFAnton Khirnov2014-08-09
| | | | | | | | | | Use named constants instead of magic numbers, avoid using variables with inverse meaning from what their name implies.
* | hevc: reuse edge emu buffer for coefficientsChristophe Gisquet2014-10-01
| | | | | | | | | | | | | | Kind of hackish but... Reviewed-by: Mickael Raulet <Mickael.Raulet@insa-rennes.fr> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: remove CodingTreeChristophe Gisquet2014-09-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: move intermediate bidir bufferChristophe Gisquet2014-09-24
| | | | | | | | | | | | Other buffers are already there. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: remove unneeded buffer.Christophe Gisquet2014-09-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: move MAX_PB_SIZE declarationChristophe Gisquet2014-08-22
| | | | | | | | | | Reviewed-by: Mickaël Raulet <mraulet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: rename variable in boundary strength to b more explicitAnton Khirnov2014-07-28
| | | | | | | | | | | | | | Signed-off-by: Mickaël Raulet <mraulet@insa-rennes.fr> cherry picked from commit 348bebedc0012aae201419669fca1eb61ec93ca6 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'e76f2d11970484266e67a12961f2339a5c2fccf9'Michael Niedermayer2014-07-28
|\| | | | | | | | | | | | | | | | | | | * commit 'e76f2d11970484266e67a12961f2339a5c2fccf9': hevc: eliminate the last element from TransformTree Conflicts: libavcodec/hevc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: eliminate the last element from TransformTreeAnton Khirnov2014-07-28
| | | | | | | | Replace it by passing an additional parameter to transform_unit()
| * hevc: eliminate unnecessary cbf_c{b,r} arraysAnton Khirnov2014-07-28
| | | | | | | | | | They are replaced by passing additional parameters to the transform functions.
* | Merge commit '0daa2554636ba1d31f3162ffb86991e84eb938a8'Michael Niedermayer2014-07-28
|\| | | | | | | | | | | | | * commit '0daa2554636ba1d31f3162ffb86991e84eb938a8': hevc: do not store the transform inter_split flag in the context Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: do not store the transform inter_split flag in the contextAnton Khirnov2014-07-28
| | | | | | | | It does not need to be preserved.
| * hevc: eliminate an unnecessary arrayAnton Khirnov2014-07-28
| | | | | | | | We do not need to store the value of the split flag.
* | hevc: eliminate unnecessary cbf_c{b,r} arraysAnton Khirnov2014-07-28
| | | | | | | | | | | | | | | | | | | | - They are be replaced by passing additional parameters to the transform functions. - Adaptation to 4:2:2 Signed-off-by: Mickaël Raulet <mraulet@insa-rennes.fr> cherry picked from commit f518bb22531c648f1c37f978b0c7ad2e71e04c25 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: remove non necessary parameters to ff_hevc_set_qpyMickaël Raulet2014-07-28
| | | | | | | | | | | | cherry picked from commit 6f58c111ad9920d983bb18eacf901193bac5d937 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: add support for bumping processMickaël Raulet2014-07-26
| | | | | | | | | | | | cherry picked from commit 8aa2fb7df3cffc67a3fd03a3a7eb49dbed4094c7 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: use intreadwriteChristophe Gisquet2014-07-19
| | | | | | | | | | | | | | | | When dealing with MVs, both components may be processed at a time. On Win64, 560 to 539 cycles for derive_spatial_merge_candidates. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc/sao: optimze sao implementationMickaël Raulet2014-07-18
| | | | | | | | | | | | | | | | | | | | - adding one extra pixel all around the frame - do not copy when SAO is not applied 5% improvement cherry picked from commit 10fc29fc19a12c4d8168fbe1a954b76386db12d0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc/rext: add support for Range extension toolsMickaël Raulet2014-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SPS features/flags: - transform_skip_rotation_enabled_flag - transform_skip_context_enabled_flag - implicit_rdpcm_enabled_flag - explicit_rdpcm_enabled_flag - intra_smoothing_disabled_flag - persistent_rice_adaptation_enabled_flag PPS features/flags: - log2_max_transform_skip_block_size - cross_component_prediction_enabled_flag - chroma_qp_offset_list_enabled_flag - diff_cu_chroma_qp_offset_depth - chroma_qp_offset_list_len_minus1 - cb_qp_offset_list - cr_qp_offset_list - log2_sao_offset_scale_luma - log2_sao_offset_scale_chroma (cherry picked from commit 005294c5b939a23099871c6130c8a7cc331f73ee) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc/rext: basic infrastructure for supporting range extensionMickaël Raulet2014-07-15
| | | | | | | | | | | | | | | | - support for 4:2:2 and 4:4:4 up to 12 bits - add a new profile for range extension (cherry picked from commit d3c067fa65bbc871758d28aa07f54123430ca346) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: use local variable for split_cu_flagMickaël Raulet2014-07-15
| | | | | | | | | | | | (cherry picked from commit ee71e9e9c12fc47856c452efb278f9f593a923ee) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: simplify SAO computation, delay from one row its computationMickaël Raulet2014-07-15
| | | | | | | | | | | | (cherry picked from commit f2c5f647cec786df26f442a85e6d685a131a50c9) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc/cabac: add new context for new syntax elements related to Rext(cherry ↵Mickaël Raulet2014-07-15
| | | | | | | | | | | | picked from commit 6d71e2394f52679cfc8b86fb5880f89e6bd311d4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: do not loose all reference to pointers still in useMichael Niedermayer2014-07-12
| | | | | | | | | | | | | | Fixes leaving a pointer to unreferenced memory Fixes Ticket 3115 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0569a7e0bd2006d9a5248d17a1f4bf3ca654ae50'Michael Niedermayer2014-07-10
|\| | | | | | | | | | | | | | | | | | | | | * commit '0569a7e0bd2006d9a5248d17a1f4bf3ca654ae50': hevc: parse display orientation SEI message Conflicts: libavcodec/hevc.h libavcodec/hevc_sei.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: parse display orientation SEI messageVittorio Giovara2014-07-09
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * hevc: remove unused array min_cb_addr_zsGildas Cocherel2014-06-26
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | hevc/pps: optimized size of min_tb_addr_zsgcocherel2014-06-24
| | | | | | | | | | | | | | reduce computation too (cherry picked from commit 39c4d45c7788081c45c7fae51b7c5d0bcbaece9d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: remove min_cb_addr_zsgcocherel2014-06-24
| | | | | | | | | | | | (cherry picked from commit ff7926d5092f9d4158108963e977e8c992322ba4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c67b449bebbe0b35c73b203683e77a0a649bc765'Michael Niedermayer2014-06-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c67b449bebbe0b35c73b203683e77a0a649bc765': dsputil: Split bswap*_buf() off into a separate context Conflicts: configure libavcodec/4xm.c libavcodec/ac3dec.c libavcodec/ac3dec.h libavcodec/apedec.c libavcodec/eamad.c libavcodec/flacenc.c libavcodec/fraps.c libavcodec/huffyuv.c libavcodec/huffyuvdec.c libavcodec/motionpixels.c libavcodec/truemotion2.c libavcodec/x86/Makefile libavcodec/x86/dsputil_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split bswap*_buf() off into a separate contextDiego Biurrun2014-06-22
| |
| * hevc: templatize intra_predAnton Khirnov2014-05-19
| |
* | avcodec/hevc: fix () in macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevc: C code update for new motion compensationMickaël Raulet2014-05-06
| | | | | | | | | | | | | | pretty print C Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: fix no output of prior pics and pic output flags(cherry picked ↵gcocherel2014-04-29
| | | | | | | | | | | | from commit e99b96dff1d76d74cb5633aa9702828d863050e2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add "const" to avoid compiler warning.Reimar Döffinger2014-04-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge commit '4d33873c2990b8d6096f60fef384f0efc4482b55'Michael Niedermayer2014-03-09
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '4d33873c2990b8d6096f60fef384f0efc4482b55': hevc: make pps/sps ids unsigned where necessary Conflicts: libavcodec/hevc.h libavcodec/hevc_ps.c See: d1e6602665d5ec1b7e211ab27b298c26139f82cc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: make pps/sps ids unsigned where necessaryVittorio Giovara2014-03-09
| | | | | | | | | | Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind
* | avcodec/hevc: make *ps_id unsignedMichael Niedermayer2014-02-15
| | | | | | | | | | | | | | | | Fixes integer overflow Fixes out of array accesses Fixes 2f65e7dbd02a12f426a423bd7bf880b4-signal_sigsegv_127c952_2793_cov_2517424539_RPLM_A_qualcomm_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: remove unused variablesMichael Niedermayer2014-02-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: Simplify get_qPy_pred()Michael Niedermayer2014-02-08
| | | | | | | | | | | | | | Fixes use of uninitialized memory Fixes: 93728afd9aa074ba14a09bfd93a632fd-asan_static-oob_124a17d_1445_cov_1021181966_DBLK_D_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b25e84b7399bd91605596b67d761d3464dbe8a6e'Michael Niedermayer2014-02-04
|\| | | | | | | | | | | | | * commit 'b25e84b7399bd91605596b67d761d3464dbe8a6e': hevc: check that the VCL NAL types are the same for all slice segments of a frame Merged-by: Michael Niedermayer <michaelni@gmx.at>