Commit Graph

2528 Commits

Author SHA1 Message Date
Diego Biurrun
a7a187a1be configure: Add -U__STRICT_ANSI__ to CPPFLAGS on Cygwin and DOS.
In -std=c99 mode GCC defines __STRICT_ANSI__ to hide non-ANSI interfaces.
This causes declarations for some POSIX functions to be omitted from system
headers, which causes compilation failures.
2011-05-23 22:51:14 +02:00
Ramiro Polla
95eb2e3a38 DirectShow capture support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-21 17:23:14 +02:00
Michael Niedermayer
6d32bcd770 Merge remote-tracking branch 'qatar/master'
* qatar/master:
  configure: make executable again
  LATM/AAC: Free previously initialized context on reinit.
  configure: Do not unconditionally add -Wall to host CFLAGS.
  configure: Set OS/2 objformat to a.out.
  Add support for a.out object format to assembler macros.
  fate: disable threading for encoding
  fate: add comment field
  fate: allow overriding default build and install dirs
  mpegtsenc: Add an AVClass pointer to the private data
  mpegaudio: clean up #includes
  mpegaudio: move all header parsing to mpegaudiodecheader.[ch]

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-21 05:32:03 +02:00
Mans Rullgard
a1d0dcc713 configure: make executable again
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-20 18:11:31 +01:00
Diego Biurrun
0a6db2a25a configure: Do not unconditionally add -Wall to host CFLAGS.
Some compilers choke on -Wall, so only add the flag after checking it works.
2011-05-20 17:52:24 +02:00
Dave Yeo
9297f1ed15 configure: Set OS/2 objformat to a.out.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-20 17:52:23 +02:00
Stefano Sabatini
f1b3f33d48 vf_libopencv: prefer opencv/cxcore.h over cxtypes.h
Require the presence of opencv/cxcore.h in place of opencv/cxtypes.h,
which has been removed. Fix compilation with libopencv > 2.1.0.

Fix trac issue #221.
2011-05-20 11:54:53 +02:00
Michael Niedermayer
80d156d7fd Merge remote-tracking branch 'qatar/master'
* qatar/master:
  qdm2: Use floating point synthesis filter.
  h264: correct border check.
  h264: fix loopfilter with threading at slice boundaries.
  Fix ff_mpa_synth_filter_fixed() prototype
  Rename costablegen.c ---> cos_tablegen.c.
  Collapse tableprint.c into tableprint.h.
  Simplify trig table rules
  Remove potentially unstable filenames from comments in generated files.
  Ignore generated tables and generated table generator programs.
  Simplify CLEANFILES make variable by using wildcards.
  Remove silly insults from avformat_version() Doxygen documentation.
  mpegaudiodsp: fix x86 and ppc makefiles
  configure: Adjust AVX assembler check.
  mpegaudio: remove unused version of SAME_HEADER_MASK
  mpegaudio: remove useless #undef at end of file
  asfdec: add missing #include for av_bswap32()
  mpegaudio: merge two #if CONFIG_FLOAT blocks
  mpegaudio: move some struct definitions from mpegaudio.h
  Move some mpegaudio functions to new mpegaudiodsp subsystem

Conflicts:
	libavcodec/h264.c
	libavcodec/x86/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-20 05:48:22 +02:00
Diego Biurrun
429059f866 configure: Adjust AVX assembler check.
Older nasm versions have trouble assembling certain AVX instructions, but the
current AVX check did not detect this. Update the check to use an instruction
that triggers the nasm problem.
2011-05-19 16:27:40 +02:00
Mans Rullgard
c4f5c2d6f4 Move some mpegaudio functions to new mpegaudiodsp subsystem
This separation allows these functions to be used in a cleaner
fashion from other codecs (e.g. qdm2) and simplifies creating
optimised versions of them.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-19 12:25:34 +01:00
Michael Niedermayer
e3ff6e8d0f configure: favor pkg_config over sdl_config
This fixes linking issues on ubuntu.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-18 17:17:56 +02:00
Michael Niedermayer
b4bcd1e2f1 Merge remote-tracking branch 'qatar/master'
* qatar/master:
  Fix compilation of iirfilter-test.
  libx264: handle closed GOP codec flag
  lavf: remove duplicate assignment in avformat_alloc_context.
  lavf: use designated initializers for AVClasses.
  flvdec: clenup debug code
  asfdec: fix possible overread on broken files.
  asfdec: do not fall back to binary/generic search
  asfdec: reindent after previous commit c7bd5ed
  asfdec: fallback to binary search internally
  mpegaudio: add _fixed suffix to some names
  Modify x86util.asm to ease transitioning to 10-bit H.264 assembly.
  dct: build dct32 as separate object files
  qdm2: include correct header for rdft

Conflicts:
	ffpresets/libx264-fast.ffpreset
	ffpresets/libx264-fast_firstpass.ffpreset
	ffpresets/libx264-faster.ffpreset
	ffpresets/libx264-faster_firstpass.ffpreset
	ffpresets/libx264-medium.ffpreset
	ffpresets/libx264-medium_firstpass.ffpreset
	ffpresets/libx264-placebo.ffpreset
	ffpresets/libx264-placebo_firstpass.ffpreset
	ffpresets/libx264-slow.ffpreset
	ffpresets/libx264-slow_firstpass.ffpreset
	ffpresets/libx264-slower.ffpreset
	ffpresets/libx264-slower_firstpass.ffpreset
	ffpresets/libx264-superfast.ffpreset
	ffpresets/libx264-superfast_firstpass.ffpreset
	ffpresets/libx264-ultrafast.ffpreset
	ffpresets/libx264-ultrafast_firstpass.ffpreset
	ffpresets/libx264-veryfast.ffpreset
	ffpresets/libx264-veryfast_firstpass.ffpreset
	ffpresets/libx264-veryslow.ffpreset
	ffpresets/libx264-veryslow_firstpass.ffpreset
	libavformat/flvdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-18 05:42:42 +02:00
Michael Niedermayer
7a88617c43 configure: opensolaris install is not compatible with ffmpeg, allow overriding it.
ginstall works on opensolaris.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-18 00:08:59 +02:00
Jindrich Makovicka
e25c67108a libx264: handle closed GOP codec flag
Also update libx264 presets to keep closed gop as default.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-17 23:01:42 +02:00
Michael Niedermayer
fc193793c6 Merge remote branch 'qatar/master'
* qatar/master:
  aacdec: Use float instead of int16_t for ltp_state to avoid needless rounding.
  acelp: Remove unused gray_decode table.
  dfa: Remove unused variable.
  configure: Include AVX availability in summary output.
  configure: use same CPPFLAGS in kFreeBSD as Linux

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-16 05:01:40 +02:00
Hanspeter Niederstrasser
350f3d145b configure: another try on fixing osx/mingw SDL 2011-05-16 02:57:15 +02:00
Diego Biurrun
c73b779d35 configure: Include AVX availability in summary output. 2011-05-15 13:11:01 +02:00
Reinhard Tartler
c1f5447805 configure: use same CPPFLAGS in kFreeBSD as Linux
046f081b46 reorganized the CPPFLAGS to no
longer add -D_POSIX_C_SOURCE unconditionally, but only on systems (e.g.,
glibc based ones) that require it.  As kFreeBSD uses glibc, it needs to
be treated similar.

Additionally, _BSD_SOURCE is turned on to enable some additional types
such as caddr_t, which are normally enabled on BSD but not with glibc.
2011-05-15 10:33:52 +02:00
Michael Niedermayer
29ef0174cc UDP: udp depends on pthreads now
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-13 17:49:00 +02:00
Anton Khirnov
8fb566fdf8 ffmpeg: get rid of the 'q' key schizofrenia
SIGINT for quitting should be enough for everybody.
2011-05-13 07:38:54 +02:00
Michael Niedermayer
72153419b5 Merge remote branch 'qatar/master'
* qatar/master: (33 commits)
  rtpdec_qdm2: Don't try to parse data packet if no configuration is received
  ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand.
  ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()
  mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame.
  srtdec: make sure we don't write past the end of buffer
  wmaenc: improve channel count and bitrate error handling in encode_init()
  matroskaenc: make sure we don't produce invalid file with no codec ID
  matroskadec: check that pointers were initialized before accessing them
  lavf: fix function name in compute_pkt_fields2 av_dlog message
  lavf: fix av_find_best_stream when providing a wanted stream.
  lavf: fix av_find_best_stream when decoder_ret is given and using a related stream.
  ffmpeg: factorize quality calculation
  tiff: add support for SamplesPerPixel tag in tiff_decode_tag()
  tiff: Prefer enum TiffCompr over int for TiffContext.compr.
  mov: Support edit list atom version 1.
  configure: Enable libpostproc automatically if GPL code is enabled.
  Cosmetics: fix prototypes in oggdec
  oggdec: fix memleak with continuous streams.
  matroskaenc: add missing new line in av_log() call
  dnxhdenc: add AVClass in private context.
  ...

swscale changes largely rewritten by me or replaced by baptsites due to lots of bugs in ronalds code.
Above code is also just in case its not obvios to a large extended duplicates that where cherry picked
from ffmpeg.

Conflicts:
	configure
	ffmpeg.c
	libavformat/matroskaenc.c
	libavutil/pixfmt.h
	libswscale/ppc/swscale_template.c
	libswscale/swscale.c
	libswscale/swscale_template.c
	libswscale/utils.c
	libswscale/x86/swscale_template.c
	tests/fate/h264.mak
	tests/ref/lavfi/pixdesc_le
	tests/ref/lavfi/pixfmts_copy_le
	tests/ref/lavfi/pixfmts_null_le
	tests/ref/lavfi/pixfmts_scale_le
	tests/ref/lavfi/pixfmts_vflip_le

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-13 04:40:40 +02:00
Måns Rullgård
ced9556b61 configure: Enable libpostproc automatically if GPL code is enabled.
Enabling libpostproc automatically should give it more compile coverage
and save the FATE box maintainers some configuration hassles.
2011-05-12 15:32:57 +02:00
Stefano Sabatini
92fe258756 configure: sort filter deps entries
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12 13:02:37 +02:00
Diego Biurrun
046f081b46 configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.

This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually.  It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.

Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems.  We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc.
2011-05-12 11:41:59 +02:00
Kyle
de545d2491 configure: Fix SDL detection on OSX and win32 2011-05-11 20:24:38 +02:00
Michael Niedermayer
b97b4b58a6 Merge remote branch 'qatar/master'
* qatar/master:
  mpegaudiodec: group #includes more sanely
  mpegaudio: remove #if 0 blocks
  ffmpeg.c: reset avoptions after each input/output file.
  ffmpeg.c: store per-output stream sws flags.
  mpegaudio: remove CONFIG_MPEGAUDIO_HP option
  mpegtsenc: Clear st->priv_data when freeing it
  udp: Fix receiving RTP data over multicast
  rtpproto: Remove an unused variable
  regtest: fix wma tests
NOT pulled:  mpegaudio: remove CONFIG_AUDIO_NONSHORT
  regtest: separate flags for encoding and decoding

Conflicts:
	ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 04:03:17 +02:00
Michael Niedermayer
ca87d43906 configure: Revert sdl hunk of 4fa18c56. This breaks OSX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 03:22:04 +02:00
Mans Rullgard
6bb6fb05ba mpegaudio: remove CONFIG_MPEGAUDIO_HP option
The low quality mode is off by default and never tested.  The high
quality mode is also plenty fast enough.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-09 17:30:12 +01:00
Michael Niedermayer
6d6b0c96fd Merge remote branch 'qatar/master'
* qatar/master:
  drawtext: add documentation for the shadow parameters
  drawtext: add shadow support.
  drawtext: factor draw_glyphs.
  drawtext: fix and optimize yuv blend.
  drawtext: get rid of divisions in the inner loop.
  drawtext: simplify chroma blend and fix chroma alpha.
  lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo

Conflicts:
	configure
	libavfilter/avfilter.h
	libavfilter/vf_drawtext.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 03:29:51 +02:00
Stefano Sabatini
a5b64584f3 lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
With the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats
* fix minor errors and typos in the filter description
* extend/clarify examples in the filter description

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-07 10:17:40 +02:00
Michael Niedermayer
6dc30b25c5 Merge remote branch 'qatar/master'
* qatar/master:
  configure: warn if pkg-config is missing

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-06 04:28:23 +02:00
Carl Eugen Hoyos
cde5589717 Silence a warning if pkg_config is not installed. 2011-05-06 03:27:53 +02:00
Mans Rullgard
762f95e4cb configure: warn if pkg-config is missing
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-05 18:29:55 +01:00
Stefano Sabatini
5d2ce3a778 configure: add strong dependencies for movie source and mp filter 2011-05-05 18:32:09 +02:00
Michael Niedermayer
b000b86e1d Merge remote branch 'qatar/master'
* qatar/master: (23 commits)
  doc: Check standalone compilation before submitting new components.
  Fix standalone compilation of pipe protocol.
  Fix standalone compilation of ac3_fixed encoder.
  Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
  Fix standalone compilation of IMC decoder.
  Fix standalone compilation of WTV demuxer.
  Fix standalone compilation of MXPEG decoder.
  flashsv: K&R cosmetics
  matroskaenc: fix memory leak
  vc1: make overlap filter for I-frames bit-exact.
  vc1dec: use s->start/end_mb_y instead of passing them as function args.
  Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
  Replace strncpy() with av_strlcpy().
  indeo3: Eliminate use of long.
  get_bits: make cache unsigned to eliminate undefined signed overflow.
  asfdec: fix assert failure on invalid files
  avfilter: check malloc return values.
Not pulled as reason for reindent is not pulled:  mpegvideo: reindent.
  nutenc: check malloc return values.
Not pulled due to much simpler solution in ffmpeg  *: don't av_malloc(0).
  ...

Conflicts:
	doc/developer.texi
	libavcodec/Makefile
	libavcodec/get_bits.h
	libavcodec/mpegvideo.c
	libavformat/Makefile
	libavutil/log.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-05 03:30:24 +02:00
Michael Niedermayer
6dafa7065b configure: jack currently needs sem_timedwait()
Should fix ticket99 and ticket43 by disabling jack.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 23:33:59 +02:00
Michael Niedermayer
5258f64a14 Disable warnings for casting pointers to integers, there is nothing wrong with that.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 23:33:59 +02:00
Diego Biurrun
3d26905925 Fix standalone compilation of ac3_fixed encoder. 2011-05-04 21:12:41 +02:00
Diego Biurrun
a33657ce5b Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders. 2011-05-04 21:12:41 +02:00
Diego Biurrun
56c8227d46 Fix standalone compilation of IMC decoder. 2011-05-04 21:12:41 +02:00
Michael Niedermayer
455ce979d0 Merge remote branch 'qatar/master'
* qatar/master:
LOTS of duplicates ...
  avio: Fix the deprecated fallback URL-prefixed open flags
  avoid duplicate -lm in .pc files
  mpeg12: terminate mpeg2_video_profiles arrays
  network: Check POLLERR and POLLHUP in ff_network_wait_fd
  mpegtsenc: make PMT PID really start on pmt_start_pid
  nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
  rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
  hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
  crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
  libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

Conflicts:
	configure
	libswscale/swscale.h
	tests/ref/lavf/ts

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-29 04:29:21 +02:00
Joshua Warner
3f6dc4a130 encoder for adobe's flash ScreenVideo2 codec 2011-04-29 02:35:59 +02:00
Reinhard Tartler
05a18adfb1 avoid duplicate -lm in .pc files 2011-04-28 11:14:42 +02:00
Reimar Döffinger
663d002410 Remove now unused audio_float configure option. 2011-04-25 16:51:27 +02:00
Michael Niedermayer
989fb05fe3 Merge remote branch 'qatar/master'
* qatar/master:
  vorbisdec: Employ proper printf format specifiers for uint_fast32_t.
  applehttp: Don't export variant_bitrate if it isn't known
  crypto: Use av_freep instead of av_free
  configure: Add missing libm library dependencies to .pc files.
  oggdec: reindent after 8f3eebd6
  configure: Add missing libavutil inter-library dependencies to .pc files.

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-25 02:29:09 +02:00
Reinhard Tartler
50f7c29646 configure: Add missing libm library dependencies to .pc files.
This unbreaks static compilation using pkg-config on systems in need of -lm.
Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org>

Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-24 17:24:24 +02:00
Reinhard Tartler
e9251bb555 configure: Add missing libavutil inter-library dependencies to .pc files.
This unbreaks static compilation when using pkg-config.
Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org>

Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-24 15:15:14 +02:00
Michael Niedermayer
13e69cc5fa Fix building on FreeBSD8.2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-24 13:23:51 +02:00
Michael Niedermayer
7b376b398a Merge remote branch 'qatar/master'
* qatar/master:
  Handle unicode file names on windows
  rtp: Rename the open/close functions to alloc/free
  Lowercase all ff* program names.
  Refer to ff* tools by their lowercase names.
NOT Pulled  Replace more FFmpeg instances by Libav or ffmpeg.
  Replace `` by $() syntax in shell scripts.
  patcheck: Allow overiding grep program(s) through environment variables.
NOT Pulled  Remove stray libavcore and _g binary references.
  vorbis: Rename decoder/encoder files to follow general file naming scheme.
  aacenc: Fix whitespace after last commit.
  cook: Fix small typo in av_log_ask_for_sample message.
  aacenc: Finish 3GPP psymodel analysis for non mid/side cases.
  Remove RDFT dependency from AAC decoder.
  Add some debug log messages to AAC extradata
  Fix mov debug (u)int64_t format strings.
  bswap: use native types for av_bwap16().
  doc: FLV muxing is supported.
  applehttp: Handle AES-128 encrypted streams
  Add a protocol handler for AES CBC decryption with PKCS7 padding
  doc: Mention that DragonFly BSD requires __BSD_VISIBLE set

Conflicts:
	ffplay.c
	ffprobe.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-24 03:41:22 +02:00
Alex Converse
cfc2a0cf84 Remove RDFT dependency from AAC decoder.
$subj

>From 557176d961c70604c2a96d81aff4bd6faa670d8a Mon Sep 17 00:00:00 2001
From: Alex Converse <aconverse@google.com>
Date: Thu, 21 Apr 2011 12:11:42 -0700
Subject: [PATCH] Remove RDFT dependency from AAC decoder.
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1"

This is a multi-part message in MIME format.
--------------1
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

It was used for an old implementation of the SBR filterbank.

./configure --disable-everything --disable-ffplay --enable-decoder=aac works.
2011-04-22 20:38:38 -07:00
Michael Niedermayer
8772156be0 Merge remote branch 'qatar/master'
* qatar/master:
  APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition.
  Introduce slice threads flag.
  FATE: allow forcing thread-type when doing threaded fate runs.
  Use av_log_ask_for_sample() where appropriate.
  error: sort, pack, and align error code and string definitions
  The stabilization period after version bumps should be one month, not one week.
  applehttp: Expose the stream bitrate via metadata
  doc: Add some initial docs on the applehttp demuxer
  Provide a fallback version of the libm function trunc
  libavdevice: Define _XOPEN_SOURCE for usleep
  lavc: provide deprecated avcodec_thread_init until next major version
  lavc: provide the opt.h header until the next bump
  error: change AVERROR_EOF value
  error: remove AVERROR_NUMEXPECTED
  error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c

Conflicts:
	libavcodec/h264.c
	libavutil/error.c
	libavutil/error.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-22 03:54:30 +02:00
Martin Storsjö
23d3931a6a Provide a fallback version of the libm function trunc
This fixes compilation on DOS.

Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-21 14:13:09 +03:00
Nicolas George
89451dd6e4 Xiph CELT/Opus decoder using libcelt.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
2011-04-20 10:46:30 +02:00
Michael Niedermayer
9891004ba9 Merge remote branch 'qatar/master'
* qatar/master:
Partially merged:flvdec: Allow parsing keyframes metadata without seeking in most cases
  Error out if vaapi is not found
  avio: undeprecate av_url_read_fseek/fpause under nicer names
  libvo-*: Don't use deprecated sample format names and enum names
DUPLICATE  flvdec: Fix support for flvtool2 "keyframes based" generated index
DUPLICATE  libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
  Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.
  Convert some undefined 1<<31 shifts into 1U<<31.

Conflicts:
	configure
	libavcodec/libvo-aacenc.c
	libavcodec/libvo-amrwbenc.c
	libavformat/flvdec.c

Marged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-13 02:49:22 +02:00
Luca Barbato
f3e3f28e80 Error out if vaapi is not found
Make the behaviour consistent with the other external deps.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-12 19:17:06 +02:00
James Zern
8eeed0db05 vpxenc: add CQ_LEVEL mapping
via the equivalent AVCodecContext::crf modifying the range allowed by
options.c (0-51 -> 0-63)
update configure check to require libvpx 0.9.6 (Bali)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-12 03:54:28 +02:00
Michael Niedermayer
4727ec3c0e Merge remote branch 'qatar/master'
* qatar/master:
Not pulled due to wrong author, according to carl:  Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().
  Fix compilation of timefilter test program.
  Add support for AMR-WB encoding via libvo-amrwbenc
  Add an AAC encoder by using the libvo-aacenc library
  g722: Return 8 bits per sample for g722 in av_get_bits_per_sample

Conflicts:
	Changelog

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-12 03:48:21 +02:00
Martin Storsjö
f502ff3f61 Add support for AMR-WB encoding via libvo-amrwbenc
The wrapper code is based on the libamr wrapper removed in SVN rev 19365.

Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-11 14:55:53 +03:00
Martin Storsjö
d89e738a0c Add an AAC encoder by using the libvo-aacenc library
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-11 14:55:51 +03:00
Philip Langdale
f6421e0b5c CrystalHD: Bring in h.264 parser to establish picture type.
As the hardware is unreliable, we will have to use the h.264 parser
to identify whether an input picture is a field or a frame. This
change loads the parser and extracts the picture type.

Signed-off-by: Philip Langdale <philipl@overt.org>
2011-04-08 20:17:47 -07:00
Michael Niedermayer
11d78415ca Merge remote branch 'qatar/master'
* qatar/master:
  psymodel: extend API to include PE and bit allocation.
  avio: always compile dyn_buf functions
  Remove unnecessary parameter from ff_thread_init() and fix behavior
  Revert "aac_latm_dec: use aac context and aac m4ac"
  configure: tell user if libva is enabled like the rest of external libs.
  Add silence support for AV_SAMPLE_FMT_U8.
  avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
  avio: deprecate av_url_read_seek
  avio: deprecate av_url_read_pause
  ac3enc: NEON optimised extract_exponents

Conflicts:
	libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-06 02:59:49 +02:00
Michael Niedermayer
0c72180ea6 Revert "Set the correct target for mingw64 dlltool"
Revert due to dlltool/lib revert
This reverts commit 417516f63f.
2011-04-06 01:09:04 +02:00
Carl Eugen Hoyos
71a2da30cd Add audio_float to confgigure's CONFIG list. 2011-04-05 15:14:51 +02:00
Konstantin Pavlov
f4f05c459c configure: tell user if libva is enabled like the rest of external libs.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-05 09:09:08 +02:00
Michael Niedermayer
2cae9809e2 Merge remote branch 'qatar/master'
* qatar/master:
  fate: fix partial run when no samples path is specified
  ARM: NEON fixed-point forward MDCT
  ARM: NEON fixed-point FFT
  lavf: bump minor version and add an APIChanges entry for avio changes
  avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
  avio: make url_fdopen internal.
  avio: make url_open_dyn_packet_buf internal.
  avio: avio_ prefix for url_close_dyn_buf
  avio: avio_ prefix for url_open_dyn_buf
  avio: introduce an AVIOContext.seekable field
  ac3enc: use generic fixed-point mdct
  lavfi: add fade filter
  Change yadif to not use out of picture lines.
  lavc: deprecate AVCodecContext.antialias_algo
  lavc: mark mb_qmin/mb_qmax for removal on next major bump.

Conflicts:
	doc/filters.texi
	libavcodec/ac3enc_fixed.h
	libavcodec/ac3enc_float.h
	libavfilter/Makefile
	libavfilter/allfilters.c
	libavfilter/vf_fade.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-04 02:15:12 +02:00
Mans Rullgard
906fd03070 fate: fix partial run when no samples path is specified
This restores the behaviour of running only the builtin
regression tests when no path to external samples is given.
aa3805a inadvertently broke this by always setting SAMPLES
to something.  Using := makes the ifdef test work as expected
when the FATE_SAMPLES environment variable is empty.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-04-03 23:16:45 +01:00
Michael Niedermayer
85c9365d65 Revert "configure: use dlltools instead of lib.exe"
Reason, is this was requested by the windows experts / seems dlltool causes alot of problems

This reverts commit ec10a9ab46.

Conflicts:

	configure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-03 02:06:31 +02:00
Carl Eugen Hoyos
ecf94986c8 Fix compilation with --disable-vdpau 2011-04-02 00:50:39 +02:00
Michael Niedermayer
7ac167493e Merge remote-tracking branch 'newdev/master'
* newdev/master:
  mpegts: propagate avio EOF in read_packet()
  configure: Initial support for --target-os=symbian
  Fixed-point FFT and MDCT
  Include dependencies for test programs
  ac3enc: simplify sym_quant()
  flvdec: read index stored in the 'keyframes' tag.
  mov: Add support for zero-sized stsc runs.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-01 02:58:15 +02:00
Michael Niedermayer
b1ca9642a2 Revert "Remove support for stripping executables"
People did not like this change.

This reverts commit e0be794a71.
2011-04-01 00:24:12 +02:00
Martin Storsjö
1c69c79f2b configure: Initial support for --target-os=symbian
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-03-31 15:38:58 +03:00
Michael Niedermayer
8b8bf89e52 Revert "Do no modify terminal parameters using termios.h"
This reverts commit cb48e245e6.

Reason being we like pressing "q" to quit ffmpeg.

Conflicts:

	ffmpeg.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-31 00:22:29 +02:00
Gwenole Beauchesne
da3716021b vaapi: allow build against older VA-API 0.31. 2011-03-30 16:15:29 +02:00
Gwenole Beauchesne
dd950e2ebb vaapi: require version >= 0.32.0. 2011-03-30 16:15:29 +02:00
Gwenole Beauchesne
f9c215e260 vaapi: move configure check down. 2011-03-30 16:15:29 +02:00
Michael Niedermayer
445fdc0140 Merge remote-tracking branch 'newdev/master'
* newdev/master:
  ac3enc: move compute_mantissa_size() to ac3dsp
  ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
  Remove support for stripping executables
  ac3enc: NEON optimised float_to_fixed24
  ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
  dfa: protect pointer range checks against overflows.
Duplicate:  mimic: implement multithreading.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-30 03:09:08 +02:00
Mans Rullgard
e0be794a71 Remove support for stripping executables
Stripping is generally best left to package management tools, and
since unstripped copies are kept in the build tree, any arguments
about saving space (no matter how insignificant) are void.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-29 22:05:04 +01:00
Mans Rullgard
6d9f52b2cd ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-29 19:31:45 +01:00
Gwenole Beauchesne
f99abb15a1 vaapi: disable if check_lib failed. 2011-03-29 09:39:30 +02:00
Gwenole Beauchesne
5c98af952d Fix check for new enough CrystalHD library.
Signed-off-by: Philip Langdale <philipl@overt.org>
2011-03-28 21:19:07 -07:00
Stefano Sabatini
c6f951442e framebuffer device demuxer
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-03-28 16:49:22 +02:00
Michael Niedermayer
25d8099beb Merge remote-tracking branch 'newdev/master'
* newdev/master:
  ac3enc: Add codec-specific options for writing AC-3 metadata.
NOT MERGED:  Remove arrozcru URL from documentation
  sndio support for playback and record

Conflicts:
	doc/faq.texi
	doc/general.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-28 01:50:36 +02:00
Brad
15d59d2cea sndio support for playback and record
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-03-27 10:46:45 +02:00
Philip Langdale
b45aceb64a Revert "CrystalHD: Improve interlaced h.264 support."
This reverts commit e44073ca5e.
2011-03-26 16:04:48 -07:00
Philip Langdale
e44073ca5e CrystalHD: Improve interlaced h.264 support.
As previously discussed, the CrystalHD hardware returns exceptionally
useless information about interlaced h.264 content - to the extent
that it's not possible to distinguish MBAFF and PAFF content until
it's too late.

This change introduces use of the h264_parser to help bridge the
gap; it can indicate if the input data is PAFF fields or not.

With this clarity, some of heuristics can be removed from the code,
making this less convoluted.

Finally, I found an MBAFF clip that acts like non h.264 content so
I had to make allowances for that.

Note that I still cannot distinguish between two forms of PAFF,
where the hardware either returns individual fields or a field-pair.
It's not clear that there's even a spec relevant difference between
the two forms, as opposed to hardware ideosyncracies.
2011-03-26 15:55:47 -07:00
Michael Niedermayer
27ef7b1bcd Merge remote-tracking branch 'newdev/master'
* newdev/master:
  mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.
  Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser and decoder, and vice-versa for the AC-3 encoder.
  Use audio_service_type to set stream disposition.
  Add APIchanges entry for audio_service_type.
  Add audio_service_type field to AVCodecContext for encoding and reporting of the service type in the audio bitstream.
  configure: in check_ld, place new -l flags before existing ones
  support @heading, @subheading, @subsubheading, and @subsubsection in texi2pod.pl
  doc: update build system documentation
  aacenc: indentation
  aacenc: fix the side calculation in search_for_ms
  vp8.c: rename EDGE_* to VP8_EDGE_*.

Conflicts:
	doc/APIchanges
	libavcodec/avcodec.h
	libavcodec/version.h
	libavcodec/vp8.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-26 03:06:30 +01:00
Mans Rullgard
7e75f9fe5e configure: in check_ld, place new -l flags before existing ones
This fixes some library tests when --as-needed is in effect.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-25 19:36:32 +00:00
Stefano Sabatini
10a7831aa1 configure: sort filter deps entries 2011-03-25 18:49:24 +01:00
Stefano Sabatini
63ec0aa888 configure: update ffmpeg-user mailing-list address
The address recently changed from ffmpeg-user@mplayerhq.hu to
ffmpeg-user@ffmpeg.org.
2011-03-25 18:47:22 +01:00
Michael Niedermayer
797ef671dd Merge remote-tracking branch 'newdev/master'
* newdev/master:
  matroskadec: set default duration for simple block
  When building for MinGW32 disable strict ANSI compliancy.
  ARM: fix ff_apply_window_int16_neon() prototype
  configure: check for --as-needed support early
  ARM: NEON optimised apply_window_int16()
  ac3enc: NEON optimised shift functions
  ac3enc: NEON optimised ac3_max_msb_abs_int16 and ac3_exponent_min
  mpeg12.c: fix slice threading for mpeg2 field picture mode.
  ffmetadec.c: fix compiler warnings.
  configure: Don't explicitly disable ffplay or in/outdevices on dos
  configure: Remove the explicit disabling of ffserver
  configure: Add fork as a dependency to ffserver

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-25 02:57:41 +01:00
Diego Elio Pettenò
5666a9f20c When building for MinGW32 disable strict ANSI compliancy.
When -std=c99 is used, GCC defines __STRICT_ANSI__ to hide non-ANSI
interfaces; on MinGW32, when this macro is defined, some functions that are
part of POSIX but not of Windows APIs are disabled, including strcasecmp().

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-24 23:45:55 +01:00
Mans Rullgard
4a7e068b8f configure: check for --as-needed support early
This moves the check for --as-needed linker support before all
library tests, ensuring consistent behaviour between the checks
and the actual link step.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-24 20:42:22 +00:00
Martin Storsjö
da21225ae2 configure: Don't explicitly disable ffplay or in/outdevices on dos
The normal dependency tracking system disables them just fine.
2011-03-24 09:20:05 +01:00
Martin Storsjö
8bb605c11f configure: Remove the explicit disabling of ffserver
It is automatically disabled on both mingw and dos due to
the lack of fork.
2011-03-24 09:02:59 +01:00
Martin Storsjö
1ff49c2314 configure: Add fork as a dependency to ffserver 2011-03-24 08:57:06 +01:00
Michael Niedermayer
2fd41c9067 Merge remote-tracking branch 'newdev/master'
* newdev/master:
  avio: make udp_set_remote_url/get_local_port internal.
  asfdec: also subtract preroll when reading simple index object
  matroskaenc: remove a variable that's unused after bc17bd9.
  avio: cosmetics - nicer vertical alignment.
  Remove unnecessary icc version checks
  Disable 'attribute "foo" ignored' warnings from icc
  rtsp: Don't use a locale dependent format string
  Add xd55 codec tag for XDCAM HD422 720p25 CBR files.
  configure: get libavcodec version from new version.h header
  lavc: move the version macros to a new installed header.
  matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config
  Do not use format string "%0.3f" for RTSP Range field.
  Add apply_window_int16() to DSPContext with x86-optimized versions and use it in the ac3_fixed encoder.
  Document usage of import libraries created by dlltool
  configure: Set the correct lib target for arm/wince dlltool
  fate: simplify regression-funcs.sh
  fate: add support for multithread testing

Conflicts:
	libavformat/rtspdec.c
	libavutil/attributes.h
	libavutil/internal.h
	libavutil/mem.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-24 02:16:11 +01:00
Mans Rullgard
91bcad1971 Disable 'attribute "foo" ignored' warnings from icc
ICC lies about the version of gcc it emulates, which results
in unsupported attributes sometimes being used.  The warning
is an annoyance and should be disabled.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-23 12:38:37 +00:00
Mans Rullgard
b9d2f4a956 configure: get libavcodec version from new version.h header
This fixes shared library versioning after 3dd851c.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-23 09:59:44 +00:00
Michael Niedermayer
4fa0e24736 Merge remote-tracking branch 'newdev/master'
* newdev/master: (33 commits)
  Fix an infinite loop when RoQ encoded generated a frame with a size greater than the maximum valid size.
  Add kbdwin.o to AC3 decoder
  Detect byte-swapped AC-3 and support decoding it directly.
  cosmetics: indentation
  Always copy input data for AC3 decoder.
  ac3enc: make sym_quant() branch-free
  cosmetics: indentation
  Add a CPU flag for the Atom processor.
  id3v2: skip broken tags with invalid size
  id3v2: don't explicitly skip padding
  Make sure kbhit() is in conio.h
  fate: update wmv8-drm reference
  vc1: make P-frame deblock filter bit-exact.
  configure: Add the -D parameter to the dlltool command
  amr: Set the AVFMT_GENERIC_INDEX flag
  amr: Set the pkt->pos field properly to the start of the packet
  amr: Set the codec->bit_rate field based on the last packet
  rtsp: Specify unicast for TCP interleaved streams, too
  Set the correct target for mingw64 dlltool
  applehttp: Change the variable for stream position in seconds into int64_t
  ...

Conflicts:
	ffmpeg.c
	ffplay.c
	libavcodec/ac3dec.c
	libavformat/avio.h
	libavformat/id3v2.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-23 02:42:56 +01:00
Martin Storsjö
15c5156d24 configure: Set the correct lib target for arm/wince dlltool
The correct machine name for dlltool is arm-wince.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-23 01:23:21 +01:00
Dave Yeo
b58b9fa3b5 Make sure kbhit() is in conio.h
Conio.h is a non-standard header and may not have kbhit()
prototyped. This fixes compile on OS/2 where the EMX version (we're
using a fork) of conio.h only has getch() and getche().

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-22 11:07:46 +00:00
Martin Storsjö
77e41e047d configure: Add the -D parameter to the dlltool command
This is required for the generated .lib file to actually
be usable by MSVC.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-21 22:02:55 +01:00
Luca Barbato
417516f63f Set the correct target for mingw64 dlltool
That fixes .lib creation for the win64 target.
2011-03-21 20:22:51 +01:00
Michael Niedermayer
d4a50a2100 Merge remote-tracking branch 'newdev/master'
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-21 03:33:28 +01:00
Panagiotis H.M. Issaris
cb48e245e6 Do no modify terminal parameters using termios.h
Remove usage of tcgetattr and tcsetattr to modify terminal
parameters, and rely on ctrl-c to stop instead of pressing 'q'.
On systems with conio.h, keep the old behavior.

Changing the terminal settings causes problems if multiple instances
are running asynchronously on the same terminal, such as during a
parallel FATE run, or if the process crashes before restoring the
terminal.  In both cases, the terminal state is messed up requiring
a manual reset.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-20 21:13:26 +00:00
Mans Rullgard
4538729afe Move sine windows to a separate file
These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-20 13:25:19 +00:00
Mans Rullgard
849f80fecb configure: use pkg-config helpers
This makes existing pkg-config uses as well as the libsdl checks
use the new pkg-config helper functions, which should be more
robust against broken systems.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-19 20:06:17 +01:00
Mans Rullgard
5d117bd462 configure: improve pkg-config support
This adds helper functions for checking packages with pkg-config
and managing the associated flags.

Note that pkg-config use is still discouraged due to widespread
poor practices resulting in broken flags in many situations.  A
few badly designed packages require flags only obtainable using
pkg-config, and these functions are intended for those cases.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 3f8040db3e)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-19 20:06:13 +01:00
Mans Rullgard
05aa8c4441 configure: allow checking multiple functions in check_func_headers()
This makes it possible to pass a space-separated list of functions
to check_func_headers and check_lib2.  If any function is missing,
none are enabled as available, so this should only be used for
all-or-nothing sets, i.e. groups in which none will be used if any
one is missing.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit edaf1ae276)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-19 20:06:09 +01:00
Michael Niedermayer
8ea36711b0 Merge remote-tracking branch 'newdev/master'
Merged-by: Michael Niedermayer <michaelni@gmx.at>

Not Pulled:
    commit 42cfb3835b
    Author: Mans Rullgard <mans@mansr.com>
    Date:   Mon Feb 28 18:06:58 2011 +0000

        Remove Sonic experimental audio codec

    commit 2912e87a6c
    Author: Mans Rullgard <mans@mansr.com>
    Date:   Fri Mar 18 17:35:10 2011 +0000

        Replace FFmpeg with Libav in licence headers
2011-03-19 20:05:11 +01:00
Luca Barbato
ec10a9ab46 configure: use dlltools instead of lib.exe
This way building ffmpeg on mingw won't require windows specific tools
2011-03-19 16:39:54 +01:00
Luca Barbato
8f1b06c81c configure: check for SDL_Linked_Version instead of SDL_Init
This avoids the main/SDL_main declaration clash caused by SDL on
Windows and other platforms.
2011-03-19 16:39:54 +01:00
Mans Rullgard
42cfb3835b Remove Sonic experimental audio codec
Since initially committed in 2004, this codec has only been touched
for maintenanance.  Functionally, it contains no novel ideas and
its intended audience is better served by existing mature codecs.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 15:24:31 +00:00
Konstantin Pavlov
fda299f0d0 configure: use -r option for pr when listing enabled config options.
This fixes ugliness when configure outputs its (empty) results on HPUX
(maybe some other UNIXes too):

Enabled indevs:
pr:  -- empty file

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-18 12:13:40 +00:00
Michael Niedermayer
c0b1bc8d17 Revert "partially rename FFmpeg to Libav"
This reverts commit 070c5d0f35.
2011-03-17 17:26:45 +01:00
Michael Niedermayer
e528cdac8a Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
This reverts commit 29ba091136.
2011-03-17 17:26:45 +01:00
Michael Niedermayer
0cb88628fb Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
This reverts commit a03be6e1ba.
2011-03-17 17:26:45 +01:00
Michael Niedermayer
0fecf2642b Merge remote-tracking branch 'newdev/master'
Conflicts:
	Changelog
	doc/APIchanges
	doc/optimization.txt
	libavformat/avio.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-17 17:22:52 +01:00
Sean McGovern
dff68563d8 darwin: use -read_only_relocs flag only on 32-bit x86
Avoids the linker warning:
ld: warning: -read_only_relocs cannot be used with x86_64

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-16 23:18:27 +00:00
Janne Grunau
a03be6e1ba use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_* 2011-03-16 21:54:39 +01:00
Janne Grunau
29ba091136 replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
also update the multiple inclusion guards in config.h|mak
2011-03-16 21:54:39 +01:00
Janne Grunau
070c5d0f35 partially rename FFmpeg to Libav
update mailing list references and irc channels in configure
2011-03-16 21:54:39 +01:00
Michael Niedermayer
fbe98aee20 Revert "configure: allow checking multiple functions in check_func_headers()"
This reverts commit edaf1ae276.

breaks windows builds
2011-03-12 19:14:55 +01:00
Michael Niedermayer
8876c8ae24 Revert "configure: improve pkg-config support"
This reverts commit 3f8040db3e.

breaks windows builds
2011-03-12 19:14:49 +01:00
Michael Niedermayer
a0a1b7b90d Revert "configure: use pkg-config helpers"
This reverts commit 4fa18c5666.

breaks windows builds
2011-03-12 19:14:25 +01:00
Michael Niedermayer
27efa296c2 Merge branch 'master' of git://git.ffmpeg.org/ffmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-12 17:55:59 +01:00
Mans Rullgard
a5444fee06 Add CONFIG_AC3DSP symbol to simplify makefiles
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-12 11:35:26 +00:00
Mans Rullgard
4fa18c5666 configure: use pkg-config helpers
This makes existing pkg-config uses as well as the libsdl checks
use the new pkg-config helper functions, which should be more
robust against broken systems.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-11 20:13:32 +00:00
Mans Rullgard
3f8040db3e configure: improve pkg-config support
This adds helper functions for checking packages with pkg-config
and managing the associated flags.

Note that pkg-config use is still discouraged due to widespread
poor practices resulting in broken flags in many situations.  A
few badly designed packages require flags only obtainable using
pkg-config, and these functions are intended for those cases.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-11 20:13:26 +00:00
Mans Rullgard
edaf1ae276 configure: allow checking multiple functions in check_func_headers()
This makes it possible to pass a space-separated list of functions
to check_func_headers and check_lib2.  If any function is missing,
none are enabled as available, so this should only be used for
all-or-nothing sets, i.e. groups in which none will be used if any
one is missing.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-11 20:13:22 +00:00
Philip Langdale
b33fa8a1cd CrystalHD decoder support v7
The Broadcom CrystalHD decoder chips provide hardware video
decoding for a number of video formats. It does so using a
memory:memory interface where a compressed bitstream is fed
in and decompressed pictures are copied out. As such, it works
independent of any graphics hardware in the system.

Features supported in this initial version:
* Support for Linux (using current drivers/library from git.wilsonet.com)
* Support for 70015 hardware
* Formats: MPEG2, MPEG4 Part 2, H.264, VC1 and DivX 3.11 (untested)
* Progressive content
* Non-H.264 Interlaced content
* H.264 MBAFF content

Features missing in this initial version:
* Support for OSX (might work - untested)
* Support for Windows
* Support for 70012 hardware
* H.264 PAFF content

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-10 20:17:19 +01:00
Stefano Sabatini
1a204f0760 framebuffer device demuxer 2011-03-08 17:33:23 +01:00
Mans Rullgard
42ccd2fcf8 Use --sysroot flag for clang
Although not documented, clang does support the --sysroot flag, and it
does the right thing.  Use this flag intead of -isysroot which only
applies to header file searches, not the linker.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 00ba041cb3)
2011-03-01 13:55:54 +01:00
Mans Rullgard
00ba041cb3 Use --sysroot flag for clang
Although not documented, clang does support the --sysroot flag, and it
does the right thing.  Use this flag intead of -isysroot which only
applies to header file searches, not the linker.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-28 02:55:50 +00:00
Reimar Döffinger
bbd289aa18 configure: document FATE_SAMPLES env var in --help text
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 52b3cc6047)
2011-02-28 00:34:38 +01:00
Mans Rullgard
1a9fc2b93b fate: get samples location from env var if not explicitly set
Use the FATE_SAMPLES environment variable if samples location
is not set with the --samples configure option or on the make
command line.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit aa3805a486)
2011-02-28 00:34:38 +01:00
Reimar Döffinger
52b3cc6047 configure: document FATE_SAMPLES env var in --help text
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-26 12:52:13 +00:00
Mans Rullgard
aa3805a486 fate: get samples location from env var if not explicitly set
Use the FATE_SAMPLES environment variable if samples location
is not set with the --samples configure option or on the make
command line.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-26 11:51:55 +00:00
Dave Yeo
f183cfeb99 OS/2: lxlite should use stdout
This causes lxlite to use stdout instead of vioXXX
functions. This improves fate and build logs readability.
Affects OS/2 only.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit cc4e9d2a24)
2011-02-26 03:16:06 +01:00
Dave Yeo
cc4e9d2a24 OS/2: lxlite should use stdout
This causes lxlite to use stdout instead of vioXXX
functions. This improves fate and build logs readability.
Affects OS/2 only.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-25 19:48:19 +00:00
Stefano Sabatini
bd8e750300 Port drawtext filter by Hemanth from the libavfilter soc repo, with
the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:45 +01:00
Mans Rullgard
cdeba2de82 x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 87f1355f9b)
2011-02-20 19:05:47 +01:00
Mans Rullgard
87f1355f9b x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-20 13:20:42 +00:00
Reinhard Tartler
7ffe76e540 Merge libavcore into libavutil
Done to keep ABI compatible. Otherwise this is just silly
2011-02-16 23:00:30 +01:00
Reinhard Tartler
737eb5976f Merge libavcore into libavutil
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-02-15 16:18:21 +01:00
Mans Rullgard
e0099fdaac configure: fix non-standard regex used with expr
The colon operator of expr always anchors the pattern at the start
of the string.  An explicit ^ in the pattern has unspecified
behaviour, so remove it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 3ad464bfc7)
2011-02-14 23:58:20 +01:00
Mans Rullgard
48e0556739 configure: report full gcc version string
This makes the cc_ident value, which is used in FATE reports, include
all interesting parts of the gcc version string.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 5d57846bba)
2011-02-14 23:58:20 +01:00
Mans Rullgard
8429368d22 configure: add cleanws() function
This function removes leading and trailing spaces and collapses
multiple spaces into one.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit bb7a22b584)
2011-02-14 23:58:19 +01:00
Mans Rullgard
3ad464bfc7 configure: fix non-standard regex used with expr
The colon operator of expr always anchors the pattern at the start
of the string.  An explicit ^ in the pattern has unspecified
behaviour, so remove it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-13 21:00:03 +00:00
Mans Rullgard
5d57846bba configure: report full gcc version string
This makes the cc_ident value, which is used in FATE reports, include
all interesting parts of the gcc version string.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-13 16:22:14 +00:00
Mans Rullgard
bb7a22b584 configure: add cleanws() function
This function removes leading and trailing spaces and collapses
multiple spaces into one.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-13 16:22:14 +00:00
Mans Rullgard
3ae4484cdf configure: remove early check_deps $ARCH_EXT_LIST
The early disabling of irrelevant arch extensions is no longer
required, and removing it makes dependencies involving these
work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4b884207eb)
2011-02-13 00:52:51 +01:00
Mans Rullgard
4b884207eb configure: remove early check_deps $ARCH_EXT_LIST
The early disabling of irrelevant arch extensions is no longer
required, and removing it makes dependencies involving these
work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-11 18:45:21 +00:00
François Revol
68b2336d13 Fix HOSTLIBS on Haiku
Haiku does not have a separate libm, so do not try to link to it.

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f59c4bd625)
2011-02-09 03:33:55 +01:00
Anssi Hannula
5fb06ffac7 configure: check yasm/nasm for working pextrd opcode
NASM versions older than 2.08 fail to build ffmpeg with several
"error: operation size not specified" errors but this is not caught in
configure.

Fix that by checking if "pextrd [eax], xmm0, 1" works in configure.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 48545a8f72)
2011-02-09 03:30:01 +01:00
François Revol
f59c4bd625 Fix HOSTLIBS on Haiku
Haiku does not have a separate libm, so do not try to link to it.

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-08 21:16:02 +00:00
Anssi Hannula
48545a8f72 configure: check yasm/nasm for working pextrd opcode
NASM versions older than 2.08 fail to build ffmpeg with several
"error: operation size not specified" errors but this is not caught in
configure.

Fix that by checking if "pextrd [eax], xmm0, 1" works in configure.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-06 11:43:35 -05:00
Mans Rullgard
9873463c2f Enable native build on QNX/x86
(cherry picked from commit d33ed7b367)
2011-01-31 18:25:40 +01:00
Mans Rullgard
d33ed7b367 Enable native build on QNX/x86 2011-01-30 01:05:39 +00:00
Mans Rullgard
744c166422 armcc: filter out non-gcc options from ASFLAGS
This allows passing armcc-specific flags with --extra-cflags without
choking the assembler.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d0f0f6287c)
2011-01-26 03:43:31 +01:00
Mans Rullgard
9c5c348eef configure: add filter_out() function
This adds a function to filter out words matching a pattern
from a list.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 9d201b2606)
2011-01-26 03:43:31 +01:00
Daniel Verkamp
121053b2d6 configure: move network tests before results are needed
This moves network_extralibs setup before use so that the link tests
for network functions work correctly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 54fe299b88)
2011-01-26 03:43:30 +01:00
Mans Rullgard
a98ffb2bc8 Add CFLAGS needed by PathScale compiler
The PathScale compiler miscompiles wrapping arithmetic without
these flags.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 5f3b8314a4)
2011-01-26 03:43:28 +01:00
Mans Rullgard
355d05280a Disable symbol versioning on some BSDs
Dragonfly, NetBSD, and OpenBSD do not support symbol versioning
although our link test passes.  Disable it explicitly for these
systems.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit a1e4b3f6d3)
2011-01-26 03:43:28 +01:00
Mans Rullgard
d0f0f6287c armcc: filter out non-gcc options from ASFLAGS
This allows passing armcc-specific flags with --extra-cflags without
choking the assembler.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-25 20:32:08 +00:00
Mans Rullgard
9d201b2606 configure: add filter_out() function
This adds a function to filter out words matching a pattern
from a list.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-25 20:32:08 +00:00
Daniel Verkamp
54fe299b88 configure: move network tests before results are needed
This moves network_extralibs setup before use so that the link tests
for network functions work correctly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-25 13:42:15 +00:00
Mans Rullgard
5f3b8314a4 Add CFLAGS needed by PathScale compiler
The PathScale compiler miscompiles wrapping arithmetic without
these flags.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-24 01:59:15 +00:00
Mans Rullgard
a1e4b3f6d3 Disable symbol versioning on some BSDs
Dragonfly, NetBSD, and OpenBSD do not support symbol versioning
although our link test passes.  Disable it explicitly for these
systems.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-23 21:33:31 +00:00
Mans Rullgard
c7892b418b Fix libavformat version extraction in configure
This fixes shared library builds broken by
50196a982b

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4ad66441c9)
2011-01-23 19:32:07 +01:00
Mans Rullgard
727a20cb60 configure: better test for mktemp
Some variants of mktemp require a template, so provide one when
checking for the command.  We already supply a template in the
subsequent uses of mktemp.

Thanks to Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit a210bce298)
2011-01-23 19:32:06 +01:00
Mans Rullgard
3df0297567 configure: simplify exit traps
This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 93bb9ff08e)
2011-01-23 19:32:06 +01:00
Michael Niedermayer
002bd34603 Fix out of source tree builds of libmpcodecs. 2011-01-23 16:58:32 +01:00
Mans Rullgard
4ad66441c9 Fix libavformat version extraction in configure
This fixes shared library builds broken by
50196a982b

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-21 21:51:06 +00:00
Mans Rullgard
a210bce298 configure: better test for mktemp
Some variants of mktemp require a template, so provide one when
checking for the command.  We already supply a template in the
subsequent uses of mktemp.

Thanks to Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-21 20:54:03 +00:00
Mans Rullgard
93bb9ff08e configure: simplify exit traps
This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-21 20:47:58 +00:00
Mans Rullgard
a091006d3d Make demuxers auto-select parsers they need
This makes configure --disable-everything --enable-demuxer=foo
work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c2dd0e9eba)
2011-01-21 20:36:01 +01:00
Mans Rullgard
bb71141450 Make PNG test depend on PNG codec
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f0f54c297f)
2011-01-21 20:36:00 +01:00
Mans Rullgard
ef44b5bf19 configure: fix mktemp test and fallback function
(cherry picked from commit 09a5c2452c)
2011-01-21 20:35:45 +01:00
Mans Rullgard
c2dd0e9eba Make demuxers auto-select parsers they need
This makes configure --disable-everything --enable-demuxer=foo
work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-21 18:36:13 +00:00
Michael Niedermayer
3b63a52207 Add GPL dependancy for libmpcodecs 2011-01-21 14:12:09 +01:00
Mans Rullgard
f0f54c297f Make PNG test depend on PNG codec
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-20 18:01:03 +00:00
Mans Rullgard
09a5c2452c configure: fix mktemp test and fallback function 2011-01-18 22:17:10 +00:00
Mans Rullgard
44caaa560b ARM: improve VFP ABI check
Recent gcc versions define __ARM_PCS or __ARM_PCS_VFP to indicate the
VFP ABI in use, and ARM RVCT defines __SOFTFP__ when using this ABI.
If none of these are defined, check $cross_prefix and $cc for the
substring "hardfloat", and finally fall back to a linker test.  This
gives the correct result in most configurations.
2011-01-18 20:48:25 +00:00
Mans Rullgard
b0c1b66a4b armcc: suppress warning about hardfp compatibility 2011-01-18 20:48:25 +00:00
Mans Rullgard
5a92140b6e armcc: suppress 'assignment in condition' warning 2011-01-18 20:48:24 +00:00
Mans Rullgard
ef4a65149d Replace ASMALIGN() with .p2align
This macro has unconditionally used .p2align for a long time and
serves no useful purpose.
2011-01-18 20:48:24 +00:00
Mans Rullgard
fb3c4ffc4b configure: make $TMPE executable
This is required on systems where the linker does not change
the permissions of an existing output file.
2011-01-18 20:48:24 +00:00
Mans Rullgard
fef2d66166 Use -Bsymbolic for shared libs only, not executables
Some linkers fail if this flag is used when creating an executable file.
Since the flag is meaningful only for shared libraries, dropping it from
the main link flags is correct.
2011-01-18 20:48:24 +00:00
Lou Logan
4a6a21f5e4 Change SVN to Git in configure
Changes "version from SVN" to "version from Git".

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-17 22:13:22 +01:00
Daniel Verkamp
73f6d31e6c Win32 support for av_file_map()
Originally committed as revision 26221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 05:16:33 +00:00
Stefano Sabatini
44b2784fb4 Remove unnecessary dependency of ffprobe and ffserver on libswscale.
Originally committed as revision 26213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-04 14:00:10 +00:00
Justin Ruggles
6fd96d1a85 Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-04 11:53:44 +00:00
Carl Eugen Hoyos
ba76378393 libavfilter does not depend on libswscale, only the scale filter does.
Originally committed as revision 26203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-03 10:56:37 +00:00
Carl Eugen Hoyos
6734f2c89e "Fix" compilation with --disable-swscale.
Originally committed as revision 26200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 16:24:19 +00:00
Stefano Sabatini
b567020943 Add copy filter, useful for testing the avfilter_draw_slice() copy
code.

Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-28 01:01:09 +00:00
Stefano Sabatini
cf69ad35c5 Redesign the libopencv wrapper to make it more generic. Accept both
FILTERNAME=ARGS and FILTERNAME:ARGS syntax.

The same filter class will be used for managing all the libopencv
filtering functions.

Originally committed as revision 26079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-23 17:24:19 +00:00
Stefano Sabatini
0328b9ea39 Add av_file_map() and av_file_unmap() functions.
Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-22 14:13:04 +00:00
Ronald S. Bultje
2b2a597ec0 AMR-WB decoder, written as part of Google Summer of Code 2010 by Marcelo
Galvão Póvoa <marspeoplester gmail com>, mentored by Robert Swain <robert
dot swain gmail com>.

Originally committed as revision 26051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-18 03:03:18 +00:00
Martin Storsjö
4f7d2fe2e3 configure: Avoid warnings if av_always_inline is disabled
This macro is disabled if --enable-small or --disable-optimizations are set.
Currently, this leads to warnings about functions being defined but not used,
for functions in header files.

By defining av_always_inline as inline or as av_unused, we avoid these
warnings.

This doesn't make a normal build with --enable-small any larger,
since the compiler probably chooses not to inline these functions even
if they're marked as inline.

Originally committed as revision 26032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-16 08:41:17 +00:00
Martin Storsjö
9baec618c0 configure: Allow disabling symbol versioning via --disable-symver
Originally committed as revision 25944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-14 08:34:57 +00:00
Michael Chinen
475ae04a27 Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

Originally committed as revision 25914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 14:50:50 +00:00
Baptiste Coudurier
a4dc7aa5b5 Port libmpcodecs hqdn3d filter.
Patch by Baptiste with some fixes by me.

Originally committed as revision 25880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-04 13:03:42 +00:00
Stefano Sabatini
a42bb9d624 Add missing dependencies for frei0r_src in configure.
Originally committed as revision 25857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-30 21:41:26 +00:00
Carl Eugen Hoyos
f1c7c6aee8 Silence icc warning about unsupported option -Wno-parentheses
Originally committed as revision 25670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-04 10:38:39 +00:00
Janne Grunau
136e19e1cf Add single stream LATM/LOAS decoder
The decoder is just a wrapper around the AAC decoder.
based on patch by Paul Kendall { paul <ät> kcbbs gen nz }

Originally committed as revision 25642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-02 08:32:04 +00:00
Jason Garrett-Glaser
5dd9752076 Bump required x264 version to X264_BUILD 99
Required after r25567.

Originally committed as revision 25576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-26 18:19:22 +00:00
Martin Storsjö
44b70ce563 rtsp: Untangle the dependencies between the RTSP/SDP demuxers and RTSP muxer
This allows compilation of one of them without requiring the others'
dependencies to be present.

Originally committed as revision 25535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-21 12:18:48 +00:00
Martin Storsjö
44594cc798 Add a demuxer for receiving raw rtp:// URLs without an SDP description
The demuxer inspects the payload type of a received RTP packet and
handles the cases where the content is fully described by the payload type.

Originally committed as revision 25527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-19 07:38:53 +00:00
Martin Storsjö
01c8d258da Add a SAP demuxer
Originally committed as revision 25463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-13 09:06:59 +00:00
Stefano Sabatini
68b79bfc48 Implement cropdetect filter.
Originally committed as revision 25447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-12 09:22:32 +00:00
Martin Storsjö
2aab70c476 sapenc: Declare a dependency on rtp_protocol, too
The SAP muxer uses network functions directly, uses the rtp protocol and the
udp protocol. The network functions and the udp protocol are both transitively
enabled via the rtp protocol, so that's the only dependency that needs to
be stated.

Originally committed as revision 25423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-09 09:29:29 +00:00
Martin Storsjö
fcc7f40449 sapenc: Mark the muxer as depending on network functions
Hide all code mentioning IPv6 behind HAVE_STRUCT_SOCKADDR_IN6.

Originally committed as revision 25415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-08 17:48:13 +00:00
Martin Storsjö
011071e717 Add a SAP (Session Announcement Protocol, RFC 2974) muxer
Originally committed as revision 25413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-08 12:05:04 +00:00
Rafaël Carré
9b9d3868d5 libmp3lame: don't check unused function in detection
hip_decode_init() isn't used by the wrapper, and can be absent from the
library if lame was configured with --disable-decoder (like it is done
for windows builds of VLC)

Unfortunately this also removes the way to detect a libmp3lame more recent
than the buggy 3.98.2

Patch by Rafaël Carré, rafael carre at gmail

Originally committed as revision 25391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 08:38:39 +00:00
Martin Storsjö
3ece3e4c56 Add RTP depacketization of the X-QT QuickTime format
Originally committed as revision 25371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06 12:42:18 +00:00
Martin Storsjö
9fd5f39b0e configure: Set _DARWIN_C_SOURCE while testing for struct ipv6_mreq
On OS X, this struct is only available if _DARWIN_C_SOURCE is defined,
when we have _POSIX_C_SOURCE defined. This allows the struct to be found,
enabling proper IPv6 multicast functionality on OS X.

The define is already set within the file that uses the struct. Setting it
only for this test in configure avoids having to keep it defined for the
whole build.

Originally committed as revision 25370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06 12:30:17 +00:00
Ramiro Polla
6f74fb03cd Check whether compiler supports xmm registers in asm clobber list
Originally committed as revision 25362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06 01:26:13 +00:00
Martin Storsjö
038d46c9c8 configure: Consolidate rtsp/sdp deps to use _select
This makes e.g. --disable-everything --enable-demuxer=rtsp actually
enable the rtsp demuxer and everything else that is needed.

Originally committed as revision 25356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-05 20:10:01 +00:00
Martin Storsjö
a8d69098f4 configure: Add the http protocol as an auto-enabled dependency of the rtsp demuxer and muxer
Originally committed as revision 25355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-05 19:47:09 +00:00
Víctor Paesa
524aae8625 Use SLIBSUF instead of .so, as a more generic dynamic library suffix.
Originally committed as revision 25321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-03 09:49:36 +00:00
Stefano Sabatini
2e5ff4d0e5 Group togheter filter dependency specifications.
Originally committed as revision 25245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28 13:44:10 +00:00
Måns Rullgård
483480b5ae Fix out of tree builds with vf_yadif and mmx
Originally committed as revision 25237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 22:10:39 +00:00
Stefano Sabatini
13fabd7a8d Port MPlayer blackframe filter.
See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer blackframe filter.
Date: Sun, 26 Sep 2010 01:10:40 +0200

Originally committed as revision 25214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 21:36:05 +00:00
Måns Rullgård
b6c0689456 configure: detect nasm vs yasm and set flags correspondingly
Originally committed as revision 25213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 21:01:24 +00:00
Måns Rullgård
2c1da681b8 Create libavfilter/$arch when building outside source tree
Originally committed as revision 25200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 17:13:29 +00:00
Michael Niedermayer
acbac56789 yadif filter, based on stefanos port of my yadif from mplayer.
Compared to stefanos, 2 frame output works with ffplay.

Originally committed as revision 25196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 16:43:42 +00:00
Stefano Sabatini
47941088f9 Add frei0r filter.
See thread:
Subject: [FFmpeg-devel] [POC] frei0r wrapper
Date: Tue, 24 Aug 2010 21:37:32 +0200

Originally committed as revision 25165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 00:32:22 +00:00
Måns Rullgård
bdefad7366 Disable ALIGNED_STACK with icc 10 or prior on x86_32
Originally committed as revision 25152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-21 17:57:17 +00:00
Måns Rullgård
59782b828b Add HAVE_ALIGNED_STACK config setting
This is set to 1 if the stack is guaranteed to be suitably aligned
for the strictest access mode of the machine.

Originally committed as revision 25151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-21 17:57:13 +00:00
Måns Rullgård
217d3d8fe9 Request 16-byte aligned stack with icc on x86_32
Originally committed as revision 25145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-18 20:44:29 +00:00
James Darnley
8328ad1370 configure: print minimum lame version number required after revision 25128
Patch by James Darnley <james dot darnley at gmail dot com>.

Originally committed as revision 25139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-17 10:52:43 +00:00
Måns Rullgård
6de163e9bf configure: detect Open64 compiler
Originally committed as revision 25135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-16 15:25:10 +00:00
James Darnley
efec9ac8a9 Allow float values for libmp3lame quality.
Patch by James Darnley, james D darnley A gmail

Originally committed as revision 25128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-15 22:10:13 +00:00
Måns Rullgård
180ec37dff Update pathscale compiler detection
Originally committed as revision 25122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-14 18:55:20 +00:00
Stefano Sabatini
6ebf0bfc17 Implement libopencv smooth filter.
Originally committed as revision 25118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-14 13:21:13 +00:00
Måns Rullgård
55127e7b49 Create config.asm for use with yasm
Originally committed as revision 25039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-03 21:27:19 +00:00
Måns Rullgård
0e5a7b9161 configure: whitespace
Originally committed as revision 25038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-03 21:27:15 +00:00
Måns Rullgård
72cfcf4156 configure: make print_config() more flexible
Originally committed as revision 25037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-03 21:27:12 +00:00
Måns Rullgård
613a4e3f6d Detect llvm-gcc and set appropriate flags
Originally committed as revision 25028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-02 21:41:07 +00:00
Måns Rullgård
5c8ef670e7 Add -mllvm -stack-alignment=16 to CFLAGS when using clang
Originally committed as revision 25027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-02 19:40:18 +00:00
Måns Rullgård
db7515fd1e configure: move config.fate creation after OS section
The OS label can be changed, and we want this to be reflected.

Originally committed as revision 24953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 22:22:27 +00:00
Måns Rullgård
6f9ea29ec6 configure: write config.fate file as early as possible
Originally committed as revision 24952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 19:49:57 +00:00
Måns Rullgård
25432e8503 configure: improve error message for missing yasm
Originally committed as revision 24951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 19:15:25 +00:00
Alex Converse
9cca1e4096 x86: Require yasm OR --disable-asm OR --disable-mmx OR --disable-yasm to build.
Originally committed as revision 24950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 18:29:32 +00:00
Måns Rullgård
e90aa6ed2d Revert "Disable MMX for i686 and pentiumpro"
To avoid being burned at the stake by an angry mob, I am forced to
revert this commit.

Originally committed as revision 24949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 18:21:00 +00:00
Måns Rullgård
0a6cf0afdc Disable MMX for i686 and pentiumpro
Originally committed as revision 24946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 13:46:45 +00:00
Måns Rullgård
bcafde6174 configure: select warning suppression syntax based on armcc version
Release 4.1 changed the flag used to pass options through the gcc
translation layer.  Detect which version is used, and choose the
appropriate flag.

Originally committed as revision 24945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-26 12:52:10 +00:00
Janne Grunau
66ac25e21f configure: enable fast_cmov for 'atom'
Originally committed as revision 24910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 17:56:58 +00:00
Måns Rullgård
a7638957e0 configure: fix typo in test deps
Originally committed as revision 24907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 16:52:21 +00:00
Måns Rullgård
c60a2d70d5 mmsh depends on http
Originally committed as revision 24867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 12:03:27 +00:00
Anatoly Nenashev
1bf75aec8e Fix configure .pc files generation and make install when
--build-suffix is used.

Patch by Anatoly Nenashev ${surname}_as@mail.ru.

Originally committed as revision 24821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-18 10:57:48 +00:00
Stefano Sabatini
a1e171dfee Add hflip filter.
Originally committed as revision 24806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 14:59:12 +00:00
Diego Biurrun
7d07d6f529 Only check for for libvpx decoder/encoder if libvpx is enabled.
Originally committed as revision 24744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-08 08:51:15 +00:00
Ramiro Polla
f9c8cc4d19 fix configure when --enable-libvpx is not specified
Originally committed as revision 24743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-08 02:43:26 +00:00
Frank Barchard
762e2601d7 Split libvpx check into decoder and encoder check.
This allows using a libvpx that has been configured as decoder/encoder only.
patch by Frank Barchard, fbarchard google com

Originally committed as revision 24742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-08 00:06:24 +00:00
Jason Garrett-Glaser
4a384de5b8 Split h264dsp and h264pred in configure.
Many H.264 derivatives, like RV40 and VP8, use the H.264 prediction functions
but not the weight/loopfilter functions.
This should reduce the size of builds with one of these derivatives but without
H.264 decoding itself.

Originally committed as revision 24741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-07 23:10:25 +00:00
Diego Biurrun
3447f12d66 Add a CONFIG_ variable for generic Huffman routines.
Originally committed as revision 24715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 10:29:14 +00:00
Måns Rullgård
23ba30a421 configure: remove redundant extralibs settings
Originally committed as revision 24705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-05 16:54:23 +00:00
Diego Biurrun
440e3b2f7f Add -Wno-parentheses to CFLAGS.
Without this flag -Wall generates warnings that nobody wants to see fixed or
worked around. Disabling those warnings is thus the best solution.

Originally committed as revision 24666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 17:09:55 +00:00
Stefano Sabatini
213a4cbb39 Add lavfi-pixfmts LE tests.
The corresponding lavfi-pixfmts BE tests are not yet added, as there
are some bugs in the scaler (scaling rgba, argb, bgra, abgr, yuva420p)
which result in differences with the LE reference, and I cannot
visually check the generated files on BE.

Originally committed as revision 24657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:20:46 +00:00
Stefano Sabatini
9c261f8340 Implement set_ne_test_deps() and use if for the lavfi pixdesc test.
Originally committed as revision 24653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:04:10 +00:00
Måns Rullgård
448f5b83a7 Fix suncc ident string (hopefully)
Originally committed as revision 24652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 16:13:12 +00:00
Måns Rullgård
c2eae137e9 configure: set subarch for ARM
Originally committed as revision 24614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-31 08:51:39 +00:00
Jean-Daniel Dupas
8fad266101 Make pkgconfig_generate() explicitly return 0 in instead of returning
without value when the target library is disabled.

If it does not explicitly return 0, when the last library is disabled
(swscale), the final "configure" exit value is 1, even if the
configure script is successfully executed. So it breaks scripts that
invoke configure and rely on 0 for success and 1 for failure.

Patch by Jean-Daniel Dupas reverse(<org.shadowlab@devlists>).

Originally committed as revision 24585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-30 00:05:16 +00:00
Stefano Sabatini
46eed2c886 Remove reference to the unexisting movie filter and the corresponding
useless --enable-avfilter-lavf option.

Originally committed as revision 24569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-28 08:56:49 +00:00
Måns Rullgård
349d78fe62 Detect PathScale compiler
Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 18:55:21 +00:00
Måns Rullgård
d72c981c30 configure: fix sh_quote function
Non-matching lists start with ! instead of the usual ^ in shell
patterns.

Originally committed as revision 24550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 16:59:42 +00:00
Stefan Gehrer
de29597680 add Chinese AVS encoding via external library libxavs
Originally committed as revision 24533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 07:18:36 +00:00
Måns Rullgård
b82be63688 fate: create report files
Originally committed as revision 24529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:06 +00:00
Måns Rullgård
bb5cecdc52 configure: extract detailed compiler identification
Originally committed as revision 24528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:02 +00:00
Stefano Sabatini
b964a2935e Reindent.
Originally committed as revision 24520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:35 +00:00
Stefano Sabatini
a275862461 Make pkgconfig_generate check if the library is enabled before to
generate the pc files.

Originally committed as revision 24519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:32 +00:00
Stefano Sabatini
126b638ea0 Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.

Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:28 +00:00
Stefano Sabatini
a16dfa2c80 Fix pkgconfig_generate line for libavcore.
libavcore depends on libavutil, and does not require extralibs.

Originally committed as revision 24500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 15:31:25 +00:00
Stefano Sabatini
aac6ca6978 Add libavcore.
The new library is meant to contain the core multimedia utilities for
FFmpeg, to make them shareable between more libav* libraries.

See thread:
Subject: [FFmpeg-devel] [RFC] New library for shared non-generic libav* utils
Date: Fri, 9 Jul 2010 01:07:40 +0200

Originally committed as revision 24393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 18:28:42 +00:00
Måns Rullgård
f29be470b3 configure: make sh_quote() more robust
Originally committed as revision 24376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 22:02:16 +00:00
Måns Rullgård
d0b8e40ccf configure: create .config file where I intended
Originally committed as revision 24373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 19:42:35 +00:00
Måns Rullgård
aef026f406 configure: create .config file in configure to avoid needless reruns
Originally committed as revision 24372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 19:05:44 +00:00
Måns Rullgård
b9d5f1b7ed Collect list of seek tests in configure
Originally committed as revision 24346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:19:26 +00:00
Måns Rullgård
7c1bb9143e Fix lavfi pixdesc test
This test verifies the pixdesc code by comparing the output with and
without a filter which should have no effect on the image.  Since the
available pixel formats depend on the byte order of the machine, a
simple reference checksum is not possible.

The test originally tried to solve this by generating a reference file
on the fly.  The problem with this is that the test framework expects
the reference file in the source tree, and writing to the source tree
is not allowed.

To avoid complicating the test framework, we instead provide two
reference files and select which to use based on the byte order.

Originally committed as revision 24330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 17:17:49 +00:00
Måns Rullgård
48c281629a Generate list of lavfi tests in configure
Originally committed as revision 24329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 17:17:43 +00:00
Måns Rullgård
c0b1660582 Fix dependencies for msmpeg4v3 regression test
Originally committed as revision 24261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:39:37 +00:00
Vitor Sessak
dc609252b6 Nit: fix alphabetical order
Originally committed as revision 24259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:08:26 +00:00
Vitor Sessak
720e4c794c Fix obviously missing dependency of float DCT.
Fixes issue 2095.

Originally committed as revision 24245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-15 08:56:18 +00:00
Måns Rullgård
8e3275c1a2 configure: match regtest ref files more strictly
Only names consisting of letters, numbers, hyphens, and underscores
are allowed.

Originally committed as revision 24222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:17:10 +00:00
Alex Converse
3cac899af9 Split the ADTS header decoder off of the ADTS parser.
The AAC decoder and ADTS-to-ASC BSF both require the header decoder
but not full parsing capabilities.

Originally committed as revision 24217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 18:52:03 +00:00
Ramiro Polla
e26011d0f4 mingw32: merge checks for mingw-w64 and mingw32-runtime >= 3.15 into one
Originally committed as revision 24204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:31:41 +00:00
Ramiro Polla
ec1ee802a2 mingw32: properly check if vfw capture is supported by the system headers
Remove check for an specific w32api version, checking instead if vfw.h
supports vfw capture. The defines in w32api 3.12 were wrong, so this must be
accounted for in the check.

Originally committed as revision 24203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:17:17 +00:00
Måns Rullgård
d268eee96b Set fast_unaligned in avconfig.h
Originally committed as revision 24172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 22:22:00 +00:00
Ramiro Polla
b734a67837 mingw32: avisynth does not need w32api >= 3.13
Originally committed as revision 24165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 17:11:27 +00:00
Ramiro Polla
0a4307d630 configure: properly check for mingw-w64 through installed headers.
mingw-w64 can also target 32-bit code.

Originally committed as revision 24156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 04:08:02 +00:00
Måns Rullgård
40fe5019ef configure: fix pcm test deps
10l to me for using non-standard shell syntax

Originally committed as revision 24123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 20:15:54 +00:00
Måns Rullgård
57442411d7 Move regression test dependencies to configure
This allows expressing complex dependencies more easily.

Originally committed as revision 24120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:06 +00:00
Måns Rullgård
31c0121db7 configure: add print_enabled() function
The print_enabled() function prints all elements in a list which
are enabled.

Originally committed as revision 24119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:03 +00:00
Måns Rullgård
355d81df72 configure: simplify some OS-specific flag setting
Originally committed as revision 24060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 17:31:18 +00:00
Måns Rullgård
ea28e81faa configure: add missing braces in libvpx check
Originally committed as revision 24028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 19:16:40 +00:00
Dominik Mierzejewski
4be7bc6a84 Provide a hint about the minimum required version of libvpx (0.9.1)
when detection fails.

Approved by Måns.

Originally committed as revision 24027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 19:14:19 +00:00
Ramiro Polla
42ebfc54b8 configure: enclose library check for librtmp in brackets
otherwise it would always fail if librtmp was not enabled.

Originally committed as revision 24026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 18:50:40 +00:00
Stefano Sabatini
f054aaf731 Add function check for librtmp, require RTMP_Socket() which was added
in version 2.2.f.

Avoid a compile-time failure.

Originally committed as revision 24024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 18:25:40 +00:00
David Conrad
b67a8f49a4 Use __clang_version__ when available
Originally committed as revision 24009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 21:04:39 +00:00
Aurelien Jacobs
df0a6d0d24 wmavoice depends on mdct
Originally committed as revision 24000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 15:49:25 +00:00
Måns Rullgård
301ab19dd9 configure: improve GNU as checking
Check for GNU assembler only when asm is enabled.  Show a warning for
ppc/altivec only, and fail on ARM.

Originally committed as revision 23964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 02:03:20 +00:00
Måns Rullgård
135448fa1a PPC: fix dcbzl detection on OSX
Originally committed as revision 23955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:36 +00:00
Måns Rullgård
e08b8239f6 Add -force_cpusubtype_ALL to ASFLAGS on Darwin/PPC
Originally committed as revision 23954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:33 +00:00
Måns Rullgård
a49d302590 Check for GNU assembler, use gas-preprocessor on darwin
Originally committed as revision 23953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:30 +00:00
Måns Rullgård
2f0c136e1f Check whether IBM or Apple PPC assembler syntax is used
This checks which assembler syntax is supported and defines macros
for register names accordingly.

Originally committed as revision 23952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:27 +00:00
Aurelien Jacobs
d9da8f101f mpegaudio float decoders depend on dct
Originally committed as revision 23945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 21:09:17 +00:00
Måns Rullgård
a158446b28 configure: replace unwarranted gcc bashing with a real explanation
Originally committed as revision 23929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 11:11:23 +00:00
Måns Rullgård
534a2231f6 Check for fcntl()
Originally committed as revision 23902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 10:38:01 +00:00
Måns Rullgård
1b15dc3ca8 configure: make --disable-everything soft-disable things
This allows explicitly enabled things to _select others with the
intended result.

Originally committed as revision 23843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 10:02:12 +00:00
Måns Rullgård
765e61349c Make implicit function declarations an error
Originally committed as revision 23823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 14:16:54 +00:00
Måns Rullgård
2829ce4b40 Remove PPC perf counter support
This functionality is better accessed through tools like oprofile.

Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 22:23:35 +00:00
Måns Rullgård
a788196e20 Remove --enable-gprof flag
gprof is far too intrusive to be of use as a profile for ffmpeg,
and it fails to build in many configurations.  Oprofile is a
better tool for profiling on Linux.

Originally committed as revision 23807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 22:23:29 +00:00
Måns Rullgård
0912db0206 Make vp8 select h264dsp and use this to pull in mmx intrapred
Originally committed as revision 23790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 19:10:08 +00:00
Måns Rullgård
eb7626a32b configure: remove superflous -lm flags
Originally committed as revision 23781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 15:45:08 +00:00
Måns Rullgård
60361817ee configure: reverse order of -l flags
Adding new libs to the front of the list allows them to resolve
symbols against previously added ones.

Originally committed as revision 23780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 15:45:04 +00:00
Måns Rullgård
3091eeb363 configure: remove unused flag save/restore functions
Originally committed as revision 23779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 15:45:01 +00:00
Måns Rullgård
9efdf9b5c0 configure: simplify append function
Originally committed as revision 23778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 15:44:58 +00:00
Måns Rullgård
84400e9d10 configure: simplify check_lib function
Originally committed as revision 23777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 15:44:55 +00:00
Måns Rullgård
ad4d974c36 configure: remove unused function check_foo_config
Originally committed as revision 23776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 15:44:52 +00:00
Måns Rullgård
851ffa803f configure: use warn function for unrecognised --cc and --arch settings
Originally committed as revision 23762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 20:49:39 +00:00
Måns Rullgård
31a0dcb232 configure: warn about missing yasm
Originally committed as revision 23761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 20:49:37 +00:00
Måns Rullgård
7bfc8ae69f configure: add 'warn' function
The 'warn' function records a warning message for display after other
informational messages.

Originally committed as revision 23760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 20:49:32 +00:00
Francesco Lavra
31ed3f1f1d Fix dependencies for the ra_144 encoder
Patch by Francesco Lavra, francescolavra at interfree dot it

Originally committed as revision 23748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 06:53:35 +00:00
Måns Rullgård
0dbfc1db21 Enable pthreads automatically unless w32threads is requested
Originally committed as revision 23733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 02:13:54 +00:00
Måns Rullgård
20843f51e7 Remove OS/2 threads support
OS/2 SMP support is rare, and a pthreads library exists.
No need to keep this code.

Originally committed as revision 23731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 00:08:21 +00:00
Diego Pettenò
a65e687b2f Add barcelona to the list of cmov/fast_cmov compatible CPUs.
For GCC, barcelona is just an alias for amdfam10, so simply add it in
there.

Originally committed as revision 23730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 23:26:03 +00:00
Måns Rullgård
9f342dabc6 Remove beosthreads support
Relevant BeOS variants support pthreads, so there is no need to
maintain the beos-native threads interface.

Originally committed as revision 23729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 23:18:13 +00:00
Ramiro Polla
be90cd2718 configure: preserve cross-prefix for strip on darwin
Originally committed as revision 23657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 16:58:44 +00:00
Måns Rullgård
6a74b1272e Remove libfaad wrapper
Originally committed as revision 23653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 10:24:05 +00:00
Laurent Aimar
164aab02a0 MPEG-2 DXVA2 implementation
It allows VLD MPEG-2 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API.

Originally committed as revision 23644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-18 20:07:43 +00:00
Stefano Sabatini
19bd477d68 Name the default configure log filename as "config.log" rather than
"config.err". The former name was misleading, as the file contains
useful information not necessarily related to errors.

Originally committed as revision 23630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-16 18:41:26 +00:00
Måns Rullgård
0884fadf68 configure: fix symver detection with icc 10
Apparently the compiler sometimes bypasses the normal assembler, in
which case the asm label variant works.  If the file contains any
inline asm, this bypassing is not done, and the assembler chokes on
invalid syntax.  Inserting a dummy asm() statement in the test when
the compiler supports it makes sure no shortcuts are taken and the
test fails as it should.

Originally committed as revision 23616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-15 18:06:28 +00:00
Måns Rullgård
b462d13262 Add compatibility wrappers for functions moved from lavf to lavc
When symbol versioning is enabled, moving symbols from one library to
another breaks binary compatibility.  This adds wrappers with the old
version tag for the av_*packet functions recently moved to lavc.

Originally committed as revision 23611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-15 13:26:52 +00:00
Francesco Lavra
d31ba23185 RealAudio 14.4k encoder.
Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 09:01:25 +00:00
Diego Biurrun
c1b85795cb Remove broken BeOS audio interface.
Originally committed as revision 23568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 17:23:45 +00:00
François Revol
108caaaa60 Haiku: Disable beosaudio for now, it's broken. We need -lnetwork.
Originally committed as revision 23567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 17:20:05 +00:00
Diego Biurrun
63ae7e7ca8 Apparently nowadays things should be installed in /boot/common on Haiku.
Originally committed as revision 23565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 16:58:04 +00:00
Diego Biurrun
d3c9697cb5 Remove unneeded -nostart SHFLAG for Haiku.
Originally committed as revision 23564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 16:56:37 +00:00
Diego Biurrun
a1629e2848 Remove support for pre-Haiku, non-POSIX, non-C99 BeOS variants.
BeOS support has been broken for many years and the "maintainer" of the port
has not reacted to countless requests to get the port fixed.
approved by Mans

Originally committed as revision 23562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 16:51:14 +00:00
Luca Barbato
3a9bc39eaf librtmp may link to different ssl implementations
Make sure we link using the right libs by using pkg-config

Originally committed as revision 23511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 19:35:10 +00:00
Diego Biurrun
788c82e308 libvpx now has an (L)GPL-compatible license.
Originally committed as revision 23482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 08:01:47 +00:00
James Zern
ee0e91462c VP8 encoding via libvpx.
Patch by James Zern, Google, Inc.

Originally committed as revision 23449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:47:59 +00:00
Jason Garrett-Glaser
652d9d24dc Properly initialize x264_picture_t in libx264.
Bump libx264 version requirement accordingly.

Originally committed as revision 23430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 20:05:27 +00:00
Måns Rullgård
42719e2051 Use .p2align in ASMALIGN() macro
The test for .align syntax was apparently unreliable with some compilers.
Using the .p2align directive instead avoids the need for this test.

Originally committed as revision 23428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 18:55:17 +00:00
Reimar Döffinger
edd43c9593 Do not check_lib for -lva if vaapi is disabled, having -lva in extralibs
if vaapi is disabled is at best pointless.

Originally committed as revision 23417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 20:26:10 +00:00
Peter Ross
21ae67900e automatically enable buffer_filter when compiling ffmpeg
Fixes issue 1949

Originally committed as revision 23388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-30 12:19:26 +00:00
Diego Biurrun
2c780abfdb Require --enable-nonfree flag for libvpx.
The license of libvpx is incompatible with the (L)GPL.  As long as this is
the case, the only way to use it is by marking the result as nonfree.

Originally committed as revision 23371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-29 09:40:22 +00:00
Måns Rullgård
b4cf3f6c62 mmst_protocol depends on network
Originally committed as revision 23310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 13:02:44 +00:00
Martin Storsjö
c4c302f1af Look for libvpx headers in the vpx subdirectory in configure, too
Originally committed as revision 23308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 09:21:59 +00:00
James Zern
8299a7f819 VP8 decoding via libvpx.
Patch by James Zern for Google, Inc., jzern google com

Originally committed as revision 23303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 01:19:08 +00:00
Martin Storsjö
deeb7012b9 Change inter-protocol dependencies from _deps to _select
Originally committed as revision 23137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 18:51:46 +00:00
Janne Grunau
405213b736 Add -ldl to libfaadbin_extralibs instead of libfaadbin_decoder_extralibs.
The latter does not exist and thus compilation fails.
patch by Janne Grunau, janne-ffmpeg jannau.net

Originally committed as revision 23087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 15:58:50 +00:00
Reimar Döffinger
c12caa32b2 Remove hardcoded-tables hack for IA-64: with latest binutils that now actually
causes linking errors instead of avoiding them.

Originally committed as revision 23058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 16:32:05 +00:00
Michael Niedermayer
cccc039f71 Enable libavfilter by default and fix pading for mxf-d10
Originally committed as revision 23048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:52:05 +00:00
Michael Kostylev
87ddc38bdb configure: update suncc SPARC CPU name mapping
Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 23047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:50:55 +00:00
Michael Kostylev
26b7199e12 SPARC: disable VIS for Niagara CPU
The Niagara/T1 supports only a subset of VIS, and even this is very slow.

Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 23045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 10:17:25 +00:00
Jason Garrett-Glaser
e8c7fca90c Add intra refresh and crf-max support to the libavcodec libx264 wrapper.
Minor version bump.

Originally committed as revision 23038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-06 22:38:18 +00:00
Måns Rullgård
b05394a081 configure: allow compiler-specific flags for --disable-optimizations
ICC needs at least -O1 to link so add this when optimisations are
otherwise disabled.

Originally committed as revision 23013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-03 15:14:55 +00:00
Carl Eugen Hoyos
121d78d00c Allow to set archiver tool ar.
Originally committed as revision 23010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-02 18:59:15 +00:00
Måns Rullgård
3bfd582c96 Set ARCH=c with --disable-asm, fix build
Originally committed as revision 22967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-26 20:30:02 +00:00
Ronald S. Bultje
005ad8a0de Make WMAVoice decoder depend on DCT/RDFT
Originally committed as revision 22955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-23 16:41:55 +00:00
Måns Rullgård
07876e25c8 Workaround for missing llrintf()
Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-23 16:28:10 +00:00
Måns Rullgård
60877ad941 Revert "Fix libx264 configure check to use pkg-config if available."
There are problems using pkg-config, and a better solution is being
worked on.

Originally committed as revision 22914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 19:37:31 +00:00
Jason Garrett-Glaser
73f3f30de5 Fix libx264 configure check to use pkg-config if available.
Originally committed as revision 22913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 19:34:37 +00:00
Måns Rullgård
8469ae22a8 configure: simplify $COMPONENT_LIST handling
This lets check_deps set the generic CONFIG_ENCODERS and friends using
an _if_any construct.

Originally committed as revision 22911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 12:49:56 +00:00
Måns Rullgård
0afab17ef9 configure: simplify vaapi dependencies
Originally committed as revision 22910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 12:49:53 +00:00
Måns Rullgård
c89c96e989 configure: simplify vdpau dependencies
Originally committed as revision 22909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 12:49:51 +00:00
Alexander Strange
13cb218724 configure: restore -mdynamic-no-pic on darwin (missing since r20497)
Darwin compilers default to PIC on, so -mdynamic-no-pic (which disables it
again) needs to be added to cflags before enable pic is checked.

Fixes compilation without --enable-shared at least the 10.6 system compiler
for x86-32.
Fixes speed regression on all darwin arches except x86-64.

Originally committed as revision 22730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-30 16:28:00 +00:00
Howard Chu
0f943ce663 Implement support to RTMP, RTMPT, RTMPE, RTMPTE, RTMPS protocols via
librtmp.

Patch by Howard Chu <hyc * highlandsun * com>.

Originally committed as revision 22710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-28 13:39:36 +00:00
Stefano Sabatini
87958234f9 Implement av_strerror().
Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-25 22:46:35 +00:00
Måns Rullgård
43f60eba19 Move arch-specific makefile parts into $arch/Makefile
Originally committed as revision 22569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 21:22:59 +00:00
Måns Rullgård
e0e335a023 configure: do not use $_
Both bash and ksh abuse this variable even in POSIX mode, leading
to unpleasant surprises.

Originally committed as revision 22568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 21:22:54 +00:00
Måns Rullgård
4693b031a3 Move H264 dsputil functions into their own struct
This moves the H264-specific functions from DSPContext to the new
H264DSPContext.  The code is made conditional on CONFIG_H264DSP
which is set by the codecs requiring it.

The qpel and chroma MC functions are not moved as these are used by
non-h264 code.

Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 01:17:00 +00:00
Måns Rullgård
2fad097788 Add FATE tests
This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".

The location of the FATE test samples must be specified with the
--samples=PATH option to configure.

The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database.  These are checked in since
generating them requires non-standard tools.

Originally committed as revision 22552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 19:23:24 +00:00
Martin Storsjö
0298cc04bd Add dependencies used by the RDT and ASF/RTP code
Originally committed as revision 22538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 08:35:07 +00:00
Måns Rullgård
05aec7bb87 Separate DWT from snow and dsputil
This moves the DWT functions from snow.c and dsputil.c to a file of
their own.  A new struct, DWTContext, holds the function pointers
previously part of DSPContext.

Originally committed as revision 22522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 17:50:12 +00:00
Diego Biurrun
2138dc99fc Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.
This make NetBSD compile out of the box at the cost of a hack, but a
locally contained one that is preferable to the one used in the wild.
Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work
around broken system headers. Since it is unlikely for NetBSD to fix their
headers, it is better to use a standard flag instead of a system-specific one.

As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition.

Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-12 17:28:02 +00:00
Ramiro Polla
bb55e3a33d Document --disable-everything in configure --help.
Originally committed as revision 22481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-12 13:03:40 +00:00
Måns Rullgård
3952471da5 configure: remove stray semicolon
Originally committed as revision 22445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:42:13 +00:00
Måns Rullgård
54a2ae3728 configure: use map() function in a couple of places
Originally committed as revision 22444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:39:06 +00:00
Måns Rullgård
36e2dea032 configure: add --disable-everything option
This disables all codecs, formats, etc.  It saves some typing when
only a few components are desired.

Originally committed as revision 22443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:39:02 +00:00
Måns Rullgård
47b1860eef configure: allow mips64el and powerpc64 as values for --arch
Originally committed as revision 22439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:24:39 +00:00
Måns Rullgård
9a894c48ae undef av_always_inline before redefining
Fixes numerous warnings with --enable-small or --disable-optimizations.

Originally committed as revision 22430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 12:29:44 +00:00
Måns Rullgård
1afc4750ef configure: always write shared lib variables to config.mak
Originally committed as revision 22395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 14:58:22 +00:00
Peter Ross
279a0c976e Enable tcp_protocol when enabling http
Originally committed as revision 22388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 12:09:55 +00:00
Georgi Chorbadzhiyski
49351479ea Add missing build dependencies for the AAC decoder caused by adding of SBR.
Patch by Georgi Chorbadzhiyski gf at unixsol dor org

Originally committed as revision 22373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 06:10:01 +00:00
Måns Rullgård
de63bfecd2 Error on missing function prototypes with gcc
This makes it an error to not have a prototype in scope for
a function with external linkage.  The flag is only enabled
for gcc due to -Werror=type not working with all compilers.

Originally committed as revision 22313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 02:36:27 +00:00
Måns Rullgård
62df111cf0 Use -Werror=implicit only with gcc
Some other compilers turn too many warnings into errors with this flag.

Originally committed as revision 22276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 06:53:12 +00:00
David Conrad
4def700e9e Fix clang sysroot flag
Older versions accepted both with and without an '=', but newer versions
require the '=' to be omitted

Originally committed as revision 22274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 03:01:36 +00:00
Måns Rullgård
1e50348a2a Error on implicit function declarations
Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.

Originally committed as revision 22269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 23:19:07 +00:00
Måns Rullgård
6cfac0e908 Fix make install
Originally committed as revision 22245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:44:18 +00:00
Måns Rullgård
fd676deb96 Add INSTALL makefile variable
Originally committed as revision 22242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:13 +00:00
Måns Rullgård
4335125ccc Add CP make variable
Originally committed as revision 22240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:08 +00:00
Måns Rullgård
a4aea515b0 Add YASMDEP variable; use for deps on yasm files
Originally committed as revision 22239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:06 +00:00
Måns Rullgård
b781cc1282 Make lsp a separate configurable and select it from codecs needing it
Originally committed as revision 22143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 03:16:27 +00:00
Diego Biurrun
fc298fd9be Add -Wmissing-prototypes to CFLAGS if available.
Originally committed as revision 22009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 21:03:25 +00:00
Daniel Verkamp
fa7252494c Fix snow encoder dependencies
Originally committed as revision 21985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 08:10:01 +00:00
Daniel Verkamp
19ecfb8aeb Fix svq1 encoder dependencies
Originally committed as revision 21984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 08:04:55 +00:00
Reimar Döffinger
fc5607f862 Make -benchmark also print the maximum memory usage if possible.
Originally committed as revision 21973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 22:21:58 +00:00
Martin Storsjö
6f5a3d0a7b Add an RTSP muxer
Originally committed as revision 21971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 21:28:19 +00:00
Måns Rullgård
dd4a03f7b3 Revert "Suppress icc warnings about unknown attributes"
This reverts r21884.  Apparently people want those warnings.

Originally committed as revision 21954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 00:34:12 +00:00
Måns Rullgård
976d7bf71c Suppress armcc warnings about unknown attributes
Originally committed as revision 21950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 23:28:20 +00:00
Stefano Sabatini
336ce917e6 Add FFprobe tool.
This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/

Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.

Originally committed as revision 21936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 11:43:01 +00:00
Måns Rullgård
b80218aa53 Suppress icc warnings about unknown attributes
Originally committed as revision 21884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-18 19:14:48 +00:00
Måns Rullgård
4f83739855 configure: allow setting strip tool with --strip
Originally committed as revision 21869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 21:37:33 +00:00
Måns Rullgård
e6a0c3540d PPC and x86 support aligning variables on stack
Originally committed as revision 21865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 20:36:15 +00:00
Måns Rullgård
d96cd42969 Add LOCAL_ALIGNED() macro for declaring aligned local arrays
Originally committed as revision 21864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 20:36:12 +00:00
Måns Rullgård
0844bae1ad Add "tomi" architecture
Originally committed as revision 21767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:59:49 +00:00
Måns Rullgård
8d4c00ed38 configure: require --arch and --target-os when cross-compiling
Originally committed as revision 21766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:57:52 +00:00
Måns Rullgård
4368990236 ffplay depends on rdft
Spotted by Ramiro.

Originally committed as revision 21765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:40:47 +00:00
Måns Rullgård
084cbbaab4 configure: add missing mdct deps
Originally committed as revision 21763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:40:39 +00:00
Måns Rullgård
26fbcc85d9 configure: make mdct and rdft select fft and update other deps
Originally committed as revision 21762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:40:37 +00:00
Måns Rullgård
33bd38dbd3 Stricter check for math.h functions
GCC is sometimes able to optimise constant calls to these functions,
incorrectly indicating that they exist.  Unoptimised calls will then
fail to link.

Originally committed as revision 21749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-10 22:14:28 +00:00
Måns Rullgård
6b73c0aedc configure: fix cosmetic typo in check_mathfunc
Originally committed as revision 21748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-10 22:14:25 +00:00
Måns Rullgård
645d26520a Special check for math.h functions
These are often, contrary to standards, implemented only as macros
or compiler-builtin functions without an actual symbol definition.

Originally committed as revision 21734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-09 22:55:13 +00:00
Måns Rullgård
0104b608ca Check for setrlimit()
Originally committed as revision 21733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-09 22:55:11 +00:00
Måns Rullgård
614d8911c6 configure: allow 'none' as target OS
Originally committed as revision 21732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-09 22:55:08 +00:00
Reinhard Tartler
5af4150831 libgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Approved by Diego at FOSDEM.

Originally committed as revision 21659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-06 16:52:38 +00:00
Peter Ross
c0d3f516cb Bink Audio decoder
Originally committed as revision 21570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 12:51:15 +00:00
Måns Rullgård
6b35d421b9 Add CONFIG_SRAM to allow use of on-chip SRAM on some systems
Some SoCs have a small amount of on-chip SRAM which may be used
for frequently used code or data.  When enabled, this option
will allow FFmpeg to use such facilities where supported.

Originally committed as revision 21564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 00:20:27 +00:00
Carl Eugen Hoyos
64ad53ff5b Disable Altivec for processors older than G4.
Originally committed as revision 21546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 18:50:28 +00:00
Ancoron Luciferis
7b0b81a16d PPC: allow --cpu=E500[v2]
Patch by Ancoron Luciferis <ancoron chaoslayer de>

Originally committed as revision 21544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 18:07:07 +00:00
Måns Rullgård
5634889107 configure: match PPC CPU types case insensitively
Originally committed as revision 21543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 18:07:05 +00:00
Måns Rullgård
9b86137908 Set target_path to $(CURDIR)
CURDIR is updated by make -C, PWD is not.

Originally committed as revision 21542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 15:48:55 +00:00
Ramiro Polla
b0f36ee1cd Revert commits 21227, 21441, and 21442. None of this is necessary now that we
load the getaddrinfo family of functions through GetProcAddress. Also, there
is currently no feature that gets fixed in Win98 through the use of KernelEx.

Originally committed as revision 21530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-29 19:50:58 +00:00
Måns Rullgård
402d55eef1 Set target_path to $(PWD) by default
This simplifies configuring for the most common remote testing
setup.

Originally committed as revision 21525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-29 04:13:29 +00:00
Måns Rullgård
dffb41b953 Check for may_alias gcc attribute support
Originally committed as revision 21522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-29 03:26:12 +00:00
Måns Rullgård
4ae406856f Add --malloc-prefix to apply a prefix to malloc, free etc
This makes it easy to use a replacement allocator instead of the
system default one.

Originally committed as revision 21509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-28 13:06:31 +00:00
Måns Rullgård
14ca9cd0b0 configure: consolidate compiler-specific optimisation settings
In the main per-compiler section, set speed_cflags and size_cflags
with suitable values.  Later one or the other is added to CFLAGS.

Originally committed as revision 21499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-28 02:50:36 +00:00
Måns Rullgård
dc4f5a1c3a Emit CONFIG_AVUTIL for completeness
Originally committed as revision 21475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-27 12:58:19 +00:00
Måns Rullgård
5a0f713118 Allow disabling of lavc, lavf, lavd, and lsws
Originally committed as revision 21468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-26 23:13:01 +00:00
Måns Rullgård
7f8c3d1f4d configure: fix --cpu=nocona
Use x86_64_suggest instead of _select as otherwise fast_cmov being
disabled (as it should be for nocona) also disables x86_64 breaking
the build.

Originally committed as revision 21446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-25 02:03:10 +00:00
Ramiro Polla
9104cd5161 Check if dxva2api.h is recent enough to compile vc1_dxva2_hwaccel.
Originally committed as revision 21444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-25 01:34:48 +00:00
Martin Storsjö
3debf366c8 Check for getaddrinfo in the winsock headers.
This makes us link directly to getaddrinfo if it is available, making
binaries incompatible with anything prior to windows XP. If compatibility
is desired, compile with --target-os=mingw32-prexp.

Patch by Martin Storsjö <martin at martin dot st>.

Originally committed as revision 21442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-25 01:26:54 +00:00
Martin Storsjö
d9cd11ad44 Only define _WIN32_WINNT=0x0501 if $target_os = "mingw32".
If compatibility with pre-XP versions is desired, use
--target-os=mingw32-prexp
Patch by Martin Storsjö <martin at martin dot st>.

Originally committed as revision 21441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-25 01:25:59 +00:00
Laurent Aimar
f0f86627fe VC-1/WMV3 DXVA2 implementation
It allows VLD VC-1/WMV3 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API.

Originally committed as revision 21424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-24 17:27:00 +00:00
kemuri
a1b3c5a377 Replace every usage of -lvfw32 with what is particularly necessary for
that case:
Avisynth -> -lavifil32
VFW Cap -> -lavicap32
Patch by kemuri <kemuri9 at gmail dot com>

Originally committed as revision 21410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-23 20:42:00 +00:00
Ramiro Polla
27796dc3f4 Use $vfwcap_indev_extralibs variable instead of duplicating "-lvfw32" in
capCreateCaptureWindow() check.
Based on patch by kemuri <kemuri9 at gmail dot com>

Originally committed as revision 21409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-23 20:38:17 +00:00
Ramiro Polla
626c46ec23 Indent.
Originally committed as revision 21408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-23 20:18:38 +00:00
Måns Rullgård
587d24ff25 Suppress TMS470 warnings about alignment directives
Originally committed as revision 21380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-22 03:25:27 +00:00
Måns Rullgård
27ce1be89b configure: fix --cpu=host
The awk command used inadvertently relied on non-standard features.

Originally committed as revision 21376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-22 03:14:19 +00:00
Martin Storsjö
b4d68544c8 Remove IPv4-only codepath. Patch by Martin Storsjö <$first $first st>.
Originally committed as revision 21365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-21 15:42:05 +00:00
Måns Rullgård
5fcb865b75 Translate -mfpu=vfpv3 for TMS470
Originally committed as revision 21357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 20:58:04 +00:00
Måns Rullgård
138132be6d Ignore annoying armcc warnings
Originally committed as revision 21356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 20:06:11 +00:00
Laurent Aimar
92c6a099ba H264 DXVA2 implementation
It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API. It has been tested successfully
for some time in VLC using an nvidia card on Windows 7.

 To compile it, you need to have the system header dxva2api.h (either from
microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h)
 The generated libavcodec.dll does not depend directly on any new lib as
the necessary objects are given by the application using FFmpeg.

Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 18:54:51 +00:00
Ronald S. Bultje
3b2372bff1 Add a check for struct sockaddr->sa_len, which is an indication of whether
the system wants a length entry in all socket structures or not. Patch by
Martin Storsjö <$firstname $firstname st>.

Originally committed as revision 21351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 17:24:23 +00:00
Måns Rullgård
2b444ea723 configure: display --list-* output in three columns
Originally committed as revision 21349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 14:02:58 +00:00
Måns Rullgård
8182dc34b3 configure: use nm -P on Solaris
Originally committed as revision 21348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 13:22:36 +00:00
Vitor Sessak
7f3f5f46c2 Floating point discrete cosine transform
Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 00:39:47 +00:00
Måns Rullgård
2087c82339 configure: do not use character classes with awk
Some broken versions of awk (mawk, apparently used in debian)
do not handle character classes in regular expressions.

Originally committed as revision 21334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 23:18:19 +00:00
Måns Rullgård
ff6e82a968 configure: inlcude sys/types.h when checking sys/socket.h
Silly BSD systems need this despite POSIX requiring nothing of the
kind.  Any system with sys/socket.h should also have sys/types.h,
so this is unlikely to break anything, and we already do this in
another place.

Originally committed as revision 21326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 15:59:04 +00:00
Måns Rullgård
48fc536aba configure: drop -A flag to od
Originally committed as revision 21325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 15:52:43 +00:00
Måns Rullgård
f6993412b7 configure: be more liberal with nm output
Originally committed as revision 21324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 15:52:40 +00:00
Måns Rullgård
a3e02a8cad Create and install libavutil/avconfig.h
This file contains a safe subset of the config.h settings.
Only bigendian is included for now, more can be added as
need arises.

Originally committed as revision 21321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 04:40:16 +00:00
Måns Rullgård
df64279079 configure: create dirs before generating config.*
Originally committed as revision 21319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 04:40:10 +00:00
Måns Rullgård
c34681df42 configure: add cp_if_changed function and use for config.h
Originally committed as revision 21318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 04:40:08 +00:00
Jason Garrett-Glaser
76d81909ae Update libx264.c to use new libx264 features
With b_keyframe instead of IDR for detecting keyframes, ffmpeg should now
support periodic encoding with periodic intra refresh (although there is no
interface option for it yet).
Set the new timebase values for full VFR input support.
Bump configure to check for API version 83.

Originally committed as revision 21317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 04:00:08 +00:00
Måns Rullgård
c8a4ae00dd configure: add --disable-asm option
Originally committed as revision 21303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 23:12:55 +00:00
Måns Rullgård
3784e82e9c configure: rename a variable in check_asm
Originally committed as revision 21302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 23:12:53 +00:00
Måns Rullgård
5d54c12611 configure: fix cpu=generic case
Originally committed as revision 21300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 21:32:57 +00:00
Måns Rullgård
34ba23c975 configure: simplify $cpu handling for some architectures
Originally committed as revision 21298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 21:05:12 +00:00
Måns Rullgård
9dbd5c3dd3 configure: indent
Originally committed as revision 21297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 21:05:08 +00:00
Måns Rullgård
343aef9b33 configure: split $cpu handling by arch
Originally committed as revision 21296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 21:05:05 +00:00
Måns Rullgård
e939cedd9d configure: simplify $arch handling
Originally committed as revision 21295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 21:05:01 +00:00
Måns Rullgård
808fa33c9c configure: group arch extention deps by arch
Originally committed as revision 21294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 21:04:57 +00:00
Måns Rullgård
8d072dd2a9 Only set HAVE_MMX when a supported CPU is specified
Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 01:25:57 +00:00
Måns Rullgård
aa692d547b configure: simplify libsdl check
Originally committed as revision 21268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:10:05 +00:00
Måns Rullgård
14d3675165 configure: add check_struct function
This adds a check_struct function to test for availability of a
member within a struct.

Originally committed as revision 21267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:10:03 +00:00
Måns Rullgård
300cde27b6 configure: simplify check_lib2
Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:05:57 +00:00
Måns Rullgård
f855b7b9c9 configure: pass extra flags to check_cpp from check_cpp_condition
Originally committed as revision 21265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:05:53 +00:00
Måns Rullgård
2a194acd95 configure: pass extra flags to check_cc from check_ld
Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:05:50 +00:00
Måns Rullgård
a482e61bd6 Add symbol versioning for shared libraries
Based on patch by Reinhard Tartler <siretart tauware de>

Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 04:49:02 +00:00
Måns Rullgård
2ed46eeab3 configure: add test_ldflags function
This adds a test_ldflags function for testing linker flags without
adding them to LDFLAGS like check_ldflags does.

Originally committed as revision 21235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 04:48:58 +00:00
Ramiro Polla
ad7da0b551 mingw32: Build for Windows XP by default. Add note about Win9x/2000 support.
Originally committed as revision 21227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-15 20:30:03 +00:00
Jai Menon
598ef02b15 Do not print VDPAU upgrade notice when configure is invoked
with `--disable-vdpau`.

Originally committed as revision 21225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-15 18:50:53 +00:00
Måns Rullgård
669b558330 Set HAVE_FAST_CLZ if CPU has a fast count leading zeros instruction
Originally committed as revision 21216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-14 19:58:09 +00:00
Måns Rullgård
3d7453e056 configure: allow reverse auto-selection of options
This adds the possibility to set foo_if and foo_if_any variables,
causing foo to be enabled if all/any of the listed options are
enabled.

Originally committed as revision 21215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-14 18:25:38 +00:00
Luca Abeni
6f284d197c Surprisingly enough, the RTP muxer does not depend on the RTP protocol
nor on network support.

Originally committed as revision 21202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 22:06:59 +00:00
Måns Rullgård
fbb6c6c2d4 Define !CONFIG_FOO in config.make if feature disabled
Originally committed as revision 21192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 17:48:13 +00:00
Vitor Sessak
6b7c7703f4 Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.
Should fix build breakage on some platforms introduced in r21125.

Originally committed as revision 21155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 02:19:51 +00:00
Martin Storsjö
33a4dbdd03 Check for struct sockaddr_storage. Patch by Martin Storsjö
<$firstname()$firstname,st>.

Originally committed as revision 21148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:42:15 +00:00
Martin Storsjö
c001861351 Check for struct addrinfo availability. Patch by Martin Storsjö
<$firstname()$firstname,st>.

Originally committed as revision 21144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:17:01 +00:00
Martin Storsjö
84882df62b Check for getaddrinfo(), patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:01:56 +00:00
Martin Storsjö
ae550ce9eb configure: Make check_type handle type names containing spaces
Patch by Martin Storsjö <martin at martin st>

Originally committed as revision 21139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 14:22:29 +00:00
Måns Rullgård
fd07f803b1 configure: allow names with spaces in enable/disable_safe
Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 13:36:58 +00:00
David Conrad
24ca518bd1 Add support for dirac in ogg
Originally committed as revision 21128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 00:31:52 +00:00
Diego Biurrun
abf649c777 Fix VDPAU check to avoid printing spurious messages to the console.
Originally committed as revision 21016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-04 16:29:19 +00:00
Jai Menon
68d7cb0b11 Do not print libvdpau upgrade advice on platforms without vdpau
headers installed.

Originally committed as revision 21014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-04 15:06:28 +00:00
Diego Biurrun
2cca233bc9 The MLP decoder depends on the MLP parser.
Originally committed as revision 20966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 14:18:27 +00:00
Diego Biurrun
aec09a004c Enable the TrueHD decoder when the MLP decoder is enabled.
They share all code, there is no point in enabling one but not the other.

Originally committed as revision 20965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 13:48:48 +00:00
Diego Biurrun
5b423887f4 Declare AC-3 parser dependency of AC-3 decoder and EAC-3 demuxer in configure.
Originally committed as revision 20964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 13:14:41 +00:00
Diego Biurrun
f1e946943a Declare AAC parser dependencies in configure.
This affects the AAC decoder, S/PDIF muxer and ADTS to ASC bitstream filter.

Originally committed as revision 20961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 11:42:16 +00:00
Diego Biurrun
f95bfab05c Declare WMV1/WMV2/VC-1 decoder dependency on the H.263 decoder in configure.
Originally committed as revision 20959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 11:11:07 +00:00
Diego Biurrun
a8beb22f4d Declare dependencies of RV10/RV20 decoders on the H.263 decoder in configure.
Originally committed as revision 20953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 18:05:34 +00:00
Diego Biurrun
4414137eba Declare dependencies for H.263 family decoders in configure.
Originally committed as revision 20952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 18:00:07 +00:00
Diego Biurrun
7f647ae0b1 Declare the dependency of the H.263 decoder on the H.263 parser in configure.
Originally committed as revision 20951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 17:45:31 +00:00
Alex Converse
d1ebd4a995 10l: Don't spawn a subshell when disabling vdpau.
Originally committed as revision 20867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-14 18:18:51 +00:00
Alex Converse
deda2a4a72 Disable vdpau support if the detected libvdpau does not support MPEG-4.
Originally committed as revision 20854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-14 06:33:43 +00:00
Baptiste Coudurier
0a04566120 Check Xfixes.h header presence before enabling x11grab.
This fixes compilation when lib is present but not header.

Originally committed as revision 20673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 21:43:03 +00:00
Roxis
781c1aa6dc Real cursor support in x11grab.
Patch by Roxis /// roxis list dot ru
Slight changes by me to update the patch to current svn.

Originally committed as revision 20631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-27 17:58:48 +00:00
Jason Garrett-Glaser
096c87f667 Add weightp support in API for libx264.
ffmpeg can encode baseline profile again.

Originally committed as revision 20600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-24 15:49:34 +00:00
David Conrad
c261a5d927 libtheora: using the 1.0 API requires linking to both
libtheoraenc and libtheoradec; libtheora is the pre-1.0 library.
Documented at http://theora.org/doc/libtheora-1.0/
Fixes issue1564

Originally committed as revision 20588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-23 18:18:21 +00:00
David Conrad
bdc8c48893 Update libtheora wrapper to use the 1.0 API
Originally committed as revision 20580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-22 21:08:37 +00:00
Diego Biurrun
c173693698 Add functions to return library license and library configuration.
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-18 17:15:17 +00:00
Michael Kostylev
03279bbea0 Add cflags filter for suncc
Patch by Michael Kostylev <gmail>.

Originally committed as revision 20532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-13 20:24:42 +00:00
NVIDIA Corporation
70e0c871eb Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 18:52:39 +00:00
Reimar Döffinger
7fc58b1eeb Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 12:59:56 +00:00
Reimar Döffinger
5755bc88e5 Check if PIC is somehow already enabled (e.g. a compiler that enables it by default).
This in particular ensures that -DPIC is set appropriately for YASM, which avoids
linking failures on x86_64 for compilers that have PIE enabled by default
(e.g. hardened Gentoo).
It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete.

Originally committed as revision 20497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 12:57:28 +00:00
Måns Rullgård
7c4a001a33 configure: whitespace cosmetics
Originally committed as revision 20494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 00:23:42 +00:00
Reimar Döffinger
a7b9c8aefd Attempt to document the "enable pic" hackery for OpenBSD.
Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:52:46 +00:00
Reimar Döffinger
f6e8140941 Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
and -DPIC makes little sense without -fPIC or similar - if -fPIC is
enabled by default, libavutil/internal.h defines PICi anyway.

Originally committed as revision 20486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 17:05:38 +00:00
Reimar Döffinger
5f36d94d9d Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.

Originally committed as revision 20478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 22:39:10 +00:00
Reimar Döffinger
a34ebe60e9 Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.

Originally committed as revision 20476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 14:50:47 +00:00
Måns Rullgård
64de20d18b PPC: make inline asm xform address test work with Apple tools
Originally committed as revision 20466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:09 +00:00
Måns Rullgård
ffa3bd54da IA64: do not automatically enable hardcoded tables if explicitly disabled
Originally committed as revision 20465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:05 +00:00
Måns Rullgård
58b3536dd5 configure: fix 64-bit test with clang
Originally committed as revision 20431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-01 20:14:56 +00:00
Michael Kostylev
faa374b72c configure: remove extra backslashes from suncc DEPEND_CMD
Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 20428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 16:33:38 +00:00
Måns Rullgård
0645487701 configure: use here-doc for --help output
Originally committed as revision 20427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:08 +00:00
Måns Rullgård
173c983b52 configure: use here-docs instead of echo for writing config.{h,mak}
Originally committed as revision 20426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:03 +00:00
Måns Rullgård
b4f9356433 configure: simplify setting of SDL flags in config.mak
Originally committed as revision 20425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:57 +00:00
Måns Rullgård
c73f65d979 Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:49 +00:00
Måns Rullgård
ad212cc6ba configure: simplify STRIP setting in config.mak
Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:44 +00:00
Reimar Döffinger
0956bc9b83 Enable hardcoded tables for ia64 shared builds.
At least for cross-compilation with Gentoo gcc 4.4.2 it fixes the build errors
due to GPREL 22 being insufficient for the .bss size of > 4 MB without it.
Why these errors do not appear with static builds is unclear, it is not due
to PIC (shared builds with PIC disabled show the same issue).

Originally committed as revision 20409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:44:21 +00:00
Måns Rullgård
f0125de9d1 configure: add C99 flags to HOSTCFLAGS
Originally committed as revision 20408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:19:15 +00:00
Michael Kostylev
2a472e9c5d Detect Sun Studio compiler and set appropriate variables.
Add dependency generation commands compatible with Sun Studio.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 14:24:04 +00:00
Michael Kostylev
0600d30ae4 Avoid "-z text" diversion on SunOS x86, needed to make FATE happy.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-26 10:18:35 +00:00
Reimar Döffinger
d3ee771514 Support amdfam10 for --cpu, also avoids a warning about unknown cpu if
--cpu=host is used on AMD Phenom and newer at least.

Originally committed as revision 20367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 17:24:25 +00:00
Diego Biurrun
76e6e9c330 Remove ancient redir demuxer.
HTTP supports redirection just fine without it.

Originally committed as revision 20361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 12:44:27 +00:00
David Conrad
06da694372 Add clang to detected compilers
Originally committed as revision 20350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 21:19:13 +00:00
Jason Garrett-Glaser
1953898162 Update libx264.c for x264 API change
Change behavior of b-pyramid option.

Originally committed as revision 20308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 09:35:19 +00:00
Justin Ruggles
f4d608e344 add CONFIG_LPC to the build system for lpc dsputil functions. fixes build
problems when lpc.c is not compiled.

Originally committed as revision 20285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 19:51:18 +00:00
Måns Rullgård
e276d9e82d ARM: force PIC for shared libs only with ARMv6T2 and later
Originally committed as revision 20207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 14:32:18 +00:00
Måns Rullgård
1fce58c2fc ARM: enable PIC for shared libs
Recent versions of gcc generate movw/movt pairs, and the linkers fail
to handle the associated relocations properly.  Those responsible at
Codesourcery have refused to consider fixing this.  Blame them for
making shared libraries slower than they need to be.

Originally committed as revision 20203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 10:15:45 +00:00
Måns Rullgård
c7f7978ae3 configure: define extern symbol prefix without quotes for for asm files
Originally committed as revision 20146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:57 +00:00
Måns Rullgård
8dfa86f78a Do not use -mdynamic-no-pic if PIC is enabled
Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:54 +00:00
Måns Rullgård
50fa82e6d2 ARM: add -marm flag since we do not support Thumb
Originally committed as revision 20144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:52 +00:00
David Conrad
de27f4d957 Check whether 32-bit x86 is really 64-bit
Fixes configure on OS X 10.6

Originally committed as revision 20134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 21:38:25 +00:00
Måns Rullgård
7cee5421d6 configure: break a long line
Originally committed as revision 20108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 22:08:16 +00:00
Reimar Döffinger
e04a3c9613 Re-add check for compilation failure with ebx clobber, and only set
ebx_available if both "b" constraint and exb clobber code compile.
This is to fix compilation with Mac OSX 10.5.8's gcc 4.0.1 in 64
bit mode (-m64) which only fails for ebx/rbx clobbers but not
"b" constraints - this is probably a compiler bug.

Originally committed as revision 20107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:57:13 +00:00
Måns Rullgård
49214f61a5 configure: return result of test from check_asm
This makes it possible to use check_asm in conditionals.

Originally committed as revision 20105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:38:11 +00:00
Reimar Döffinger
5baaf9adaf Use a "b" constraint instead of ebx clobber to detect if EBX is available.
The test using clobber incorrectly indicates ebx to be available with the
default compilers on OpenBSD 4.5 and Haiku.

Originally committed as revision 20101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 16:55:32 +00:00
Reimar Döffinger
f494213c6d Fix typo in comment.
Originally committed as revision 20097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 12:39:18 +00:00
Måns Rullgård
a27090208e configure: fix tms470 flag mapping for soft-float
Originally committed as revision 19998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 13:52:50 +00:00
Måns Rullgård
6a0d5493b3 ARM: improve armcc detection
Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

Originally committed as revision 19985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 10:48:58 +00:00
Jason Garrett-Glaser
2d3beedee2 Add support for new x264 API.
Originally committed as revision 19977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 09:03:26 +00:00
Måns Rullgård
6e3fa35d29 Set compiler version string for supported non-gcc compilers
Originally committed as revision 19972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 20:38:03 +00:00
Diego Biurrun
a3d7c19728 Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.

Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 12:23:14 +00:00
Diego Biurrun
6bdaa5f46d The W64 demuxer depends on the WAV demuxer.
Originally committed as revision 19960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 11:17:29 +00:00
Diego Biurrun
523ef55119 Deinterleave the generation of config.h and config.mak.
As a sideeffect this moves more interesting variables to the top of config.mak.

Originally committed as revision 19950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 12:51:45 +00:00
Måns Rullgård
b767b9cd4b configure: remove some unnecessary backslashes
Originally committed as revision 19937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:14 +00:00
Stefano Sabatini
8cd6b388f4 Make pkgconfig_generate() fill Libs with the required linking flags
if the "shared" var has not been explicitely enabled, rather than if
it has been explicitly disabled.

This way is not necessary to explicitly disable shared libraries in
order to have a pc file usable with only static libraries.

Originally committed as revision 19868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-15 23:54:31 +00:00
Måns Rullgård
95e561ec3e configure: add -g to ASFLAGS when debug is enabled
Originally committed as revision 19804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-10 02:42:19 +00:00
Reimar Döffinger
f7ba16a7f4 Fix typo in configure error message.
Originally committed as revision 19803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-09 23:07:00 +00:00
Måns Rullgård
e69bb386a2 configure: fix check for x264
libx264 recently started mangling the name of x264_encoder_open() to
prevent version mismatches, breaking our test.  Checking for another
function instead makes it work again.

Originally committed as revision 19754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-02 22:53:31 +00:00
Måns Rullgård
98ef60791d configure: fix filter() function when matching multiple patterns
This makes comma-separated patters to --disable-decoder and friends
work correctly with POSIX-compliant shells.

Originally committed as revision 19688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 15:39:39 +00:00
Måns Rullgård
bce7b696a2 Add PIC flags early so tests they affect give correct results
This is mainly the checks for ebx on x86, but possibly others too.

Originally committed as revision 19687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 13:46:07 +00:00
Måns Rullgård
566ae9fbc2 configure: simplify directory creation for out of tree builds
Originally committed as revision 19684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 11:02:35 +00:00
Måns Rullgård
8a3c86277b configure: add --enable-pic flag
Using this flag enables position-independent code even when not strictly
required.  It is impossible to use --disable-pic to forcibly disable PIC
when other properties mandate it.

Originally committed as revision 19672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-20 01:06:18 +00:00
Måns Rullgård
fdcd782dd9 configure: add AVR32 names for --cpu flag
Recognise AVR32 processor names as well as the generic "ap" and "uc"
family names as values for --cpu.  Also define two subtypes, avr32_ap
and avr32_uc.

Originally committed as revision 19663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-17 00:15:48 +00:00
Diego Biurrun
2513b2b436 Use pkg-config to generate the linker flags for libdirac.
We do the same for libschroedinger and already use pkg-config to generate
the CFLAGS for libdirac anyway, so there is no new dependency.
Thanks to Kovensky for reporting breakage on IRC.

Originally committed as revision 19654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 12:35:15 +00:00
Måns Rullgård
aef6bd1bdd Fix dependency generation with ccache/gcc
When running behind ccache, the output from -MMD is corrupted unless
we also use the -MF and -MT flags.

Since ccache is difficult to detect and gcc 2.x doesn't support the
-MF and -MT flags, we always use the old dependency generation method
when gcc 2.x is detected.

Originally committed as revision 19620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 17:25:46 +00:00
Måns Rullgård
8f0c157aaa configure: fix gcc detection for v2.95
Originally committed as revision 19619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 17:25:42 +00:00
Alexander Strange
2704bd1a09 Fix the EBX available configure check on Darwin/i386.
-mdynamic-no-pic is required for it, but it was only
added to CFLAGS and the check only used ASFLAGS.

Originally committed as revision 19614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 08:18:05 +00:00
Måns Rullgård
07dec06e6a Generate dependencies while compiling if supported by compiler
Originally committed as revision 19609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-08 18:27:27 +00:00
Måns Rullgård
c1c3933a98 Generate dependencies when object files are built
Originally committed as revision 19608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-08 18:27:22 +00:00
Måns Rullgård
8b93ddc340 configure: allow comma-separated list in --enable/disable-thing=name
The argument to these options is now a comma-separated list of shell
patterns, e.g. --disable-decoder='indeo*,rv*'

Originally committed as revision 19604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:45:25 +00:00
Måns Rullgård
be8f2501dd configure: allow wildcards in --enable/disable-thing=name
The name can now be a standard shell pattern.  For example,
--disable-encoder=* disables all encoders.

Originally committed as revision 19603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:45:22 +00:00
Måns Rullgård
d22c13a8df configure: support --cpu=host to tune for the host system
This requires a gcc version with -march=native or -mcpu=native support,
which is somewhat random for non-x86.

Originally committed as revision 19602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:45:19 +00:00
Diego Biurrun
1746e2a936 Make WMV2 encoder depend on H.263 encoder in configure.
Originally committed as revision 19601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:04:59 +00:00
Diego Biurrun
c37de5e194 Make MPEG-4 encoder depend on H.263 encoder in configure.
Originally committed as revision 19600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 13:04:48 +00:00
Diego Biurrun
665507aac2 Make WMV1 encoder depend on H.263 encoder in configure.
Originally committed as revision 19599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 12:56:25 +00:00
Diego Biurrun
4d4b4bd149 Make FLV encoder depend on H.263 encoder in configure.
Originally committed as revision 19597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:26:54 +00:00
Diego Biurrun
fe629c2d2c Make H.263+ (H263P) encoder depend on H.263 encoder in configure.
Originally committed as revision 19595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:21:36 +00:00
Diego Biurrun
4e169d89f3 Declare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
H.263 encoder in configure.

Originally committed as revision 19594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 13:02:04 +00:00
Diego Biurrun
b2bf38b446 Declare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.
Originally committed as revision 19592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 10:44:12 +00:00
Diego Biurrun
4d8eecf475 Make XVMC mpegvideo decoder depend on mpegvideo decoder.
It makes no sense to enable the former without the latter.

Originally committed as revision 19565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 14:47:26 +00:00
Måns Rullgård
cbf298899d RTMP needs tcp_protocol
Originally committed as revision 19557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-31 07:40:35 +00:00
Jeff Downs
abbe30ad89 Make av_always_inline a no-op when --disable-optimizations is supplied to
configure

Originally committed as revision 19555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 22:41:05 +00:00
Diego Biurrun
75af07495a Revert addition of '#undef av_always_inline' to config.h in the small case.
Instead, #include config.h at the top of common.h so that av_always_inline
does not get doubly defined.

Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 21:58:43 +00:00
Jeff Downs
e12e2848a3 Undefine av_always_inline before setting it to an empty value.
This avoids a ton of redefinition warnings.
patch by Jeff Downs, heydowns borg com

Originally committed as revision 19548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 20:28:07 +00:00
Måns Rullgård
bea81a52c9 Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:48 +00:00
Måns Rullgård
cd78208bd6 Enable PIC unconditionally on OpenBSD
Originally committed as revision 19526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:42 +00:00
Måns Rullgård
ac0bed5491 configure: always write PIC flags to config.mak
Originally committed as revision 19525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:36 +00:00
Måns Rullgård
a15b0af815 configure: enable PIC in per-arch section instead of separately
Originally committed as revision 19524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:33 +00:00
Martin Storsjö
9d3f4f5070 Fix typo in MinGWCE support in configure.
Patch by Martin Storsjö and Måns.

Originally committed as revision 19523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:50:58 +00:00
Martin Storsjö
1aa71e258d MinGWCE support in configure; networking is disabled for now.
patch by Martin Storsjö, martin martin st and Ismail Dönmez, ismail namtrac org

Originally committed as revision 19521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-27 16:14:57 +00:00
Måns Rullgård
63613fe615 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26 12:20:04 +00:00
Aurelien Jacobs
84c04e2519 fix various compilation dependencies
Originally committed as revision 19507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-24 21:28:44 +00:00
Martin Storsjö
abfc8d056e Check for the isatty function.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-24 00:12:55 +00:00
Måns Rullgård
b6f3d925ca configure: some small simplifications
Originally committed as revision 19503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 23:30:54 +00:00
Måns Rullgård
e45391bb32 configure: add some blank lines to improve readability
Originally committed as revision 19502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 23:30:50 +00:00
Måns Rullgård
adcb219081 Move output redirection of deps generation from make rule to DEPEND_CMD
Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:30:20 +00:00
Diego Biurrun
4eef77c1a3 Make Theora decoder depend on the VP3 decoder.
Practically all the code is shared.

Originally committed as revision 19491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 21:36:50 +00:00
Måns Rullgård
df5e397839 configure: group tests for compiler characteristics together
Originally committed as revision 19490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:41 +00:00
Måns Rullgård
a036c1b537 configure: set -mdynamic-no-pic flag in main darwin section
Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:39 +00:00
Måns Rullgård
d90330dc20 configure: remove special flags for XLC on Darwin
Rationale:
- Current versions of XLC accept gcc flags
- XLC can't compile FFmpeg

Originally committed as revision 19488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:35 +00:00
Måns Rullgård
55b290c690 configure: remove some darwin-related cruft
Originally committed as revision 19487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:31 +00:00
Måns Rullgård
fa0912fe50 configure: group all cpu-specific tests together
Originally committed as revision 19485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 16:05:24 +00:00
Diego Biurrun
baf91bb9a3 Make E-AC-3 decoder depend on the AC-3 decoder.
It is impossible to build E-AC-3 without AC-3.

Originally committed as revision 19477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-21 09:03:45 +00:00
Måns Rullgård
ce742de22c ARM: check for VFP register arguments
Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 22:30:24 +00:00
Måns Rullgård
89f2932baf configure: make --extra-cflags cumulative again
Originally committed as revision 19471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 19:00:59 +00:00
Diego Biurrun
e82dc4c91e Make VP6A/VP6F decoders depend on the VP6 decoder.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 09:24:59 +00:00
Diego Biurrun
015f8ee009 Make WMV3 decoders depend on their VC-1 counterparts.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 11:07:10 +00:00
Måns Rullgård
6fec122af7 Support building with TI TMS470 compiler
Originally committed as revision 19465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 10:52:35 +00:00
Diego Biurrun
63d72fdaf2 If any input/output devices are enabled then indevs/outdevs should
get enabled, not demuxers/muxers.

Originally committed as revision 19463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 10:40:28 +00:00
Stefano Sabatini
8beb41783a Replace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', I
missed them in r19293. Re-enable version check on w32api.h if the
vfwcap input device has been selected.

Originally committed as revision 19461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-18 10:38:53 +00:00
Carl Eugen Hoyos
0e57fe17eb Allow enabling alsa and jack devices.
Originally committed as revision 19460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-18 09:32:26 +00:00
Måns Rullgård
24524f36a1 configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 13:10:26 +00:00
Måns Rullgård
980a75c5a5 configure: remove some useless comments
Originally committed as revision 19455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 13:10:23 +00:00
Måns Rullgård
e7ea5e3d8d Check for __attribute__((packed)) support
Not all compilers claiming to be gcc support this attribute.

Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:43 +00:00
Måns Rullgård
df5cdc24b9 configure: handle --cpu before running compiler
It is possible that the compiler requires flags set by the --cpu
option, so we should not attempt to run it before those flags have
been added.

Originally committed as revision 19452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:41 +00:00
Måns Rullgård
a915980acd configure: simplify --cpu handling slightly
Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:37 +00:00
Måns Rullgård
88ec6ac9e4 configure: do not warn about mismatching altivec/cpu selection
We do not issue similar warnings for other architectures, and we
generally assume users know what they want.

Originally committed as revision 19445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 22:29:15 +00:00
Martin Storsjö
2b2c2a8179 Fix check_func_headers. The reference to the function under test was being
optimized out by gcc when the headers lied about the function existing,
rendering the test useless in that situation.
This new test throws a warning in mingw-w64, but that should not be a problem.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 16:02:50 +00:00
Måns Rullgård
973859f523 Disable gcc auto-vectorisation
The auto-vectoriser in gcc is enabled by default at -O3 since version
4.3.  However, it provides no speed benefit, but does produce incorrect
code on many targets.  Disabling it for gcc should give more reliable
builds.

If the adventurous want it back, they can edit the makefile themselves.

Originally committed as revision 19439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 19:02:07 +00:00
Måns Rullgård
89e053f83d Require aligned memory for everything that needs it
Altivec, NEON, and SSE require more alignment than standard malloc()
guarantees, whereas MMX does not.  Update checks to reflect this.

Originally committed as revision 19438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 18:33:12 +00:00
Diego Biurrun
bd20afc401 Skip the check for SSE aligned memory allocators when SSE is disabled.
Fixes issue 1269.

Originally committed as revision 19437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 12:23:38 +00:00
Måns Rullgård
ad420e25e2 Use normal check_func test for math functions
Originally committed as revision 19434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 08:22:06 +00:00
Martin Storsjö
f4c1387249 Improve linker check for Winsock library name.
On Windows CE, the Winsock library name is ws2, not ws2_32.
patch by Martin Storsjö, martin martin st

Originally committed as revision 19431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-14 14:02:09 +00:00
Måns Rullgård
19b4c62883 Set default flag filters before compiler detection
This allows use of the add_*flags functions in the compiler detection
section.

Originally committed as revision 19428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 22:46:10 +00:00
Martin Storsjö
b9349ff4ca Install the mingw import libraries, too.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 21:59:26 +00:00
Martin Storsjö
336cc1b0ee Enable creation of microsoft-style import libraries on arm.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 19:08:27 +00:00
Måns Rullgård
38a9c529e2 Use add_*flags only after compiler-specific configuration
Originally committed as revision 19422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 23:03:08 +00:00
Måns Rullgård
caf458dda4 Allow filtering of flags passed to compiler and assembler
This can be used to map gcc-type flags to equivalents with other
compilers.

Originally committed as revision 19421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:44:05 +00:00
Diego Biurrun
647c2356a6 Make (de)muxers for format variants select the main format (de)muxer.
It makes little sense to enable the variant without the main format.

Originally committed as revision 19420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:31:05 +00:00
Måns Rullgård
d8059267bc Place flags for dependency generation in DEPFLAGS
This avoids duplicating the full DEPEND_CMD line only to change some
flags.

Originally committed as revision 19419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:28:24 +00:00
Måns Rullgård
ce40e3470c Set CPPFLAGS in config.mak using normal assignment
Setting this value using ?= caused some trouble if it was already
defined in the environment.

Originally committed as revision 19418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 21:14:00 +00:00
Måns Rullgård
8c6d2da5be Protect config.mak against multiple inclusion
Some of the values set here are modified by the main makefiles
and should not be reset when config.mak is included again.

Originally committed as revision 19417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 21:13:57 +00:00
Måns Rullgård
0115927eae Use CFLAGS in default DEPEND_CMD
Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 14:13:34 +00:00
Måns Rullgård
9e7f32775c Use CFLAGS in check_cpp
Originally committed as revision 19414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 14:13:32 +00:00
Måns Rullgård
75bafbac7b Set as_default after compiler detection, allowing compiler-specific defaults
Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:55 +00:00
Måns Rullgård
2f2e6c7ce1 Pass ASFLAGS to assembler instead of CFLAGS
Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:53 +00:00
Måns Rullgård
7f32f40c89 Add flags from --extra-cflags after compiler detection
Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:51 +00:00
Måns Rullgård
997f3ba4ef Set CPU selection flags in $cpuflags, add to cflags outside case block
Originally committed as revision 19410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:48 +00:00
Måns Rullgård
7e6c86e65d Allow unusual ways of specifying compiler output file
Some compilers do not use the typical -c -o foo.o style.
This allows compiler-specific equivalents to be set by the
configure script.

Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:46 +00:00
Måns Rullgård
50567afa5a Use DEPCC to find dependencies, default to same as CC
Originally committed as revision 19408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:43 +00:00
Måns Rullgård
684b28e09c Use LD for linking, default to same as CC
Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:40 +00:00
Måns Rullgård
3198f6187a Set CFLAGS directly in config.mak instead of using OPTFLAGS
Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:38 +00:00
Måns Rullgård
467256f248 Add --sysroot flag to CPPFLAGS, not CFLAGS
Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:35 +00:00
Måns Rullgård
50a334e426 Separate C preprocessor flags into CPPFLAGS variable
Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:32 +00:00
Diego Biurrun
95a61cfc24 Make VAAPI/VDPAU variant of decoder foo depend on decoder foo.
The VAAPI/VDPAU variants of foo require almost all of the code of foo.
Thus it makes little sense to enable just the accelerated variant.
This allows refactoring some object dependencies in the Makefiles.

Originally committed as revision 19403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:22:01 +00:00
Måns Rullgård
fed5d54b56 configure: allow bulk-disabled things to be re-enabled by dependents
Originally committed as revision 19401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 00:17:42 +00:00
Alex Converse
291fd18a6e Add a log2 replacement for systems that haven't quite caught up with the C99
standard library.

Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 19:20:06 +00:00
Diego Biurrun
fc1206a4d9 Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.
libopencore can now be used as a replacement except for AMR-WB encoding.

Originally committed as revision 19365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-07 00:28:16 +00:00
Måns Rullgård
d6ced96317 ARM: enable fast_unaligned when --cpu=armv[67] is specified
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 12:46:09 +00:00
Måns Rullgård
07a8eef699 Fix build on Net/OpenBSD
The renaming in r19293 missed a few things.

Originally committed as revision 19298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 20:45:49 +00:00
Stefano Sabatini
4e622deaab Cosmetics: group together indev/outdev dependencies.
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 20:00:58 +00:00
Stefano Sabatini
38e54a75ab Make the configure script select the input/output devices using
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.

Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 18:49:15 +00:00
Stefano Sabatini
c2b3565e4a Only link against alsa if enabled.
Originally committed as revision 19278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 23:21:40 +00:00
Adrian Stutz
30b1fff69c Only checks for jack if it is enabled and hence only links to jack if
it is not disabled.

Patch by Adrian Stutz $firsname@sttz ch.

Originally committed as revision 19277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 22:48:49 +00:00
Michael Kostylev
28c9f06959 Disable network support if required headers cannot be found.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 19227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-19 17:21:13 +00:00
Måns Rullgård
b04251c5d0 configure: properly quote configure options stored in config.*
Originally committed as revision 19201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 22:12:21 +00:00
Diego Biurrun
90b4f09177 Merge FreeBSD and DragonFlyBSD OS detection sections.
Apparently DragonFlyBSD does not need memalign either.

Originally committed as revision 19191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 14:49:46 +00:00
Adam Hoka
d6dcfc7f5b Add DragonFlyBSD to the list of supported OSes.
patch by Adam Hoka, ahoka NetBSD org

Originally committed as revision 19190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 13:18:10 +00:00
Diego Biurrun
17492d5e40 Add code to enable and disable all VAAPI and VDPAU parts.
As a positive sideeffect, VAAPI/VDPAU objects need no longer be listed
for all VAAPI/VDPAU-related decoders.

Originally committed as revision 19145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-10 20:50:53 +00:00
Diego Biurrun
28b80940ff Express the H.264 parser dependency on the golomb code in configure instead of
in the Makefile as it is done for all other parts that depend on golomb.

Originally committed as revision 19139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-09 20:29:52 +00:00
Diego Biurrun
0b175caac8 Add support for external OpenCORE libraries for AMR-NB/WB support.
Originally committed as revision 19117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 12:32:40 +00:00
Diego Biurrun
9cad0e4ed8 Add configure option to upgrade (L)GPL to version 3.
Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 11:04:03 +00:00
Måns Rullgård
85dd97adff configure: detect Loongson MIPS extensions
Originally committed as revision 18978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 23:19:29 +00:00
Reimar Döffinger
34d11b875f Change HAVE_PPC64 to ARCH_PPC64.
As a side-effect this also gives it the correct value on e.g. PPC970FX-based
PPC64 systems, thus fixing "make test" (mp2/mp3 decoding).

Originally committed as revision 18953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 05:00:51 +00:00
Diego Biurrun
57f8df050f dv1394 is disabled by default, do not redundantly disable it on Hurd.
Originally committed as revision 18946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 20:18:33 +00:00
Andres Mejia
34e82167f3 Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 05:39:58 +00:00
Diego Biurrun
ba7a703947 Print out more verbose licensing information.
Originally committed as revision 18893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 10:10:02 +00:00
Diego Biurrun
1754fe4d30 The AC-3 decoder is now LGPL. Exchange the license header and change references
in the build system and documentation that mark it as GPL.

Originally committed as revision 18876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 22:58:09 +00:00
Måns Rullgård
bae3abb02c Define ARCH_MIPS64 when building for MIPS64
Originally committed as revision 18874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:24 +00:00
Måns Rullgård
08a85a59d6 Define HAVE_BIGENDIAN as 0 or 1 according to CPU type
This should replace the inconsistently named and defined
WORDS_BIGENDIAN.

Originally committed as revision 18873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:22 +00:00
Måns Rullgård
5b34250da0 configure: add some MIPS CPUs
Originally committed as revision 18872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:38:44 +00:00
Andres Mejia
83993c1c76 Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 11:45:41 +00:00
Måns Rullgård
4c27207c12 configure: fix licence check function
Originally committed as revision 18717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 16:14:33 +00:00
Diego Biurrun
2f7ae63ba1 Require --enable-nonfree for turning on libfaac support.
libfaac lies about being LGPL, when it really is not.

Originally committed as revision 18715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:40:25 +00:00
Diego Biurrun
2184c6f7af Factorize GPL and nonfree license checks into a common function.
Originally committed as revision 18714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:32:40 +00:00
Måns Rullgård
e4ddc8edfa configure: support Blackfin CPU names with --cpu
Originally committed as revision 18660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-22 09:27:36 +00:00
Måns Rullgård
cc078b5d8f PPC: check for x-form asm constraint support
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 13:57:30 +00:00
Måns Rullgård
9f5ff83f2a PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store
instructions.  Using these avoids a separate byteswap.  This makes the
vorbis decoder about 5% faster.  Not much else uses little-endian
read/write extensively.

GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.

Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 00:00:31 +00:00
Diego Biurrun
8bb3d6a612 Do not add -fno-common to CFLAGS on DOS, it is unneeded.
Originally committed as revision 18536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-16 10:34:14 +00:00
Martin Storsjö
29382bc1eb Check for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
trying to enable libamrnb support. The latter function is actually used.
patch by Martin Storsjö, martin martin st

Originally committed as revision 18526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-15 17:29:20 +00:00
Ramiro Polla
1894e741f5 win32, dos: Work around a bug in the GNU toolchain.
The bug[1] is exposed when gcc decides to put some data in a common
section (i.e. data that will be used by more than one object). It will
suggest the data to be aligned, but binutils >= 2.19 will fail to
properly align it. Thus if the data requires any alignment greater
than 4, the application will crash.
The workaround prevents gcc from putting data in a common section,
instead putting it in a properly aligned section.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216

Originally committed as revision 18501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 22:54:21 +00:00
Diego Biurrun
e467369278 Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 14:55:05 +00:00
Ramiro Polla
e90f5b5ab1 configure: Add --enable-runtime-cpudetect
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:26:18 +00:00
Olivier Guilyardi
80ff8a16f5 Implement JACK input device.
Patch by Olivier Guilyardi list samalyse com.
See the thread: "[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer".

Originally committed as revision 18322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 23:53:47 +00:00
Gwenole Beauchesne
ff41873562 Add VA API deps.
Originally committed as revision 18312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:49:33 +00:00
Gwenole Beauchesne
5666fd731e Add hwaccel configury. This generates CONFIG_<CODEC>_<HWACCEL>_HWACCEL
from registered HW accelerated codecs with REGISTER_HWACCEL().

Originally committed as revision 18311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:48:06 +00:00
Diego Biurrun
d326cf7f8f Add an empty line in front of configure debug instructions.
This makes the actual error message that configure prints be more noticeable.

Originally committed as revision 18308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:02:32 +00:00
Måns Rullgård
13cbe2c026 Quote stored configure arguments containing spaces
Originally committed as revision 18252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 21:12:44 +00:00
Ramiro Polla
4b51fb1ce0 mingw32: Restore creation of import libraries. They are still not being
installed, but they're good for creating -dev packages.

Originally committed as revision 18214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 03:42:32 +00:00
Ramiro Polla
b2cfd7e360 Create swscale subdirs for out-of-tree builds.
Originally committed as revision 18191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 01:29:20 +00:00
Diego Biurrun
0a7ee3ef59 cosmetics: Group all path variables together in config.mak.
Originally committed as revision 18187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 17:46:25 +00:00
Cédric Schieli
a9ddb5b1a4 Add a CONFIG_SWSCALE_ALPHA option for alpha channel scaling (enabled by default)
Originally committed as revision 18075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 14:12:47 +00:00
Ramiro Polla
7c5bfe7add Check for VirtualAlloc() so it may be used to allocate executable memory in
Windows.

Originally committed as revision 18050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:52:01 +00:00
Ramiro Polla
06abe7f5b4 mingw32: call lib.exe instead of lib to facilitate running it through wine.
Originally committed as revision 17995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 23:15:57 +00:00
Matthieu Castet
337cee680b Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 17994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 21:32:36 +00:00
Carl Eugen Hoyos
be2cf98a75 Force ebp_available for icc.
See discussion:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/86209

Originally committed as revision 17985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 13:22:41 +00:00
Diego Biurrun
5e622c401f Replace all `` by $(), the latter can be nested more easily.
Originally committed as revision 17923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 23:59:31 +00:00
Diego Biurrun
5fd89ca03f Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.
Originally committed as revision 17922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 23:33:27 +00:00
Måns Rullgård
75800dce2b Set AS to $CC by default, override with gcc only when CC is armcc
Originally committed as revision 17920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 22:39:49 +00:00
Måns Rullgård
aa033b1ed7 Enable CONFIG_FASTDIV by default
Originally committed as revision 17900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 09:19:11 +00:00
Måns Rullgård
82bb33290e Allow different executable suffix for host and target
Originally committed as revision 17885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:11:24 +00:00
Diego Biurrun
5add54b4f9 cosmetics: fix indentation
Originally committed as revision 17864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 19:56:21 +00:00