summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* 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>
| * configure: msvc: fix/simplify setting of flags for hostccMans Rullgard2012-09-08
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | vf_mp: Do not build if inline assembly is not availableDerek Buitenhuis2012-09-07
| | | | | | | | | | | | | | | | Rather than modify the mplayer filter sources, just disable vf_mp if inline assembly is not available. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | file: Only include unistd.h if it existsRonald S. Bultje2012-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is included for the open/read/write/close functions. On MSVC, where this header does not exist, the same functions are provided by io.h, which is already included. On windows, these functions are provided by io.h. Make sure io.h is included if it exists, regardless of the setmode function. Signed-off-by: Martin Storsjö <martin@martin.st> Conflicts: configure 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>
| * 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>
* | 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>
| * 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>
| * 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>
* | Revert "lavu: add snprintf(), vsnprint() and strtod() replacements for MS ↵Michael Niedermayer2012-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime." This reverts commit ba537202801d71711f1ef9306a6248dd2d426fa0. A better implementation has been commited by the same author to qatar Conflicts: configure Found-by: jamal <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>
| * 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>
* | lavu/parseutils: add av_small_strptime()Stefano Sabatini2012-09-06
| | | | | | | | | | | | | | | | | | Make internal small_strptime() function public, and use it in place of strptime(). This allows to avoid a dependency on strptime() on systems which do not support it. In particular, fix trac ticket #992.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: eamad: Add missing dependency on mpegvideo code build: utvideoenc: Add missing dependency on Huffman code avopt: Reorder the default_val struct, making i64 the first field Conflicts: configure doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: eamad: Add missing dependency on mpegvideo codeDiego Biurrun2012-09-05
| |
| * build: utvideoenc: Add missing dependency on Huffman codeDiego Biurrun2012-09-05
| |
* | configure: update sinks used by ffplay/ffmpegMichael Niedermayer2012-09-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * 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>
* | configure: Treat warnings as errors in check_yasm()jamal2012-09-01
| | | | | | | | | | | | | | | | | | yasm generates a warning instead of an error when "CPU amdnop" is not supported, so the check always succeeds. HAVE_CPUNOP as true when the available yasm version doesn't support amdnop doesn't make sense. Check http://fate.ffmpeg.org/log.cgi?time=20120901143315&log=compile&slot=x86_64-archlinux-gcc-oldyasm to see the amount of warnings it generates. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | configure: add switch to enable debian/libav compatible ABIMichael Niedermayer2012-08-31
| | | | | | | | | | | | needed for avcodec_find_best_pix_fmt2() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | configure: add decimate filter dependency on avcodecStefano Sabatini2012-08-31
| |
* | lavfi: port decimate libmpcodecs filterStefano Sabatini2012-08-31
| | | | | | | | This filter is based on the MPlayer decimate filter by Rich Felker.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: MSS1 and MSS2: set final pixel format after common stuff has been initialised MSS2 decoder configure: handle --disable-asm before check_deps x86: Split inline and external assembly #ifdefs configure: x86: Separate inline from standalone assembler capabilities pktdumper: Use a custom define instead of PATH_MAX for buffers pktdumper: Use av_strlcpy instead of strncpy pktdumper: Use sizeof(variable) instead of the direct buffer length Conflicts: Changelog configure libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/dct-test.c libavcodec/imgconvert.c libavcodec/mss12.c libavcodec/version.h libavfilter/x86/gradfun.c libswscale/x86/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
| * configure: x86: Separate inline from standalone assembler capabilitiesDiego Biurrun2012-08-31
| |
* | Merge commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5'Michael Niedermayer2012-08-31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5': x86: Fix linking with some or all of yasm, mmx, optimizations disabled configure: Add more fine-grained SSE CPU capabilities flags avfilter: x86: Use more precise compile template names x86: cosmetics: Comment some #endifs for better readability g723_1: add comfort noise generation utvideoenc: Switch to dsputils' median prediction utvideoenc: Avoid writing into the input picture avtools: remove the distinction between func_arg and func2_arg. avconv: make the -passlogfile option per-stream. avconv: make the -pass option per-stream. cmdutils: make -codecs print lossy/lossless flags. lavc: add lossy/lossless codec properties. Conflicts: Changelog cmdutils.c configure doc/APIchanges ffmpeg.h ffmpeg_opt.c ffprobe.c libavcodec/codec_desc.c libavcodec/g723_1.c libavcodec/utvideoenc.c libavcodec/version.h libavcodec/x86/mpegaudiodec.c libavcodec/x86/rv40dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Add more fine-grained SSE CPU capabilities flagsDiego Biurrun2012-08-30
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: allow non-standard variations of linker -l/-L flags Add reminders to update the codec descriptor list with new codec IDs. Conflicts: Makefile configure libavcodec/avcodec.h libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: allow non-standard variations of linker -l/-L flagsMans Rullgard2012-08-29
| | | | | | | | | | | | | | | | | | This enables replacing the -l and -L flags used to specify the just-built libraries when linking the tools and shared libs with non-standard syntaxes. System library flags are already handled by the filtering mechanism in configure. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: export filtered -lz flag in config.mak build: add separate setting for host linker configure: probe_cc: use separate variable for linker output flag x86: Always compile files with functions that are called unconditionally x86: mpegvideoenc: fix linking with --disable-mmx x86: mpegvideoenc: Do not abuse HAVE_ variables for template instantiation Conflicts: Makefile configure libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: export filtered -lz flag in config.makMans Rullgard2012-08-28
| | | | | | | | | | | | | | This is needed to link tools/cws2fws using a linker with non-standard command line syntax. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * build: add separate setting for host linkerMans Rullgard2012-08-28
| | | | | | | | | | | | | | This adds new HOSTLD and related settings for host linker allowing it to be different from HOSTCC. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: probe_cc: use separate variable for linker output flagMans Rullgard2012-08-28
| | | | | | | | | | | | | | | | | | Some tools use different command line syntax for specifying output when compiling and linking. To accomodate these, separate variables must be used. No currently supported compilers/linkers are affected by the change. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit 'd488c3bcbaf7ddda42597e014deb661a7e9e2112'Michael Niedermayer2012-08-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd488c3bcbaf7ddda42597e014deb661a7e9e2112': configure: support Bitrig OS yuv2rgb: handle line widths that are not a multiple of 4. graph2dot: Use the fallback getopt implementation if needed tools: Include io.h for open/read/write/close if unistd.h doesn't exist testprogs: Remove unused includes qt-faststart: Use other seek/tell functions on MSVC than on mingw ismindex: Include direct.h for _mkdir on windows sdp: Use static const char arrays instead of pointers to strings x86: avcodec: Drop silly "_mmx" suffixes from filenames x86: avcodec: Drop silly "_sse" suffixes from filenames sdp: Include profile-level-id for H264 utvideoenc: use ff_huff_gen_len_table huffman: add ff_huff_gen_len_table cllc: simplify/fix swapped data buffer allocation. rtpdec_h264: Don't set the pixel format h264: Check that the codec isn't null before accessing it audio_frame_queue: Define af_queue_log_state before using it Conflicts: libavcodec/audio_frame_queue.c libavcodec/h264.c libavcodec/huffman.h libavcodec/huffyuv.c libavcodec/utvideoenc.c libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: support Bitrig OSBrad Smith2012-08-29
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * huffman: add ff_huff_gen_len_tableMichael Niedermayer2012-08-28
| | | | | | | | | | | | The function will be used by utvideo as well. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | lavfi: add smartblur filterJérémy Tran2012-08-28
| | | | | | | | | | | | | | This is a port of the MPlayer smartblur filter (libmpcodecs/vf_smartblur.c) by Michael Niedermayer. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.Ronald S. Bultje2012-08-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vc1: export some functions configure: use HOSTCC_C/O in check_host_cc configure: use AS_O setting in check_as configure: use LD_O setting in check_ld() Revert "dsputil: make {add/put/put_signed}_pixels_clamped() non-static." build: Restore dependency of acelp_filters.o on celp_math.o celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c() celp_math: Move ff_cos() to the only place it is used build: Use portable abstraction for linker/hostcc output file syntax configure: Fix shared library creation for OpenBSD vp56: Don't use DECLARE_ALIGN on a typedef name mss1: move code that will be reused by MSS2 decoder into separate file mss1: merge decode_intra() and decode_inter() avprobe: Get rid of ugly casts in the options table vf_hqdn3d: Remove a duplicate inline declaration Conflicts: Makefile configure ffprobe.c libavcodec/Makefile libavcodec/amrnbdec.c libavcodec/amrwbdec.c libavcodec/celp_math.c libavcodec/celp_math.h libavcodec/dsputil.c libavcodec/lsp.c libavcodec/mss1.c libavcodec/ra288.c libavcodec/vc1dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: use HOSTCC_C/O in check_host_ccMans Rullgard2012-08-27
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: use AS_O setting in check_asMans Rullgard2012-08-27
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: use LD_O setting in check_ld()Mans Rullgard2012-08-27
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: Fix shared library creation for OpenBSDBrad Smith2012-08-27
| | | | | | | | | | | | | | OpenBSD does not expect or require symlinked shared libraries with just the major version in the name. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | configure: fix vda orderMichael Niedermayer2012-08-28
| | | | | | | | | | Found-by: compn Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vdadec: implement vda decoderXidorn Quan2012-08-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | huffman/huffyuv: move lorens huffman table generation code to huffman.c/hMichael Niedermayer2012-08-22
| | | | | | | | | | Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>