Diego Biurrun
23944d29a2
indeo: Give Indeo4/5 shared code a more consistent name
10 years ago
Dirk Ausserhaus
5ec6d152e2
indeo4: B-frames decoding
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years ago
Dirk Ausserhaus
e121ac634b
indeo45: use is_indeo4 context flag instead of checking codec ID
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years ago
Diego Biurrun
3dc6272bed
Remove a number of unnecessary dsputil.h #includes
11 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Luca Barbato
28dda8a691
indeo: Sanitize ff_ivi_init_planes fail paths
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Luca Barbato
b0eeb9d442
indeo5: return proper error codes
12 years ago
Luca Barbato
dc79685195
indeo: Bound-check before applying transform
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Luca Barbato
8bd9039900
Revert "indeo5: reject negative motion vectors"
...
Negative motion vectors are possible.
This reverts commit 1194a41080
.
12 years ago
Luca Barbato
1194a41080
indeo5: reject negative motion vectors
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
f174fbac3c
lavc: add CODEC_CAP_DR1 to all video decoders missing them
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Michael Niedermayer
2d09cdbaf2
indeo5: check tile size in decode_mb_info().
...
This prevents writing into a too small array if some parameters changed
without the tile being reallocated.
Fixes CVE-2012-2794
CC:libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Michael Niedermayer
891918431d
indeo5dec: Make sure we have had a valid gop header.
...
This prevents decoding happening on a half initialized context.
Fixes CVE-2012-2779
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Kostya Shishkov
aa372cf470
factor out common decoding code for Indeo 4 and Indeo 5
13 years ago
Martin Storsjö
e96b4a53df
vlc/rl: Add ff_ prefix to the nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Janne Grunau
366ac22ea5
indeo5: prevent null pointer dereference on broken files
...
Found by John Villamil <johnv@matasano.com>
13 years ago
Diego Biurrun
00a1cdd264
Place some START_TIMER invocations in separate blocks.
...
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement. START_TIMER declares variables and thus
may not be placed after statements outside of a new block.
13 years ago
Diego Biurrun
aaf47bcde7
Drop ALT_ prefix from BITSTREAM_READER_LE name.
...
The prefix is a historic remnant that probably meant "alternative".
Now that the A32 bitstream reader has been dropped it makes no sense anymore.
13 years ago
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 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
Diego Biurrun
0c733da8e2
Fix Doxygen @param command attribute syntax.
...
The [in] and [out] attributes have to be appended to the @param command.
Originally committed as revision 24283 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
07ff7825b6
Move indeo5-specific quant table selection to decode_gop_hdr.
...
Originally committed as revision 23581 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
411e859bce
Remove unused parameter.
...
Originally committed as revision 23563 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
9c6b3b97d7
Add the forgotten ff_ prefix to the shareable scan patterns.
...
Originally committed as revision 23341 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
220f2bd9c5
move indeo5 scan patterns into ivi_common.c
...
so those can be shared by indeo4.
Originally committed as revision 23335 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
Maxim Poliakovski
ace38c36bf
Correct reference buffer switching in Indeo 5 decoder.
...
Patch by Maxim ($indeo5decauthor)
Originally committed as revision 22580 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
6eec969d54
document two variables in Indeo5 decoding context
...
Originally committed as revision 22579 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
b5852e8a4d
Make Indeo 5 decoder more robust on bitstream errors.
...
Patch by Maxim ($indeo5dec_author)
Originally committed as revision 22319 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
7fcb98a7ec
Band quant tables should not be assigned inside band tile loop,
...
one time is enough.
Patch by Maxim (max_pole, gmx de)
Originally committed as revision 22279 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
e322aacedd
Encapsulate VLC information needed for decoding blocks and macroblocks in
...
Indeo 5 into single structure IVIHuffTab and factorize code using it.
Based on patch by Maxim (max_pole at German GMX)
Originally committed as revision 22092 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
60819e694e
10l trocadero: Indeo 5 decoder did not free custom VLCs for macroblock and
...
block decoding at exit, so prevent that memory leak now.
Originally committed as revision 21983 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
9068f36dcc
Macroblock and block Huffman code sets are to be used by both Indeo 4 and
...
Indeo 5, so make them global and move their initialization to the common place
as well. And fix static VLC initialization, as ff_ivi_create_huff_from_desc()
used old way to do so.
Originally committed as revision 21962 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
cc01ab903e
remove ivi5_scans8x8[0], it duplicates ff_zigzag_direct
...
Originally committed as revision 21897 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
94dde5c1ec
Move 'chksum' declaration to the only block where that variable is used
...
Originally committed as revision 21753 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
f7d649185b
Move band checksum verifying into preprocessor condition, so compiler won't
...
complain about missing function prototype.
Originally committed as revision 21752 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
5bebe94d86
Indeo 5 decoder
...
Originally committed as revision 21695 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago