Ronald S. Bultje [Tue, 13 Sep 2011 16:53:42 +0000 (09:53 -0700)]
sws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling.
Speed: from 3.9x to 9.6x speed improvement over C, and some small
(up to 15%) speed improvements over existing MMX code (particularly
for bigger filters).
Justin Ruggles [Tue, 13 Sep 2011 14:59:47 +0000 (10:59 -0400)]
include stdint.h in adpcm_data.h
fixes make checkheaders
Diego Biurrun [Thu, 8 Sep 2011 17:19:18 +0000 (19:19 +0200)]
mpeg12: reorder functions to avoid ugly forward declarations
Laurent Aimar [Mon, 12 Sep 2011 18:50:34 +0000 (20:50 +0200)]
Fixed off by one packet size allocation in the smacker demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Laurent Aimar [Mon, 12 Sep 2011 18:50:13 +0000 (20:50 +0200)]
Check for invalid packet size in the smacker demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Laurent Aimar [Sun, 11 Sep 2011 17:17:40 +0000 (19:17 +0200)]
ape demuxer: fix segfault on memory allocation failure.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Alex Converse [Fri, 9 Sep 2011 23:10:03 +0000 (16:10 -0700)]
xan: Add some buffer checks
Alex Converse [Fri, 9 Sep 2011 23:13:52 +0000 (16:13 -0700)]
xan: Remove extra trailing newline
Laurent Aimar [Fri, 9 Sep 2011 22:32:12 +0000 (00:32 +0200)]
Fixed size given to init_get_bits() in xan decoder.
Justin Ruggles [Wed, 7 Sep 2011 22:34:09 +0000 (18:34 -0400)]
adpcm: split ADPCM encoders and decoders into separate files.
Move shared tables to a separate file as well.
Anton Khirnov [Mon, 12 Sep 2011 08:40:43 +0000 (10:40 +0200)]
doc/avconv: fix typo.
Kostya Shishkov [Mon, 12 Sep 2011 09:39:53 +0000 (11:39 +0200)]
rv34: check that subsequent slices have the same type as first one.
This prevents some crashes when corrupted bitstream reports e.g. P-type
slice in I-frame. Official RealVideo decoder demands all slices to be
of the same type too.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Kostya Shishkov [Mon, 12 Sep 2011 07:40:42 +0000 (09:40 +0200)]
smacker demuxer: handle possible av_realloc() failure.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Bobby Bingham [Sat, 21 May 2011 14:46:11 +0000 (16:46 +0200)]
lavfi: add split filter from soc.
Some fixes by Stefano.
For detailed authorship see SOC repo
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sat, 23 Apr 2011 18:55:34 +0000 (20:55 +0200)]
lavfi: add showinfo filter
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Sun, 11 Sep 2011 06:14:43 +0000 (08:14 +0200)]
libxavs: add private options corresponding to deprecated global options
Code mostly copied from libx264 wrapper.
Stefano Sabatini [Sat, 10 Sep 2011 23:07:08 +0000 (01:07 +0200)]
audioconvert: add explanatory comments to channel_names array
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Stefano Sabatini [Sat, 10 Sep 2011 23:06:57 +0000 (01:06 +0200)]
audioconvert: K&R whitespace cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Anton Khirnov [Mon, 5 Sep 2011 12:12:28 +0000 (14:12 +0200)]
avconv: use correct index when selecting metadata to write to.
Anton Khirnov [Mon, 5 Sep 2011 12:11:13 +0000 (14:11 +0200)]
avconv: fix inverted variable
Anton Khirnov [Sat, 3 Sep 2011 13:02:52 +0000 (15:02 +0200)]
doc/avconv: document option types (input/output/per-stream/...)
Also trim some redundant stream specifiers descriptions.
Anton Khirnov [Sat, 3 Sep 2011 12:55:39 +0000 (14:55 +0200)]
doc/avtools-common-opts: write a section about stream specifiers.
Anton Khirnov [Sat, 3 Sep 2011 11:02:20 +0000 (13:02 +0200)]
doc/avconv: remove two pointless paragraphs.
They are misleading and carry no useful information.
Anton Khirnov [Sat, 3 Sep 2011 10:53:53 +0000 (12:53 +0200)]
doc/avconv: document that global options should be specified first.
Anton Khirnov [Sat, 3 Sep 2011 05:08:55 +0000 (07:08 +0200)]
doc/avconv: remove entries for nonexistent options
Anton Khirnov [Fri, 2 Sep 2011 20:53:54 +0000 (22:53 +0200)]
doc/avconv: remove documentation for removed 'timestamp' option
Anton Khirnov [Fri, 2 Sep 2011 20:17:38 +0000 (22:17 +0200)]
doc: cosmetics, rename fftools-common-opts to avtools-....
Anton Khirnov [Fri, 2 Sep 2011 20:07:30 +0000 (22:07 +0200)]
avconv: move streamid_map to options context.
Anton Khirnov [Fri, 2 Sep 2011 19:11:00 +0000 (21:11 +0200)]
avconv: extend -vf syntax
Add a per-stream -filter option, make -vf an alias for -filter:v. Move
vfilters to the options context.
Anton Khirnov [Fri, 2 Sep 2011 16:03:31 +0000 (18:03 +0200)]
avconv: move top_field_first to options context.
Anton Khirnov [Fri, 2 Sep 2011 15:57:56 +0000 (17:57 +0200)]
avconv: move inter/intra matrix to options context.
Anton Khirnov [Fri, 2 Sep 2011 15:31:14 +0000 (17:31 +0200)]
avconv: remove -psnr option.
It's redundant -- -flags +psnr does the same thing.
Anton Khirnov [Fri, 2 Sep 2011 15:06:30 +0000 (17:06 +0200)]
avconv: remove me_threshold option.
It's only shadowing the AVOption with the same name.
Anton Khirnov [Fri, 2 Sep 2011 14:06:18 +0000 (16:06 +0200)]
avconv: move video_rc_override_string to options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame pixel format to the options context.
Also remove redundant -pix_fmt list syntax, it's inconsistent and only
makes the code more complicated. -pix_fmts should be enough for
everyone.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame aspect ratio to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame size to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame_rate to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move force_fps to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move forced_key_frames to the options context.
Anton Khirnov [Thu, 1 Sep 2011 08:04:35 +0000 (10:04 +0200)]
avconv: rewrite -qscale and -aq handling.
Merge video_qscale (set by -qscale) and audio_qscale (set by -aq) into
one 'qscale' field in the options context. Add a shortcut -q for -qscale
and make -aq an alias for -q:a.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move audio_sample_rate to the options context.
Anton Khirnov [Wed, 31 Aug 2011 20:24:06 +0000 (22:24 +0200)]
cmdutils: add support for programs in check_stream_specifier()
Remove now redundant (and broken/undocumented) opt_programid.
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move audio_sample_fmt to options context.
Also document it and replace undocumented and inconsistent
'-sample_fmt list' syntax with -sample_fmts.
Georgi Chorbadzhiyski [Thu, 8 Sep 2011 17:38:48 +0000 (20:38 +0300)]
mpegts: improve error reporting
When reporting continuity error show pid, expected and received cc.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Aviad Rozenhek [Thu, 8 Sep 2011 13:18:48 +0000 (16:18 +0300)]
mpegts: on seek, reset the cc for all PIDs
Prevent false positive continuity counter error logs.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Sat, 10 Sep 2011 14:23:50 +0000 (10:23 -0400)]
doc: explain __STDC_CONSTANT_MACROS in C++
In order to build C++ programs using libav you need
-D__STDC_CONSTANT_MACROS appened to the CXXFLAGS.
Laurent Aimar [Wed, 7 Sep 2011 19:43:03 +0000 (21:43 +0200)]
Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move audio_channels to the options context.
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move *_disable to options context.
Anton Khirnov [Wed, 31 Aug 2011 07:17:08 +0000 (09:17 +0200)]
avconv: remove -[vas]lang options.
They are redundant, the same can be now accomplished with -metadata.
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move codec tags to options context.
Add a new -tag option, make -[vas]tag an alias for -tag:[vas]
Alex Converse [Fri, 9 Sep 2011 21:50:33 +0000 (14:50 -0700)]
cljr: init_get_bits size in bits instead of bytes
Alex Converse [Fri, 9 Sep 2011 20:26:49 +0000 (13:26 -0700)]
indeo2: fail if input buffer too small
Alex Converse [Fri, 9 Sep 2011 20:24:19 +0000 (13:24 -0700)]
indeo2: init_get_bits size in bits instead of bytes
Laurent Aimar [Fri, 9 Sep 2011 20:04:09 +0000 (22:04 +0200)]
ffv1: Fixed size given to init_get_bits() in decoder.
init_get_bits() takes a number of bits and not a number of bytes as
its size argument.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
Alex Converse [Thu, 8 Sep 2011 18:02:43 +0000 (11:02 -0700)]
wavpack: Check error codes rather than working around error conditions.
Diego Biurrun [Thu, 8 Sep 2011 12:21:38 +0000 (14:21 +0200)]
Employ FF_ARRAY_ELEMS instead of manually calculating array length.
Laurent Aimar [Wed, 7 Sep 2011 20:02:55 +0000 (22:02 +0200)]
Fixed invalid access in wavpack decoder on corrupted bitstream.
Signed-off-by: Martin Storsjö <martin@martin.st>
Laurent Aimar [Wed, 7 Sep 2011 20:17:39 +0000 (22:17 +0200)]
Fixed invalid writes in wavpack decoder on corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
Laurent Aimar [Wed, 7 Sep 2011 21:12:32 +0000 (23:12 +0200)]
Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
Michael Niedermayer [Wed, 7 Sep 2011 12:12:42 +0000 (14:12 +0200)]
rtpdec_asf: Fix integer underflow that could allow remote code execution
Fixes MSVR-11-0088.
Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
Kieran Kunhya [Tue, 6 Sep 2011 19:05:27 +0000 (20:05 +0100)]
Add LATM muxer
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Baptiste Coudurier [Sun, 8 May 2011 15:58:20 +0000 (17:58 +0200)]
v210enc: clip values according to specifications
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Baptiste Coudurier [Sun, 8 May 2011 15:57:54 +0000 (17:57 +0200)]
v210enc: switch to PIX_FMT_422P10
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Baptiste Coudurier [Sun, 8 May 2011 15:54:20 +0000 (17:54 +0200)]
v210dec: switch to PIX_FMT_422P10
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Mon, 5 Sep 2011 19:44:33 +0000 (21:44 +0200)]
AVOptions: remove AVOption.offset <= 0 checks
They will only ever be <=0 if the option is broken, in which case this
check is hiding a bug.
Anton Khirnov [Sun, 4 Sep 2011 09:42:41 +0000 (11:42 +0200)]
AVOptions: deprecate av_opt_set_defaults2
It's a hack which was created to allow for multiple options with
different defaults to refer to same field (e.g. 'b' vs 'ab'). There is
no need for it anymore.
Anton Khirnov [Sun, 4 Sep 2011 09:39:49 +0000 (11:39 +0200)]
AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h
Also change it to be more readable.
Anton Khirnov [Wed, 7 Sep 2011 07:13:02 +0000 (09:13 +0200)]
libx264: fix setting some more parameters
Specifically, trellis, nr, me_range, me_method, subq, b_strategy,
keyint_min, chroma_me and coder.
Change their defaults to -1 and apply them after
x264_param_default_preset() if the user explicitly set them.
Andrej Peterka [Wed, 7 Sep 2011 06:27:28 +0000 (08:27 +0200)]
libx264: fix setting the H.264 level
Move setting it after x264_param_default_preset()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Thu, 1 Sep 2011 11:15:09 +0000 (13:15 +0200)]
libx264: add 'direct-pred' private option
Deprecate AVCodecContext.directpred
Anton Khirnov [Thu, 1 Sep 2011 11:15:09 +0000 (13:15 +0200)]
libx264: add 'partitions' private option
Deprecate AVCodecContext.partitions.
Anton Khirnov [Thu, 1 Sep 2011 11:15:09 +0000 (13:15 +0200)]
libx264: add 'cplxblur' private option
Deprecate AVCodecContext.complexityblur
Anton Khirnov [Thu, 1 Sep 2011 11:15:09 +0000 (13:15 +0200)]
libx264: add 'deblock' private option
Deprecate AVCodecContext.deblockalpha/deblockbeta
Anton Khirnov [Thu, 1 Sep 2011 11:15:09 +0000 (13:15 +0200)]
libx264: add 'b-bias' private option
Deprecate AVCodecContext.bframebias.
Anton Khirnov [Thu, 1 Sep 2011 10:59:29 +0000 (12:59 +0200)]
libx264: fix setting some options.
Specifically: gop_size, max_b_frames, scenechange_threshold, qmin, qmax,
max_qdiff, qblur, qcompress and refs.
Change their default values to -1 and only use them if the user
explicitly set them. Otherwise x264 defaults are used.
Move setting those options after x264_param_default_preset(), so they
don't get overwritten by it.
Anton Khirnov [Wed, 31 Aug 2011 12:09:19 +0000 (14:09 +0200)]
libx264: remove useless assignment
priv_data is memset to 0.
Reimar Döffinger [Thu, 24 Mar 2011 20:27:05 +0000 (21:27 +0100)]
ac3dec: avoid pointless alloc and indirection for input_buffer
Since we now always allocate it, it can simply be made part of the context
instead.
Diego Biurrun [Tue, 6 Sep 2011 09:46:57 +0000 (11:46 +0200)]
mpeg12: cosmetics: reformat as K&R
Justin Ruggles [Sun, 7 Aug 2011 21:47:42 +0000 (17:47 -0400)]
ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.
Update FATE references accordingly.
Justin Ruggles [Sun, 7 Aug 2011 21:51:13 +0000 (17:51 -0400)]
ac3enc: scale floating-point coupling channel coefficients in
scale_coefficients() rather than in apply_channel_coupling()
Justin Ruggles [Fri, 26 Aug 2011 17:02:29 +0000 (13:02 -0400)]
ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled.
The number of rematrixing bands still needs to be calculated.
Kostya Shishkov [Mon, 5 Sep 2011 10:37:50 +0000 (12:37 +0200)]
wavpack: fix wrong return value in wavpack_decode_block()
This function should return number of samples decoded, not number of bytes
decoded.
Spotted by Uoti Urpala.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Anton Khirnov [Mon, 5 Sep 2011 09:39:09 +0000 (11:39 +0200)]
avconv: fix parsing metadata specifiers.
After
039267f192f335144d9251e6f05a1513dd1e8ef1, metadata specifiers are
passed without the leading ':'. Remove a ++ that didn't take this into
account.
Anton Khirnov [Sun, 4 Sep 2011 08:01:59 +0000 (10:01 +0200)]
fate: use +frame+slice named constants instead of '3'
Dustin Brody [Sat, 3 Sep 2011 19:38:17 +0000 (15:38 -0400)]
mpeg12: propagate more real return values through chunk decode error return and fix some indentation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Kostya Shishkov [Fri, 2 Sep 2011 09:37:39 +0000 (11:37 +0200)]
wavpack: use context reset in appropriate places
This fixes improper flushing in the cases when the same frame is decoded in
several iterations (for being too large to fit into output buffer) and flush is
called mid-decoding and it also resets context in case of decoding errors.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move mux_preload and mux_max_delay to options context
Anton Khirnov [Wed, 31 Aug 2011 06:45:25 +0000 (08:45 +0200)]
avconv: move bitstream filters to options context.
Change syntax -- -[vas]bsf are replaced by -bsf:[stream specifier], the
argument is now a comma-separated list of bitstream filters.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move rate_emu to options context.
Make it work properly with multiple input files.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move max_frames to options context.
Add a -frames option that uses generic stream specifiers, change
-[vad]frames into aliases to it.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move metadata to options context.
It is now possible to set metadata on streams and chapters.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move ts scale to options context.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move chapter maps to options context.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move metadata maps to options context.
Anton Khirnov [Mon, 29 Aug 2011 07:16:42 +0000 (09:16 +0200)]
avconv: move codec_names to options context.
Anton Khirnov [Sun, 4 Sep 2011 07:56:47 +0000 (09:56 +0200)]
lavc: fix type for thread_type option
It should be flags, not int.
Anton Khirnov [Sun, 28 Aug 2011 16:20:17 +0000 (18:20 +0200)]
avconv: move format to options context
Anton Khirnov [Sun, 28 Aug 2011 16:20:17 +0000 (18:20 +0200)]
avconv: move limit_filesize to options context