Stefano Sabatini
26513856d6
cmdutils: remove OPT_FUNC2
...
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-28 09:40:19 -04:00
Ronald S. Bultje
009f829dde
swscale: fix crash in bilinear scaling.
2011-05-28 08:59:56 -04:00
James Zern
88aa215939
vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping
...
via the equivalent AVCodecContext::mb_threshold
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-28 12:15:59 +02:00
Alok Ahuja
945dda41a2
webm: support stereo videos in matroska/webm muxer
...
Create a stereo_mode metadata tag to specify the stereo 3d video layout
using the StereoMode tag in a matroska/webm video track.
2011-05-28 12:15:55 +02:00
Anton Khirnov
f91ccb1df6
lavf: deprecate AVFormatParameters.pix_fmt.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2a85f21868
rawdec: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
d576bbf3eb
v4l2: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2e0e1e712a
libdc1394: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Justin Ruggles
1a950da6a2
cosmetics: indentation and alignment after previous commit
2011-05-27 16:25:22 -04:00
Justin Ruggles
aa47c35dff
ac3enc: add support for E-AC-3 encoding.
...
This adds basic stream format support and allows for arbitrary bit rates
rather than just those supported in AC-3.
2011-05-27 16:25:22 -04:00
Justin Ruggles
b1bf8c7887
ac3enc: Move AC-3 AVOptions array to a separate file to make it easier to
...
use only selected options for the different AC-3 encoder types.
2011-05-27 16:25:22 -04:00
Mans Rullgard
79aeade6f6
ARM: disable ff_vector_fmul_vfp on VFPv3 systems
...
This function uses old-style vector operations deprecated in VFPv3.
Some implementations, e.g. Cortex-A9, support them only through
slow software emulation. Cortex-A8 does have this functionality
in hardware, but as it also has NEON, this function is not used
there regardless.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-27 20:33:06 +01:00
Mans Rullgard
93eb8e4d7c
ARM: check for VFPv3
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-27 20:33:05 +01:00
Diego Biurrun
5a5a0f1613
swscale: Remove unused variables in x86 code.
...
libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’
libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’
2011-05-27 21:25:57 +02:00
Diego Biurrun
7eae011002
doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS.
2011-05-27 21:21:14 +02:00
Diego Biurrun
5e528cffcf
x86: Add appropriate ifdefs around certain AVX functions.
...
nasm versions prior to 2.09 have trouble assembling some of our AVX code.
Protect these sections by preprocessor macros to allow compilation to pass.
2011-05-27 21:18:12 +02:00
Ronald S. Bultje
faf8d3ddfa
cmdutils: use sws_freeContext() instead of av_freep().
...
av_freep(swsContext) will leak all memory potentially
allocated within the swsContext.
2011-05-27 13:22:28 -04:00
Ronald S. Bultje
389e2000eb
swscale: delay allocation of formatConvBuffer().
...
That means it won't be allocated when not needed. Alongside
this, it fixes valgrind/fate-detected memory leaks.
2011-05-27 13:22:27 -04:00
Ronald S. Bultje
f327bfa6dc
swscale: fix build with --disable-swscale-alpha.
2011-05-27 13:22:27 -04:00
Martin Storsjö
28734ac995
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
...
Instead of -fflags rtphint, set -movflags rtphint instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-27 19:56:44 +03:00
Martin Storsjö
91e3a25ef6
movenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-27 19:56:33 +03:00
Ronald S. Bultje
9f5d45025e
swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.
2011-05-27 09:41:48 -04:00
Luca Barbato
6348a96c06
configure: report yasm/nasm presence properly
...
If the secondary assembler is in use report the proper name
2011-05-27 09:42:14 +02:00
Luca Barbato
ebb6b27ad9
tcp: make connect() timeout properly
...
The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.
2011-05-27 09:42:14 +02:00
Anton Khirnov
fa4924a358
rawdec: factor video demuxer definitions into a macro.
2011-05-27 08:31:16 +02:00
Anton Khirnov
4779f59378
rtspdec: add initial_pause private option.
...
Deprecate corresponding AVFormatParameters field.
2011-05-27 06:52:52 +02:00
Anton Khirnov
89d1b7f406
lavf: deprecate AVFormatParameters.width/height.
2011-05-27 06:52:52 +02:00
Anton Khirnov
06d8c9e5f0
tty: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
973f686a6c
rawdec: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
724a900c45
x11grab: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3102fb0351
x11grab: factorize returning error codes.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
8fe7b6443f
v4l2: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
82b5aa0add
v4l2: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00
Anton Khirnov
fd48620e3e
libdc1394: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
284bac2e77
libdc1394: return meaninful error codes.
2011-05-27 06:52:51 +02:00
Anton Khirnov
33e0369672
bktr: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
3577416212
bktr: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00
Alex Converse
86f868771b
id3v2: Check malloc result. ID3v2 tags can be very large.
2011-05-26 13:16:03 -07:00
Alex Converse
40a5dd2f35
id3v2: Initialize tflags for version 2.2.
2011-05-26 13:16:03 -07:00
Mans Rullgard
ca7d8256e3
ARM: add ARMv6 optimised av_clip_uintp2
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26 20:13:00 +01:00
Mans Rullgard
77cd6efc33
ARM: remove volatile from asm statements in libavutil/intmath
...
The volatile qualifiers are not needed on these statements as
their effects are fully specified by constraints.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26 20:13:00 +01:00
Mans Rullgard
74cc8c52ed
ARM: fix av_clipl_int32_arm()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26 20:12:59 +01:00
Anton Khirnov
3d96c13e43
v4l: include avdevice.h
...
Fixes build.
2011-05-26 20:44:19 +02:00
Mike Williams
e2d7dc87df
ffserver: move close_connection() call to avoid a temporary string and copy.
...
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-26 20:05:48 +02:00
Anton Khirnov
9749cdf775
lavf: initialize demuxer private options.
2011-05-26 20:03:26 +02:00
Anton Khirnov
6c117d43c9
AVOptions: set string default values.
2011-05-26 20:03:03 +02:00
Anton Khirnov
aaea149035
lavdevice: mark v4l for removal on next major bump.
2011-05-26 19:04:02 +02:00
Ronald S. Bultje
93681fbd50
swscale: fix compile on ppc.
2011-05-26 11:32:32 -04:00
Ronald S. Bultje
e758573a88
swscale: fix compile on x86-32.
2011-05-26 10:41:27 -04:00