summaryrefslogtreecommitdiff
path: root/libavcodec/h264_slice.c
Commit message (Collapse)AuthorAge
...
* h264: use the main H264Context as the parent for all slice contextsAnton Khirnov2015-03-21
| | | | There is now no need to have per-slice copies of the H264Context.
* h264_slice: constify all the uses of H264Context during slice decodingAnton Khirnov2015-03-21
| | | | | All the variables modified by this code are either per-MB arrays or have been moved to the per-slice context
* h264: move rbsp_buffer into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move remaining ER stuff into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move top_borders into the per-slice contextAnton Khirnov2015-03-21
| | | | | Also change the method for allocating to the same one as used by edge_emu_buffer.
* h264: move the scratch buffers into the per-slice contextAnton Khirnov2015-03-21
| | | | | | | Also change the method for allocating them. Instead of two possible alloc calls from different places, just ensure they are allocated at the start of each slice. This should be simpler and less bug-prone than the previous method.
* h264: move mb_mbaff into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mb_field_decoding_flag into the per-slice contextAnton Khirnov2015-03-21
|
* h264: use a separate GetBitContext for slice dataAnton Khirnov2015-03-21
|
* h264: remove some remnants of data partitioningAnton Khirnov2015-03-21
|
* h264: move resync_mb_{x,y} into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mb_{x,y} into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mb_xy into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move is_complex into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mb_skip_run into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move redundant_pic_count into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move cabac_init_idc into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move loopfilter parameters into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mvd_table into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move last_qscale_diff into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move [{top,left}_]cbp into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move cabac[_state] into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mb[_{padding,luma_dc}] into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move the ref lists variables into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move dist_scale_factor[_field] into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move direct_spatial_mv_pred into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move the slice type variables into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move mb_[uv]linesize into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move {mv,ref}_cache into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move non_zero_count_cache into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move intra4x4_pred_mode[_cache] into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move some neighbour information into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move qp_thresh into the per-slice contextAnton Khirnov2015-03-21
|
* h264: move the quantizers into the per-slice contextAnton Khirnov2015-03-21
|
* h264: do not copy qscale when updating per-thread contextsAnton Khirnov2015-03-21
| | | | It's a per-slice quantity constructed when parsing the slice header.
* h264: split weighted pred-related vars into per-slice contextAnton Khirnov2015-03-21
|
* h264: remove a now redundant error checkAnton Khirnov2015-03-05
| | | | It was only relevant when data partitioning was in use.
* h264: only ref cur_pic in update_thread_context if it is initializedAnton Khirnov2015-02-21
| | | | | It may be empty if the previous thread's decode call did not contain a valid frame.
* libavcodec: Make use of av_clip functionsPeter Meerwald2015-02-21
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: drop any pretense of support for data partitioningAnton Khirnov2015-01-27
| | | | | | | | | | It does not work correctly and apparently never did. There is no indication that this (mis)feature is ever used in the wild or even that any software other than the reference supports it. Since the code that attempts to support it adds some nontrivial complexity and has resulted in several bugs in the past, it is better to just drop it.
* error_resilience: move the MECmpContext initialization into ER codeAnton Khirnov2015-01-27
| | | | | | | Currently, it needs to be initialized by the ER caller (which is currently either a mpegvideo decoder or h264dec). However, since none of those decoders use MECmpContext for anything except ER, it makes more sense to handle it purely inside ER.
* vdpau: add support for 4:2:2 and 4:4:4 chroma samplingRémi Denis-Courmont2014-12-25
| | | | | Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: factor hwaccel pixel formats listRémi Denis-Courmont2014-12-25
| | | | | | | This is to avoid proliferation of similar tables in following changes. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: move REBASE_PICTURE where it is usedVittorio Giovara2014-12-15
| | | | Drop an unused #undef from h264 decoder.
* lavc: deprecate the use of AVCodecContext.time_base for decodingAnton Khirnov2014-10-15
| | | | | | | | | | | When decoding, this field holds the inverse of the framerate that can be written in the headers for some codecs. Using a field called 'time_base' for this is very misleading, as there are no timestamps associated with it. Furthermore, this field is used for a very different purpose during encoding. Add a new field, called 'framerate', to replace the use of time_base for decoding.
* h264: Always invoke the get_format() callbackRémi Denis-Courmont2014-09-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: fully check cropping amount from spsVittorio Giovara2014-08-26
| | | | | Even if sps.crop is true, the cropping amount may be zero. Fixes a sample with a valid but broken container cropping.
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-15
|
* dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-17
|
* h264: K&R formatting cosmeticsLuca Barbato2014-07-17
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>