summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* lavc/raw-test: invert the order of key/value when printing the ↵Stefano Sabatini2012-09-061-2/+1
| | | | | | | | | | | | | | fourcc->pix_fmt map Print FOURCC: PIX_FMT rather than PIX_FMT: FOURCC This seems more consistent with the help message: -l list the pixel format for each fourcc Remove possibly redundant/confusing comment.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-062-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Allow setting the ld parameter from the config file x86: dsputil: Do not redundantly check for CPU caps before calling init funcs configure: Disable some warnings in MSVC x86: vp56: cmov version of vp56_rac_get_prob requires inline asm avopt: fix examples to match the same style about default values as the actual code. configure: Add support for MSVC cl.exe/link.exe lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime. Conflicts: libavutil/opt.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Do not redundantly check for CPU caps before calling init funcsDiego Biurrun2012-09-061-4/+4
| | | | | | | | The init functions check for CPU capabilities on their own already.
| * x86: vp56: cmov version of vp56_rac_get_prob requires inline asmHendrik Leppkes2012-09-051-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '0db2d94280e260af5f3ad7993c5a6357462f17c9'Michael Niedermayer2012-09-062-4/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0db2d94280e260af5f3ad7993c5a6357462f17c9': dsputil: workaround __VA_ARGS__ missing tokenization for MSVC configure: add section for libc-specific hacks build: disable ranlib on mingw parser: Don't use pc as context for av_dlog h264: Remove an assert on current_picture_ptr being null Conflicts: configure libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: workaround __VA_ARGS__ missing tokenization for MSVCLuca Barbato2012-09-051-3/+7
| | | | | | | | | | | | A second expansion forces the preprocessor to tokenize properly. Signed-off-by: Martin Storsjö <martin@martin.st>
| * parser: Don't use pc as context for av_dlogMartin Storsjö2012-09-051-4/+4
| | | | | | | | | | | | | | 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-051-1/+0
| | | | | | | | | | | | | | | | | | 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>
* | amrnbdec: silence a warning about unsigned cant be negativeMichael Niedermayer2012-09-061-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | acelp_pitch_delay: add missing libm.h include for exp2()Michael Niedermayer2012-09-051-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | g723_1: add some const for more correctnessMichael Niedermayer2012-09-051-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | proresenc_anatoliy: add 2 const to silence 2 warningsMichael Niedermayer2012-09-051-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Optimization of AC3 floating point decoder for MIPSNedeljko Babic2012-09-0512-0/+1172
| | | | | | | | | | | | | | | | | | | | FFT in MIPS implementation is working iteratively instead of "recursively" calling functions for smaller FFT sizes. Some of DSP and format convert utils functions are also optimized. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert: silence some const incompatible pointer warnings.Michael Niedermayer2012-09-051-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c7b610aa0b1bac47eea0056b13fe6e982b85844a'Michael Niedermayer2012-09-053-7/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit 'c7b610aa0b1bac47eea0056b13fe6e982b85844a': avopt: Explicitly store float/double option defaults in .dbl Conflicts: libavcodec/ac3dec.c libavcodec/libx264.c libavfilter/af_amix.c libavfilter/af_asyncts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Explicitly store float/double option defaults in .dblMartin Storsjö2012-09-042-5/+5
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9'Michael Niedermayer2012-09-0534-258/+258
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9': avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options_table.h libavcodec/snowenc.c libavcodec/tiffenc.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/af_asyncts.c libavfilter/af_join.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_delogo.c libavfilter/vf_drawtext.c libavformat/http.c libavformat/img2dec.c libavformat/img2enc.c libavformat/movenc.c libavformat/mpegenc.c libavformat/mpegtsenc.c libavformat/options_table.h libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-0427-225/+225
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'd58dd4b5b5d31cfd4092e38a5f2c894eee2ab078'Michael Niedermayer2012-09-054-10/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit 'd58dd4b5b5d31cfd4092e38a5f2c894eee2ab078': avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member Conflicts: libavcodec/libvpxenc.c libavcodec/options_table.h libavfilter/vf_drawtext.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö2012-09-044-10/+10
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '124134e42455763b28cc346fed1d07017a76e84e'Michael Niedermayer2012-09-0514-290/+290
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '124134e42455763b28cc346fed1d07017a76e84e': avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member Conflicts: libavcodec/aacenc.c libavcodec/libopenjpegenc.c libavcodec/options_table.h libavdevice/bktr.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/vf_drawtext.c libavformat/movenc.c libavformat/options_table.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-0413-279/+279
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * svq1enc: Set picture_structure correctlyMichael Niedermayer2012-09-041-0/+1
| | | | | | | | | | | | 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-041-3/+0
| | | | | | | | | | | | | | 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-041-1/+0
| | | | | | | | | | | | It now just checks uninitialized and unused data. Signed-off-by: Martin Storsjö <martin@martin.st>
| * elbg: Fix an assertMichael Niedermayer2012-09-041-1/+1
| | | | | | | | | | | | It seems the condition was flipped from what was intended. Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavc/dvdsubdec: parse the size from the extradata.Clément Bœsch2012-09-041-0/+6
| |
* | paf: avoid using expressions with sideeffects in AV_R*Michael Niedermayer2012-09-041-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-045-131/+97
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: add support for bdver1 and bdver2 CPU types. avio: make avio_close NULL the freed buffer pixdesc: cosmetics proresenc: Don't free a buffer not owned by the codec proresenc: Write the full value in one put_bits call adpcmenc: Calculate the IMA_QT predictor without overflow x86: Add convenience macros to check for CPU extensions and flags x86: h264dsp: drop some unnecessary ifdefs around prototype declarations mss12: merge decode_pixel() and decode_top_left_pixel() mss12: reduce SliceContext size from 1067 to 164 KB mss12: move SliceContexts out of the common context into the codec contexts Conflicts: libavformat/aviobuf.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * proresenc: Don't free a buffer not owned by the codecMartin Storsjö2012-09-041-3/+0
| | | | | | | | | | | | | | | | | | | | 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-041-2/+1
| | | | | | | | | | | | | | | | | | 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-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: h264dsp: drop some unnecessary ifdefs around prototype declarationsDiego Biurrun2012-09-041-6/+0
| |
| * mss12: merge decode_pixel() and decode_top_left_pixel()Alberto Delmás2012-09-031-42/+21
| | | | | | | | | | | | 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-034-37/+30
| | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * mss12: move SliceContexts out of the common context into the codec contextsAlberto Delmás2012-09-034-46/+46
| | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | aaccoder: switch to av_assertMichael Niedermayer2012-09-041-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h263dec: fix xvid IDCT switchingMichael Niedermayer2012-09-041-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpegdec: try to fix different flipping behavior of inteljpegs.Michael Niedermayer2012-09-031-1/+1
| | | | | | | | | | | | | | | | | | This may need some trial and error to find exactly how to identify them so please report any intel jpegs that get fliped wrong. Fixes Ticket511 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lsp: change assert to av_assertMichael Niedermayer2012-09-031-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: put motion test back.Michael Niedermayer2012-09-032-0/+150
| | | | | | | | | | | | | | | | | | While not that usefull, we can as well keep it until it breaks. When it breaks for whatever reason ill likely remove it Sorry for the revert spam, i had not realized this code compiles and works fine. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-033-152/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: avcodec: order cosmetics intrax8dsp: Add missing #include to make header standalone Delete motion-test tool; it is of doubtful utility. Conflicts: libavcodec/Makefile libavcodec/motion-test.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: avcodec: order cosmeticsDiego Biurrun2012-09-031-2/+2
| |
| * intrax8dsp: Add missing #include to make header standaloneDiego Biurrun2012-09-031-0/+2
| |
| * Delete motion-test tool; it is of doubtful utility.Diego Biurrun2012-09-032-150/+0
| |
* | snowdec: remove unused variableMichael Niedermayer2012-09-031-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: fix 2 uninitialized variable warningsMichael Niedermayer2012-09-031-2/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-026-34/+62
|\ \ | |/ | | | | | | | | | | * qatar/master: intrax8: move functions from dsputil to own context Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * intrax8: move functions from dsputil to own contextMans Rullgard2012-09-026-34/+62
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lavc/codec_desc: fix name of wavesynth codecStefano Sabatini2012-09-021-1/+1
| |