summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Move misplaced file author information where it belongsDiego Biurrun2013-04-11
|
* lavc: don't overwrite display dimensions with coded dimensions.Anton Khirnov2013-04-10
|
* lavc: extend / update the [coded_]{width,height} doxyAnton Khirnov2013-04-10
|
* h261: Move encoder/decoder shared table init to common codeDiego Biurrun2013-04-10
|
* h261: Move shared data tables from a header to a proper C fileDiego Biurrun2013-04-10
|
* dsputil: Make dsputil selectableRonald S. Bultje2013-04-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Only initialize dsputil if error resilience is enabledRonald S. Bultje2013-04-10
| | | | | | | It is only used for error resilience. This allows building the h264 decoder without dsputil, if error resilience is disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Integrate clear_blocks calls with IDCTRonald S. Bultje2013-04-10
| | | | | | | | | 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>
* h264: Clear the mb members via memset instead of using dsputilMartin Storsjö2013-04-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Make square put/avg_pixels functions local to h264qpelRonald S. Bultje2013-04-10
| | | | | | | Put a copy of the 8bit functions only in dsputil, where they are used for some other things (e.g. mpeg4qpel, mspel, cavsqpel). Signed-off-by: Martin Storsjö <martin@martin.st>
* dfa: implement missing TDLT coding methodKostya Shishkov2013-04-09
|
* h264pred: Add a few missing const declarations for ff_cropTbl derived pointersMartin Storsjö2013-04-08
| | | | | | | | The pointers that get assigned ff_cropTbl were made const in 9e0f14f1, but other variables that transitively are assigned based on these variables were missed. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtablesRonald S. Bultje2013-04-08
| | | | | | | | | These are widely used throughout libavcodec, nothing dsputil-specific. Change ff_cropTbl to a statically initialized table, to avoid initializing it with a function call. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-08
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp3: Embed idct_permutation array directly in VP3DecoderContextRonald S. Bultje2013-04-08
| | | | | | | This makes the vp3 decoder less dependent on dsputil, and will aid in making it (eventually) dsputil-independent. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: qpel: Move fullpel and l2 functions to a separate fileRonald S. Bultje2013-04-08
| | | | | | | This way, they can be shared between mpeg4qpel and h264qpel without requiring either one to be compiled unconditionally. Signed-off-by: Martin Storsjö <martin@martin.st>
* bfin: Make vp3 functions staticMartin Storsjö2013-04-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* bfin: Don't use the vp3 idct functions if bitexact behaviour is expectedMartin Storsjö2013-04-08
| | | | | | | | In the non-bitexact mode, vp3 currently decodes to the same frame crcs as before 28f9ab702 (and the output visually looks correct). Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: sbrdsp: Implement SSE neg_odd_64Christophe Gisquet2013-04-05
| | | | | | | | | | Timing on Arrandale: C SSE Win32: 57 44 Win64: 47 38 Unrolling and not storing mask both save some cycles. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h261: Move mvmap table to the only place it is usedDiego Biurrun2013-04-05
|
* h261: cosmetics: Move functions to avoid forward declarationsDiego Biurrun2013-04-05
|
* h261: K&R formatting and prettyprinting cosmeticsDiego Biurrun2013-04-05
|
* h261: Move function declarations to h261.hDiego Biurrun2013-04-05
|
* h261: Remove H.261 loop filter from dsputilDiego Biurrun2013-04-05
| | | | | There is no arch-optimized version of the H.261 loop filter and there likely will never be, so the dsputil overhead does not give any benefit.
* h261: Move ff_h261_rl_table_store declaration to header fileDiego Biurrun2013-04-05
|
* libopenjpeg: Add support for XYZ colorspace, found in DCINEMA framesNicolas Bertrand2013-04-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* bmv: check for len being valid in bmv_decode_frame().Anton Khirnov2013-04-04
| | | | | | | | It can be 0 or -1 for invalid files, which may result in invalid memory access. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dfa: check for invalid access in decode_wdlt().Anton Khirnov2013-04-04
| | | | | | | | This can happen when the number of skipped lines is not consistent with the number of coded lines. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* doc: Fix best_nb_channells typoPeter Meerwald2013-04-04
| | | | | Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp8: Fix pthread_cond and pthread_mutex leaksMatt Wolenetz2013-03-30
| | | | | | CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vmdav: convert to bytestream2Alexandra Khirnova2013-03-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* msmpeg4: Split decoding related functions to a separate fileMartin Storsjö2013-03-27
| | | | | | | | This fixes standalone compilation of the msmpeg4v2, msmpeg4v3 and wmv2 encoders, that previously failed to link due to the decoder codepaths requiring error_resilience. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: Move Mpeg1Context declaration to the only place it is usedDiego Biurrun2013-03-27
|
* Split MPEG-1/2 decoder code off from MPEG-1/2 common codeDiego Biurrun2013-03-27
|
* mpeg12: Move some ff_mpeg1_* function declarations to a more suitable placeDiego Biurrun2013-03-27
|
* cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
|
* dca: Move ff_dca_convert_bitstream() to the DCA common codeDiego Biurrun2013-03-27
| | | | This makes the DCA parser and decoder independent.
* vdpau: wrap codec specific functions in appropiate #ifsJanne Grunau2013-03-27
| | | | | Fixes linking when only a subset of the deprecated vdpau decoders is enabled.
* vdpau: fix obsolete mpeg1 vdpau decoder when mpeg2 is disabledJanne Grunau2013-03-26
|
* hwaccel: fix use with frame based multithreadingJanne Grunau2013-03-26
| | | | | | | | | | | | Allows use of AVHWAccel based decoders with frame based multithreading. The decoders will be forced into an non-concurrent mode by delaying ff_thread_finish_setup() calls after decoding of the current frame is finished. This wastes memory by unnecessarily using multiple threads and thus copies of the decoder context but allows seamless switching between hardware accelerated and frame threaded software decoding when the hardware decoder does not support the stream.
* utils: add workaround for AVHWAccel in ff_get_buffer compat codeJanne Grunau2013-03-26
| | | | | | | Since c977039e585bfff28ecc037ef827c6c3d1ed88aa plane count for PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy AVBuffers are still bogus since AVFrame does not hold frame data when AVHWAccels are used.
* x86: vc1dsp: Fix indentationMartin Storsjö2013-03-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Make it possible to compile without error_resilienceRonald S. Bultje2013-03-26
| | | | | | | | | | Error resilience is enabled by the h264 decoder, unless explicitly disabled. --disable-everything --enable-decoder=h264 will produce a h264 decoder with error resilience enabled, while --disable-everything --enable-decoder=h264 --disable-error-resilience will produce a h264 decoder with error resilience disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö2013-03-26
| | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Move start code finding to utils.cMartin Storsjö2013-03-26
| | | | | | | | | | This allows dropping the mpegvideo dependency from a number of components. This also fixes standalone building of the h264 parser, which was broken in 64e438697. Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: 3.80-3.92 decoding supportKostya Shishkov2013-03-25
|
* h264: Remove an unused variableMartin Storsjö2013-03-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: consistently use unaligned movs in the unaligned bswapJanne Grunau2013-03-25
| | | | Fixes fate errors in asv1, ffvhuff and huffyuv on x86_32.
* x86: Change a missed occurrance of int to ptrdiff_t for stridesMartin Storsjö2013-03-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Remove win64 xmm clobbering wrappers for the now removed ↵Martin Storsjö2013-03-23
| | | | | | avcodec_encode_video function Signed-off-by: Martin Storsjö <martin@martin.st>