platform/upstream/libav.git
11 years agohlsenc: stand alone hls segmenter
Luca Barbato [Fri, 26 Oct 2012 14:36:56 +0000 (16:36 +0200)]
hlsenc: stand alone hls segmenter

Simplifies usage but has higher latency.

11 years agoyop: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:59:00 +0000 (18:59 -0400)]
yop: set channel layout

11 years agowtv: set channel layout for mpeg audio
Justin Ruggles [Sat, 7 Apr 2012 22:55:43 +0000 (18:55 -0400)]
wtv: set channel layout for mpeg audio

11 years agowestwood_aud: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:50:41 +0000 (18:50 -0400)]
westwood_aud: set channel layout

11 years agowc3movie: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:49:09 +0000 (18:49 -0400)]
wc3movie: set channel layout

11 years agotmv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:45:49 +0000 (18:45 -0400)]
tmv: set channel layout

11 years agotiertexseq: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:44:20 +0000 (18:44 -0400)]
tiertexseq: set channel layout

11 years agoswfdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:42:26 +0000 (18:42 -0400)]
swfdec: set channel layout

11 years agosol: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:38:29 +0000 (18:38 -0400)]
sol: set channel layout

11 years agosmacker: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:36:49 +0000 (18:36 -0400)]
smacker: set channel layout

11 years agosiff: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:36:08 +0000 (18:36 -0400)]
siff: set channel layout

11 years agosierravmd: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:32:13 +0000 (18:32 -0400)]
sierravmd: set channel layout

11 years agortpdec_amr: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:24:45 +0000 (18:24 -0400)]
rtpdec_amr: set channel layout

11 years agorsodec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:18:37 +0000 (18:18 -0400)]
rsodec: set channel layout

11 years agormdec: set channel layout for RA version 3
Justin Ruggles [Sat, 7 Apr 2012 22:01:27 +0000 (18:01 -0400)]
rmdec: set channel layout for RA version 3

11 years agoqcp: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:57:25 +0000 (17:57 -0400)]
qcp: set channel layout

11 years agopsxstr: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:56:19 +0000 (17:56 -0400)]
psxstr: set channel layout

11 years agoomadec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:53:39 +0000 (17:53 -0400)]
omadec: set channel layout

11 years agooggparsespeex: validate channel count and set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:39:30 +0000 (17:39 -0400)]
oggparsespeex: validate channel count and set channel layout

11 years agonuv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:35:20 +0000 (17:35 -0400)]
nuv: set channel layout

11 years agomxg: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:22:05 +0000 (17:22 -0400)]
mxg: set channel layout

11 years agomvi: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:17:19 +0000 (17:17 -0400)]
mvi: set channel layout

11 years agompc7: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:03:19 +0000 (17:03 -0400)]
mpc7: set channel layout

11 years agommf: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:56:48 +0000 (16:56 -0400)]
mmf: set channel layout

11 years agomm: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:52:57 +0000 (16:52 -0400)]
mm: set channel layout

11 years agojvdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:47:15 +0000 (16:47 -0400)]
jvdec: set channel layout

11 years agoiss: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:45:48 +0000 (16:45 -0400)]
iss: set channel layout

11 years agoipmovie: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:44:46 +0000 (16:44 -0400)]
ipmovie: set channel layout

11 years agoiff: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 18:05:45 +0000 (14:05 -0400)]
iff: set channel layout

11 years agoidroqdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 18:03:43 +0000 (14:03 -0400)]
idroqdec: set channel layout

11 years agogxfdec: set channel layout when applicable
Justin Ruggles [Sat, 7 Apr 2012 18:00:04 +0000 (14:00 -0400)]
gxfdec: set channel layout when applicable

11 years agogsmdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 17:51:42 +0000 (13:51 -0400)]
gsmdec: set channel layout

11 years agoflvdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 17:31:40 +0000 (13:31 -0400)]
flvdec: set channel layout

11 years agodv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:59:32 +0000 (12:59 -0400)]
dv: set channel layout

11 years agodsicin: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:56:51 +0000 (12:56 -0400)]
dsicin: set channel layout

11 years agodaud: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:55:12 +0000 (12:55 -0400)]
daud: set channel layout

Update FATE reference due to WAVE channel mask now being set correctly.

11 years agocdxl: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:49:11 +0000 (12:49 -0400)]
cdxl: set channel layout

11 years agobmv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:12:35 +0000 (12:12 -0400)]
bmv: set channel layout

11 years agobink: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:10:46 +0000 (12:10 -0400)]
bink: set channel layout

11 years agobfi: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:06:41 +0000 (12:06 -0400)]
bfi: set channel layout

11 years agobethsoftvid: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:05:36 +0000 (12:05 -0400)]
bethsoftvid: set channel layout

11 years agoapc: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 15:25:52 +0000 (11:25 -0400)]
apc: set channel layout

11 years agoamr: set channel_layout
Justin Ruggles [Sat, 7 Apr 2012 15:07:16 +0000 (11:07 -0400)]
amr: set channel_layout

11 years agoppc: replace pointer casting with AV_COPY32
Mans Rullgard [Sat, 10 Nov 2012 13:21:52 +0000 (13:21 +0000)]
ppc: replace pointer casting with AV_COPY32

This removes warnings about strict aliasing violations.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoppc: fix some unused variable warnings
Mans Rullgard [Sat, 10 Nov 2012 13:16:29 +0000 (13:16 +0000)]
ppc: fix some unused variable warnings

The third argument of OP_U8_ALTIVEC is evaluated at most once so
there is no need for a potentially unused temporary variable.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoconfigure: remove support for -n flag in print_enabled()
Mans Rullgard [Sat, 27 Oct 2012 18:11:04 +0000 (19:11 +0100)]
configure: remove support for -n flag in print_enabled()

This flag is no longer used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobinkaudio: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:10:59 +0000 (12:10 -0400)]
binkaudio: set channel layout

11 years agobuild: Drop AVX assembly ifdefs
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.

11 years agox86: Require an assembler able to cope with AVX instructions
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
11 years agodoc: git-howto: Leave reviewers time to react before pushing patches
Diego Biurrun [Thu, 25 Oct 2012 16:33:38 +0000 (18:33 +0200)]
doc: git-howto: Leave reviewers time to react before pushing patches

11 years agoInclude libavutil/channel_layout.h instead of libavutil/audioconvert.h
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.

11 years agolavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h
Justin Ruggles [Sat, 10 Nov 2012 14:03:17 +0000 (09:03 -0500)]
lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h

11 years agomss2: prevent potential uninitialized reads
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>
11 years agomss2: reindent after last commit
Kostya Shishkov [Sun, 11 Nov 2012 14:00:38 +0000 (15:00 +0100)]
mss2: reindent after last commit

11 years agomss2: fix handling of unmasked implicit WMV9 rectangles
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>
11 years agoconfigure: add lavu dependency to lavr/lavfi .pc files
Anton Khirnov [Sat, 3 Nov 2012 07:14:11 +0000 (08:14 +0100)]
configure: add lavu dependency to lavr/lavfi .pc files

11 years agox86inc: Set program_name outside of x86inc.asm
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.

12 years agox86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macros
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

12 years agox86: PALIGNR: port to cpuflags
Diego Biurrun [Sat, 7 Jul 2012 23:30:30 +0000 (01:30 +0200)]
x86: PALIGNR: port to cpuflags

12 years agox86: h264_qpel_10bit: port to cpuflags
Diego Biurrun [Mon, 30 Jul 2012 15:04:26 +0000 (17:04 +0200)]
x86: h264_qpel_10bit: port to cpuflags

12 years agoflacenc: ensure the order is within the min/max range in LPC order search
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.

12 years agoavconv: rescale packet duration to muxer time base when flushing encoders
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

12 years agoadd 24-bit FLAC encoding to Changelog
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>

12 years agortpenc_aac: Fix calculation of the header size
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>
12 years agox86: h264_intrapred: port to cpuflags
Diego Biurrun [Mon, 9 Jul 2012 22:04:18 +0000 (00:04 +0200)]
x86: h264_intrapred: port to cpuflags

12 years agolibvpxenc: Allow enabling constrained quality (CQ) mode
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>
12 years agolibopencore-amr: Check the return value of amr_decode_fix_avctx
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>
12 years agofate: atrac: Place atrac1 and atrac3 tests in different groups
Diego Biurrun [Fri, 19 Oct 2012 23:09:33 +0000 (01:09 +0200)]
fate: atrac: Place atrac1 and atrac3 tests in different groups

12 years agofate: aac: cosmetics: Group AAC LATM tests together
Diego Biurrun [Sat, 20 Oct 2012 10:19:54 +0000 (12:19 +0200)]
fate: aac: cosmetics: Group AAC LATM tests together

12 years agox86: avresample: Add missing colons to assembly labels
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.

12 years agoFATE: add a 24-bit FLAC encoding test
Justin Ruggles [Mon, 5 Nov 2012 17:49:36 +0000 (12:49 -0500)]
FATE: add a 24-bit FLAC encoding test

12 years agoFATE: rename FLAC tests from flac-* to flac-16-*
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.

12 years agoflacenc: use RICE2 entropy coding mode for 24-bit
Justin Ruggles [Sat, 27 Oct 2012 04:46:43 +0000 (00:46 -0400)]
flacenc: use RICE2 entropy coding mode for 24-bit

12 years agoflacenc: add 24-bit encoding
Justin Ruggles [Sat, 27 Oct 2012 04:26:02 +0000 (00:26 -0400)]
flacenc: add 24-bit encoding

12 years agoflacdsp: move lpc encoding from FLAC encoder to FLACDSPContext
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.

12 years agoflacenc: use uint64_t for bit counts
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.

12 years agoflacenc: remove wasted trailing 0 bits
Justin Ruggles [Thu, 25 Oct 2012 19:07:59 +0000 (15:07 -0400)]
flacenc: remove wasted trailing 0 bits

12 years agolavu: add av_ctz() for trailing zero bit count
Justin Ruggles [Fri, 26 Oct 2012 18:48:40 +0000 (14:48 -0400)]
lavu: add av_ctz() for trailing zero bit count

12 years agoflacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endian
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.

12 years agofate: aac: Place LATM tests and general AAC tests in different groups
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

12 years agobuild: The A64 muxer depends on rawenc.o for ff_raw_write_packet()
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()

12 years agox86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled
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.

12 years agox86: PABSW: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 15:59:26 +0000 (17:59 +0200)]
x86: PABSW: port to cpuflags

12 years agox86: vc1dsp: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 16:49:44 +0000 (18:49 +0200)]
x86: vc1dsp: port to cpuflags

12 years agortmp: Use av_strlcat instead of strncat
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>
12 years agodoc: add apidoc target for doxygen API documentation
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>
12 years agomatroskadec: do not use avpacket internals
Anton Khirnov [Thu, 1 Nov 2012 05:34:41 +0000 (06:34 +0100)]
matroskadec: do not use avpacket internals

12 years agolavf: fix av_interleaved_write_frame() doxy.
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.

12 years agolavf: clarify the lifetime of demuxed packets.
Anton Khirnov [Wed, 31 Oct 2012 18:59:53 +0000 (19:59 +0100)]
lavf: clarify the lifetime of demuxed packets.

12 years agoavconv: do not free muxed packet on streamcopy.
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.

12 years agocrc: move doxy to the header
Anton Khirnov [Fri, 2 Nov 2012 09:58:36 +0000 (10:58 +0100)]
crc: move doxy to the header

12 years agovf_drawtext: do not use deprecated av_tree_node_size
Anton Khirnov [Fri, 2 Nov 2012 09:56:30 +0000 (10:56 +0100)]
vf_drawtext: do not use deprecated av_tree_node_size

12 years agox86: Refactor PSWAPD fallback implementations and port to cpuflags
Diego Biurrun [Wed, 1 Aug 2012 22:55:34 +0000 (00:55 +0200)]
x86: Refactor PSWAPD fallback implementations and port to cpuflags

12 years agoparser: Move Doxygen documentation to the header files
Diego Biurrun [Fri, 2 Nov 2012 11:04:16 +0000 (12:04 +0100)]
parser: Move Doxygen documentation to the header files

12 years agoPGS subtitles: Expose forced flag
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>
12 years agox86: PMINUB: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 15:43:50 +0000 (17:43 +0200)]
x86: PMINUB: port to cpuflags

12 years agox86: ac3dsp: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 13:41:30 +0000 (15:41 +0200)]
x86: ac3dsp: port to cpuflags

12 years agox86util: Add cpuflags_mmxext alias for cpuflags_mmx2
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.

12 years agox86inc: Only define program_name if the macro is unset
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.

12 years agodv1394: Swap the min and max values of the 'standard' option
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>