Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Martin Storsjö
e1f3847f86
mace: Make sure that the channel count is set to a valid value
...
Also return a proper error code.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
12 years ago
Justin Ruggles
86bfcfcf23
mace: decode directly to the user-provided AVFrame
12 years ago
Anton Khirnov
594d4d5df3
lavc: add a wrapper for AVCodecContext.get_buffer().
...
It will be useful in the upcoming transition to refcounted AVFrames.
12 years ago
Justin Ruggles
c1a9cfd1fe
mace: use planar sample format
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Justin Ruggles
0eea212943
Add avcodec_decode_audio4().
...
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
13 years ago
Justin Ruggles
f50b6be57d
mace: only calculate output buffer size once
13 years ago
Diego Biurrun
2f5df0b12c
Replace ffmpeg references with more accurate libav* references.
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.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
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
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