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-01-29mpeg: Drop unused parameters from ff_draw_horiz_band()Diego Biurrun
2014-01-09mpegvideo: drop support for real (non-emulated) edgesAnton Khirnov
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.
2013-11-15lavc: Edge emulation with dst/src linesizeRonald S. Bultje
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.
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-09-19svq3: Avoid a division by zeroMartin Storsjö
If the height is zero, the decompression will probably end up failing due to not fitting into the allocated buffer later anyway, so this doesn't need any more elaborate check. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-17svq3: Check for any negative return value from ff_h264_check_intra_pred_modeMartin Storsjö
Also pass on any returned error code. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-20h264data: Move some tables to the only place they are usedDiego Biurrun
2013-08-05vdpau: remove old-style decodersRémi Denis-Courmont
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-05-05avcodec: Add av_cold attributes to end functions missing themDiego Biurrun
2013-04-20svq3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-10h264: Integrate clear_blocks calls with IDCTRonald S. Bultje
The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700 to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb (in the decode_slice loop) goes from 1759 to 1733 cycles on the clip tested (cathedral), i.e. almost 30 cycles per mb faster. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-08lavc: stop setting AVFrame.motion_subsample_log2Anton Khirnov
It is not used inside lavc anywhere and now it makes no sense to export it.
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-02-26Remove unnecessary dsputil.h #includesDiego Biurrun
2013-02-20h264/svq3: Stop using draw_edgesRonald S. Bultje
Instead, only extend edges on-demand when the motion vector actually crosses the visible decoded area using ff_emulated_edge_mc(). This changes decoding time for cathedral from 8.722sec to 8.706sec, i.e. 0.2% faster overall. More generally (VP8 uses this also), low-motion content gets significant speed improvements, whereas high-motion content tends to decode in approximately the same time. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-18svq3: unbreak decodingMatti Hamalainen
a7d2861d36756b913e85681b86ed3385274e8ced removed necessary braces.
2013-02-15h264: deMpegEncContextizeAnton Khirnov
Most of the changes are just trivial are just trivial replacements of fields from MpegEncContext with equivalent fields in H264Context. Everything in h264* other than h264.c are those trivial changes. The nontrivial parts are: 1) extracting a simplified version of the frame management code from mpegvideo.c. We don't need last/next_picture anymore, since h264 uses its own more complex system already and those were set only to appease the mpegvideo parts. 2) some tables that need to be allocated/freed in appropriate places. 3) hwaccels -- mostly trivial replacements. for dxva, the draw_horiz_band() call is moved from ff_dxva2_common_end_frame() to per-codec end_frame() callbacks, because it's now different for h264 and MpegEncContext-based decoders. 4) svq3 -- it does not use h264 complex reference system, so I just added some very simplistic frame management instead and dropped the use of ff_h264_frame_start(). Because of this I also had to move some initialization code to svq3. Additional fixes for chroma format and bit depth changes by Janne Grunau <janne-libav@jannau.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-02-15mpegvideo: split ff_draw_horiz_band().Anton Khirnov
Split out dependency on MpegEncContext.
2013-02-15svq3: remove a pointless if()Anton Khirnov
The H264 context is always uninitialized at this point.
2013-02-08dsputil: Move ff_svq3 function declarations to a separate headerDiego Biurrun
2013-01-23Drop DCTELEM typedefDiego Biurrun
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-12-20lavc: introduce VideoDSPContextRonald S. Bultje
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>
2012-12-09svq3: make slice type value unsigned to match svq3_get_ue_golomb return typeJanne Grunau
2012-12-08golomb: use unsigned arithmetics in svq3_get_ue_golomb()Janne Grunau
This prevents undefined behaviour of signed left shift if the coded value is larger than 2^31. Large values are most likely invalid and caused errors or by feeding random. Validate every use of svq3_get_ue_golomb() and changed the place there the return value was compared with negative numbers. dirac.c was clean, fixed rv30 and svq3.
2012-12-05lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov
It's got_frame, not data size
2012-10-20svq3: cosmetics: Drop useless parenthesesDiego Biurrun
2012-10-20svq3: K&R formatting cosmeticsDiego Biurrun
2012-10-11svq3: fix pointer type warningMans Rullgard
Fixes: libavcodec/svq3.c:661:9: warning: passing argument 2 of 'svq3_decode_block' from incompatible pointer type libavcodec/svq3.c:208:19: note: expected 'DCTELEM *' but argument is of type 'DCTELEM (*)[32]' Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-11svq3: replace unsafe pointer casting with intreadwrite macrosMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-08Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-04-06cosmetics: Align codec declarationsMartin Storsjö
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-03-06svq3: protect against negative quantizers.Ronald S. Bultje
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-03-06Don't use ff_cropTbl[] for IDCT.Ronald S. Bultje
Results of IDCT can by far outreach the range of ff_cropTbl[], leading to overreads and potentially crashes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-03-02Replace AVFrame pointer type punning by proper struct member assignments.Diego Biurrun
2012-02-16mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-10svq3: Prevent illegal reads while parsing extradata.Alex Converse
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
2012-02-10h264: disallow constrained intra prediction modes for luma.Ronald S. Bultje
Conversion of the luma intra prediction mode to one of the constrained ("alzheimer") ones can happen by crafting special bitstreams, causing a crash because we'll call a NULL function pointer for 16x16 block intra prediction, since constrained intra prediction functions are only implemented for chroma (8x8 blocks). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2011-08-15svq3: propagate codec memory allocation failure in context initDustin Brody
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-29lavc: use designated initialisers for all codecs.Anton Khirnov
It's more readable and less prone to breakage.
2011-07-11Eliminate FF_COMMON_FRAME macro.Diego Biurrun
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
2011-07-04H.264: faster write_back_*Jason Garrett-Glaser
Avoid aliasing, unroll loops, and inline more functions.
2011-06-14Fix SVQ3 after adding 4:4:4 H.264 supportJason Garrett-Glaser
2011-06-14Roll back 4:4:4 H.264 for nowJason Garrett-Glaser
Needs some ARM/PPC asm modifications.
2011-06-13Fix SVQ3 after adding 4:4:4 H.264 supportJason Garrett-Glaser
2011-06-03svq3: Check negative mb_type to fix potential crash.Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-03svq3: Move svq3-specific fields to their own context.Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-21svq3: Do initialization after parsing the extradataRonald S. Bultje
If done before, some parameters aren't known yet. With svq3/rtp, initializing before some parameters are known can lead to calling av_malloc(0), which on OS X currently returns broken pointers.
2011-05-02Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-02Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>