Diego Biurrun [Tue, 14 Jun 2011 22:04:48 +0000 (00:04 +0200)]
opencore-amr: Add missing initializer braces to shut up gcc warning.
This fixes the warning:
libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
Mans Rullgard [Tue, 5 Jul 2011 17:29:35 +0000 (18:29 +0100)]
ARM: workaround for bug in GNU assembler
Some versions of the GNU assembler do not handle 64-bit
immediate operands containing arithmetic. Writing the
value out in full works correctly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Clément Bœsch [Tue, 5 Jul 2011 15:30:00 +0000 (17:30 +0200)]
dv: fix comment wording mistake
Diego Biurrun [Tue, 5 Jul 2011 15:33:24 +0000 (17:33 +0200)]
Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c
This naming scheme is used elsewhere, so it's sensible to be consistent.
Reimar Döffinger [Tue, 5 Jul 2011 14:02:56 +0000 (16:02 +0200)]
dv: fix valgrind use of uninitialised value warnings.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Clément Bœsch [Mon, 4 Jul 2011 08:19:46 +0000 (10:19 +0200)]
mxfenc: fix ignored drop flag in binary timecode representation.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Mans Rullgard [Tue, 5 Jul 2011 14:53:05 +0000 (15:53 +0100)]
PPC: use Altivec IMDCT only for supported sizes
The Altivec IMDCT works with size 32 and higher only.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Clément Bœsch [Tue, 5 Jul 2011 08:30:48 +0000 (10:30 +0200)]
dv: fix comment spelling
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Tue, 5 Jul 2011 00:34:28 +0000 (02:34 +0200)]
configure: simplify -rpath-link linker flag
Lists of ':'-separated directories can be passed to -rpath-link directly.
Mans Rullgard [Mon, 4 Jul 2011 19:36:35 +0000 (20:36 +0100)]
ARM: allow unaligned buffer in fixed-point NEON FFT4
This function is called with only 8-byte alignment from
imdct for size 16. The fft4 function is not called for
the larger FFT or MDCT sizes, so this has no impact on
typical uses.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 4 Jul 2011 17:08:02 +0000 (18:08 +0100)]
fate: test more FFT etc sizes
This tests sizes from 16 to 4096, not only the default 512.
Signed-off-by: Mans Rullgard <mans@mansr.com>
John Stebbins [Mon, 4 Jul 2011 16:55:19 +0000 (09:55 -0700)]
dca: set AVCodecContext frame_size for DTS audio
Set the frame size when decoding DTS audio.
This has the side effect of fixing the computation of timestamps for DTS-HD in compute_pkt_fields. Since frame_size is
not currently set, the duration of a frame is being guessed based on the streams bitrate. But for DTS-HD, the bitrate
currently used is the rate of the DTS core which is much different than the whole DTS-HD stream and leads to a wildly
inaccurate frame duration estimate.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Daniel Kang [Mon, 4 Jul 2011 15:53:21 +0000 (11:53 -0400)]
YASM: Shut up unused variable compiler warning with --disable-yasm.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Daniel Kang [Mon, 4 Jul 2011 15:44:59 +0000 (11:44 -0400)]
x86_32: Fix build on x86_32 with --disable-yasm.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Mans Rullgard [Mon, 4 Jul 2011 15:26:03 +0000 (16:26 +0100)]
iirfilter: add fate test
Change the test program to output text instead of binary files so
it can be compared easily in FATE.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Sun, 3 Jul 2011 17:29:18 +0000 (19:29 +0200)]
doxygen: Add qmul docs.
Nicolas George [Fri, 24 Jun 2011 10:02:41 +0000 (12:02 +0200)]
ogg: propagate return values and return more meaningful error values
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Jason Garrett-Glaser [Mon, 4 Jul 2011 13:05:34 +0000 (06:05 -0700)]
H.264: fix overreads of qscale_table
filter_mb_fast assumed that qscale_table was padded like many of the other tables.
Diego Biurrun [Sun, 3 Jul 2011 14:58:55 +0000 (16:58 +0200)]
Remove unused static tables and static inline functions.
Mans Rullgard [Mon, 4 Jul 2011 11:26:59 +0000 (12:26 +0100)]
eval: clear Parser instances before using
This prevents random values from the stack being used as
"variables" in expressions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 4 Jul 2011 10:54:22 +0000 (11:54 +0100)]
dct-test: remove 'ref' function pointer from tables
The reference function can be inferred from the direction of the
transform, no need for storing it with each entry.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Thu, 30 Jun 2011 11:46:58 +0000 (13:46 +0200)]
build: Remove deleted 'check' target from .PHONY list.
Reimar Döffinger [Mon, 4 Jul 2011 00:57:47 +0000 (02:57 +0200)]
oggdec: Abort Ogg header parsing when encountering a data packet.
Fixes Bugzilla #11.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Sun, 3 Jul 2011 17:40:34 +0000 (19:40 +0200)]
Add LGPL license boilerplate to files lacking it.
Clément Bœsch [Mon, 4 Jul 2011 08:19:47 +0000 (10:19 +0200)]
mxfenc: small typo fix
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Sun, 3 Jul 2011 14:09:37 +0000 (16:09 +0200)]
doxygen: Fix documentation for some VP8 functions.
Kostya Shishkov [Mon, 4 Jul 2011 09:57:46 +0000 (11:57 +0200)]
sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 18:14:01 +0000 (19:14 +0100)]
des: allow unaligned input and output buffers
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 18:13:20 +0000 (19:13 +0100)]
aes: allow unaligned input and output buffers
Signed-off-by: Mans Rullgard <mans@mansr.com>
Christian Schmidt [Mon, 4 Jul 2011 09:41:04 +0000 (10:41 +0100)]
libxvid: add missing include of libavutil/mathematics.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 23:58:56 +0000 (00:58 +0100)]
fate: add idct8x8 test
This tests the IDCT implementations available in the build.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 23:53:39 +0000 (00:53 +0100)]
dct-test: exit with non-zero status if an IDCT fails
IDCTs are partially evaluated according to IEEE 1180-1990 (more or
less). An override is added to the table for implementations known
to not meet the spec requirements. These variants are run but not
checked for accuracy.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 18:35:30 +0000 (19:35 +0100)]
eval: add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 18:34:10 +0000 (19:34 +0100)]
eval: make timing optional in test program
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 23:56:38 +0000 (00:56 +0100)]
fate: add 'null' comparison method
Setting CMP=null uses stdout from the test as the diff record in
the report without further inspection. This can be useful when
the exit status of the test itself determines success while the
output is informative.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 3 Jul 2011 22:19:13 +0000 (23:19 +0100)]
dct-test: make speed test optional
Signed-off-by: Mans Rullgard <mans@mansr.com>
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>
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>
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>
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>
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>
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>
Carl Eugen Hoyos [Mon, 27 Jun 2011 07:25:58 +0000 (07:25 +0000)]
ffmpeg: Fix VDPAU decoding for some H264 samples.
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>
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.
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.
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.
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.
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.
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.
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>
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>
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>
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>
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>
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>
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.
Diego Biurrun [Sun, 3 Jul 2011 14:33:25 +0000 (16:33 +0200)]
doxygen: Escape '\' in Doxygen documentation.
Mans Rullgard [Sun, 3 Jul 2011 17:18:26 +0000 (18:18 +0100)]
md5: cosmetics
Signed-off-by: Mans Rullgard <mans@mansr.com>
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>
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>
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>
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>
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.
Diego Biurrun [Sat, 2 Jul 2011 11:23:35 +0000 (13:23 +0200)]
doxygen: Fix parameter names to match the function prototypes.
Diego Biurrun [Sun, 3 Jul 2011 14:11:16 +0000 (16:11 +0200)]
doxygen: Remove spurious documentation for non-existing function parameters.
Diego Biurrun [Sun, 3 Jul 2011 11:45:23 +0000 (13:45 +0200)]
doxygen: Fix execute_code() @return documentation.
Diego Biurrun [Sun, 3 Jul 2011 14:56:21 +0000 (16:56 +0200)]
snow: Remove unused code.
Diego Biurrun [Sun, 3 Jul 2011 14:57:26 +0000 (16:57 +0200)]
Move some conditionally used code below the appropriate #ifdef.
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>
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>
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>
Gavin Kinsey [Tue, 21 Jun 2011 12:13:37 +0000 (13:13 +0100)]
Fix segmentation fault in ffprobe
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
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>
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>
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>
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>
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
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.
Reinhard Tartler [Fri, 1 Jul 2011 18:53:09 +0000 (20:53 +0200)]
doxygen: be more permissive when searching for API examples
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
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>
Anton Khirnov [Fri, 1 Jul 2011 19:24:17 +0000 (21:24 +0200)]
lavf: use the correct pointer in av_open_input_stream().
Alex Converse [Thu, 2 Jun 2011 00:33:38 +0000 (17:33 -0700)]
avidec: infer absolute vs relative index from first packet
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>