Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | h264: pass just the PPS to get_chroma_qp() | Anton Khirnov | 2016-06-12 | 1 | -15/+15 |
| | | | | | It does not need the whole context. This will simplify the following commit. | ||||
* | cosmetics: Fix spelling mistakes | Vittorio Giovara | 2016-05-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | h264: decouple h264_ps from the h264 decoder | Anton Khirnov | 2016-04-24 | 1 | -4/+4 |
| | | | | | | | | | Make the SPS/PPS parsing independent of the H264Context, to allow decoupling the parser from the decoder. The change is modelled after the one done earlier for HEVC. Move the dequant buffers to the PPS to avoid complex checks whether they changed and an expensive copy for frame threads. | ||||
* | lavc: AV-prefix all codec flags | Vittorio Giovara | 2015-07-27 | 1 | -2/+2 |
| | | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: Replace av_dlog and tprintf with internal macros | Vittorio Giovara | 2015-04-19 | 1 | -6/+6 |
| | |||||
* | h264_loopfilter: constify all uses of H264Context | Anton Khirnov | 2015-03-21 | 1 | -15/+15 |
| | | | | | All the variables modified by this code are either per-MB arrays or have been moved to the per-slice context | ||||
* | h264: move mb_field_decoding_flag into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -4/+4 |
| | |||||
* | h264: move mb_xy into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | h264: move loopfilter parameters into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -4/+4 |
| | |||||
* | h264: move [{top,left}_]cbp into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -3/+3 |
| | |||||
* | h264: move the ref lists variables into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -2/+2 |
| | |||||
* | h264: move {mv,ref}_cache into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -19/+20 |
| | |||||
* | h264: move non_zero_count_cache into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -11/+11 |
| | |||||
* | h264: move some neighbour information into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -14/+15 |
| | |||||
* | h264: move the quantizers into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -21/+36 |
| | |||||
* | Replace av_unused attributes by block structures | Diego Biurrun | 2014-09-05 | 1 | -3/+8 |
| | | | | | This is more portable and avoids warnings with compilers that do not properly support av_unused. | ||||
* | h264 does not depend on mpegvideo any more | Vittorio Giovara | 2014-03-16 | 1 | -1/+0 |
| | |||||
* | mpegvideo: move mpegvideo formats-related defines to mpegutils.h | Vittorio Giovara | 2014-03-16 | 1 | -0/+1 |
| | |||||
* | h264: Lower bound check for slice offsets | Vittorio Giovara | 2014-02-20 | 1 | -4/+4 |
| | | | | | | | | | | And use the value from the specification. Sample-Id: 00000451-google Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | avcodec: Remove some commented-out debug cruft | Diego Biurrun | 2013-08-20 | 1 | -1/+0 |
| | |||||
* | h264: add a parameter to the CHROMA444 macro. | Anton Khirnov | 2013-03-21 | 1 | -4/+4 |
| | | | | This way it does not look like a constant. | ||||
* | h264: add a parameter to the CHROMA422 macro. | Anton Khirnov | 2013-03-21 | 1 | -3/+3 |
| | | | | This way it does not look like a constant. | ||||
* | h264: add a parameter to the CABAC macro. | Anton Khirnov | 2013-03-21 | 1 | -1/+1 |
| | | | | This way it does not look like a constant. | ||||
* | h264: add a parameter to the FIELD_PICTURE macro. | Anton Khirnov | 2013-03-21 | 1 | -3/+3 |
| | | | | This way it does not look like a constant. | ||||
* | h264: add a parameter to the FRAME_MBAFF macro. | Anton Khirnov | 2013-03-21 | 1 | -5/+5 |
| | | | | This way it does not look like a constant. | ||||
* | h264: add a parameter to the MB_FIELD macro. | Anton Khirnov | 2013-03-21 | 1 | -4/+4 |
| | | | | This way it does not look like a constant. | ||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -17/+17 |
| | |||||
* | h264: deMpegEncContextize | Anton Khirnov | 2013-02-15 | 1 | -32/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the changes are just trivial are just trivial replacements of fields from MpegEncContext with equivalent fields in H264Context. Everything in h264* other than h264.c are those trivial changes. The nontrivial parts are: 1) extracting a simplified version of the frame management code from mpegvideo.c. We don't need last/next_picture anymore, since h264 uses its own more complex system already and those were set only to appease the mpegvideo parts. 2) some tables that need to be allocated/freed in appropriate places. 3) hwaccels -- mostly trivial replacements. for dxva, the draw_horiz_band() call is moved from ff_dxva2_common_end_frame() to per-codec end_frame() callbacks, because it's now different for h264 and MpegEncContext-based decoders. 4) svq3 -- it does not use h264 complex reference system, so I just added some very simplistic frame management instead and dropped the use of ff_h264_frame_start(). Because of this I also had to move some initialization code to svq3. Additional fixes for chroma format and bit depth changes by Janne Grunau <janne-libav@jannau.net> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | dsputil: Move LOCAL_ALIGNED macros to libavutil | Diego Biurrun | 2013-02-08 | 1 | -1/+1 |
| | |||||
* | avcodec: Drop silly and/or broken printf debug output | Diego Biurrun | 2012-10-01 | 1 | -4/+0 |
| | |||||
* | cosmetics: Move static and inline attributes to more standard places. | Diego Biurrun | 2012-01-14 | 1 | -8/+43 |
| | | | | Fixes several "‘static’ is not at beginning of declaration" warnings. | ||||
* | h264: 4:2:2 intra decoding support | Baptiste Coudurier | 2011-10-21 | 1 | -13/+48 |
| | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | H.264: add filter_mb_fast support for >8-bit decoding | Jason Garrett-Glaser | 2011-07-11 | 1 | -48/+58 |
| | | | | Much faster high bit depth deblocking. | ||||
* | H.264: avoid redundant alpha/beta calculations in loopfilter | Jason Garrett-Glaser | 2011-07-11 | 1 | -121/+122 |
| | |||||
* | H.264: optimize intra/inter loopfilter decision | Jason Garrett-Glaser | 2011-07-11 | 1 | -116/+117 |
| | |||||
* | Eliminate FF_COMMON_FRAME macro. | Diego Biurrun | 2011-07-11 | 1 | -17/+17 |
| | | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture. | ||||
* | H.264: fix filter_mb_fast with 4:4:4 + 8x8dct | Jason Garrett-Glaser | 2011-07-09 | 1 | -1/+1 |
| | |||||
* | H.264: improve qp_thresh check | Jason Garrett-Glaser | 2011-07-08 | 1 | -5/+1 |
| | | | | Eliminate redundant check in filter_mb_fast, consider bit depth in calculating qp_thresh. | ||||
* | H.264: make loopfilter bS const where applicable | Jason Garrett-Glaser | 2011-07-05 | 1 | -9/+9 |
| | |||||
* | H.264: template left MB handling | Jason Garrett-Glaser | 2011-07-03 | 1 | -7/+7 |
| | | | | Faster H.264 decoding with ALLOW_INTERLACE off. | ||||
* | H.264: make filter_mb_fast support the case of unavailable top mb | Jason Garrett-Glaser | 2011-07-03 | 1 | -14/+28 |
| | | | | Significantly faster deblocking in streams with lots of slices. | ||||
* | H.264: make filter_mb_fast support 4:4:4 | Jason Garrett-Glaser | 2011-06-26 | 1 | -13/+49 |
| | |||||
* | H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF | Jason Garrett-Glaser | 2011-06-22 | 1 | -5/+5 |
| | |||||
* | H.264: fix 4:4:4 + deblocking + MBAFF | Jason Garrett-Glaser | 2011-06-22 | 1 | -8/+22 |
| | |||||
* | H.264: fix CODEC_FLAG_GRAY | Jason Garrett-Glaser | 2011-06-13 | 1 | -42/+56 |
| | | | | It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0. | ||||
* | 4:4:4 H.264 decoding support | Jason Garrett-Glaser | 2011-06-13 | 1 | -26/+44 |
| | | | | Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264. | ||||
* | Roll back 4:4:4 H.264 for now | Jason Garrett-Glaser | 2011-06-13 | 1 | -82/+50 |
| | | | | Needs some ARM/PPC asm modifications. | ||||
* | H.264: fix CODEC_FLAG_GRAY | Jason Garrett-Glaser | 2011-06-13 | 1 | -42/+56 |
| | | | | It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0. | ||||
* | 4:4:4 H.264 decoding support | Jason Garrett-Glaser | 2011-06-13 | 1 | -26/+44 |
| | | | | Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264. | ||||
* | Add the notion of pixel size in h264 related functions. | Oskar Arvidsson | 2011-05-10 | 1 | -3/+3 |
| | | | | | | | | | | In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> |