summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: Fix undefined negative shifts in ff_init_block_indexLuca Barbato2016-03-05
| | | | | | Found-by: gcc5-ubsan. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Move noise_reduction to codec private optionsVittorio Giovara2016-01-21
| | | | | | | This option is only used by mpegvideoenc, x264, xavs, and vpx. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: Drop a stray error messageLuca Barbato2015-09-03
| | | | The condition is not a failure.
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: Move ER functions to a separate fileVittorio Giovara2015-06-12
|
* mpegvideo: Mark one function as staticVittorio Giovara2015-06-10
|
* mpegvideo: Move block permutation function where is usedVittorio Giovara2015-06-10
| | | | Mark it as static.
* mpegvideo: Drop release_unused_pictures() functionVittorio Giovara2015-06-10
| | | | | It is only used in one place, and it is small enough that it might be called directly.
* mpegvideo: Move Picture-related functions to a separate fileVittorio Giovara2015-06-10
|
* mpegvideo: Split picture allocation for encoding and decodingVittorio Giovara2015-06-08
| | | | | | | | | The main ff_alloc_picture() function is made more generic with all the parameters necessary as arguments. This will allows to move most of the related functions to a separate file later. Right now wrappers are provided to try and minimize the number of changes in the code.
* mpegvideo: Rework frame_size_alloc functionVittorio Giovara2015-06-08
| | | | | Use more generic arguments and remove its static attribute since it will be moved to a separate file.
* mpegvideo: Move various temporary buffers to a separate contextVittorio Giovara2015-06-08
|
* mpegvideo: Move tables to a separate fileVittorio Giovara2015-05-31
|
* mpegvideo: wmv2: Move function declarationsVittorio Giovara2015-05-31
|
* mpegvideo: Move ff_*_rl functions to a separate fileAnton Khirnov2015-05-28
|
* mpegvideo: Drop exchange_uv() function and use its code directlyVittorio Giovara2015-05-28
| | | | Code is small enough that there is no advantage in a separate function.
* mpegvideo: Rework various functions not to use MpegEncContext directlyVittorio Giovara2015-05-22
|
* mpegvideo: Have ff_mpeg_ref_picture use AVCodecContext directlyVittorio Giovara2015-05-22
|
* mpegvideo: Have ff_mpeg_unref_picture use AVCodecContext directlyVittorio Giovara2015-05-22
| | | | | This skips setting the memory to 0 but allows for reuse on different contextes. Oracle did not report any unsual activity because of it.
* mpegvideo: Drop err_recognitionVittorio Giovara2015-05-22
| | | | It is just a duplicate of an AVCodecContext member so use it instead.
* mpegvideo: Drop flags and flags2Vittorio Giovara2015-05-22
| | | | They are just duplicates of AVCodecContext members so use those instead.
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* lavc: deprecate unused AVCodecContext.stream_codec_tagAnton Khirnov2015-01-27
|
* 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.
* mpegvideo: move REBASE_PICTURE where it is usedVittorio Giovara2014-12-15
| | | | Drop an unused #undef from h264 decoder.
* mpegvideo: exit cleanly when ff_mpv_common_frame_size_change() failsMichael Niedermayer2014-12-03
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: free_context_frame() cannot fail, make it return voidMichael Niedermayer2014-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpegvideo: replace assert about interlaced EC with debug av_log()Michael Niedermayer2014-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpegvideo: check mpv return valueVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238786
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-15
|
* idct: remove call to ff_idctdsp_init from ff_MPV_common_initJohn Stebbins2014-08-14
| | | | | One step in untangling the mpegvideo code and fixing some problems in the order that initialization is being done in h263dec and h261dec.
* aarch64: NEON intrinsics dct_unquantize_h263.James Yu2014-07-21
| | | | | | | | | Intrinsics only used on aarch64 since the existing ARMv7 NEON asm is slightly faster (Cortex-A9, gcc-4.8, micro-benchmarks and full decoding time). Signed-off-by: James Yu <james.yu@linaro.org> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-17
|
* dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-30
|
* dsputil: Split off global motion compensation bits into a separate contextDiego Biurrun2014-06-23
|
* mpeg: Split error resilience bits off into a separate fileDiego Biurrun2014-06-22
|
* mpeg: Mark ff_mpeg_set_erpic() staticDiego Biurrun2014-06-22
| | | | It is not used outside of the file.
* dsputil: Split clear_block*/fill_block* off into a separate contextDiego Biurrun2014-06-18
|
* mpegvideo: synchronize AVFrame pointers in ERContext fullyJanne Grunau2014-06-11
| | | | | | | | Since error resilience uses AVFrame pointers instead of references it has to copy NULL pointers too. After a codec flush the last/next frame pointers in MpegEncContext are NULL and the old pointers remaining in ERContext are invalid. Fixes a crash in vlc for android thumbnailer. Reported and debugged by Adrien Maglo <magsoft@videolan.org>.
* dsputil: Split off quarterpel bits into their own contextDiego Biurrun2014-05-29
|
* dsputil: Move ff_alternate_*_scan tables to mpegvideoDiego Biurrun2014-05-29
|
* hwaccel: Rename priv_data_size to frame_priv_data_sizeAnton Khirnov2014-05-11
| | | | This describes more accurately what this field is for.
* mpegvideo: remove unused MpegEncContext.b4_strideAnton Khirnov2014-04-29
|
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-09
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: drop ff_pixfmt_list_420Vittorio Giovara2014-03-23
|
* mpegvideo: move ff_draw_horiz_band() to mpegutils.cVittorio Giovara2014-03-16
| | | | Drop the mpegvideo dependency for svq3 in configure.
* mpegvideo: move mpegvideo formats-related defines to mpegutils.hVittorio Giovara2014-03-16
|