Laurent Aimar
3a742470a8
cook: Fix js_vlc_bits value validation for joint stereo
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 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
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
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 years ago
Diego Biurrun
fb52cf8267
cook: Remove non-compiling debug output.
...
random_state was changed from an int to a struct and can no longer be printed
as easily as before.
14 years ago
Diego Biurrun
752207e36b
cook: Remove unused debug functions.
14 years ago
Vitor Sessak
9d35fa520e
Add AVX FFT implementation.
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Diego Biurrun
62582a696b
cook: Fix small typo in av_log_ask_for_sample message.
14 years ago
Diego Biurrun
d9dee728b8
Use av_log_ask_for_sample() to request samples from users.
14 years ago
Diego Biurrun
70fb031ce2
Use av_log_ask_for_sample() where appropriate.
14 years ago
Mans Rullgard
4538729afe
Move sine windows to a separate file
...
These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
26f548bb59
fft: remove inline wrappers for function pointers
...
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Anton Khirnov
c2fcd0a7a4
Replace remaining occurrences of deprecated CH_* with AV_CH_*
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
65e3f89ffd
Improve variable names in imlt_window_float() and mlt_compensate_output().
...
Originally committed as revision 24115 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e51f04968e
Restore array sizes in doxygen parameter names.
...
Originally committed as revision 24108 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
34630b93dc
Move DECODE_BYTES_PAD* macros before Doxygen comments.
...
Doxygen thinks the comments belong to the macros otherwise.
Originally committed as revision 23993 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
094b18b683
Fix doxy of gb parameter in decode_gain_info().
...
Originally committed as revision 23989 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
daf6c68d33
Avoid one more instance of angular brackets in Doxygen comments.
...
Originally committed as revision 23982 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
09f6a45dc2
Remove non-existing stray arguments from Doxygen function documentation.
...
Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1429224b04
Move FFT parts from dsputil.h to fft.h
...
Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
84dc2d8afa
Remove DECLARE_ALIGNED_{8,16} macros
...
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2d2e72b10e
cook: use constant seed for dithering RNG
...
Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
01b2214758
Merge FFTContext and MDCTContext
...
Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Siarhei Siamashka
7d485f165f
Support for getting (i)MDCT output multiplied by a constant scaling factor.
...
Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.
Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
e5cd2d3dca
Bugfix for bug introduced in the multichannel cook patchset.
...
Originally committed as revision 18842 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
bdb8d99613
Proper subpacket size check for cook multichannel files.
...
Originally committed as revision 18693 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
bb1135c8a3
Remove parentheses
...
Originally committed as revision 18692 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
fcc01e646b
Set the type of size in COOKSubpacket to unsigned
...
Originally committed as revision 18691 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
ec32cfd2cc
Make sure we only parse max amount of subpackets (5) in the cook decoder.
...
Originally committed as revision 18689 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
da75426b26
Indent
...
Originally committed as revision 18688 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
0a704b5f21
Remove redundant code
...
Originally committed as revision 18687 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
67da31826f
Support cook multichannel files.
...
Originally committed as revision 18685 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
7204850ea9
Fix the COOKDEBUG code
...
Originally committed as revision 18684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
4a291c90fe
Factor out COOKSubpacket, in preparation for multichannel support.
...
Originally committed as revision 18683 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
39b60944a8
Get rid of av_random in cook.c
...
Originally committed as revision 18079 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
e05c8d0682
use intptr_t to cast pointers to int in codecs maintained by benjamin larsson
...
Originally committed as revision 18027 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
b217024706
Add cook channel count function, part of multichannel cook
...
Originally committed as revision 17992 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
0eec287596
Add max allowed subpackets in multichannel cook
...
Originally committed as revision 17991 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago