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
2014-05-30Merge commit '368f50359eb328b0b9d67451f56fda20b3255f9a'Michael Niedermayer
* commit '368f50359eb328b0b9d67451f56fda20b3255f9a': dsputil: Split off quarterpel bits into their own context Conflicts: configure libavcodec/dsputil.c libavcodec/h263dec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/vc1dec.c libavcodec/vc1dsp.c libavcodec/x86/dsputil_init.c libavcodec/x86/qpeldsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-29dsputil: Split off quarterpel bits into their own contextDiego Biurrun
2014-05-12Merge commit '5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f'Michael Niedermayer
* commit '5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f': lavc: set AVCodecContext.hwaccel in ff_get_format() Conflicts: libavcodec/mpeg12dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-11Merge commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425'Michael Niedermayer
* commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425': lavc: Add an internal wrapper around get_format() Conflicts: libavcodec/h264_slice.c libavcodec/mpeg12dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-11lavc: set AVCodecContext.hwaccel in ff_get_format()Anton Khirnov
This way each decoder does not have to do the same thing manually.
2014-05-11lavc: Add an internal wrapper around get_format()Anton Khirnov
It will be useful in the following commits.
2014-05-04avcodec/h263dec: use AV_EF_IGNORE_ERRMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-03avcodec/h263dec: fix "incompatible pointer type" warningMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-03avcodec/h263dec: print MB position for each MB when TRACE is enabledMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-09Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: mpegvideo: operate with pointers to AVFrames instead of whole structs Conflicts: libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/intrax8.c libavcodec/mpeg12enc.c libavcodec/mpegvideo.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/mpegvideo_xvmc.c libavcodec/msmpeg4.c libavcodec/ratecontrol.c libavcodec/vaapi.c libavcodec/vc1dec.c libavcodec/vdpau_vc1.c See: fc567ac49e17151f00f31b59030cd10f952612ef Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-09mpegvideo: operate with pointers to AVFrames instead of whole structswm4
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>
2014-03-31Merge commit '33259118155764ce27a3433894659dda1d148b5f'Michael Niedermayer
* commit '33259118155764ce27a3433894659dda1d148b5f': h263: improve hwaccel #ifdefs Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-31h263: improve hwaccel #ifdefsRémi Denis-Courmont
2014-03-04avcodec/h263dec: Workaround H263 end padding bugMichael Niedermayer
Fixes: H263PaddingBugFixVID_6647.MOV Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-30Merge commit 'e2ceb17642f374a7df8f1f5d3d2b2446525bc7fb'Michael Niedermayer
* commit 'e2ceb17642f374a7df8f1f5d3d2b2446525bc7fb': mpeg4videodec: move mpeg4-specific post-frame-decode code from h264dec to mpeg4videodec Conflicts: libavcodec/h263dec.c libavcodec/mpeg4video.h libavcodec/mpeg4videodec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-30avcodec/h263dec: move call to ff_mpeg4_workaround_bugs() under codec_id checkMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-30avcodec/mpeg4videodec: move bug workaround code into seperate functionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-30Merge commit 'ad09f52586eae4c5473c3a6a803d73e1ba56c0eb'Michael Niedermayer
* commit 'ad09f52586eae4c5473c3a6a803d73e1ba56c0eb': h263dec: remove commented out cruft Conflicts: libavcodec/h263dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-30Merge commit '1a89025793ca73d9685a8ce8e3194efa64dd6844'Michael Niedermayer
* commit '1a89025793ca73d9685a8ce8e3194efa64dd6844': mpeg4videodec: move MpegEncContext.vol_sprite_usage to Mpeg4DecContext Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-30Merge commit 'ee8af2dd99dcb7a01a667deedec81d1aa2a00d72'Michael Niedermayer
* commit 'ee8af2dd99dcb7a01a667deedec81d1aa2a00d72': mpeg4videodec: move MpegEncContext.shape to Mpeg4DecContext Conflicts: libavcodec/h263dec.c libavcodec/mpeg4videodec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-29mpeg4videodec: move mpeg4-specific post-frame-decode code from h264dec to ↵Anton Khirnov
mpeg4videodec
2013-11-29h263dec: remove commented out cruftAnton Khirnov
2013-11-29mpeg4videodec: move MpegEncContext.vol_sprite_usage to Mpeg4DecContextAnton Khirnov
2013-11-29mpeg4videodec: move MpegEncContext.shape to Mpeg4DecContextAnton Khirnov
2013-11-29mpeg4videodec: move mpeg4-specific bug detection from h263 generic code to mpeg4Anton Khirnov
2013-11-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: h263dec: sanitize a condition. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-28h263dec: sanitize a condition.Anton Khirnov
Call ff_mpeg4_decode_picture_header() only when the decoder has the MPEG4 codec id, not based on a vaguely related value of h263_pred.
2013-11-10Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: hwaccel: Simplify ff_find_hwaccel Conflicts: libavcodec/mpeg12dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-10hwaccel: Simplify ff_find_hwaccelLuca Barbato
It is always called by passing fields from an AVCodecContext.
2013-11-08Merge commit '0338c396987c82b41d322630ea9712fe5f9561d6'Michael Niedermayer
* commit '0338c396987c82b41d322630ea9712fe5f9561d6': dsputil: Split off H.263 bits into their own H263DSPContext Conflicts: configure libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-08dsputil: Split off H.263 bits into their own H263DSPContextDiego Biurrun
2013-11-01Merge commit '3b086317277e3f3b61c0343930d8e2570b278bd6'Michael Niedermayer
* commit '3b086317277e3f3b61c0343930d8e2570b278bd6': h26[13]dec: stop using deprecated avcodec_set_dimensions gifdec: stop using deprecated avcodec_set_dimensions g2meet: stop using deprecated avcodec_set_dimensions Conflicts: libavcodec/gifdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-31h26[13]dec: stop using deprecated avcodec_set_dimensionsAnton Khirnov
2013-10-28avcodec/h263dec: fix handling of AV_EF_EXPLODEMichael Niedermayer
This fixes checking a variable that had been overwritten before. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-28Merge commit 'aaaf2dc023d31f30eeec874f24b50f44b9295185'Michael Niedermayer
* commit 'aaaf2dc023d31f30eeec874f24b50f44b9295185': h263: Check init_get_bits return value Conflicts: libavcodec/h263dec.c See: d47e14b53a3908e5bad82e22129bbd175b49e89b Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-28Merge commit '0749314886390f6ec81d45e0ba424fcb36c945cf'Michael Niedermayer
* commit '0749314886390f6ec81d45e0ba424fcb36c945cf': h263: Return meaningful errors Conflicts: libavcodec/h263dec.c See: 7b62d3415e8e44618cb97775567d453295c4f4d9 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-28h263: Check init_get_bits return valueMichael Niedermayer
And use init_get_bits8 to check for integer overflows while at it. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-10-28h263: Return meaningful errorsLuca Barbato
2013-10-23Merge commit '1ce3ec24b35d9d549b12f17bd7fd391abaf3a6f7'Michael Niedermayer
* commit '1ce3ec24b35d9d549b12f17bd7fd391abaf3a6f7': h263: K&R formatting cosmetics Conflicts: libavcodec/h263dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-23h263: K&R formatting cosmeticsLuca Barbato
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-10-22h263dec: use init_get_bits8() and check its return codeMichael Niedermayer
Fixes null pointer dereference Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-04Merge commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2'Michael Niedermayer
* commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2': cosmetics: Group .name and .long_name together in codec/format declarations Conflicts: libavcodec/8svx.c libavcodec/alac.c libavcodec/cljr.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/dpxenc.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/ffv1dec.c libavcodec/flacdec.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/g726.c libavcodec/gif.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopencore-amr.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/libvo-amrwbenc.c libavcodec/libvorbisenc.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/ljpegenc.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpeg4videodec.c libavcodec/msmpeg4dec.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/proresdec_lgpl.c libavcodec/proresenc_kostya.c libavcodec/ra144enc.c libavcodec/rawdec.c libavcodec/rv10.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tta.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/wavpack.c libavcodec/xbmenc.c libavcodec/yop.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-09-24Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: h263dec: Remove a hack that can cause infinite loops Conflicts: libavcodec/h263dec.c See: d2981b8ef191fc7876e3486e42222ab6a8777c24 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-24h263dec: Remove a hack that can cause infinite loopsMartin Storsjö
The actual usefulness of the hack is not known, and it does cause infinite loops with some broken input files. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-22Fix nonsense MPEG-4 hwaccel code.Reimar Döffinger
Issues with the code: 1) The skip_bits_long breaks packed B-frames since we skip of the packed frame, even for VDPAU. 2) Calling ff_h263_find_resync_marker_reverse is nonsense for MPEG-4, and for H.263 the only code using this (vaapi_mpeg4) explicitly reverts this change! 3) mb_x/mb_y are always 0 when vaapi_mpeg4_decode_slice, so doing computations with them is just obfuscation 4) due to not updating mb_y the code would always go into the error resilience case, causing nonsense error messages and maybe further issues. While tested to fix the data provided to the decoder in case of VDPAU so it is the same as for the non-hwaccel code, the VA-API code was not tested to still work, and adding regression testing even as a quick hack is much more complicated for it. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-09-21mpeg4dec: Ensure data is not clobbered too early.Reimar Döffinger
Avoid overwriting the bitstream buffer data before we have ended processing the frame. This is necessary to fix hwaccels which might try to use the buffer during the end_frame call. I am not sure but it is possible this could even trigger a use-after-free if the av_fast_malloc allocated a new buffer. This would require that decode_slice did not wind the bitstream forward all the way to the end, which does not currently happen in normal streams. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-08-24avcodec/h263dec: fix aspect of lead h263 EHCMichael Niedermayer
Fixes part of ticket925 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-24avcodec/h263dec: use FF_CEIL_RSHIFT()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-24mpeg4videodec: fix GEOV/GEOX flipingMichael Niedermayer
Fixes Ticket317 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>