Clément Bœsch
6d75fb01eb
dv: fix comment wording mistake
14 years ago
Diego Biurrun
c45f629576
Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c
This naming scheme is used elsewhere, so it's sensible to be consistent.
14 years ago
Reimar Döffinger
68e39d6efe
dv: fix valgrind use of uninitialised value warnings.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
6cbf2420b9
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>
14 years ago
Clément Bœsch
65614321db
dv: fix comment spelling
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
3824ef08e0
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>
14 years ago
John Stebbins
49c7006c7e
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>
14 years ago
Daniel Kang
3c7c16fde3
YASM: Shut up unused variable compiler warning with --disable-yasm.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Daniel Kang
567a32b5b2
x86_32: Fix build on x86_32 with --disable-yasm.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
75a24bef4a
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>
14 years ago
Diego Biurrun
66e2dd1187
doxygen: Add qmul docs.
14 years ago
Jason Garrett-Glaser
5029a40633
H.264: fix overreads of qscale_table
filter_mb_fast assumed that qscale_table was padded like many of the other tables.
14 years ago
Diego Biurrun
e589e4b82d
Remove unused static tables and static inline functions.
14 years ago
Mans Rullgard
74965f2644
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>
14 years ago
Diego Biurrun
e3759c567d
Add LGPL license boilerplate to files lacking it.
14 years ago
Diego Biurrun
3c432e1186
doxygen: Fix documentation for some VP8 functions.
14 years ago
Christian Schmidt
6c374bc0b4
libxvid: add missing include of libavutil/mathematics.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
dbf396d497
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>
14 years ago
Mans Rullgard
7fd2c13888
dct-test: make speed test optional
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
cf2b4f884d
dct-test: remove is_idct field from tables
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
4b357756b1
dct-test: split table in two for idct and fdct
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
4f905a658b
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>
14 years ago
Mans Rullgard
36fa9ef3e2
dct-test: whitespace cosmetics
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
412594ed0a
dct-test: remove commented out code
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Robert Swain
954a653216
vorbis: vpxenc: Add missing include for av_rescale*
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Carl Eugen Hoyos
a4ab70f92e
ffmpeg: Fix VDPAU decoding for some H264 samples.
14 years ago
Daniel Kang
58f7aad051
Fix build with --disable-yasm.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Jason Garrett-Glaser
556f8a066c
H.264: template left MB handling
Faster H.264 decoding with ALLOW_INTERLACE off.
14 years ago
Jason Garrett-Glaser
ca80f11ec3
H.264: faster fill_decode_caches
Aliasing avoidance and general cleanup.
14 years ago
Jason Garrett-Glaser
3b7ebeb4d5
H.264: faster write_back_*
Avoid aliasing, unroll loops, and inline more functions.
14 years ago
Jason Garrett-Glaser
cb5469462d
H.264: faster fill_filter_caches
Reduce aliasing problems and unroll mv/ref loop.
14 years ago
Jason Garrett-Glaser
4320a309ce
H.264: make filter_mb_fast support the case of unavailable top mb
Significantly faster deblocking in streams with lots of slices.
14 years ago
Mans Rullgard
abc78a5a7c
Do not include log.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d49ea4afb4
Do not include pixfmt.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e91709ca17
Do not include rational.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
add41decd9
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>
14 years ago
Diego Biurrun
ff993cd7fc
doxygen: Drop array size declarations from Doxygen parameter names.
Adding [] to a Doxygen parameter name clashes with Doxygen syntax.
14 years ago
Diego Biurrun
24c9babaaf
doxygen: Fix parameter names to match the function prototypes.
14 years ago
Diego Biurrun
01c17c88ed
doxygen: Remove spurious documentation for non-existing function parameters.
14 years ago
Diego Biurrun
3d85acc8f7
doxygen: Fix execute_code() @return documentation.
14 years ago
Diego Biurrun
050f509065
snow: Remove unused code.
14 years ago
Daniel Kang
9bfa5363da
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>
14 years ago
Mans Rullgard
6728aaf6d8
ffv1: remove unused tables
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
b27565b143
Remove statements immediately following unconditional jumps
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
050f2b3e7f
mjpeg: remove pointless braces around block of code
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
21accb3bb2
h264: remove assert() immediately following return statement
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
5dd045ebc1
ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8aa63f0b31
ARM: NEON optimised vector_clip_int32()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
ccfa626db8
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>
14 years ago