platform/upstream/libav.git
13 years agodct-test: remove is_idct field from tables
Mans Rullgard [Sun, 3 Jul 2011 22:05:21 +0000 (23:05 +0100)]
dct-test: remove is_idct field from tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodct-test: split table in two for idct and fdct
Mans Rullgard [Sun, 3 Jul 2011 22:03:11 +0000 (23:03 +0100)]
dct-test: split table in two for idct and fdct

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodct-test: simplify calling dct_error()
Mans Rullgard [Sun, 3 Jul 2011 21:48:53 +0000 (22:48 +0100)]
dct-test: simplify calling dct_error()

Pass a pointer to the DCT descriptor instead of each field
individually.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodct-test: whitespace cosmetics
Mans Rullgard [Sun, 3 Jul 2011 21:59:03 +0000 (22:59 +0100)]
dct-test: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodct-test: remove commented out code
Mans Rullgard [Sun, 3 Jul 2011 22:19:46 +0000 (23:19 +0100)]
dct-test: remove commented out code

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovorbis: vpxenc: Add missing include for av_rescale*
Robert Swain [Mon, 4 Jul 2011 06:44:49 +0000 (08:44 +0200)]
vorbis: vpxenc: Add missing include for av_rescale*

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoffmpeg: Fix VDPAU decoding for some H264 samples.
Carl Eugen Hoyos [Mon, 27 Jun 2011 07:25:58 +0000 (07:25 +0000)]
ffmpeg: Fix VDPAU decoding for some H264 samples.

13 years agoFix build with --disable-yasm.
Daniel Kang [Mon, 4 Jul 2011 02:28:47 +0000 (22:28 -0400)]
Fix build with --disable-yasm.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agovf_gradfun: relicense x86 asm to LGPL
Loren Merritt [Sun, 3 Jul 2011 22:47:10 +0000 (22:47 +0000)]
vf_gradfun: relicense x86 asm to LGPL

Actually I gave permission for LGPL long ago, but the original import
failed to update the license header.

13 years agoH.264: template left MB handling
Jason Garrett-Glaser [Wed, 29 Jun 2011 22:38:39 +0000 (15:38 -0700)]
H.264: template left MB handling

Faster H.264 decoding with ALLOW_INTERLACE off.

13 years agoH.264: faster fill_decode_caches
Jason Garrett-Glaser [Wed, 29 Jun 2011 22:02:31 +0000 (15:02 -0700)]
H.264: faster fill_decode_caches

Aliasing avoidance and general cleanup.

13 years agoH.264: faster write_back_*
Jason Garrett-Glaser [Wed, 29 Jun 2011 20:27:36 +0000 (13:27 -0700)]
H.264: faster write_back_*

Avoid aliasing, unroll loops, and inline more functions.

13 years agoH.264: faster fill_filter_caches
Jason Garrett-Glaser [Tue, 28 Jun 2011 00:41:28 +0000 (17:41 -0700)]
H.264: faster fill_filter_caches

Reduce aliasing problems and unroll mv/ref loop.

13 years agoH.264: make filter_mb_fast support the case of unavailable top mb
Jason Garrett-Glaser [Mon, 27 Jun 2011 20:07:26 +0000 (13:07 -0700)]
H.264: make filter_mb_fast support the case of unavailable top mb

Significantly faster deblocking in streams with lots of slices.

13 years agoDo not include log.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 12:34:27 +0000 (13:34 +0100)]
Do not include log.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoDo not include pixfmt.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 12:12:08 +0000 (13:12 +0100)]
Do not include pixfmt.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoDo not include rational.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 12:05:35 +0000 (13:05 +0100)]
Do not include rational.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoDo not include mathematics.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 11:58:23 +0000 (12:58 +0100)]
Do not include mathematics.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoDo not include intfloat_readwrite.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 11:42:16 +0000 (12:42 +0100)]
Do not include intfloat_readwrite.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRemove return statements following infinite loops without break
Mans Rullgard [Sun, 3 Jul 2011 20:02:18 +0000 (21:02 +0100)]
Remove return statements following infinite loops without break

These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRTSP: Doxygen comment cleanup
Diego Biurrun [Sun, 3 Jul 2011 14:35:10 +0000 (16:35 +0200)]
RTSP: Doxygen comment cleanup

Do not use Doxygen for comments that apply to specific implementation
details; merge some duplicated Doxygen comment blocks.

13 years agodoxygen: Escape '\' in Doxygen documentation.
Diego Biurrun [Sun, 3 Jul 2011 14:33:25 +0000 (16:33 +0200)]
doxygen: Escape '\' in Doxygen documentation.

13 years agomd5: cosmetics
Mans Rullgard [Sun, 3 Jul 2011 17:18:26 +0000 (18:18 +0100)]
md5: cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomd5: use AV_WL32 to write result
Mans Rullgard [Sun, 3 Jul 2011 17:01:26 +0000 (18:01 +0100)]
md5: use AV_WL32 to write result

This is simpler, safer, and removes the undocumented requirement of
aligned output buffer.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomd5: add fate test
Mans Rullgard [Sun, 3 Jul 2011 16:51:34 +0000 (17:51 +0100)]
md5: add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomd5: include correct headers
Mans Rullgard [Sun, 3 Jul 2011 16:51:02 +0000 (17:51 +0100)]
md5: include correct headers

This file needs stdint.h but not string.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomd5: fix test program
Mans Rullgard [Sun, 3 Jul 2011 16:50:38 +0000 (17:50 +0100)]
md5: fix test program

This makes the md5-test program print something meaningful and not
smash the stack.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodoxygen: Drop array size declarations from Doxygen parameter names.
Diego Biurrun [Sat, 2 Jul 2011 12:42:27 +0000 (14:42 +0200)]
doxygen: Drop array size declarations from Doxygen parameter names.

Adding [] to a Doxygen parameter name clashes with Doxygen syntax.

13 years agodoxygen: Fix parameter names to match the function prototypes.
Diego Biurrun [Sat, 2 Jul 2011 11:23:35 +0000 (13:23 +0200)]
doxygen: Fix parameter names to match the function prototypes.

13 years agodoxygen: Remove spurious documentation for non-existing function parameters.
Diego Biurrun [Sun, 3 Jul 2011 14:11:16 +0000 (16:11 +0200)]
doxygen: Remove spurious documentation for non-existing function parameters.

13 years agodoxygen: Fix execute_code() @return documentation.
Diego Biurrun [Sun, 3 Jul 2011 11:45:23 +0000 (13:45 +0200)]
doxygen: Fix execute_code() @return documentation.

13 years agosnow: Remove unused code.
Diego Biurrun [Sun, 3 Jul 2011 14:56:21 +0000 (16:56 +0200)]
snow: Remove unused code.

13 years agoMove some conditionally used code below the appropriate #ifdef.
Diego Biurrun [Sun, 3 Jul 2011 14:57:26 +0000 (16:57 +0200)]
Move some conditionally used code below the appropriate #ifdef.

13 years agocrc: add fate test
Mans Rullgard [Sun, 3 Jul 2011 15:12:51 +0000 (16:12 +0100)]
crc: add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agofate: move libavutil test rules to a separate file
Mans Rullgard [Sun, 3 Jul 2011 15:07:37 +0000 (16:07 +0100)]
fate: move libavutil test rules to a separate file

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoconfigure: do not blank $LIBNAME if static libs disabled
Mans Rullgard [Sun, 3 Jul 2011 16:05:22 +0000 (17:05 +0100)]
configure: do not blank $LIBNAME if static libs disabled

Whatever reason this was done for no longer applies, and it causes
lots of make warnings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoFix segmentation fault in ffprobe
Gavin Kinsey [Tue, 21 Jun 2011 12:13:37 +0000 (13:13 +0100)]
Fix segmentation fault in ffprobe

13 years agoH.264: Add x86 assembly for 10-bit H.264 qpel functions.
Daniel Kang [Sun, 3 Jul 2011 02:18:39 +0000 (22:18 -0400)]
H.264: Add x86 assembly for 10-bit H.264 qpel functions.

Mainly ported from 8-bit H.264 qpel.

Some code ported from x264. LGPL ok by author.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoUpdate Doxyfile to the format preferred by Doxygen 1.7.1 (via 'doxygen -u').
Reinhard Tartler [Sun, 3 Jul 2011 09:54:24 +0000 (11:54 +0200)]
Update Doxyfile to the format preferred by Doxygen 1.7.1 (via 'doxygen -u').

This is the version available in Debian stable, so it should be a reasonable
baseline that can be expected to be present on all developer machines.

Moreover, this is the version that is used by the nightly cronjob that
generates the online html version.

13 years agoaes: fix for big endian systems
Mans Rullgard [Sun, 3 Jul 2011 10:20:39 +0000 (11:20 +0100)]
aes: fix for big endian systems

This was missed in 5d20f19 since CONFIG_SMALL was always broken
for big endian.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodes: reduce number of iterations in test program
Mans Rullgard [Sun, 3 Jul 2011 11:55:54 +0000 (12:55 +0100)]
des: reduce number of iterations in test program

Testing a million random keys takes annoying long time.
1000 iterations should be enough.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agofate: add DES test
Mans Rullgard [Sun, 3 Jul 2011 11:54:57 +0000 (12:54 +0100)]
fate: add DES test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoavidec: simplify convoluted flow in avi_load_index()
Mans Rullgard [Sun, 3 Jul 2011 01:54:58 +0000 (02:54 +0100)]
avidec: simplify convoluted flow in avi_load_index()

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoffv1: remove unused tables
Mans Rullgard [Sun, 3 Jul 2011 00:52:37 +0000 (01:52 +0100)]
ffv1: remove unused tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRemove statements immediately following unconditional jumps
Mans Rullgard [Sun, 3 Jul 2011 01:37:03 +0000 (02:37 +0100)]
Remove statements immediately following unconditional jumps

This removes a number of compiler warnings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomjpeg: remove pointless braces around block of code
Mans Rullgard [Sun, 3 Jul 2011 01:34:27 +0000 (02:34 +0100)]
mjpeg: remove pointless braces around block of code

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoaes: fix invalid array indexing in init code
Mans Rullgard [Sat, 2 Jul 2011 21:10:25 +0000 (22:10 +0100)]
aes: fix invalid array indexing in init code

This makes the code work with clang/x86_32 and removes several warnings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoh264: remove assert() immediately following return statement
Mans Rullgard [Sun, 3 Jul 2011 01:37:31 +0000 (02:37 +0100)]
h264: remove assert() immediately following return statement

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoaes: use direct assignments instead of memcpy() or loops
Mans Rullgard [Sat, 2 Jul 2011 23:46:23 +0000 (00:46 +0100)]
aes: use direct assignments instead of memcpy() or loops

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6
Mans Rullgard [Sat, 2 Jul 2011 17:24:13 +0000 (18:24 +0100)]
ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: NEON optimised vector_clip_int32()
Mans Rullgard [Sat, 2 Jul 2011 16:21:02 +0000 (17:21 +0100)]
ARM: NEON optimised vector_clip_int32()

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoswscale: disable full_chroma_int when converting to non-24/32bpp RGB.
Ronald S. Bultje [Sun, 26 Jun 2011 22:52:01 +0000 (15:52 -0700)]
swscale: disable full_chroma_int when converting to non-24/32bpp RGB.

This functionality is only implemented for RGB24/32 and causes crashes
otherwise.

13 years agosuggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
Stefano Sabatini [Sat, 2 Jul 2011 11:22:35 +0000 (13:22 +0200)]
suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy

The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()
Stefano Sabatini [Sat, 2 Jul 2011 11:22:18 +0000 (13:22 +0200)]
ffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()

av_get_bits_per_sample_fmt() was deprecated.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoput_bits: remove ALT_BITSTREAM_WRITER
Mans Rullgard [Sat, 2 Jul 2011 10:50:24 +0000 (11:50 +0100)]
put_bits: remove ALT_BITSTREAM_WRITER

The code for this variant does not compile.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoput_bits: always use intreadwrite.h macros
Mans Rullgard [Fri, 1 Jul 2011 15:35:37 +0000 (16:35 +0100)]
put_bits: always use intreadwrite.h macros

This fixes invalid unaligned stores in some ARM configurations.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agolibavformat: Add an example how to use the metadata API
Reinhard Tartler [Fri, 1 Jul 2011 18:50:33 +0000 (20:50 +0200)]
libavformat: Add an example how to use the metadata API

Also include it into the doxygen documentation

13 years agodoxygen: Prefer member groups over grouping into modules
Reinhard Tartler [Fri, 1 Jul 2011 13:32:21 +0000 (15:32 +0200)]
doxygen: Prefer member groups over grouping into modules

Before this, almost all module groups have been used for grouping functions
and fields in structures semantically. This causes them to not appear
properly in the file documentation and needlessly clutters up the "Modules"
index.

Additionally, this commit streamlines some spelling and appearances.

13 years agodoxygen: be more permissive when searching for API examples
Reinhard Tartler [Fri, 1 Jul 2011 18:53:09 +0000 (20:53 +0200)]
doxygen: be more permissive when searching for API examples

13 years agoavformat: doxify the Metadata API
Reinhard Tartler [Fri, 1 Jul 2011 18:49:14 +0000 (20:49 +0200)]
avformat: doxify the Metadata API

convert the comment that documents the metadata API to use
the doxygen markup

13 years agolavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.
Anton Khirnov [Fri, 24 Jun 2011 05:58:16 +0000 (07:58 +0200)]
lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.

av_open_input_stream used to allow this, even though it makes no sense.
Make it just print a warning instead of failing, thus restoring
compatibility.

Note that avformat_open_input() will still reject this combination.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years agolavf: use the correct pointer in av_open_input_stream().
Anton Khirnov [Fri, 1 Jul 2011 19:24:17 +0000 (21:24 +0200)]
lavf: use the correct pointer in av_open_input_stream().

13 years agoavidec: infer absolute vs relative index from first packet
Alex Converse [Thu, 2 Jun 2011 00:33:38 +0000 (17:33 -0700)]
avidec: infer absolute vs relative index from first packet

13 years agoget_bits: remove x86 inline asm in A32 bitstream reader
Mans Rullgard [Fri, 1 Jul 2011 11:47:36 +0000 (12:47 +0100)]
get_bits: remove x86 inline asm in A32 bitstream reader

x86 does not use this variant so having inline asm there
is pointless.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodoc: Remove outdated information about our issue tracker
Reinhard Tartler [Fri, 1 Jul 2011 13:49:53 +0000 (15:49 +0200)]
doc: Remove outdated information about our issue tracker

We have now switched to http://bugzilla.libav.org.

13 years agoavidec: Factor out the sync fucntionality.
Alex Converse [Wed, 29 Jun 2011 20:30:09 +0000 (13:30 -0700)]
avidec: Factor out the sync fucntionality.

13 years agofate-aac: Expand coverage.
Alex Converse [Tue, 28 Jun 2011 06:12:55 +0000 (23:12 -0700)]
fate-aac: Expand coverage.

Add al05_44, al06_44, al17_44.

13 years agoac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().
Justin Ruggles [Thu, 30 Jun 2011 21:48:44 +0000 (17:48 -0400)]
ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().

13 years agoac3dsp: simplify extract_exponents() now that it does not need to do clipping.
Justin Ruggles [Thu, 16 Jun 2011 20:55:33 +0000 (16:55 -0400)]
ac3dsp: simplify extract_exponents() now that it does not need to do clipping.

13 years agoac3enc: clip coefficients after MDCT.
Justin Ruggles [Mon, 27 Jun 2011 18:29:33 +0000 (14:29 -0400)]
ac3enc: clip coefficients after MDCT.

This ensures that any processing between the MDCT and exponent extraction will
be using clipped coefficients.

13 years agoac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.
Justin Ruggles [Thu, 2 Jun 2011 18:00:50 +0000 (14:00 -0400)]
ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.

13 years agoswscale: for >8bit scaling, read in native bit-depth.
Ronald S. Bultje [Fri, 1 Jul 2011 00:35:13 +0000 (17:35 -0700)]
swscale: for >8bit scaling, read in native bit-depth.

For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain.

13 years agomatroskadec: matroska_read_seek after after EBML_STOP leads to failure.
John Stebbins [Fri, 1 Jul 2011 15:57:42 +0000 (08:57 -0700)]
matroskadec: matroska_read_seek after after EBML_STOP leads to failure.

EBML_STOP leaves matroska->current_id set. Then matroska_read_seek changes
the stream position without resetting current_id.  The next
matroska_parse_cluster  fails due to calculation of incorrect pos.  So clear
current_id when avio_seek happens in matroska_read_seek.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agodoxygen: fix usage of @file directive in libavutil/{dict,file}.h
Reinhard Tartler [Thu, 30 Jun 2011 21:00:46 +0000 (23:00 +0200)]
doxygen: fix usage of @file directive in libavutil/{dict,file}.h

13 years agodoxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros
Reinhard Tartler [Thu, 30 Jun 2011 19:57:43 +0000 (21:57 +0200)]
doxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros

Without this, members that have been declare with the DECLARE_ALIGNED
macro don't show up at all in the generated documentation.

13 years agocosmetics: fix some then/than typos
Diego Biurrun [Thu, 30 Jun 2011 18:53:59 +0000 (20:53 +0200)]
cosmetics: fix some then/than typos

13 years agodoxygen: Include libavcodec and libavformat examples into the documentation
Reinhard Tartler [Thu, 30 Jun 2011 19:06:25 +0000 (21:06 +0200)]
doxygen: Include libavcodec and libavformat examples into the documentation

13 years agoavutil: elaborate documentation for av_get_random_seed
Reinhard Tartler [Thu, 30 Jun 2011 18:44:46 +0000 (20:44 +0200)]
avutil: elaborate documentation for av_get_random_seed

13 years agoAdd support for aac streams in mp4/mov without extradata.
Benjamin Larsson [Tue, 28 Jun 2011 06:39:12 +0000 (23:39 -0700)]
Add support for aac streams in mp4/mov without extradata.

13 years agoaes: whitespace cosmetics
Mans Rullgard [Thu, 30 Jun 2011 11:29:25 +0000 (12:29 +0100)]
aes: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoadler32: whitespace cosmetics
Mans Rullgard [Thu, 30 Jun 2011 09:15:10 +0000 (10:15 +0100)]
adler32: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoswscale: fix another yuv range conversion overflow in 16bit scaling.
Ronald S. Bultje [Thu, 30 Jun 2011 14:05:52 +0000 (07:05 -0700)]
swscale: fix another yuv range conversion overflow in 16bit scaling.

13 years agoFix cpu flags test program
Mans Rullgard [Thu, 30 Jun 2011 13:03:54 +0000 (14:03 +0100)]
Fix cpu flags test program

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoopt-test: Add missing braces to silence compiler warnings.
Diego Biurrun [Sun, 26 Jun 2011 11:50:37 +0000 (13:50 +0200)]
opt-test: Add missing braces to silence compiler warnings.

libavutil/opt.c:604:1: warning: missing braces around initializer [-Wmissing-braces]

13 years agobuild: Eliminate obsolete test targets.
Diego Biurrun [Sat, 25 Jun 2011 16:12:36 +0000 (18:12 +0200)]
build: Eliminate obsolete test targets.

The targets are now part of FATE and can be run as individual FATE targets.

13 years agoudp: Fix a compilation warning
Martin Storsjö [Fri, 17 Jun 2011 07:08:23 +0000 (10:08 +0300)]
udp: Fix a compilation warning

This fixes this compilation warning, by making endptr a non-const
pointer, as required by strtol:
In function ‘udp_open’:
warning: passing argument 2 of ‘strtol’ from incompatible pointer type

Signed-off-by: Martin Storsjö <martin@martin.st>
13 years agoswscale: Unbreak build with --enable-small
Mohamed Naufal [Thu, 30 Jun 2011 08:57:32 +0000 (11:57 +0300)]
swscale: Unbreak build with --enable-small

This fixes building with --enable-small, by using the correct
variable name.

Signed-off-by: Martin Storsjö <martin@martin.st>
13 years agobase64: add fate test
Mans Rullgard [Wed, 29 Jun 2011 22:34:09 +0000 (23:34 +0100)]
base64: add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoaes: improve test program and add fate test
Mans Rullgard [Wed, 29 Jun 2011 22:27:07 +0000 (23:27 +0100)]
aes: improve test program and add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoadler32: make test program more useful and add fate test
Mans Rullgard [Wed, 29 Jun 2011 18:33:10 +0000 (19:33 +0100)]
adler32: make test program more useful and add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoswscale: fix yuv range correction when using 16-bit scaling.
Ronald S. Bultje [Thu, 30 Jun 2011 04:04:45 +0000 (21:04 -0700)]
swscale: fix yuv range correction when using 16-bit scaling.

13 years agoaacenc: Make chan_map const correct
Alex Converse [Wed, 29 Jun 2011 21:33:33 +0000 (14:33 -0700)]
aacenc: Make chan_map const correct

13 years agorational-test: Add proper main() declaration to fix gcc warnings.
Diego Biurrun [Sun, 26 Jun 2011 22:29:32 +0000 (00:29 +0200)]
rational-test: Add proper main() declaration to fix gcc warnings.

13 years agoconfigure: Add vdpau and dxva2 to configure results output.
Diego Biurrun [Wed, 8 Jun 2011 17:43:45 +0000 (19:43 +0200)]
configure: Add vdpau and dxva2 to configure results output.

13 years agoRemove unused, never built libavutil/pca.[ch]
Mans Rullgard [Wed, 29 Jun 2011 22:38:05 +0000 (23:38 +0100)]
Remove unused, never built libavutil/pca.[ch]

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomatroskadec: forward parsing errors to caller.
Ami Fischman [Wed, 29 Jun 2011 20:54:49 +0000 (13:54 -0700)]
matroskadec: forward parsing errors to caller.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoav_find_stream_info: simplify EAGAIN handling.
Ami Fischman [Wed, 29 Jun 2011 20:50:21 +0000 (13:50 -0700)]
av_find_stream_info: simplify EAGAIN handling.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoaacenc: Fix determination of Mid/Side Mode.
Nathan Caldwell [Wed, 29 Jun 2011 03:11:39 +0000 (21:11 -0600)]
aacenc: Fix determination of Mid/Side Mode.

In adjust_frame_information(), msc is incremented for each sfb in each
sub-window then compared against max_sfb which is for a single sub-window.

This resulted in frames using EIGHT_SHORT_SEQUENCE where the first few
sub-windows increment msc to a value that results in ms_mode == 2. Even
though only some of the bands are actually using Mid/Side.

13 years agopsymodel: Remove the single channel analysis function
Nathan Caldwell [Thu, 19 May 2011 05:23:22 +0000 (23:23 -0600)]
psymodel: Remove the single channel analysis function

13 years agoaacenc: Implement dummy channel group analysis that just calls the single channel...
Nathan Caldwell [Thu, 19 May 2011 05:14:59 +0000 (23:14 -0600)]
aacenc: Implement dummy channel group analysis that just calls the single channel analysis for each channel.