platform/upstream/libav.git
11 years agoarm: Drop unnecessary ff_ name prefixes from static functions
Diego Biurrun [Sat, 20 Apr 2013 19:49:09 +0000 (21:49 +0200)]
arm: Drop unnecessary ff_ name prefixes from static functions

11 years agoavcodec: Drop unnecessary ff_ name prefixes from static functions
Diego Biurrun [Sat, 20 Apr 2013 19:51:11 +0000 (21:51 +0200)]
avcodec: Drop unnecessary ff_ name prefixes from static functions

11 years agoppc: More consistent arch initialization
Diego Biurrun [Sun, 14 Apr 2013 12:47:30 +0000 (14:47 +0200)]
ppc: More consistent arch initialization

11 years agofft: Remove pointless #ifdefs around function declarations
Diego Biurrun [Fri, 26 Apr 2013 10:43:11 +0000 (12:43 +0200)]
fft: Remove pointless #ifdefs around function declarations

11 years agoppc: Move AltiVec utility headers out of AltiVec ifdefs
Diego Biurrun [Fri, 26 Apr 2013 22:37:32 +0000 (00:37 +0200)]
ppc: Move AltiVec utility headers out of AltiVec ifdefs

Now that the headers themselves have ifdef protection this is no
longer necessary and more consistent with normal include handling.

11 years agoppc: util_altivec: Surround AltiVec-related code by appropriate ifdefs
Diego Biurrun [Fri, 26 Apr 2013 22:35:08 +0000 (00:35 +0200)]
ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefs

This prevents non-AltiVec-enabled compilers from choking.

11 years agoppc: More consistent names for H.264 optimizations files
Diego Biurrun [Sun, 14 Apr 2013 12:42:24 +0000 (14:42 +0200)]
ppc: More consistent names for H.264 optimizations files

11 years agompegaudiosp: More consistent names for ppc/x86 optimization files
Diego Biurrun [Fri, 26 Apr 2013 23:03:37 +0000 (01:03 +0200)]
mpegaudiosp: More consistent names for ppc/x86 optimization files

11 years agoavconv: make output -ss insert trim/atrim filters.
Anton Khirnov [Wed, 10 Apr 2013 13:02:01 +0000 (15:02 +0200)]
avconv: make output -ss insert trim/atrim filters.

This makes output -ss sample-accurate for audio and will allow further
simplication in the future.

11 years agoavconv: make -t insert trim/atrim filters.
Anton Khirnov [Wed, 10 Apr 2013 13:02:01 +0000 (15:02 +0200)]
avconv: make -t insert trim/atrim filters.

This makes -t sample-accurate for audio and will allow further
simplication in the future.

Most of the FATE changes are due to audio now being sample accurate. In
some cases a video frame was incorrectly passed with the old code, while
its was over the limit.

11 years agoavconv_opt: allocate an OutputFile before the streams.
Anton Khirnov [Wed, 10 Apr 2013 12:46:20 +0000 (14:46 +0200)]
avconv_opt: allocate an OutputFile before the streams.

This way OutputFile variables like recording time can be used when
creating the streams.

11 years agolavfi: add trim and atrim filters.
Anton Khirnov [Tue, 2 Apr 2013 17:30:11 +0000 (19:30 +0200)]
lavfi: add trim and atrim filters.

11 years agolavfi: add an asetpts filter
Anton Khirnov [Wed, 10 Apr 2013 14:28:38 +0000 (16:28 +0200)]
lavfi: add an asetpts filter

11 years agovf_setpts: cosmetics, reformat
Anton Khirnov [Wed, 10 Apr 2013 14:13:50 +0000 (16:13 +0200)]
vf_setpts: cosmetics, reformat

11 years agographparser: only print filter arguments if they are non-NULL
Anton Khirnov [Wed, 10 Apr 2013 10:44:13 +0000 (12:44 +0200)]
graphparser: only print filter arguments if they are non-NULL

11 years agoaf_channelmap: ensure the output channel layout is valid.
Anton Khirnov [Wed, 10 Apr 2013 10:40:04 +0000 (12:40 +0200)]
af_channelmap: ensure the output channel layout is valid.

11 years agoaf_channelmap: remove now unnecessary goto
Anton Khirnov [Wed, 10 Apr 2013 10:28:51 +0000 (12:28 +0200)]
af_channelmap: remove now unnecessary goto

Options are freed from the generic code now, there is no need to call
av_opt_free() from the filter.

11 years agovf_split: fix description
Anton Khirnov [Tue, 9 Apr 2013 20:09:20 +0000 (22:09 +0200)]
vf_split: fix description

It now allows an arbitrary number of inputs, not just two.

11 years agolavc: clear AVBuffers on decoded frames if refcounted_frames is not set
Anton Khirnov [Wed, 24 Apr 2013 08:19:54 +0000 (10:19 +0200)]
lavc: clear AVBuffers on decoded frames if refcounted_frames is not set

Otherwise some code might mistakenly think it is allowed to unref those
buffers, which would lead to double unref.

11 years agoFATE: add an additional indeo3 test
Anton Khirnov [Sat, 27 Apr 2013 18:54:55 +0000 (20:54 +0200)]
FATE: add an additional indeo3 test

It is a part of the sample that got broken by recent indeo3 changes.

11 years agoindeo3: use put_pixels instead of put_no_rnd_pixels in copy_cell()
Anton Khirnov [Sat, 27 Apr 2013 18:29:09 +0000 (20:29 +0200)]
indeo3: use put_pixels instead of put_no_rnd_pixels in copy_cell()

They are the same in this case, except put_pixels also has blocksizes
smaller than 8.

11 years agoindeo3: fix off by one in MV validity check
Anton Khirnov [Sat, 27 Apr 2013 16:01:51 +0000 (18:01 +0200)]
indeo3: fix off by one in MV validity check

CC:libav-stable@libav.org

11 years agox86: dsputil: Remove a set of pointless #ifs around function declarations
Diego Biurrun [Wed, 10 Apr 2013 23:31:51 +0000 (01:31 +0200)]
x86: dsputil: Remove a set of pointless #ifs around function declarations

11 years agox86: dsputil: cosmetics: Group ff_{avg|put}_pixels16_mmxext() declarations
Diego Biurrun [Sun, 28 Apr 2013 00:05:58 +0000 (02:05 +0200)]
x86: dsputil: cosmetics: Group ff_{avg|put}_pixels16_mmxext() declarations

11 years agox86: hpeldsp: Remove unused macro definitions
Diego Biurrun [Tue, 23 Apr 2013 14:26:02 +0000 (16:26 +0200)]
x86: hpeldsp: Remove unused macro definitions

11 years agoaac: check the maximum number of channels
Luca Barbato [Sat, 27 Apr 2013 16:20:47 +0000 (18:20 +0200)]
aac: check the maximum number of channels

Broken bitstreams could report a larger than specified number of
channels and cause outbound writes.

CC:libav-stable@libav.org

11 years agoh264_refs: Do not print check_opcodes() return value
Diego Biurrun [Sat, 27 Apr 2013 16:49:54 +0000 (18:49 +0200)]
h264_refs: Do not print check_opcodes() return value

The return value provides no useful information and removing the printing
avoids the following warning:
libavcodec/h264_refs.c:788:15: warning: 'i' may be used uninitialized in this function [-Wuninitialized]

11 years agofate: Invoke pixfmts lavfi tests through fate-run.sh
Diego Biurrun [Mon, 15 Apr 2013 23:42:38 +0000 (01:42 +0200)]
fate: Invoke pixfmts lavfi tests through fate-run.sh

11 years agofate: Invoke pixdesc lavfi tests through fate-run.sh
Diego Biurrun [Mon, 15 Apr 2013 22:15:15 +0000 (00:15 +0200)]
fate: Invoke pixdesc lavfi tests through fate-run.sh

11 years agofate: Invoke standard lavfi tests through fate-run.sh
Diego Biurrun [Mon, 15 Apr 2013 21:39:08 +0000 (23:39 +0200)]
fate: Invoke standard lavfi tests through fate-run.sh

11 years agooma: K&R formatting cosmetics
Luca Barbato [Wed, 17 Apr 2013 09:09:36 +0000 (11:09 +0200)]
oma: K&R formatting cosmetics

11 years agoavplay: remove a warning
Luca Barbato [Mon, 15 Apr 2013 09:10:14 +0000 (11:10 +0200)]
avplay: remove a warning

Set the data field in the flush_pkt to the pointer to the actual packet.
The field needs to contain a valid unique pointer, no read nor writes
are ever made to it.

11 years agohls, segment: fix splitting for audio-only streams.
Anton Khirnov [Fri, 26 Apr 2013 07:54:59 +0000 (09:54 +0200)]
hls, segment: fix splitting for audio-only streams.

CC:libav-stable@libav.org

11 years agox86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponents
Diego Biurrun [Fri, 26 Apr 2013 14:48:39 +0000 (16:48 +0200)]
x86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponents

The function requires increasing the fuzz factor for the ac3/eac3 encode
tests and even so makes fate fail. It only provides a slight encoding
speedup for legacy CPUs that do not support SS2. Thus its benefit is not
worth the trouble it creates and fixing it would be a waste of time.

11 years agox86: Rename dsputil_rnd_template.c to rnd_template.c
Martin Storsjö [Tue, 23 Apr 2013 20:35:14 +0000 (23:35 +0300)]
x86: Rename dsputil_rnd_template.c to rnd_template.c

This makes it less confusing when this template is shared both by
dsputil and by hpeldsp.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavf: introduce AVFMT_TS_NEGATIVE
Luca Barbato [Wed, 3 Apr 2013 12:11:10 +0000 (14:11 +0200)]
lavf: introduce AVFMT_TS_NEGATIVE

Most formats do not support negative timestamps, shift them to avoid
unexpected behaviour and a number of bad crashes.

CC:libav-stable@libav.org

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agofate: add CVFC1_Sony_C to h264 conformance tests
Vittorio Giovara [Fri, 22 Mar 2013 08:55:11 +0000 (09:55 +0100)]
fate: add CVFC1_Sony_C to h264 conformance tests

The sample is already included in the FATE suite, but is not tested
because cropping wasn't fully supported before.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agodoc/APIchanges: add missing hashes and dates
Anton Khirnov [Fri, 19 Apr 2013 06:34:22 +0000 (08:34 +0200)]
doc/APIchanges: add missing hashes and dates

11 years agox86: Get rid of duplication between *_rnd_template.c
Martin Storsjö [Fri, 19 Apr 2013 21:14:44 +0000 (00:14 +0300)]
x86: Get rid of duplication between *_rnd_template.c

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agompegvideo: unref cur/next/prev frames when flushing
Hendrik Leppkes [Sat, 20 Apr 2013 09:33:56 +0000 (11:33 +0200)]
mpegvideo: unref cur/next/prev frames when flushing

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agox86: Factorize duplicated inline assembly snippets
Martin Storsjö [Mon, 22 Apr 2013 09:23:47 +0000 (12:23 +0300)]
x86: Factorize duplicated inline assembly snippets

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agojpeg2000: Add mutlti-threading support to decoder
Nicolas Bertrand [Mon, 22 Apr 2013 16:49:11 +0000 (18:49 +0200)]
jpeg2000: Add mutlti-threading support to decoder

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agox86: Move some conditional code around to avoid unused variable warnings
Diego Biurrun [Mon, 22 Apr 2013 02:57:48 +0000 (04:57 +0200)]
x86: Move some conditional code around to avoid unused variable warnings

11 years agojpeg2kdec: output is native endian AV_PIX_FMT_XYZ12
Janne Grunau [Mon, 22 Apr 2013 14:08:03 +0000 (16:08 +0200)]
jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12

11 years agothreads: always call thread_finish_setup for intra codecs
Janne Grunau [Mon, 22 Apr 2013 13:31:58 +0000 (15:31 +0200)]
threads: always call thread_finish_setup for intra codecs

Intra codecs do not need an update_thread_context() function and never
call ff_thread_finish_setup(). They rely on ff_thread_get_buffer()
calling it. So call it even if the get_buffer2 function pointer is
avcodec_default_get_buffer2 and it has not been called before.

11 years agoavcodec: Bump minor for JPEG 2000 decoder
Diego Biurrun [Mon, 22 Apr 2013 13:52:00 +0000 (15:52 +0200)]
avcodec: Bump minor for JPEG 2000 decoder

11 years agoJPEG 2000 decoder for DCinema
Nicolas Bertrand [Mon, 22 Apr 2013 09:41:01 +0000 (11:41 +0200)]
JPEG 2000 decoder for DCinema

Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl>
Updated to current programming standards, style and many more small
fixes by Diego Biurrun <diego@biurrun.de>.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agosh4: Remove dubious aligned dsputil code
Diego Biurrun [Thu, 18 Apr 2013 17:26:18 +0000 (19:26 +0200)]
sh4: Remove dubious aligned dsputil code

The code represents a considerable maintenance burden and it is not
clear that it gives a noticeable benefit to outweigh this after 10
years of improvements in compiler technology since its creation.

11 years agox86: cavs: Refactor duplicate dspfunc macro
Diego Biurrun [Sat, 20 Apr 2013 20:13:01 +0000 (22:13 +0200)]
x86: cavs: Refactor duplicate dspfunc macro

11 years agomxfenc: Use correct printf format specifier for int64_t
Diego Biurrun [Mon, 22 Apr 2013 02:50:45 +0000 (04:50 +0200)]
mxfenc: Use correct printf format specifier for int64_t

libavformat/mxfenc.c:1861:9: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' [-Wformat]

11 years agoh264: Drop unused variable
Diego Biurrun [Mon, 22 Apr 2013 00:53:58 +0000 (02:53 +0200)]
h264: Drop unused variable

11 years agox86: cavs: Put mmx-specific code into its own init function
Diego Biurrun [Sat, 20 Apr 2013 20:03:19 +0000 (22:03 +0200)]
x86: cavs: Put mmx-specific code into its own init function

Before, this code was labeled as mmxext and enabled both for the
3dnow and the mmxext case.

11 years agox86: Remove some duplicate function declarations
Diego Biurrun [Sat, 20 Apr 2013 18:27:47 +0000 (20:27 +0200)]
x86: Remove some duplicate function declarations

11 years agoafifo: fix request_samples on the last frame in certain cases
Anton Khirnov [Tue, 16 Apr 2013 19:53:56 +0000 (21:53 +0200)]
afifo: fix request_samples on the last frame in certain cases

The current code can fail to return the last frame if it contains
exactly the requested number of samples.

Fixes the join filter test, which previously did not include the last
408 samples in most cases.

CC:libav-stable@libav.org

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoriff: Factor out WAVEFORMATEX parsing
Luca Barbato [Sat, 20 Apr 2013 11:36:48 +0000 (13:36 +0200)]
riff: Factor out WAVEFORMATEX parsing

Makes the code simpler to follow.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoriff: Add ACTRAC3+ guid
Peter Ross [Sat, 20 Apr 2013 11:36:47 +0000 (13:36 +0200)]
riff: Add ACTRAC3+ guid

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoriff: Perform full lookup on WAVEFORMATEXTENSIBLE subformat guid
Peter Ross [Sat, 20 Apr 2013 11:36:46 +0000 (13:36 +0200)]
riff: Perform full lookup on WAVEFORMATEXTENSIBLE subformat guid

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoriff: Move guid structs and helper functions into riff
Peter Ross [Sat, 20 Apr 2013 11:36:45 +0000 (13:36 +0200)]
riff: Move guid structs and helper functions into riff

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoriff: check for eof if chunk size and code are 0
Luca Barbato [Sat, 20 Apr 2013 11:36:44 +0000 (13:36 +0200)]
riff: check for eof if chunk size and code are 0

Prevent an infinite loop.

Inspired by a patch from Michael Niedermayer

CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoriff: K&R formatting cosmetics
Luca Barbato [Sat, 20 Apr 2013 11:36:43 +0000 (13:36 +0200)]
riff: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoppc: hpeldsp: Include attributes.h
Martin Storsjö [Fri, 19 Apr 2013 22:29:17 +0000 (01:29 +0300)]
ppc: hpeldsp: Include attributes.h

This fixes building in configurations where altivec is disabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86: Remove unused inline asm instruction defines
Martin Storsjö [Fri, 19 Apr 2013 21:06:48 +0000 (00:06 +0300)]
x86: Remove unused inline asm instruction defines

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovc1: Remove now unused variables
Martin Storsjö [Fri, 19 Apr 2013 21:04:20 +0000 (00:04 +0300)]
vc1: Remove now unused variables

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocosmetics: bfin: Fix indentation in the dsputil init function
Martin Storsjö [Wed, 3 Apr 2013 11:11:38 +0000 (04:11 -0700)]
cosmetics: bfin: Fix indentation in the dsputil init function

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: Remove non-8bpp draw_edge
Ronald S. Bultje [Thu, 14 Mar 2013 17:01:52 +0000 (10:01 -0700)]
dsputil: Remove non-8bpp draw_edge

It is never used.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: Merge 9-10 bpp functions for get_pixels and draw_edge
Ronald S. Bultje [Tue, 26 Mar 2013 15:09:05 +0000 (17:09 +0200)]
dsputil: Merge 9-10 bpp functions for get_pixels and draw_edge

These only care about pixel storage unit size, not actual bits
used (i.e. they don't clip).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: Remove unused 32-bit functions
Ronald S. Bultje [Tue, 26 Mar 2013 15:07:22 +0000 (17:07 +0200)]
dsputil: Remove unused 32-bit functions

Previously, if dct_bits was set to 32, we used separate 32-bit
versions of these functions. Since dct_bits now is removed,
remove the unused 32-bit versions of the functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: Remove dct_bits
Ronald S. Bultje [Tue, 26 Mar 2013 15:00:21 +0000 (17:00 +0200)]
dsputil: Remove dct_bits

dct_bits is never set except in h264, where it is never used,
thus remove it.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: Remove hpel functions (moved to hpeldsp)
Ronald S. Bultje [Sun, 10 Mar 2013 21:23:46 +0000 (14:23 -0700)]
dsputil: Remove hpel functions (moved to hpeldsp)

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoalpha: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Ronald S. Bultje [Sun, 10 Mar 2013 23:53:07 +0000 (16:53 -0700)]
alpha: hpeldsp: Move half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosparc: hpeldsp: Move vis half-pel assembly from dsputil to hpeldsp
Ronald S. Bultje [Sun, 10 Mar 2013 23:51:25 +0000 (16:51 -0700)]
sparc: hpeldsp: Move vis half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosh4: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Michael Niedermayer [Sun, 10 Mar 2013 23:48:31 +0000 (16:48 -0700)]
sh4: hpeldsp: Move half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agobfin: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Ronald S. Bultje [Sun, 10 Mar 2013 23:40:23 +0000 (16:40 -0700)]
bfin: hpeldsp: Move half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoarm: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Ronald S. Bultje [Sun, 10 Mar 2013 23:16:45 +0000 (16:16 -0700)]
arm: hpeldsp: Move half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoppc: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Ronald S. Bultje [Sun, 10 Mar 2013 22:50:53 +0000 (15:50 -0700)]
ppc: hpeldsp: Move half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Ronald S. Bultje [Sun, 10 Mar 2013 22:37:59 +0000 (15:37 -0700)]
x86: hpeldsp: Move half-pel assembly from dsputil to hpeldsp

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomjpeg: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 21:23:52 +0000 (14:23 -0700)]
mjpeg: Use hpeldsp instead of dsputil for half-pel functions

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosvq1enc: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 21:16:00 +0000 (14:16 -0700)]
svq1enc: Use hpeldsp instead of dsputil for half-pel functions

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosvq3: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 21:12:58 +0000 (14:12 -0700)]
svq3: Use hpeldsp instead of dsputil for half-pel functions

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agompegvideo: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 20:55:07 +0000 (13:55 -0700)]
mpegvideo: Use hpeldsp instead of dsputil for half-pel functions

This also converts vc1, since that is mpegvideo-based.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosvq1: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 20:38:45 +0000 (13:38 -0700)]
svq1: Use hpeldsp instead of dsputil for half-pel functions

This makes svq1 independent of dsputil.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomimic: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 20:32:10 +0000 (13:32 -0700)]
mimic: Use hpeldsp instead of dsputil for half-pel functions

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agointerplayvideo: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 19:58:02 +0000 (12:58 -0700)]
interplayvideo: Use hpeldsp instead of dsputil for half-pel functions

This makes interplayvideo independent of dsputil.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agobink: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 16:12:01 +0000 (09:12 -0700)]
bink: Use hpeldsp instead of dsputil for half-pel functions

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoindeo3: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 15:19:27 +0000 (08:19 -0700)]
indeo3: Use hpeldsp instead of dsputil for half-pel functions

This makes the Indeo 3 decoder independent of dsputil.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovp56: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 13:55:58 +0000 (06:55 -0700)]
vp56: Use hpeldsp instead of dsputil for half-pel functions

This makes vp5 and vp6 independent of dsputil.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovp3: Use hpeldsp instead of dsputil for half-pel functions
Ronald S. Bultje [Sun, 10 Mar 2013 05:26:09 +0000 (21:26 -0800)]
vp3: Use hpeldsp instead of dsputil for half-pel functions

This makes vp3 independent of dsputil.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohpeldsp: Add half-pel functions (currently copies of dsputil)
Ronald S. Bultje [Sat, 9 Mar 2013 23:14:35 +0000 (15:14 -0800)]
hpeldsp: Add half-pel functions (currently copies of dsputil)

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agofate: cosmetics: More sensible order for entries in video filter file
Diego Biurrun [Tue, 16 Apr 2013 14:46:40 +0000 (16:46 +0200)]
fate: cosmetics: More sensible order for entries in video filter file

11 years agofate: Rename video filters file and add separate video filters target
Diego Biurrun [Tue, 16 Apr 2013 14:43:49 +0000 (16:43 +0200)]
fate: Rename video filters file and add separate video filters target

11 years agofate: Split audio filters into their own separate file
Diego Biurrun [Tue, 16 Apr 2013 14:38:02 +0000 (16:38 +0200)]
fate: Split audio filters into their own separate file

11 years agofate: Reuse VREF and AREF variables where appropriate
Diego Biurrun [Tue, 16 Apr 2013 14:32:18 +0000 (16:32 +0200)]
fate: Reuse VREF and AREF variables where appropriate

11 years agoh264: fully support cropping.
Anton Khirnov [Mon, 18 Feb 2013 15:32:18 +0000 (16:32 +0100)]
h264: fully support cropping.

Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com>

Fixes Bug 378.

11 years agoff_get_buffer(): allocate the frame for max(coded,display) dimensions
Anton Khirnov [Mon, 18 Feb 2013 15:29:03 +0000 (16:29 +0100)]
ff_get_buffer(): allocate the frame for max(coded,display) dimensions

Needed e.g. for h264 cropping to work properly.

11 years agomp3dec: fallback to generic seeking when a TOC is not present
Michael Niedermayer [Thu, 20 Sep 2012 20:00:52 +0000 (22:00 +0200)]
mp3dec: fallback to generic seeking when a TOC is not present

Fixes seeking without a Xing/Info header.

CC: libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoindeo3: check motion vectors.
Anton Khirnov [Tue, 16 Apr 2013 07:41:28 +0000 (09:41 +0200)]
indeo3: check motion vectors.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

11 years agoindeo3: fix data size check
Anton Khirnov [Wed, 10 Apr 2013 07:59:36 +0000 (09:59 +0200)]
indeo3: fix data size check

The data offsets are relative to the bistream header, which is 16 bytes
after the start of the data.
Fixes invalid reads with corrupted files.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

11 years agoindeo3: switch parsing the header to bytestream2
Anton Khirnov [Wed, 10 Apr 2013 07:40:20 +0000 (09:40 +0200)]
indeo3: switch parsing the header to bytestream2

Also add an additional sanity check to the alt_quant table.
Fixes invalid reads with corrupted files.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

11 years agorv10: check that extradata is large enough
Anton Khirnov [Tue, 9 Apr 2013 18:33:25 +0000 (20:33 +0200)]
rv10: check that extradata is large enough

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

11 years agorv10: return meaningful error codes.
Anton Khirnov [Tue, 9 Apr 2013 18:11:09 +0000 (20:11 +0200)]
rv10: return meaningful error codes.

Also improve some error messages.