Michael Niedermayer
fc5c49ab32
mpeg4videodec: Fix division by zero in mpeg4_decode_sprite_trajectory()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
06192e42fd
mpeg4: disable checked bitstream reader, overreads are not possible.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
86a10281c7
get_bits: remove LAST_SKIP_CACHE macro
...
This macro is empty since the removal of the A32 bitstream reader.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Luca Barbato
5bf2ac2b37
error_resilience: use the ER_ namespace
...
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Michael Niedermayer
c9cab022a3
mpeg4dec: restore error concealment functionality after merge
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Dustin Brody
5b22d6e132
lavc: convert error_recognition to err_recognition.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Carl Eugen Hoyos
fab5973fa5
Be less verbose when skipping MPEG-4 ASP frames.
...
Fixes ticket #560 .
13 years ago
Michael Niedermayer
be4c9a440f
mpeg4videodec: dont treat empty frames as errors for QMP4, it seems thats normal.
...
Fixes remaining complaints in Ticket560 possibly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f51e5015ad
mpeg4videodec: export quarter_sample & divx_packed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
2f5df0b12c
Replace ffmpeg references with more accurate libav* references.
13 years ago
Mans Rullgard
581810f502
mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
fe0ac337bd
mpeg4videodec: Fix new slice end detection for missing slices.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
78a041a9db
mpeg4videodec: rewrite the slice end detection of non partitioned packets.
...
This no longer needs thread syncronization thus speeding frame multithreading up.
Fixes Ticket28
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Dustin Brody
4326f6f525
mpeg4videodec: remove dead code that would have detected erroneous encoding
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
14 years ago
Michael Niedermayer
9e4ed295da
mpeg4_decode_profile_level: fix indention
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
52e24c7d7e
mpeg4videodec: simplify mpeg4_decode_profile_level()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Thierry Foucu
c4ab43ff3c
mpeg4: add Mpeg4 Profiles names.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Thierry Foucu
0637e50579
mpeg4: decode Level Profile for MPEG4 Part 2.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
...
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
14 years ago
Michael Niedermayer
9251942ca7
Fix mpeg4 padding bug detection with more than 128bit trash and slices.
...
Fixes ticket302
The second hunk is from anatoly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
e65ab9d94f
Remove unused variables
14 years ago
Alexander Strange
6a9c859444
H264/MPEG frame-level multi-threading.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
ce5e49b0c2
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Michael Niedermayer
d375c10400
Fake-Merge remote-tracking branch 'ffmpeg-mt/master'
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
499c2d41d7
Make truncated mpeg4 GOP header check a bit more specific.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anatoly Nenashev
7a4abe5912
mpeg4video: ignore broken GOP headers
...
Some MPEG4 cameras produce files with empty GOP headers.
This patch makes the decoder ignore such broken headers and proceed
with the following I-frame. Without this change, the following
start code is missed resulting in the entire I-frame being skipped.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
2034ba08ec
Detect null gop headers.
...
Fix issue2592. / mpeg4-bad-gvop.raw
14 years ago
Stefan Kost
3e2a4e91bd
logging: downgrade recoverable errors to warnings
...
In all 3 cases, the decoding continues and thus a warning would be sufficient.
Helps application that catch them with own log handers to handle them
accordingly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit ae2104791f
)
14 years ago
Stefan Kost
ae2104791f
logging: downgrade recoverable errors to warnings
...
In all 3 cases, the decoding continues and thus a warning would be sufficient.
Helps application that catch them with own log handers to handle them
accordingly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
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
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
Mans Rullgard
91d51ee4b5
Remove redundant checks against MIN_CACHE_BITS
...
With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f162e988aa
)
14 years ago
Mans Rullgard
f162e988aa
Remove redundant checks against MIN_CACHE_BITS
...
With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Aurelien Jacobs
4f18f1b089
mpeg4videodec: reset time_base.num to 0 when detecting time_base.den=0
...
to avoid leaving time_base in a broken/inconsistent state
fix issue2471
Originally committed as revision 26207 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
0fd0ef7947
Add new decoder property max_lowres and do not init decoder if requested value is higher.
...
Originally committed as revision 24098 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
Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b317567cf4
Change xvid/divx/lavc build variables to be consistent to x264_build.
...
Originally committed as revision 21682 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
101ada9abd
Rename most non static h263 tables so their name contains h263.
...
Originally committed as revision 21098 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fef59a5b4b
Rename mpeg4 intra vlc tables so they contain "mpeg4", this improves readability
...
of msmpeg4 code (one now knows where that table comes from).
Originally committed as revision 21097 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
05b858b045
Rename DCtab_*, its a global variable and it helps understanding if mpeg4
...
is in its name.
Originally committed as revision 21096 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ca334dd14b
Split the mpeg4 encoder and decoder off h263.c
...
Originally committed as revision 21079 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago