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
2012-09-08x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun
This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
2012-09-08x86: mlpdsp: mlp_filter_channel_x86 requires inline asmHendrik Leppkes
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-07x86: more specific checks for availability of required assembly capabilitiesDiego Biurrun
2012-09-07x86: avcodec: Drop silly "_mmx" suffix from dsputil template namesDiego Biurrun
2012-09-07cavsdsp: set idct permutation independently of dsputilMans Rullgard
CAVS uses its own idct so using dsputil to set the permutation is fragile. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-07x86: allow using add_hfyu_median_prediction_cmov on any cpu with cmovMans Rullgard
For some reason add_hfyu_median_prediction_cmov is only selected on 3Dnow-capable CPUs, even though it uses no 3Dnow instructions. This patch allows it to be selected on any cpu with cmov with the possibility of being overridden by the mmxext version. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-06mss2: simplify loop in decode_rle()Alberto Delmás
It calculates the sum of power of two series, which can be done in one step. Suggested by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-06mss12: avoid unnecessary division in arith*_get_bit()Alberto Delmás
That division can be replaced with a comparison: ((c->value - c->low) << 1) + 1 >= range By expanding 'range' definition and simplifying this inequation we obtain the final expression. Suggested by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-06mss2: do not try to read too many palette entriesAlberto Delmás
Reported by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-06mpegvideo: set AVFrame fields to NULL after freeing the base memoryJanne Grunau
Prevents dangling pointers and makes access after free more obvious. Setting AVFrame.qscale_table to NULL is required for successfully allocating a previously freed Picture with ff_alloc_picture().
2012-09-06x86: dsputil: Do not redundantly check for CPU caps before calling init funcsDiego Biurrun
The init functions check for CPU capabilities on their own already.
2012-09-05x86: vp56: cmov version of vp56_rac_get_prob requires inline asmHendrik Leppkes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-09-05dsputil: workaround __VA_ARGS__ missing tokenization for MSVCLuca Barbato
A second expansion forces the preprocessor to tokenize properly. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05parser: Don't use pc as context for av_dlogMartin Storsjö
The ParserContext class doesn't have an AVClass, required for using it as a logging class. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05h264: Remove an assert on current_picture_ptr being nullMichael Niedermayer
It is possible in various error paths as well as gap handling that this has already been allocated. It is not clear why that would be a problem with the current code, thus disable the assert to avoid a common assert failure when asserts are enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05avopt: Explicitly store float/double option defaults in .dblMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04svq1enc: Set picture_structure correctlyMichael Niedermayer
This fixes assert failures when running in debug mode. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04mpegvideo: remove last_picture_ptr / h264 assert.Michael Niedermayer
This assert is no longer true since h264 error concealment needs last_picture_ptr to be set. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04mpegvideo_enc: remove assert that has become obsolete with the new APIMichael Niedermayer
It now just checks uninitialized and unused data. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04elbg: Fix an assertMichael Niedermayer
It seems the condition was flipped from what was intended. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04proresenc: Don't free a buffer not owned by the codecMartin Storsjö
The data in coded_frame isn't allocated using get_buffer, but is copied from the input frame to the encoder, so we should not try to free it ourselves. This fixes an assert failure when running in debug mode. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04proresenc: Write the full value in one put_bits callMartin Storsjö
Previously, the put_bits call writing the value wrote a value larger than the number of bits specified, failing asserts in debug mode. There was no actual bitstream writer corruption, since the overwritten bit already always was set to 1. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04adpcmenc: Calculate the IMA_QT predictor without overflowMichael Niedermayer
Previously, the value given to put_bits was 10 bits long for positive predictors, even though 9 bits were to be written. The extra bit could in some cases overwrite existing bits in the bitstream writer cache. This fixes a failed assert in put_bits.h, when running a version built with -DDEBUG. The fate test result gets slightly improved, thanks to getting rid of the overwritten bits in the bitstream writer cache. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04x86: h264dsp: drop some unnecessary ifdefs around prototype declarationsDiego Biurrun
2012-09-03mss12: merge decode_pixel() and decode_top_left_pixel()Alberto Delmás
No meaningful generated code differences using gcc -O3. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-03mss12: reduce SliceContext size from 1067 to 164 KBAlberto Delmás
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-03mss12: move SliceContexts out of the common context into the codec contextsAlberto Delmás
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-03build: avcodec: order cosmeticsDiego Biurrun
2012-09-03intrax8dsp: Add missing #include to make header standaloneDiego Biurrun
2012-09-03Delete motion-test tool; it is of doubtful utility.Diego Biurrun
2012-09-02intrax8: move functions from dsputil to own contextMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-31MSS1 and MSS2: set final pixel format after common stuff has been initialisedAlberto Delmás
This way it won't interfere with WMV9 initialisation inside MSS2 decoder and avplay will play it fine. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-08-31MSS2 decoderAlberto Delmás
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-08-31x86: Split inline and external assembly #ifdefsDiego Biurrun
2012-08-30x86: Fix linking with some or all of yasm, mmx, optimizations disabledDiego Biurrun
Some optimized template functions reference optimized symbols, so they must be explicitly disabled when those symbols are unavailable.
2012-08-30x86: cosmetics: Comment some #endifs for better readabilityDiego Biurrun
2012-08-30g723_1: add comfort noise generationKostya Shishkov
2012-08-30utvideoenc: Switch to dsputils' median predictionMichael Niedermayer
Also, align the mangled RGB planes, which is required for the SIMD versions of dsputils' median predict. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-30utvideoenc: Avoid writing into the input pictureMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-30lavc: add lossy/lossless codec properties.Anton Khirnov
2012-08-29Add reminders to update the codec descriptor list with new codec IDs.Anton Khirnov
2012-08-29x86: Always compile files with functions that are called unconditionallyDiego Biurrun
2012-08-29x86: mpegvideoenc: fix linking with --disable-mmxDiego Biurrun
The optimized dct_quantize template functions reference optimized fdct symbols, so these functions must only be enabled if the relevant optimizations have been enabled by configure.
2012-08-29x86: mpegvideoenc: Do not abuse HAVE_ variables for template instantiationDiego Biurrun
This avoids trouble if HAVE_ variables are used elsewhere in the file.
2012-08-29testprogs: Remove unused includesMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-28x86: avcodec: Drop silly "_mmx" suffixes from filenamesDiego Biurrun
2012-08-28x86: avcodec: Drop silly "_sse" suffixes from filenamesDiego Biurrun