summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
Commit message (Collapse)AuthorAge
* 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
|
* er: move relevant fields from Picture to ERPictureVittorio Giovara2014-03-16
| | | | | | | This is done to disentangle ER from mpegvideo. In order to use a classic Picture, callers can use ff_mpeg_set_erpic() or use a custom function to set the fields. Please note that buffers need to be allocated before calling ff_er_frame_end().
* mpegvideo: directly use frames in ff_draw_horiz_band()Vittorio Giovara2014-03-16
|
* mpeg: Drop unused parameters from ff_draw_horiz_band()Diego Biurrun2014-01-29
|
* avutil: remove timer.h include from internal.hJanne Grunau2014-01-25
| | | | Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
* mpegvideo: allocate edges when encoding.Anton Khirnov2014-01-20
| | | | | Allocating edges will be removed from generic code, so the encoder must handle this explicitly.
* mpegvideo: drop support for real (non-emulated) edgesAnton Khirnov2014-01-09
| | | | | | | Several decoders disable those anyway and they are not measurably faster on x86. They might be somewhat faster on other platforms due to missing emu edge SIMD, but the gain is not large enough (and those decoders relevant enough) to justify the added complexity.
* mpegvideo: remove disabled bfin asmAnton Khirnov2014-01-03
| | | | It has been disabled as 'broken' over 3 years ago in b716a792
* mpegvideo: move dct_unquantize functions up to avoid forward declarationsAnton Khirnov2014-01-03
|
* mpegvideo: split the encoding-only parts of frame_start() into a separate ↵Anton Khirnov2014-01-03
| | | | | | | function This introduces some code duplication. However, much of it should go away once the decoders stop using MpegEncContext.
* mpegvideo: set reference/pict_type on generated reference framesAnton Khirnov2014-01-03
| | | | | | | | | Otherwise the generic code will unref them, which can then result in last_picture_ptr == current_picture_ptr, which causes deadlocks at least in rv40. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* mpegvideo: call av_frame_unref() instead of avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | | | This is a temporary workaround to allow deprecating avcodec_get_frame_defaults(). The proper solution will be using a properly allocated AVFrame in Picture.
* mpegvideo: remove an unneeded call to avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | ff_mpeg_unref_picture() already resets the frame.
* mpegvideo: make ff_release_unused_pictures() staticAnton Khirnov2013-12-05
| | | | | It is only called from one place in mpegvideo.c now. Also remove the remove_current parameter, which is always 1.
* mpegvideo: make frame_size_alloc() static.Anton Khirnov2013-12-05
| | | | It is not called from outside of mpegvideo.c anymore.
* mpegvideo: move encode-only parts of common_end() to encode_end()Anton Khirnov2013-12-05
|
* mpegvideo: remove commented out cruft from ff_MPV_frame_end()Anton Khirnov2013-12-05
|
* mpegvideo: split the encoding-only parts of ff_MPV_frame_end() into a ↵Anton Khirnov2013-12-05
| | | | separate function
* mpegvideo: do not update last_non_b_pict_type in update_thread_context()Anton Khirnov2013-12-05
| | | | It is used for encoding only.
* mpegvideo: move encoding-only initialization from common_init() to encode_init()Anton Khirnov2013-12-05
|
* mpegvideo: move setting encoding-only vars from common_defaults() to ↵Anton Khirnov2013-12-05
| | | | encode_defaults()
* mpegvideo: don't copy input_picture_number in update_thread_context()Anton Khirnov2013-12-05
| | | | It is encoding-only, frame threading is not used for encoding.
* mpeg4videodec: move MpegEncContext.time_increment_bits to Mpeg4DecContextAnton Khirnov2013-11-29
| | | | The field remains in MpegEncContext for use in the encoder.
* mpeg4videodec: move MpegEncContext.shape to Mpeg4DecContextAnton Khirnov2013-11-29
|
* mpegvideo: Fix swapping of UV planes for VCR2Kostya Shishkov2013-11-19
|
* lavc: use buf[0] instead of data[0] in checks whether a frame is allocatedAnton Khirnov2013-11-18
| | | | data[0] may be NULL for valid frames with hwaccel pixel formats.
* Deprecate obsolete XvMC hardware decoding supportDiego Biurrun2013-11-13
| | | | | | | XvMC has long ago been superseded by newer acceleration APIs, such as VDPAU, and few downstreams still support it. Furthermore XvMC is not implemented within the hwaccel framework, but requires its own specific code in the MPEG-1/2 decoder, which is a maintenance burden.