Anton Khirnov [Wed, 30 Jan 2013 15:41:08 +0000 (16:41 +0100)]
get_buffer(): do not initialize the data.
There may be more decoders that rely on this. Those should be found and
fixed.
Anton Khirnov [Thu, 7 Feb 2013 17:31:45 +0000 (18:31 +0100)]
vf_yadif: fix out-of line reads
Some changes in the border pixels, visually indistinguishable.
Anton Khirnov [Sat, 9 Feb 2013 07:28:37 +0000 (08:28 +0100)]
vf_yadif: factorize initializing the filtering callbacks
Do it all in config_props().
Diego Biurrun [Fri, 15 Feb 2013 01:13:42 +0000 (02:13 +0100)]
sparc: dsputil: Simplify high_bit_depth checks
Diego Biurrun [Fri, 18 Jan 2013 22:00:18 +0000 (23:00 +0100)]
h264idct: Replace duplicate scan8 table by appropriate #include
Diego Biurrun [Thu, 14 Feb 2013 18:07:21 +0000 (19:07 +0100)]
avutil: Ensure that emms_c is always defined, even on non-x86
Diego Biurrun [Wed, 13 Feb 2013 19:00:47 +0000 (20:00 +0100)]
configure: Move MinGW CPPFLAGS setting to libc section, where it belongs
Diego Biurrun [Tue, 22 Jan 2013 01:22:29 +0000 (02:22 +0100)]
avutil: Move emms code to x86-specific header
Derek Buitenhuis [Wed, 13 Feb 2013 23:41:37 +0000 (18:41 -0500)]
doc/platform: Fix 10l typo
This error was somehow missed for months.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diego Biurrun [Fri, 8 Feb 2013 14:55:52 +0000 (15:55 +0100)]
dsputil: Move STRIDE_ALIGN macro to the only place it is used
Justin Ruggles [Sun, 27 Jan 2013 19:47:54 +0000 (14:47 -0500)]
lavr: fix mixing matrix reduction when normalization is disabled
In some cases when an input contributes fully to the corresponding
output, other inputs may also contribute to the same output. This is the
case, for example, for the default 5.1 to stereo downmix matrix without
normalization.
Justin Ruggles [Fri, 18 Jan 2013 18:44:10 +0000 (13:44 -0500)]
lavr: fix matrix reduction for upmixing in certain cases
Do not skip an output if the corresponding input contributes to other output
channels.
Justin Ruggles [Fri, 18 Jan 2013 18:34:26 +0000 (13:34 -0500)]
lavr: cosmetics: reindent
Justin Ruggles [Fri, 18 Jan 2013 18:27:50 +0000 (13:27 -0500)]
lavr: make sure that the mix function is reset even if no mixing will be done
If the matrix reduction ends up with no mixing matrix needed, we need to still
reset the mix function accordingly and log the info to the user.
Justin Ruggles [Fri, 18 Jan 2013 18:25:19 +0000 (13:25 -0500)]
lavr: print out the mix matrix in ff_audio_mix_set_matrix()
This will print the new matrix if it is set after initialization.
Justin Ruggles [Mon, 24 Dec 2012 01:31:24 +0000 (20:31 -0500)]
ws-snd1: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:29:44 +0000 (20:29 -0500)]
wmavoice: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:26:15 +0000 (20:26 -0500)]
wmaenc: alloc/free coded_frame instead of keeping it in the WMACodecContext
Justin Ruggles [Mon, 24 Dec 2012 01:25:52 +0000 (20:25 -0500)]
wma: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:16:21 +0000 (20:16 -0500)]
wmapro: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:13:08 +0000 (20:13 -0500)]
wavpack: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:11:36 +0000 (20:11 -0500)]
vorbis: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:10:01 +0000 (20:10 -0500)]
vmdaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:08:05 +0000 (20:08 -0500)]
twinvq: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:06:41 +0000 (20:06 -0500)]
tta: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:04:31 +0000 (20:04 -0500)]
truespeech: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:02:46 +0000 (20:02 -0500)]
tak: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 01:00:41 +0000 (20:00 -0500)]
smackaud: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:58:35 +0000 (19:58 -0500)]
sipr: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:56:32 +0000 (19:56 -0500)]
shorten: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:54:24 +0000 (19:54 -0500)]
s302m: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:52:00 +0000 (19:52 -0500)]
ra288: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:50:54 +0000 (19:50 -0500)]
ra144: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:49:38 +0000 (19:49 -0500)]
ralf: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:46:58 +0000 (19:46 -0500)]
qdm2: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:43:11 +0000 (19:43 -0500)]
qcelp: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:41:46 +0000 (19:41 -0500)]
pcm-bluray: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:39:44 +0000 (19:39 -0500)]
nellymoser: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:38:34 +0000 (19:38 -0500)]
mpc7/8: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:34:54 +0000 (19:34 -0500)]
mpegaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:24:24 +0000 (19:24 -0500)]
mlp/truehd: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:22:07 +0000 (19:22 -0500)]
mace: decode directly to the user-provided AVFrame
Justin Ruggles [Mon, 24 Dec 2012 00:19:25 +0000 (19:19 -0500)]
libspeex: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:45:55 +0000 (18:45 -0500)]
libopus: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:42:58 +0000 (18:42 -0500)]
libopencore-amr: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:40:50 +0000 (18:40 -0500)]
libgsm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:05:53 +0000 (18:05 -0500)]
libilbc: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:03:43 +0000 (18:03 -0500)]
dpcm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:01:45 +0000 (18:01 -0500)]
imc/iac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:00:01 +0000 (18:00 -0500)]
gsm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:56:53 +0000 (17:56 -0500)]
g726: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:55:09 +0000 (17:55 -0500)]
g723.1: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:53:06 +0000 (17:53 -0500)]
g722: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:49:27 +0000 (17:49 -0500)]
flac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:47:02 +0000 (17:47 -0500)]
cinaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:43:47 +0000 (17:43 -0500)]
dca: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:41:31 +0000 (17:41 -0500)]
cook: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:37:34 +0000 (17:37 -0500)]
comfortnoise: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:35:54 +0000 (17:35 -0500)]
bmvaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:10:12 +0000 (17:10 -0500)]
pcm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:26:26 +0000 (17:26 -0500)]
binkaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:24:53 +0000 (17:24 -0500)]
atrac3: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:07:10 +0000 (17:07 -0500)]
atrac1: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:05:40 +0000 (17:05 -0500)]
ape: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:03:36 +0000 (17:03 -0500)]
amrwb: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:01:33 +0000 (17:01 -0500)]
amrnb: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:59:43 +0000 (16:59 -0500)]
als: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:56:17 +0000 (16:56 -0500)]
alac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:51:41 +0000 (16:51 -0500)]
adxenc: alloc/free coded_frame instead of keeping it in the ADXContext
Justin Ruggles [Sun, 23 Dec 2012 21:50:06 +0000 (16:50 -0500)]
adx: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:43:07 +0000 (16:43 -0500)]
adpcm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:40:37 +0000 (16:40 -0500)]
ac3: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:37:23 +0000 (16:37 -0500)]
aac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:28:03 +0000 (16:28 -0500)]
8svx: decode directly to the user-provided AVFrame
Luca Barbato [Sat, 9 Feb 2013 21:37:07 +0000 (22:37 +0100)]
lavu: avoid clashing definition of E
E is usually defined as a shorthand for AV_OPT_FLAG_ENCODING_PARAM.
Rename the single expansion E(x) now used in libavutil to E1.
Diego Biurrun [Mon, 11 Feb 2013 17:53:33 +0000 (18:53 +0100)]
doc: developer: Add a note about reserved system name space
Diego Biurrun [Mon, 11 Feb 2013 17:39:12 +0000 (18:39 +0100)]
doc: developer: Fix wording in "naming conventions" section
Diego Biurrun [Sun, 3 Feb 2013 14:02:31 +0000 (15:02 +0100)]
openbsd: Add minor number to shared library install name
This is what the OpenBSD porter's manual describes as correct, cf.
http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs
Diego Biurrun [Sun, 3 Feb 2013 14:03:08 +0000 (15:03 +0100)]
build: Make library minor version visible in the Makefile
This allows employing that number in library install commands.
Daniel Kang [Mon, 11 Feb 2013 18:45:10 +0000 (13:45 -0500)]
x86: mpeg4qpel: Make movsxifnidn do the right thing
Fixes an instruction that does nothing by changing the
source to dword.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Martin Storsjö [Mon, 11 Feb 2013 18:27:50 +0000 (20:27 +0200)]
h264: Copy h264chroma dsp context to slice thread copies
This fixes slice threading which seems to have been broken since
79dad2a93.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 11 Feb 2013 11:37:29 +0000 (13:37 +0200)]
swscale: Disallow conversion to GBRP16
This reverts parts of
d6d5ef5534d582, that didn't work right. (The
tests that were added failed on big endian, and the output looked
garbled on little endian as well.)
This is due to the fact that the intermediate scaling values (from
e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and
thus requires a separate output function, while yuv2gbrp_full_X_c
only interprets it as int16_t.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Sun, 3 Feb 2013 14:43:47 +0000 (15:43 +0100)]
crc: Move static data table from header to .c file
Having static data tables in header files is a potential source of trouble.
Diego Biurrun [Fri, 8 Feb 2013 14:55:24 +0000 (15:55 +0100)]
avcodec/rectangle: Remove nonsense assert
Derek Buitenhuis [Sat, 9 Feb 2013 19:03:02 +0000 (14:03 -0500)]
libfdk-aacenc: Actually check for upper bounds of cutoff
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Martin Storsjö [Thu, 7 Feb 2013 08:54:20 +0000 (10:54 +0200)]
arm: Fall back to runtime cpu feature detection via /proc/cpuinfo
On recent android versions, /proc/self/auxw is unreadable
(unless the process is running running under the shell uid or
in debuggable mode, which makes it hard to notice). See
http://b.android.com/43055 and
https://android-review.googlesource.com/51271 for more information
about the issue.
This makes sure e.g. neon optimizations are enabled at runtime in
android apps even when built in release mode, if configured to
use the runtime detection.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Sun, 10 Feb 2013 21:03:48 +0000 (22:03 +0100)]
sparc: dsputil_vis: Fix silly variable name search and replace typo
Michael Niedermayer [Sat, 26 Jan 2013 22:05:26 +0000 (23:05 +0100)]
sws: disable yuv2rgb warning for planar rgb.
planar rgb formats do not use the table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Sat, 26 Jan 2013 18:49:22 +0000 (19:49 +0100)]
sws: dont enable chrSrcHSubSample for planar RGB
This code path is not implemented and makes not much sense to implement
either.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Sat, 26 Jan 2013 18:43:06 +0000 (19:43 +0100)]
sws: use planarRgbToRgbWrapper only for 8bit per component
The function doesnt support >8bit currently
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Fri, 25 Jan 2013 22:05:48 +0000 (23:05 +0100)]
sws: GBRP9, GBRP10, and GBRP16 output support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Anton Khirnov [Fri, 8 Feb 2013 13:00:28 +0000 (14:00 +0100)]
FATE: add tests for additional flavors of asf cover art
Anton Khirnov [Fri, 8 Feb 2013 12:54:36 +0000 (13:54 +0100)]
asfdec: do not assume every AVStream has a corresponding ASFStream
This won't be true for ID3 attached picture.
Also stop allocating now useless dummy ASFStreams for ASF native
attached pictures.
Vladimir Pantelic [Fri, 8 Feb 2013 10:06:37 +0000 (11:06 +0100)]
asfdec: support reading ID3v2 tags in ASF files
Yes, these files do exist
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Vladimir Pantelic [Thu, 7 Feb 2013 17:42:39 +0000 (18:42 +0100)]
avplay: apply the stream sample_aspect_ratio to decoded video frames
If there is a sample_aspect_ratio in the stream, then apply it to every
decoded frame in the same way as avconv does. This also makes sure that
the avfilter chain has access to the aspect ratio.
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Vladimir Pantelic [Wed, 6 Feb 2013 13:35:27 +0000 (14:35 +0100)]
asfdec: also read Metadata Library Object
In some ASF files this objects holds cover art and other tags. Compared to
Metadata Object it can also hold GUIDs, but we ignore these for now.
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Vladimir Pantelic [Wed, 6 Feb 2013 13:35:26 +0000 (14:35 +0100)]
asfdec: read the full Metadata Object, not just aspect ratio information
Use the same get_tag()/get_value() as for the Extended Content Description
but handle the 16 bit vs 32 bit difference for type 2 (BOOL)
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Vladimir Pantelic [Wed, 6 Feb 2013 13:35:25 +0000 (14:35 +0100)]
asfdec: silence a warning
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diego Biurrun [Fri, 8 Feb 2013 23:09:54 +0000 (00:09 +0100)]
mss4, ra288: Remove unused DSPContext local codec context members
Diego Biurrun [Thu, 7 Feb 2013 20:58:48 +0000 (21:58 +0100)]
dsputil: Move fdct function declarations to dct.h