Ronald S. Bultje
8cfbbd928c
get_bits: introduce safe bitreading to prevent overreads.
...
When turned on, H264/CAVLC gets ~15% (CVPCMNL1_SVA_C.264) slower for
ultra-high-bitrate files, or ~2.5% (CVFI1_SVA_C.264) for lower-bitrate
files. Other codecs are affected to a lesser extent because they are
less optimized; e.g., VC-1 slows down by less than 1% (all on x86).
The patch generated 3 extra instructions (cmp, cmovae and mov) per
call to get_bits().
The performance penalty on ARM is within the error margin for most
files, up to 4% in extreme cases such as CVPCMNL1_SVA_C.264.
Based on work (for GCI) by Aneesh Dogra <lionaneesh@gmail.com>, and
inspired by patch in Chromium by Chris Evans <cevans@chromium.org>.
2011-12-17 14:03:41 +00:00
Diego Biurrun
54e75be420
configure: refactor lists of tests and components into variables
2011-12-16 15:46:34 +01:00
Diego Biurrun
055c61b857
configure: refactor list of programs into a variable
2011-12-15 14:41:26 +01:00
Diego Biurrun
3e0b1c9a81
configure: cosmetics: sort some lists where appropriate
2011-12-14 12:01:17 +01:00
Diego Biurrun
88b9735753
build: conditionally compile x86 H.264 chroma optimizations
2011-12-14 11:58:45 +01:00
Diego Biurrun
0d9bd2d584
configure: do not manually enable protocols
...
Protocols are handled just like all other components groups such as
muxers and are automatically enabled.
2011-12-13 23:34:20 +01:00
Mans Rullgard
5b0d35eaed
x86: bswap: remove test for bswap instruction
...
Firstly, this test never worked as intended, always reporting
success. Secondly, bswap is available from 486 onward and can
thus be assumed present.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-12 12:14:15 +00:00
Rafaël Carré
be1e872582
configure: Store vda lib flags in extralibs instead of ldflags
...
This way the needed linking flags end up in libavcodec.pc.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-25 15:52:55 +02:00
Mans Rullgard
3fe5fc9325
regtest: split video encode/decode tests into individual targets
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-11-22 12:13:04 +00:00
Anton Khirnov
7c9224111e
configure: add libpulse to help output
...
Fixes Bug 72.
2011-11-21 06:44:43 +01:00
John Stebbins
c40e1757a1
httpproxy: Fix dependencies
...
Fix building with --disable-network.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-20 09:51:17 +02:00
Janne Grunau
ff3755cbde
configure: add check for w32threads to enable it automatically
2011-11-18 22:36:06 +01:00
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-11-14 16:07:32 +01:00
Martin Storsjö
183baeadca
avformat: Add the https protocol
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-05 12:09:36 +02:00
Martin Storsjö
558d192d23
avformat: Add the tls protocol, using OpenSSL or gnutls
...
Note, this protocol doesn't yet check verify the server
certificate against a local database of trusted CA root
certificates.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-05 12:09:30 +02:00
Martin Storsjö
bc8c1395ca
configure: Allow linking to the gnutls library
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-05 12:09:20 +02:00
Martin Storsjö
a060866fd7
configure: Allow linking to openssl
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-05 12:08:56 +02:00
Diego Biurrun
76718f3fb7
configure: declare dependency of h264_vaapi_hwaccel on h264_decoder
2011-11-04 10:42:00 +01:00
Martin Storsjö
7b7b220cf7
Enable w32threads automatically unless explicitly disabled
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-01 16:48:15 +02:00
Luca Barbato
0de9c41ff4
pulse: introduce pulseaudio input
...
It currently use the simple api and is using the latency information
provided only to offset the stream start.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-10-26 16:39:33 -07:00
Justin Ruggles
b606a01759
libspeexenc: add libspeex encoder
2011-10-20 13:06:15 -04:00
Stefano Sabatini
b157be1f38
lavfi: port libmpcodecs delogo filter
...
The ported filter supports named option parsing and more YUV formats.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17 18:05:41 +02:00
Stefano Sabatini
ce6b6ef645
lavfi: port boxblur filter from libmpcodecs
...
With the following additions:
* support to gray format
* support to yuva420p format
* parametric luma/chroma/alpha radius
* consistency check on the radius values, avoid crashes with invalid values
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17 18:05:41 +02:00
Anton Khirnov
46c3c53bae
libx264: support yuv422/444 output.
2011-10-12 08:27:36 +02:00
Diego Biurrun
c2ed91de84
configure: Add -Wstrict-prototypes to CFLAGS if available.
2011-10-10 13:50:26 +02:00
Mans Rullgard
6308729e68
ARM: check for inline asm 'y' operand modifier support
...
The inline asm added in bf5d46d
uses the 'y' modifier which
is only supported from gcc 4.5. This check allows building
with older compilers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-03 08:56:24 +01:00
Mans Rullgard
908f12f342
fate: allow testing with libavfilter disabled
...
This declares dependencies to skip tests using libavfilter
when it is disabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-09-27 00:05:51 +01:00
Sean McGovern
87a74f478f
configure: disable hardware capabilities ELF section with suncc on Solaris x86
...
When using suncc to build, the Solaris linker will mark
an executable with each instruction set encountered by
the Solaris assembler. As our libraries contain their own
guards for processor-specific code, instead suppress
generation of the HWCAPS ELF section on Solaris x86 only.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-09-24 14:47:49 +02:00
Anton Khirnov
e417d80d28
lavd: add libcdio-paranoia input device for audio CD grabbing
2011-09-17 06:45:26 +02:00
Diego Biurrun
d2ba1fb50c
configure: fix typo in avconv dependency list
2011-08-26 03:46:10 +02:00
Alberto Delmás
45ecda8554
Windows Media Image decoder (WMVP/WVP2)
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-23 11:18:35 +02:00
Pino Toscano
f60d136637
configure: add missing CFLAGS to fix building on the HURD
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-12 14:11:21 +02:00
Anton Khirnov
6291d7e416
Make a copy of ffmpeg under a new name -- avconv.
...
It will be further developed with a few incompatible changes.
ffmpeg.c will stay as is for some time, so any scripts using it won't be
broken.
2011-08-12 13:27:30 +02:00
Anton Khirnov
4d58e4cb4c
Rename ffserver to avserver.
2011-08-09 19:56:25 +02:00
Anton Khirnov
9e12f0bf5f
Rename ffprobe to avprobe.
2011-08-09 19:56:24 +02:00
Anton Khirnov
266463daff
Rename ffplay to avplay.
2011-08-09 19:56:21 +02:00
Diego Biurrun
001e600c3b
configure: spelling cosmetics
2011-07-27 00:33:24 +02:00
Kostya Shishkov
c2d23309ef
add Flash Screen Video 2 decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-22 09:12:30 -07:00
Sean McGovern
558c268318
configure: add -xc99 to LDFLAGS for Sun CC
...
Using Sun's compiler on Solaris, -xc99 is as much a linker flag as a
compiler flag, so add it to LDFLAGS.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-07-21 00:30:16 +02:00
Mans Rullgard
0218808d49
fate: separate lavf-mxf_d10 test from lavf-mxf
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-17 16:30:49 +01:00
Martin Storsjö
e3bc07f4af
configure: Automatically add more flags required on symbian
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-07-15 16:09:03 +03:00
Anton Khirnov
6379900c53
Add a check for strptime().
...
It's an XSI extension, not available on some supported systems.
2011-07-13 12:14:27 +02:00
Mans Rullgard
b695256edd
configure: fix --cpu=host with gcc 4.6
...
The output from -v with gcc 4.6 has changed such that the search
pattern matches too soon without making it more strict.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-10 17:56:06 +01:00
Mans Rullgard
2f138f0b7c
build: clean up library installation rules
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-07 17:57:47 +01:00
Diego Biurrun
965dbe09b0
configure: simplify -rpath-link linker flag
...
Lists of ':'-separated directories can be passed to -rpath-link directly.
2011-07-05 12:09:47 +02:00
Mans Rullgard
8c94eab011
configure: do not blank $LIBNAME if static libs disabled
...
Whatever reason this was done for no longer applies, and it causes
lots of make warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 17:17:16 +01:00
Diego Biurrun
c562ba4c3d
configure: Add vdpau and dxva2 to configure results output.
2011-06-30 01:04:18 +02:00
Mans Rullgard
a3e1f80e8b
ARM: remove check for PLD instruction
...
PLD is present in ARMv5TE and later, which is checked for separately.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-29 21:57:03 +01:00
Mans Rullgard
5e27ec28f0
build: create output directories as needed
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-29 09:14:56 +01:00
Mans Rullgard
b0da4903dd
fate: enable lavfi-pixmt tests on big endian systems
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28 23:35:00 +01:00