summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc/pngenc: Enable frame threading for PNG encodesBen Jackson2012-09-10
| | | | | Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: dsputil: Only compile motion_est code when encoders are enabled mem: fix typo in check for __ICC fate: mp3: drop redundant CMP setting rtp: Depacketization of JPEG (RFC 2435) Rename ff_put_string to avpriv_put_string mjpeg: Rename some symbols to avpriv_* instead of ff_* yadif: cosmetics Conflicts: Changelog libavcodec/mjpegenc.c libavcodec/x86/Makefile libavfilter/vf_yadif.c libavformat/version.h libavutil/mem.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Only compile motion_est code when encoders are enabledDiego Biurrun2012-09-10
| |
| * rtp: Depacketization of JPEG (RFC 2435)Samuel Pitoiset2012-09-09
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Rename ff_put_string to avpriv_put_stringMartin Storsjö2012-09-09
| | | | | | | | | | | | | | This allows using it from libavformat as well. This will be used by the RTP/JPEG depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
| * mjpeg: Rename some symbols to avpriv_* instead of ff_*Samuel Pitoiset2012-09-09
| | | | | | | | | | | | These symbols will be used from the RTP/JPEG depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
* | aacdec.c: fix some commentsReinhard Nissl2012-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/mpegaudiodec: fix compilation failure on cygwin with undefined ↵Michael Niedermayer2012-09-09
| | | | | | | | | | | | | | | | | | imdct36_blocks_avx this is a regression since today Found-by: beastd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dsputil_template: Reindent after recent changeDerek Buitenhuis2012-09-09
| | | | | | | | | | | | | | Forgot to keep it pretty in e62e455f7b4c5b148f5a289ba823dcc71d6ca389. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/h264dsp_init: put a HAVE_YASM backMichael Niedermayer2012-09-09
| | | | | | | | | | | | Should fix compilation on open solaris Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiff/doubles2str: check for truncationMichael Niedermayer2012-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiff/doubles2str: factor out component_lenMichael Niedermayer2012-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | srtdec: fix unsafe snprintf() return usageMichael Niedermayer2012-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ass: assert that the timsstamps fitted in the buffersMichael Niedermayer2012-09-09
| | | | | | | | | | | | | | Failure of the assert would cause various problems later if we continue. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: Provide the right alignment for external mmx asm x86: Replace checks for CPU extensions and flags by convenience macros configure: msvc: fix/simplify setting of flags for hostcc x86: mlpdsp: mlp_filter_channel_x86 requires inline asm Conflicts: libavcodec/x86/fft_init.c libavcodec/x86/h264_intrapred_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/mpegaudiodec.c libavcodec/x86/proresdsp_init.c libavutil/x86/float_dsp_init.c libswscale/utils.c libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun2012-09-08
| | | | | | | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
| * x86: mlpdsp: mlp_filter_channel_x86 requires inline asmHendrik Leppkes2012-09-08
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | aacpsy: use exp2(f) instead of pow(f)(2,...)Michael Niedermayer2012-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imc: use exp2 instead of pow(2,...)Michael Niedermayer2012-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dsputil/me/pixels: Actually use av_restrictDerek Buitenhuis2012-09-09
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videodec: Fix "warning: dc_pred_dir may be used uninitialized in this ↵Michael Niedermayer2012-09-09
| | | | | | | | | | | | function" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dct-test: fix order of evaluation bugMichael Niedermayer2012-09-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov_chan: Only set the channel_layout if setting it to a nonzero value mov_chan: Reindent an incorrectly indented line mp2 muxer: mark as AVFMT_NOTIMESTAMPS. x86: float_dsp: fix ff_vector_fmac_scalar_avx() on Win64 x86: more specific checks for availability of required assembly capabilities x86: avcodec: Drop silly "_mmx" suffix from dsputil template names fate: Drop redundant setting of FUZZ to 1 cavsdsp: set idct permutation independently of dsputil x86: allow using add_hfyu_median_prediction_cmov on any cpu with cmov Conflicts: libavcodec/x86/dsputil_mmx.c libavformat/mp3enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: more specific checks for availability of required assembly capabilitiesDiego Biurrun2012-09-07
| |
| * x86: avcodec: Drop silly "_mmx" suffix from dsputil template namesDiego Biurrun2012-09-07
| |
| * cavsdsp: set idct permutation independently of dsputilMans Rullgard2012-09-07
| | | | | | | | | | | | | | CAVS uses its own idct so using dsputil to set the permutation is fragile. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: allow using add_hfyu_median_prediction_cmov on any cpu with cmovMans Rullgard2012-09-07
| | | | | | | | | | | | | | | | | | 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>
* | flashsv2enc: only encode diff blocks when neededDaniel Verkamp2012-09-08
| | | | | | | | | | | | | | | | A flashsv2 block may have a "diff block" to indicate which scan lines of the block are actually encoded. However, this diff block need not be used when the entire block is coded. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv2enc: remove experimental flag, the encoder seems working nowMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv2enc: move blockbuffer realloc to reconfigure_at_keyframe()Michael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashv2enc: reallocate not only on block count changes but on dimension changes.Michael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv2enc: Replace a VLA with a heap allocDerek Buitenhuis2012-09-07
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv2enc: fix prev-Z-prime encodingMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | proresdec2: avoid VLA and use SliceContext instead.Michael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov_chan: Pass a separate AVIOContext for reading af_asyncts: check return value from lavr when flushing. mss2: simplify loop in decode_rle() mss12: avoid unnecessary division in arith*_get_bit() mss2: do not try to read too many palette entries mpegvideo: set AVFrame fields to NULL after freeing the base memory configure: Set the right cc_e flags for msvc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mss2: simplify loop in decode_rle()Alberto Delmás2012-09-06
| | | | | | | | | | | | | | | | 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>
| * mss12: avoid unnecessary division in arith*_get_bit()Alberto Delmás2012-09-06
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * mss2: do not try to read too many palette entriesAlberto Delmás2012-09-06
| | | | | | | | | | | | Reported by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * mpegvideo: set AVFrame fields to NULL after freeing the base memoryJanne Grunau2012-09-06
| | | | | | | | | | | | 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().
* | faxcompr: fix out of array readMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/libx264: remap X264_LOG_INFO loglevel from AV_LOG_INFO to VERBOSEStefano Sabatini2012-09-07
| | | | | | | | | | | | | | | | AV_LOG_INFO is more geared towards messages to be read by the user, the statistics shown by libx264 with X264_LOG_INFO are more useful at the debugging level. Help reducing the log spam.
* | lavc/vp6: Disable deblock filtering for Simple ProfileBen Jackson2012-09-07
| | | | | | | | | | | | | | | | | | In vp6 Advanced Profile, deblock filtering is conditionally enabled in each frame header. In Simple Profile it should always be off. vp6 was inheriting the wrong default from ff_vp56_init. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/raw-test: invert the order of key/value when printing the ↵Stefano Sabatini2012-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-06
| | | | | | | | 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-05
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '0db2d94280e260af5f3ad7993c5a6357462f17c9'Michael Niedermayer2012-09-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-05
| | | | | | | | | | | | 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-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>