summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo_enc.c
Commit message (Collapse)AuthorAge
* avutil: remove timer.h include from internal.hJanne Grunau2014-01-25
| | | | Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
* mpegvideo_enc: Don't call ff_h263dsp_init unconditionallyMartin Storsjö2014-01-22
| | | | | | | This fixes builds with e.g. --disable-decoders --disable-encoders --enable-encoder=mjpeg. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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: 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.
* ljpegenc: deMpegEncContextizeAnton Khirnov2013-12-05
| | | | | | | | | The encoder uses almost none of the mpegvideo infrastructure, only some fields from MpegEncContext. The FATE results change because now an all-zero quant matrix is written into the file. Since it is not used for anything for ljpeg, this should not be a problem.
* mjpegenc: do not pass MpegEncContext to ff_mjpeg_encode_picture_trailer()Anton Khirnov2013-12-05
| | | | This will allow deMpegEncContextizing the LJPEG encoder.
* mjpegenc: do not pass MpegEncContext to ff_mjpeg_encode_picture_header()Anton Khirnov2013-12-05
| | | | This will allow deMpegEncContextizing the LJPEG encoder.
* mpegvideo: move encode-only parts of common_end() to encode_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: 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()
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* mpegvideo_enc: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* lavc: Edge emulation with dst/src linesizeRonald S. Bultje2013-11-15
| | | | | | Allow supporting files for which the image stride is smaller than the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9 file or a 16x16 VP8 file with -fflags +emu_edge.
* lavc: deprecate FF_MAX_B_FRAMESAnton Khirnov2013-11-14
| | | | | | We should not arbitrarily decide the maximum B-frame number for all encoders supported by Libav, each encoder should be able to set its own limits.
* lavc: make error_rate a private option of mpegvideo encodersAnton Khirnov2013-11-14
|
* dsputil: Split off H.263 bits into their own H263DSPContextDiego Biurrun2013-11-08
|
* lavc: Convert some remaining strides to ptrdiff_tRonald S. Bultje2013-10-15
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* mpegvideo_enc: drop outdated copy_picture_attributes() in favour of a modern ↵Vittorio Giovara2013-08-07
| | | | | | av_frame_copy_props() Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Remove commented-out debug #define cruftDiego Biurrun2013-05-16
|
* mpegvideo: Remove commented-out PARANOID debug cruftDiego Biurrun2013-05-15
|
* mpegvideo: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This also converts vc1, since that is mpegvideo-based. Signed-off-by: Martin Storsjö <martin@martin.st>
* h261: Move function declarations to h261.hDiego Biurrun2013-04-05
|
* mpeg12: Move some ff_mpeg1_* function declarations to a more suitable placeDiego Biurrun2013-03-27
|
* mpegvideo: remove FMT_H264Anton Khirnov2013-03-11
|
* lavc: remove disabled FF_API_MPV_GLOBAL_OPTS cruftAnton Khirnov2013-03-09
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* mpegvideo_enc: drop support for reusing the input motion vectors.Anton Khirnov2013-03-08
| | | | | | This misfeature is most likely completely useless and conflicts with removing the mpegvideo-specific fields from AVFrame. In the improbable case it is actually useful, it should be reimplemented in a better way.
* error_resilience: decouple ER from MpegEncContextAnton Khirnov2013-02-15
|
* dsputil: Move fdct function declarations to dct.hDiego Biurrun2013-02-09
|
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-08
|
* mpegvideo_enc: fix indentation in load_input_picture()Anton Khirnov2013-01-26
|
* mpegvideo_enc: do not modify the input frame.Anton Khirnov2013-01-26
|
* Drop DCTELEM typedefDiego Biurrun2013-01-22
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-20
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: allocate scratch buffers after linesize is knownJanne Grunau2012-12-18
| | | | | | | | | | | Since we can't know which stride a custom get_buffer() implementation is going to use we have to allocate this scratch buffers after the linesize is known. It was pretty safe for 8 bit per pixel pixel formats since we always allocated memory for up to 16 bits per pixel. It broke hoever with cmdutis.c's alloc_buffer() and high pixel bit depth since it allocated larger edges than mpegvideo expected. Fixes fuzzed sample nasa-8s2.ts_s244342.
* pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato2012-11-13
| | | | Deprecate avcodec_get_chroma_sub_sample.
* Move avutil tables only used in libavcodec to libavcodec.Diego Biurrun2012-10-11
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-01
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo_enc: remove assert that has become obsolete with the new APIMichael Niedermayer2012-09-04
| | | | | | It now just checks uninitialized and unused data. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: mpegvideoenc: Split optimizations off into a separate fileDiego Biurrun2012-08-24
|
* mpegvideo_enc: remove stray duplicate line from 7f9aaa4Anton Khirnov2012-08-20
|
* mpegvideo_enc: don't use deprecated avcodec_encode_video().Anton Khirnov2012-08-18
|
* mpegvideo: convert mpegvideo_common.h to a .c fileMans Rullgard2012-08-09
| | | | | | | | | | This file defines a single, huge function, MPV_motion(), which although being declared inline is not actually inlined by the compiler (for good reason). There is thus no sense in defining this function in a header file, resulting in multiple copies of it in the final library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|