Vittorio Giovara
64250d94b7
indeo4: Consistently initialize variables
...
Avoid using multiple variables for the same purpose.
9 years ago
Vittorio Giovara
6202e2fede
indeo4: Rework stream analysis report
...
* Change log level from error to debug
* Print report after the first decoded frame, not at the end of decoding
* Drop macro guard and use a context variable instead
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
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
Dirk Ausserhaus
f76e3669bb
Decode both parts of Indeo4 IP frames
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years ago
Dirk Ausserhaus
3df0d20028
Move Indeo4 frametypes into common header.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 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
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
12 years ago
Diego Biurrun
94ee7da08d
Remove pointless av_cold attributes in header files
...
The init functions marked as av_cold have to be executed in any case,
so there is no gain from trying to mark paths leading to such functions
as unlikely.
12 years ago
Anton Khirnov
8ab42021f2
ivi_common: make some functions and tables static.
12 years ago
Anton Khirnov
df9b956751
lavc: fix decode_frame() third parameter semantics for video decoders
...
It's got_frame, not data size
12 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
...
Anonymous structs cannot be forward declared and have no benefit.
12 years ago
Anton Khirnov
5d2170c53b
ivi_common: make ff_ivi_process_empty_tile() static.
...
It's not used outside of ivi_common.c
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
Diego Biurrun
4f04f5cc8b
indeo: Make ivi_calc_band_checksum() static, it is only used in one file.
13 years ago
Diego Biurrun
9ccbdc0aca
indeo: Drop unused debug function ivi_check_band().
13 years ago
Kostya Shishkov
cf61aaaca1
indeo: check for invalid motion vectors
13 years ago
Kostya Shishkov
a6e4ac40a6
indeo: track tile macroblock size
13 years ago
Kostya Shishkov
aa372cf470
factor out common decoding code for Indeo 4 and Indeo 5
13 years ago
Diego Biurrun
d4b63054d9
cosmetics: Drop unnecessary parentheses around return values.
13 years ago
Diego Biurrun
c68fafe0d2
doxygen: eliminate Qt-style doxygen syntax
13 years ago
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 years ago
Diego Biurrun
0fc9c6554e
Remove pointless #ifdefs around function declarations in a header.
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 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
c404e783b9
Move transform declarations out of IVIBandDesc so indeo4 can use them as well.
...
Originally committed as revision 23577 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
0933f55829
Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
...
Originally committed as revision 23523 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maxim Poliakovski
25e20240b1
Remove unused variables.
...
Originally committed as revision 23389 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
Maxim Poliakovski
15f9fa3d61
Fix signedness of q_delta field of the IVIMbInfo.
...
Patch by Maxim max_pole () gmx * de
Originally committed as revision 23170 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
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
4982a77e56
Make it clear that ff_ivi_init_static_vlc() does not need arguments
...
Originally committed as revision 22091 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
Maxim Poliakovski
6713b6b120
Remove outdated comment.
...
Patch by Maxim, max_pole gmx de
Originally committed as revision 21837 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
1cf3168516
Indeo Video Interactive 4 and 5 common code and DSP functions.
...
Reviewed and corrected by myself because there were no other volunteers in the
last weeks.
Originally committed as revision 21531 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago