Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-17avcodec/mpegvideo: Fix edge emu buffer overlap with interlaced mpeg4Michael Niedermayer
Fixes Ticket5936 Regression since c5fc8ae12622a507d7b9ee30ddcd3734e6de6b1d Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 85407c7e63722a2d723257e8cf5f281a8c9f34a4) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-22avcodec/mpegvideo_enc: Add missing emms_c() to clear MMX state after SIMD useMichael Niedermayer
Fixes undefined behavior due to calling libc allocation with unclean FPU state Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-21avcodec/mpegvideo_enc: Clear mmx state in ff_mpv_reallocate_putbitbuffer()Michael Niedermayer
This function must be called from the mb or slice encoding loop and MMX state may not be clean there Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-26avcodec/mpegvideo_enc: fix memory leakTimo Rothenpieler
When the input frames contain side data, it will accumulate endlessly in the coded frame, as av_frame_copy_props will append any new side data. Fixes ticket #5799.
2016-06-21Merge commit 'b7e64fba7f37cc0399beae844f0a5dbef9219376'Clément Bœsch
* commit 'b7e64fba7f37cc0399beae844f0a5dbef9219376': Reduce the scope of some variables Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
2016-05-11Reduce the scope of some variablesDiego Biurrun
This avoids unused variable warnings after the next version bump. Also drop a trace level av_log() call that is in the way.
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-04-11Merge commit 'c80344d0101558098a6cd2ed5082ff5fda7ca18b'Derek Buitenhuis
* commit 'c80344d0101558098a6cd2ed5082ff5fda7ca18b': mpegvideo_enc: use avcodec_free_context() instead of av_free() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-26mpegvideo_enc: use avcodec_free_context() instead of av_free()Anton Khirnov
2016-02-03Merge commit '0e9c4fe254073b209970df3e3cb84531bc388e99'Derek Buitenhuis
* commit '0e9c4fe254073b209970df3e3cb84531bc388e99': lavc: Move pre_me to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03Merge commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607'Derek Buitenhuis
* commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607': lavc: Move me_penalty_compensation to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03Merge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'Derek Buitenhuis
* commit '2862b63783b5556f7f3fb2d097629bc6879f833a': lavc: Move prediction_method to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-31Merge commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd'Derek Buitenhuis
* commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd': lavc: Move rtp_payload_size to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-28Merge commit '12b49769223234673db1003d9c43e7483ceb0282'Derek Buitenhuis
* commit '12b49769223234673db1003d9c43e7483ceb0282': lavc: Move mpeg_quant to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-28Merge commit '1482aff2048511b821ff9feac19426113cc641a2'Derek Buitenhuis
* commit '1482aff2048511b821ff9feac19426113cc641a2': lavc: Move noise_reduction to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-28Merge commit '7c79587d7407dab4b9445d66b5f111fe657c8c4d'Derek Buitenhuis
* commit '7c79587d7407dab4b9445d66b5f111fe657c8c4d': lavc: Move scenechange_threshold to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-28Merge commit '0ac9f33a9e69c64eee592791be3c5441a6a3d6b7'Derek Buitenhuis
* commit '0ac9f33a9e69c64eee592791be3c5441a6a3d6b7': lavc: Move frame_skip_* to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-28Merge commit '84c4714f397c9c50eb9d49008cc1c08385f68f31'Derek Buitenhuis
* commit '84c4714f397c9c50eb9d49008cc1c08385f68f31': lavc: Move brd_scale to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-27Merge commit '0e6c8532215790bbe560a9eea4f3cc82bb55cf92'Derek Buitenhuis
* commit '0e6c8532215790bbe560a9eea4f3cc82bb55cf92' lavc: Move b_frame_strategy and b_sensitivity to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-21lavc: Move pre_me to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move me_penalty_compensation to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc. It is a very codec-specific options, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move prediction_method to codec private optionsVittorio Giovara
This options is only used by huffyuv, ffvhuv, jpegls, mjpeg, mpegvideoenc, png, utvideo. It is a very codec-specific options, so deprecate the global variant. Set proper limits to the maximum allowed values, and update utvideoenc tests to use the new option name. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move rtp_payload_size to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc and openh264. It is a very codec-specific option, so deprecate the global variant. The openh264 option is dropped altogether since it is just a fallback for -max_nal_size anyway. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move mpeg_quant to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc, and xvid. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move noise_reduction to codec private optionsVittorio Giovara
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>
2016-01-21lavc: Move scenechange_threshold to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc, x264, and xavs. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move frame_skip_* to codec private optionsVittorio Giovara
These options are only used by mpegvideoenc and vpx. They are very codec-specific options, so deprecate the global variants. Add an allowed value to the private options for frame_skip_cmp which seems to have been forgotten, but perfectly working. The libvpx frame dropping feature uses one of such option (frame_skip_threshold) without the other three. For this reason rename the option to something more consistent with the other libvpx variables. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move brd_scale to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc, It is a very codec-specific option, so deprecate the global variant. Set proper limits to the maximum allowed values. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move b_frame_strategy and b_sensitivity to codec private optionsVittorio Giovara
The b_frame_strategy option is only used by mpegvideoenc, qsv, x264, and xavs, while b_sensitivity is only used by mpegvideoenc. These are very codec-specific options, so deprecate the global variants. Set proper limits to the maximum allowed values. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21avcodec/mpegvideo_enc: Check for integer overflow in ↵Michael Niedermayer
ff_mpv_reallocate_putbitbuffer() Fixes assertion failure Fixes: 6568d187979ce17878b6fe5fbbb89142/signal_sigabrt_7ffff6ae7cb7_7176_564bbc6741bdcf907f5c4e685c9a77a2.mpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-12avcodec/mpeg4video: Check time_incrMichael Niedermayer
Fixes assertion failure Fixes out of memory access Fixes: test_casex.ivf Found-by: Tyson Smith <twsmith@mozilla.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-07avcodec/mpegvideo_enc: Clip bits_per_raw_sample within valid rangeMichael Niedermayer
Fixes out of array read Fixes: test_case-mdc.264 (b47be15a120979f5a1a945c938cbef33) Found-by: Tyson Smith <twsmith@mozilla.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-05avcodec/motion_est: Fix mv_penalty table sizeMichael Niedermayer
Fixes out of array read Found-by: Tyson Smith <twsmith@mozilla.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-18Merge commit '458e53f51fc75d08df884f8e9eb3d7ded23e97b3'Hendrik Leppkes
* commit '458e53f51fc75d08df884f8e9eb3d7ded23e97b3': mpegvideo_enc: actually add the side data with vbv_delay to the packet Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-18Merge commit '16216b713f9a21865cc07993961cf5d0ece24916'Hendrik Leppkes
* commit '16216b713f9a21865cc07993961cf5d0ece24916': lavc: Drop exporting 2-pass encoding stats Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-17Merge commit '2507b5dd674834be7261772996f47ae3b95cca69'Hendrik Leppkes
* commit '2507b5dd674834be7261772996f47ae3b95cca69': mpegvideo_enc: export vbv_delay in side data Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-17Merge commit '3f5c99fcbb2c366d7bdef8500c19f43a33bdb6b9'Hendrik Leppkes
* commit '3f5c99fcbb2c366d7bdef8500c19f43a33bdb6b9': mpegvideo_enc: export CPB props side data Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-12mpegvideo_enc: actually add the side data with vbv_delay to the packetAnton Khirnov
Fixes 2507b5dd674834be7261772996f47ae3b95cca69
2015-12-07lavc: Drop exporting 2-pass encoding statsVittorio Giovara
These variables are coming from mpegvideoenc where are supposedly used as bit counters on various frame properties. However their use is unclear as they lack documentation, are available only from a very small subset of encoders, and they are hardly used in the wild. Also frame_bits in aacenc is employed in a similar way. Remove this functionality from AVCodecContex, these variable are mostly frame properties, and too few encoders support setting them with anything useful. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-12-06mpegvideo_enc: export vbv_delay in side dataAnton Khirnov
Deprecate AVCodecContext.vbv_delay
2015-12-06mpegvideo_enc: export CPB props side dataAnton Khirnov
2015-12-04avcodec: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch
2015-11-29Merge commit '462a54e2291e1fa18e1f1254d09739dfbb795617'Hendrik Leppkes
* commit '462a54e2291e1fa18e1f1254d09739dfbb795617': lavc: Deprecate avctx.rtp_callback field Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-11-24avcodec/mpegvideo_enc: Remove slice structured mode from H.263 as well as ↵Michael Niedermayer
the code automatically enabing it There is no such thing as a slice structured mode in the original version 1 H.263, that mode was added in H.263+ in 1998. Also the headers for slice structured mode are not part of the older version 1 and this would result in unplayable files An alternative to this patch would be to merge the H263 and H263P AVCodecs and use other means to distinguish the older and newer versions. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-22Merge commit 'f6c94457b44f41d900cd0991857f54e1f0ccedd6'Derek Buitenhuis
* commit 'f6c94457b44f41d900cd0991857f54e1f0ccedd6': mpegvideo_enc: enable rtp_mode when multiple slices are used Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2015-11-22Merge commit 'd80f0a4ad634b3949b91b85f21fd608c0cddeef7'Derek Buitenhuis
* commit 'd80f0a4ad634b3949b91b85f21fd608c0cddeef7': mpevideo_enc: disallow multiple slices for h261 and flv Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2015-11-20lavc: Deprecate avctx.rtp_callback fieldVittorio Giovara
This function returns the encoded data of a frame, one slice at a time directly when that slice is encoded, instead of waiting for the full frame to be done. However this field has a debatable usefulness, since it looks like it is just a convoluted way to get data at lowest possible latency, or a somewhat hacky way to store h263 in RFC-2190 rtp encapsulation. Moreover when multi-threading is enabled (which is by default) the order of returned slices is not deterministic at all, making the use of this function not reliable at all (or at the very least, more complicated than it should be). So, for the reasons stated above, and being used by only a single encoder family (mpegvideo), this field is deemed unnecessary, overcomplicated, and not really belonging to libavcodec. Libavformat features a complete implementation of RFC-2190, for any other case. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-20mpegvideo_enc: enable rtp_mode when multiple slices are usedAnton Khirnov
Currently, multiple slices with just one thread produce corrupted output. Additionally, enable slice structured mode for h263(+) Bug-Id: 912 CC: libav-stabl@libav.org
2015-11-20mpevideo_enc: disallow multiple slices for h261 and flvAnton Khirnov
They do not work and produce corrupted output. CC: libav-stable@libav.org