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
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
da708eaa22
Cosmetics: rename mace3_decode_frame() to mace_decode_frame()
...
Originally committed as revision 15569 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
10c1d19212
Avoid code duplication between mace3_decode_frame() and mace6_decode_frame()
...
Originally committed as revision 15568 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b0e047de15
Use a for() instead of triplicating code.
...
Originally committed as revision 15566 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
3a54087733
Factorize duplicate table reading code.
...
Originally committed as revision 15564 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
955bcc2102
Convert two tables to signed decimal
...
Originally committed as revision 15290 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
90c6805ac4
Cosmetics: remove useless parentheses
...
Originally committed as revision 15288 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
710428c4ec
Remove ChannelData.lev var and use ChannelData.level instead
...
Originally committed as revision 15287 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
42fe17a018
Check output buffer size before decoding.
...
Originally committed as revision 15257 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
d636f0cc39
Cosmetics: rename vars s/ctx/chd/
...
Originally committed as revision 15256 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
f36aec3b5e
Exploit symmetry to reduce size of tables by half.
...
Originally committed as revision 15255 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b8a5f62144
Cosmetics: s/short/int16_t/
...
Originally committed as revision 15253 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b1547a7817
Remove cast, now tables are signed.
...
Originally committed as revision 15252 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
fc1d3e004f
Convert tables to signed and decimal.
...
Originally committed as revision 15251 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
e7ff335935
Remove unused table entries.
...
Originally committed as revision 15250 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
934bc927a8
Remove commented out code.
...
Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
f9f7210e5e
Use FFMIN() instead of rewriting it.
...
Originally committed as revision 15248 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
42c7aeea67
Factorize broken clipping in its own function and document it.
...
Originally committed as revision 15247 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
5659156760
Cosmetics: whitespace/linebreaks
...
Originally committed as revision 15246 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
c8e0861e49
Use the same 8 bit -> 16 bit conversion as QuickTime.
...
Originally committed as revision 15245 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
4ea70242a8
Do not share context variables between channels and do not zero them at
...
decode_frame(). This makes the output much closer to that of the binary decoder.
Originally committed as revision 15244 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b6d544f54e
Remove output pointer from context
...
Originally committed as revision 15243 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
e10049bef5
Cosmetics: indent after last commit and remove useless braces
...
Originally committed as revision 15214 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
1b0dc0120d
Simplify: use a for instead of unrolling by hand
...
Originally committed as revision 15213 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
fb17d9ff54
Functions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
...
moves the code of Exp1to* to the decode functions.
Originally committed as revision 15212 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
78df225866
Simplify: use two distinct functions to decode MACE3 and MACE6, since the
...
previous mace_decode_init() function was almost just a switch statement.
Originally committed as revision 15208 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b97c413832
Simplify mace_decode_frame()
...
Originally committed as revision 15207 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
647148c638
Remove useless comments
...
Originally committed as revision 15205 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
251d75f292
Reindent mace.c, its indentation was completly inconsistent with the coding rules.
...
Originally committed as revision 15204 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
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
Michael Niedermayer
b1f5712e3c
consts
...
Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f9cac0a778
Replace puts() by dprintf where appropriate.
...
Originally committed as revision 11547 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alan Curry
afd1a2d88e
Fix buffer handling for stereo mace files, fixes some random sig11
...
Patch by Alan Curry !<! pacman !@! TheWorld !.! com !>!
Originally committed as revision 6178 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
François Revol
3c8e39f72d
Stereo MACE fix by Burkhard Plaum <plaum AT ipf DOT uni-stuttgart DOT de>
...
Still doesn't work with our mov demuxer though...
Originally committed as revision 3919 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
53db1cae1c
data_size = 0 cleanup
...
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
François Revol
62790b9917
debug stuff only for DEBUG :)
...
Originally committed as revision 1708 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
François Revol
0ea8f2be4e
Avoid "unused variable 'c'" warning.
...
Originally committed as revision 1282 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
François Revol
3f95e8434b
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
...
contribution by Laszlo Torok <torokl@alpha.dfmk.hu>
4CC 'MAC3' and 'MAC6' in Quicktime.
It works for mono streams, needs to be fixed for stereo when I get my hands on a stereo sample :)
patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1145 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago