Diego Elio Pettenò
e7e2df27f8
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>
(cherry picked from commit d36beb3f69
)
14 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
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
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
Reimar Döffinger
238ef6dadd
Add a av_fast_malloc function and replace several uses of av_fast_realloc,
...
thus avoiding potential memleaks and pointless memcpys.
Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9bf993a5b5
Use void * instead of uint8_t * for the destination buffer for dsp.bswap_buf
...
where easily possible (mimic, eatqi, 4xm).
This allows to avoid a typecast.
Originally committed as revision 18469 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
55775b099d
Use AVERROR(ENOMEM) instead of AVERROR_NOMEM / -1 in eatqi and mimic decoders
...
Originally committed as revision 18467 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
Diego Biurrun
1bf6e565dd
cosmetics: 'const static' --> 'static const' to avoid warnings of the type
...
"'static' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
5fecfb7d58
clear_block mmx
...
Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
630e1b27c2
get_vlc2() only gets up to three levels in the tables. The last codes weren't being read properly.
...
Originally committed as revision 12976 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
a960000304
Fix regression introduced by r12929.
...
num_coeffs is just one byte.
It would make no sense for num_coeffs to be as high as 2^32.
Originally committed as revision 12931 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
9ed0cff98e
The code now is pretty self explanatory about the header structure.
...
Remove the big comment and add comments about the skipped fields.
Originally committed as revision 12930 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
fc22c00935
Use bytestream functions for reading frame header.
...
Originally committed as revision 12929 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
bebfc16a31
Do not pass dct_block to vlc_decode_block().
...
The function uses dct_block from the context anyways.
Originally committed as revision 12908 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
399e46527a
Cosmetics and style.
...
Originally committed as revision 12907 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
c9108634c4
Rename vlc1 to vlc.
...
There is no vlc2, so there is no point in numbering it.
Originally committed as revision 12906 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
a7129de51b
Mimic decoder.
...
Originally committed as revision 12491 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago