Diego Biurrun [Fri, 19 Oct 2012 17:04:40 +0000 (19:04 +0200)]
build: Drop AVX assembly ifdefs
An assembler able to cope with AVX instructions is now required.
Diego Biurrun [Fri, 28 Sep 2012 17:36:53 +0000 (19:36 +0200)]
x86: Require an assembler able to cope with AVX instructions
All modern assemblers have this capability. Older NASM versions
that lack the capability produce code that crashes at runtime,
so it's better to error out during the build process instead.
CC: libav-stable@libav.org
Diego Biurrun [Thu, 25 Oct 2012 16:33:38 +0000 (18:33 +0200)]
doc: git-howto: Leave reviewers time to react before pushing patches
Justin Ruggles [Sat, 10 Nov 2012 15:00:00 +0000 (10:00 -0500)]
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
Also reorder some other #include when applicable.
Justin Ruggles [Sat, 10 Nov 2012 14:03:17 +0000 (09:03 -0500)]
lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h
Alberto Delmás [Sun, 11 Nov 2012 08:47:39 +0000 (09:47 +0100)]
mss2: prevent potential uninitialized reads
The alternative to zeroing on init is setting the corrupted flag in
all cases where pal_pic is not fully written, at the cost of added
complexity.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Kostya Shishkov [Sun, 11 Nov 2012 14:00:38 +0000 (15:00 +0100)]
mss2: reindent after last commit
Alberto Delmás [Sun, 11 Nov 2012 08:23:06 +0000 (09:23 +0100)]
mss2: fix handling of unmasked implicit WMV9 rectangles
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Anton Khirnov [Sat, 3 Nov 2012 07:14:11 +0000 (08:14 +0100)]
configure: add lavu dependency to lavr/lavfi .pc files
Diego Biurrun [Tue, 30 Oct 2012 02:21:48 +0000 (03:21 +0100)]
x86inc: Set program_name outside of x86inc.asm
This reduces the local difference to the x264 upstream version.
Diego Biurrun [Sat, 28 Jul 2012 02:02:09 +0000 (04:02 +0200)]
x86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macros
Diego Biurrun [Sat, 7 Jul 2012 23:30:30 +0000 (01:30 +0200)]
x86: PALIGNR: port to cpuflags
Diego Biurrun [Mon, 30 Jul 2012 15:04:26 +0000 (17:04 +0200)]
x86: h264_qpel_10bit: port to cpuflags
Justin Ruggles [Wed, 7 Nov 2012 19:48:28 +0000 (14:48 -0500)]
flacenc: ensure the order is within the min/max range in LPC order search
This fixes use of uninitialized values when the FLAC encoder uses the
2-level, 4-level, and 8-level search methods. Fixes failure of the
fate-flac-24-comp-8 test when run using valgrind.
Justin Ruggles [Tue, 6 Nov 2012 19:24:31 +0000 (14:24 -0500)]
avconv: rescale packet duration to muxer time base when flushing encoders
Fixes Bug 385
Justin Ruggles [Mon, 5 Nov 2012 20:36:19 +0000 (15:36 -0500)]
add 24-bit FLAC encoding to Changelog
Also move a misplaced line from the 9_beta2 section to <next>
Luca Abeni [Thu, 8 Nov 2012 00:38:50 +0000 (01:38 +0100)]
rtpenc_aac: Fix calculation of the header size
Previously the high end byte was always set to zero. Also get
rid of an unnecessary multiplication (which in practice couldn't
overflow) before shifting.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Mon, 9 Jul 2012 22:04:18 +0000 (00:04 +0200)]
x86: h264_intrapred: port to cpuflags
James Zern [Tue, 12 Apr 2011 00:00:35 +0000 (17:00 -0700)]
libvpxenc: Allow enabling constrained quality (CQ) mode
The CQ mode was introduced in libvpx 0.9.6.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 6 Nov 2012 10:18:57 +0000 (12:18 +0200)]
libopencore-amr: Check the return value of amr_decode_fix_avctx
This allows getting rid of redundant checks later in the codec
specific init functions.
Move the check to before actually initializing the decoder lib,
to simplify error handling.
This fixes a case of returning a value from a void function, present since
d40dab907.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Fri, 19 Oct 2012 23:09:33 +0000 (01:09 +0200)]
fate: atrac: Place atrac1 and atrac3 tests in different groups
Diego Biurrun [Sat, 20 Oct 2012 10:19:54 +0000 (12:19 +0200)]
fate: aac: cosmetics: Group AAC LATM tests together
Diego Biurrun [Tue, 6 Nov 2012 11:07:35 +0000 (12:07 +0100)]
x86: avresample: Add missing colons to assembly labels
YASM accepts labels without colons, but NASM issues warnings.
Justin Ruggles [Mon, 5 Nov 2012 17:49:36 +0000 (12:49 -0500)]
FATE: add a 24-bit FLAC encoding test
Justin Ruggles [Sat, 27 Oct 2012 05:22:07 +0000 (01:22 -0400)]
FATE: rename FLAC tests from flac-* to flac-16-*
This will distinguish FLAC 16-bit tests from FLAC tests with other bit
depths.
Justin Ruggles [Sat, 27 Oct 2012 04:46:43 +0000 (00:46 -0400)]
flacenc: use RICE2 entropy coding mode for 24-bit
Justin Ruggles [Sat, 27 Oct 2012 04:26:02 +0000 (00:26 -0400)]
flacenc: add 24-bit encoding
Justin Ruggles [Sat, 27 Oct 2012 04:25:04 +0000 (00:25 -0400)]
flacdsp: move lpc encoding from FLAC encoder to FLACDSPContext
Also, templatize the functions for 16-bit and 32-bit sample range. This will
be used for 24-bit FLAC encoding.
Justin Ruggles [Sat, 27 Oct 2012 03:22:38 +0000 (23:22 -0400)]
flacenc: use uint64_t for bit counts
Needed to avoid integer overflows for 24-bit encoding.
Justin Ruggles [Thu, 25 Oct 2012 19:07:59 +0000 (15:07 -0400)]
flacenc: remove wasted trailing 0 bits
Justin Ruggles [Fri, 26 Oct 2012 18:48:40 +0000 (14:48 -0400)]
lavu: add av_ctz() for trailing zero bit count
Justin Ruggles [Thu, 25 Oct 2012 19:00:10 +0000 (15:00 -0400)]
flacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endian
This is much faster than calculating the MD5 one sample at a time.
Diego Biurrun [Sat, 20 Oct 2012 10:21:41 +0000 (12:21 +0200)]
fate: aac: Place LATM tests and general AAC tests in different groups
Diego Biurrun [Fri, 2 Nov 2012 21:49:04 +0000 (22:49 +0100)]
build: The A64 muxer depends on rawenc.o for ff_raw_write_packet()
Diego Biurrun [Fri, 2 Nov 2012 17:25:08 +0000 (18:25 +0100)]
x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled
This fixes compilation with --disable-everything and components enabled.
Diego Biurrun [Sun, 15 Jul 2012 15:59:26 +0000 (17:59 +0200)]
x86: PABSW: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 16:49:44 +0000 (18:49 +0200)]
x86: vc1dsp: port to cpuflags
Martin Storsjö [Mon, 5 Nov 2012 09:01:24 +0000 (11:01 +0200)]
rtmp: Use av_strlcat instead of strncat
Signed-off-by: Martin Storsjö <martin@martin.st>
Janne Grunau [Mon, 29 Oct 2012 15:26:59 +0000 (16:26 +0100)]
doc: add apidoc target for doxygen API documentation
Documentation includes only the externally visible API of the installed
headers.
Based on a patch by Anton Khirnov <anton@khirnov.net>.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Thu, 1 Nov 2012 05:34:41 +0000 (06:34 +0100)]
matroskadec: do not use avpacket internals
Anton Khirnov [Wed, 31 Oct 2012 15:54:16 +0000 (16:54 +0100)]
lavf: fix av_interleaved_write_frame() doxy.
A sentence was mistakenly inserted in the middle of another sentence.
Anton Khirnov [Wed, 31 Oct 2012 18:59:53 +0000 (19:59 +0100)]
lavf: clarify the lifetime of demuxed packets.
Anton Khirnov [Wed, 31 Oct 2012 20:15:41 +0000 (21:15 +0100)]
avconv: do not free muxed packet on streamcopy.
The packet belongs to lavf, the caller must not free it or access it in
any other way.
No change in practice, since destruct is set to NULL anyway.
Anton Khirnov [Fri, 2 Nov 2012 09:58:36 +0000 (10:58 +0100)]
crc: move doxy to the header
Anton Khirnov [Fri, 2 Nov 2012 09:56:30 +0000 (10:56 +0100)]
vf_drawtext: do not use deprecated av_tree_node_size
Diego Biurrun [Wed, 1 Aug 2012 22:55:34 +0000 (00:55 +0200)]
x86: Refactor PSWAPD fallback implementations and port to cpuflags
Diego Biurrun [Fri, 2 Nov 2012 11:04:16 +0000 (12:04 +0100)]
parser: Move Doxygen documentation to the header files
John Stebbins [Sat, 20 Oct 2012 16:56:11 +0000 (09:56 -0700)]
PGS subtitles: Expose forced flag
Useful for detection of subtitles displayed during foreign language
scenes.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Sun, 15 Jul 2012 15:43:50 +0000 (17:43 +0200)]
x86: PMINUB: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 13:41:30 +0000 (15:41 +0200)]
x86: ac3dsp: port to cpuflags
Diego Biurrun [Tue, 30 Oct 2012 00:11:14 +0000 (01:11 +0100)]
x86util: Add cpuflags_mmxext alias for cpuflags_mmx2
"mmxext" is a more sensible name and more common in outside projects.
Diego Biurrun [Tue, 30 Oct 2012 01:54:25 +0000 (02:54 +0100)]
x86inc: Only define program_name if the macro is unset
This allows overriding the value from outside of the file.
Michael Niedermayer [Fri, 2 Nov 2012 01:07:15 +0000 (02:07 +0100)]
dv1394: Swap the min and max values of the 'standard' option
DV1394_NTSC has a lower value than DV1394_PAL.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 8 Oct 2012 22:17:45 +0000 (01:17 +0300)]
rtpdec_vp8: Don't parse fields that aren't used
This avoids warnings about unused variables.
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Wed, 31 Oct 2012 16:27:24 +0000 (17:27 +0100)]
lavc: add some AVPacket doxy.
Anton Khirnov [Wed, 31 Oct 2012 21:10:41 +0000 (22:10 +0100)]
audiointerleave: deobfuscate a function call.
right above there is if (pkt) {<do stuff>; pkt = NULL}, so pkt is just a
fancy name for NULL at this point.
Anton Khirnov [Thu, 1 Nov 2012 13:03:04 +0000 (14:03 +0100)]
rtpdec: factorize identical code used in several handlers
Anton Khirnov [Wed, 31 Oct 2012 21:32:36 +0000 (22:32 +0100)]
a64: remove interleaved mode.
It has been disabled since it was added two years ago.
Martin Storsjö [Thu, 1 Nov 2012 13:27:18 +0000 (15:27 +0200)]
doc: Point to the new location of the c99-to-c89 tool
This location contains prebuilt binaries as well.
Signed-off-by: Martin Storsjö <martin@martin.st>
Ilkka Ollakka [Wed, 31 Oct 2012 09:24:36 +0000 (11:24 +0200)]
decode_audio3: initialize AVFrame
Same fix and issue as in
a25d912dca9cd553440167e0476c47581359c0fc
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Justin Ruggles [Tue, 23 Oct 2012 21:22:53 +0000 (17:22 -0400)]
ws-snd1: set channel layout
Justin Ruggles [Tue, 23 Oct 2012 21:19:25 +0000 (17:19 -0400)]
wmavoice: set channel layout
Justin Ruggles [Tue, 23 Oct 2012 21:10:37 +0000 (17:10 -0400)]
wmapro: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Tue, 23 Oct 2012 20:30:59 +0000 (16:30 -0400)]
wma: do not keep private copies of some AVCodecContext fields
channels, sample_rate, bit_rate, and block_align can be used directly from
the AVCodecContext
Justin Ruggles [Tue, 23 Oct 2012 19:27:44 +0000 (15:27 -0400)]
vmdaudio: set channel layout
Justin Ruggles [Tue, 23 Oct 2012 17:17:50 +0000 (13:17 -0400)]
twinvq: validate sample rate code
A large invalid value could cause undefined behavior when left-shifted
by 8 later in the function.
Justin Ruggles [Tue, 23 Oct 2012 17:17:17 +0000 (13:17 -0400)]
twinvq: set channel layout
Justin Ruggles [Tue, 23 Oct 2012 17:15:24 +0000 (13:15 -0400)]
twinvq: validate that channels is not <= 0
This could occur due to integer overflow when reading the channel count from
the extradata.
Justin Ruggles [Tue, 23 Oct 2012 04:53:16 +0000 (00:53 -0400)]
truespeech: set channel layout
Justin Ruggles [Tue, 23 Oct 2012 04:51:26 +0000 (00:51 -0400)]
sipr: set channel layout
Justin Ruggles [Tue, 23 Oct 2012 04:40:51 +0000 (00:40 -0400)]
shorten: validate that the channel count in the header is not <= 0
Justin Ruggles [Tue, 23 Oct 2012 04:35:50 +0000 (00:35 -0400)]
ra288dec: set channel layout
Justin Ruggles [Mon, 22 Oct 2012 22:57:39 +0000 (18:57 -0400)]
ra144dec: set channel layout
Justin Ruggles [Mon, 22 Oct 2012 22:54:29 +0000 (18:54 -0400)]
qdm2: remove unneeded checks for channel count
Justin Ruggles [Mon, 22 Oct 2012 22:53:19 +0000 (18:53 -0400)]
qdm2: make sure channels is not <= 0 and set channel layout
Justin Ruggles [Mon, 22 Oct 2012 22:25:46 +0000 (18:25 -0400)]
qcelpdec: set channel layout
Justin Ruggles [Mon, 22 Oct 2012 21:58:24 +0000 (17:58 -0400)]
nellymoserdec: set channels to 1
Justin Ruggles [Mon, 22 Oct 2012 21:49:59 +0000 (17:49 -0400)]
libopencore-amr: set channel layout for amr-nb or if not set by the user
Justin Ruggles [Mon, 22 Oct 2012 21:41:47 +0000 (17:41 -0400)]
libilbc: set channel layout
Justin Ruggles [Mon, 22 Oct 2012 20:03:20 +0000 (16:03 -0400)]
dpcm: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Mon, 22 Oct 2012 19:54:29 +0000 (15:54 -0400)]
imc: set channels to 1 instead of validating it
Justin Ruggles [Mon, 22 Oct 2012 19:45:38 +0000 (15:45 -0400)]
gsmdec: always set channel layout and sample rate at initialization
Only mono 8kHz is supported.
Justin Ruggles [Mon, 22 Oct 2012 19:43:59 +0000 (15:43 -0400)]
libgsmdec: always set channel layout and sample rate at initialization
Only mono 8kHz is supported.
Justin Ruggles [Mon, 22 Oct 2012 17:26:46 +0000 (13:26 -0400)]
g726dec: do not validate sample rate
For decoding it does not really matter what the sample rate is.
Justin Ruggles [Mon, 22 Oct 2012 17:26:14 +0000 (13:26 -0400)]
g726dec: set channel layout at initialization instead of validating it
Justin Ruggles [Sun, 21 Oct 2012 21:04:58 +0000 (17:04 -0400)]
flacdec: do not warn on sample rate change
Justin Ruggles [Sun, 21 Oct 2012 21:02:28 +0000 (17:02 -0400)]
flacdec: allow mid-stream channel layout change
Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.
Justin Ruggles [Sun, 21 Oct 2012 20:15:34 +0000 (16:15 -0400)]
flacdec: use av_samples_* functions for sample buffer allocation
Also, return an error on allocation failure.
Justin Ruggles [Sun, 21 Oct 2012 19:12:36 +0000 (15:12 -0400)]
dcadec: allow the decoder to change the channel layout mid-stream
Justin Ruggles [Sun, 21 Oct 2012 18:47:10 +0000 (14:47 -0400)]
cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR
Justin Ruggles [Sun, 21 Oct 2012 18:43:02 +0000 (14:43 -0400)]
cook: move samples_per_frame from COOKSubpacket to where it is used
Justin Ruggles [Sun, 21 Oct 2012 18:36:38 +0000 (14:36 -0400)]
cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()
Justin Ruggles [Sun, 21 Oct 2012 18:33:11 +0000 (14:33 -0400)]
cook: reverse a condition so that the code makes more sense
Justin Ruggles [Sun, 21 Oct 2012 18:26:29 +0000 (14:26 -0400)]
cook: remove unneeded COOKContext variable, sample_rate
Justin Ruggles [Sun, 21 Oct 2012 18:25:18 +0000 (14:25 -0400)]
cook: remove unneeded COOKContext variable, bit_rate
Justin Ruggles [Sun, 21 Oct 2012 18:24:04 +0000 (14:24 -0400)]
cook: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Sun, 21 Oct 2012 17:48:50 +0000 (13:48 -0400)]
bmvaudio: set channel layout at init() rather than validating it
Justin Ruggles [Wed, 17 Oct 2012 15:45:49 +0000 (11:45 -0400)]
atrac1: do not keep a copy of channel count in the private context
Justin Ruggles [Wed, 17 Oct 2012 15:29:04 +0000 (11:29 -0400)]
dsicinaudio: set channels and channel layout
Justin Ruggles [Mon, 15 Oct 2012 20:40:44 +0000 (16:40 -0400)]
g722dec: set channel layout at initialization instead of validating it