summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* configure: Set the right cc_e flags for msvcMartin Storsjö2012-09-06
| | | | | | | The default ones work, but outputs the preprocessed file on stdout (into config.log). Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Allow setting the ld parameter from the config fileMartin Storsjö2012-09-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Do not redundantly check for CPU caps before calling init funcsDiego Biurrun2012-09-06
| | | | The init functions check for CPU capabilities on their own already.
* configure: Disable some warnings in MSVCMartin Storsjö2012-09-05
| | | | | | | | | | | | | | This disables the following warnings: C4100: unreferenced formal parameter (1035 occurrances) C4214: nonstandard extension used : bit field types other than int (609 occurances) C4996: 'avpriv_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (351 occurrances) Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: vp56: cmov version of vp56_rac_get_prob requires inline asmHendrik Leppkes2012-09-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avopt: fix examples to match the same style about default values as the ↵Michael Niedermayer2012-09-05
| | | | | | actual code. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add support for MSVC cl.exe/link.exeRonald S. Bultje2012-09-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.Ronald S. Bultje2012-09-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: workaround __VA_ARGS__ missing tokenization for MSVCLuca Barbato2012-09-05
| | | | | | A second expansion forces the preprocessor to tokenize properly. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: add section for libc-specific hacksMans Rullgard2012-09-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* build: disable ranlib on mingwMans Rullgard2012-09-05
| | | | | | | | Using ranlib is not required but prevents using the libraries with msvc. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* parser: Don't use pc as context for av_dlogMartin Storsjö2012-09-05
| | | | | | | The ParserContext class doesn't have an AVClass, required for using it as a logging class. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Remove an assert on current_picture_ptr being nullMichael Niedermayer2012-09-05
| | | | | | | | | 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>
* build: eamad: Add missing dependency on mpegvideo codeDiego Biurrun2012-09-05
|
* build: utvideoenc: Add missing dependency on Huffman codeDiego Biurrun2012-09-05
|
* avopt: Reorder the default_val struct, making i64 the first fieldMartin Storsjö2012-09-04
| | | | | | Also mention this change in APIchanges. Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Explicitly store rational option defaults in .dblMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Explicitly store float/double option defaults in .dblMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1enc: Set picture_structure correctlyMichael Niedermayer2012-09-04
| | | | | | This fixes assert failures when running in debug mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: remove last_picture_ptr / h264 assert.Michael Niedermayer2012-09-04
| | | | | | | 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>
* mpegvideo_enc: remove assert that has become obsolete with the new APIMichael Niedermayer2012-09-04
| | | | | | It now just checks uninitialized and unused data. Signed-off-by: Martin Storsjö <martin@martin.st>
* elbg: Fix an assertMichael Niedermayer2012-09-04
| | | | | | It seems the condition was flipped from what was intended. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: add support for bdver1 and bdver2 CPU types.Diego Elio Pettenò2012-09-04
| | | | | Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: make avio_close NULL the freed bufferLuca Barbato2012-09-04
|
* pixdesc: cosmeticsLuca Barbato2012-09-04
|
* proresenc: Don't free a buffer not owned by the codecMartin Storsjö2012-09-04
| | | | | | | | | | 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>
* proresenc: Write the full value in one put_bits callMartin Storsjö2012-09-04
| | | | | | | | | 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>
* adpcmenc: Calculate the IMA_QT predictor without overflowMichael Niedermayer2012-09-04
| | | | | | | | | | | | | | 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>
* x86: Add convenience macros to check for CPU extensions and flagsDiego Biurrun2012-09-04
|
* x86: h264dsp: drop some unnecessary ifdefs around prototype declarationsDiego Biurrun2012-09-04
|
* mss12: merge decode_pixel() and decode_top_left_pixel()Alberto Delmás2012-09-03
| | | | | | No meaningful generated code differences using gcc -O3. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* mss12: reduce SliceContext size from 1067 to 164 KBAlberto Delmás2012-09-03
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* mss12: move SliceContexts out of the common context into the codec contextsAlberto Delmás2012-09-03
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* build: avcodec: order cosmeticsDiego Biurrun2012-09-03
|
* intrax8dsp: Add missing #include to make header standaloneDiego Biurrun2012-09-03
|
* Delete motion-test tool; it is of doubtful utility.Diego Biurrun2012-09-03
|
* intrax8: move functions from dsputil to own contextMans Rullgard2012-09-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* crypto: Remove a stray double spaceMartin Storsjö2012-08-31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Rename missed cases of FF_OPT_TYPE_* to AV_OPT_TYPE_*Martin Storsjö2012-08-31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* MSS1 and MSS2: set final pixel format after common stuff has been initialisedAlberto Delmás2012-08-31
| | | | | | | 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>
* MSS2 decoderAlberto Delmás2012-08-31
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* configure: handle --disable-asm before check_depsMans Rullgard2012-08-31
| | | | | | | This is necessary to avoid spuriously enabling _external or _inline variants of arch extensions when they should be disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: Split inline and external assembly #ifdefsDiego Biurrun2012-08-31
|
* configure: x86: Separate inline from standalone assembler capabilitiesDiego Biurrun2012-08-31
|
* pktdumper: Use a custom define instead of PATH_MAX for buffersMartin Storsjö2012-08-31
| | | | | | | | PATH_MAX is not necessarily available on all systems, e.g. it's normally not available on MSVC, and is not guaranteed to defined on a POSIX system either. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use av_strlcpy instead of strncpyMartin Storsjö2012-08-31
| | | | | | | This takes care of null-terminating the buffer if it is too small, which wasn't handled properly before. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use sizeof(variable) instead of the direct buffer lengthMartin Storsjö2012-08-31
| | | | | | | Also change the snprintf size to use the full buffer, since snprintf always null-terminates the buffer. Signed-off-by: Martin Storsjö <martin@martin.st>