43c609374a 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: use av_assert  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6851130fd6 
								
							
								 
							
						 
						
							
							
								
								cosmetics: minor libavcodec spelling errors  
							
							Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b02cc2ddc6 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: Check that cplx_estimation_* fits in the available space  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e50a5724b 
								
							
								 
							
						 
						
							
							
								
								Revert "removing lowres support"  
							
							There have been multiple user complaints about loosing this feature
while its not clear the 3% speedloss claims where real or fabricated.
My own testing indicates no statistically significant speed difference
both with mpeg2 and mpeg4, and if at all the code with lowres support
is a tiny bit faster than without.
This reverts commit 92ef4be4ab9fbb7d901b22e0036a4ca90b00a476, reversing
changes made to 2e07f42957 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								307562be98 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: print more debug info for debug_pict_info  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2bcbd98459 
								
							
								 
							
						 
						
							
							
								
								Remove lowres video decoding  
							
							This feature is complex, of questionable utility, and slows down
normal decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a10f71c1d6 
								
							
								 
							
						 
						
							
							
								
								vc1dec: add missing terminating element to mpeg4_video_profiles  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50ec8a2acd 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: Force quant_precision to stay within the valid range.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c249392fa 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: make sure f/b_code are not invalid values.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								47c0ac96aa 
								
							
								 
							
						 
						
							
							
								
								Replace AVFrame pointer casts by proper struct member accesses.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f13a371ec 
								
							
								 
							
						 
						
							
							
								
								mpeg4: Add ff_ prefixes to nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e96b4a53df 
								
							
								 
							
						 
						
							
							
								
								vlc/rl: Add ff_ prefix to the nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddce8953a5 
								
							
								 
							
						 
						
							
							
								
								h263: Add ff_ prefix to nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc5c49ab32 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: Fix division by zero in mpeg4_decode_sprite_trajectory()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06192e42fd 
								
							
								 
							
						 
						
							
							
								
								mpeg4: disable checked bitstream reader, overreads are not possible.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9cab022a3 
								
							
								 
							
						 
						
							
							
								
								mpeg4dec: restore error concealment functionality after merge  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58c42af722 
								
							
								 
							
						 
						
							
							
								
								doxygen: misc consistency, spelling and wording fixes  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b22d6e132 
								
							
								 
							
						 
						
							
							
								
								lavc: convert error_recognition to err_recognition.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fab5973fa5 
								
							
								 
							
						 
						
							
							
								
								Be less verbose when skipping MPEG-4 ASP frames.  
							
							Fixes ticket #560 . 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f51e5015ad 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: export quarter_sample & divx_packed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f5df0b12c 
								
							
								 
							
						 
						
							
							
								
								Replace ffmpeg references with more accurate libav* references.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								581810f502 
								
							
								 
							
						 
						
							
							
								
								mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe0ac337bd 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: Fix new slice end detection for missing slices.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4326f6f525 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: remove dead code that would have detected erroneous encoding  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec6402b7c5 
								
							
								 
							
						 
						
							
							
								
								lavc: use designated initialisers for all codecs.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e4ed295da 
								
							
								 
							
						 
						
							
							
								
								mpeg4_decode_profile_level: fix indention  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52e24c7d7e 
								
							
								 
							
						 
						
							
							
								
								mpeg4videodec: simplify mpeg4_decode_profile_level()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4ab43ff3c 
								
							
								 
							
						 
						
							
							
								
								mpeg4: add Mpeg4 Profiles names.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0637e50579 
								
							
								 
							
						 
						
							
							
								
								mpeg4: decode Level Profile for MPEG4 Part 2.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e65ab9d94f 
								
							
								 
							
						 
						
							
							
								
								Remove unused variables  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a9c859444 
								
							
								 
							
						 
						
							
							
								
								H264/MPEG frame-level multi-threading.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce5e49b0c2 
								
							
								 
							
						 
						
							
							
								
								replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								975a1447f7 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d375c10400 
								
							
								 
							
						 
						
							
							
								
								Fake-Merge remote-tracking branch 'ffmpeg-mt/master'  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								499c2d41d7 
								
							
								 
							
						 
						
							
							
								
								Make truncated mpeg4 GOP header check a bit more specific.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2034ba08ec 
								
							
								 
							
						 
						
							
							
								
								Detect null gop headers.  
							
							Fix issue2592. / mpeg4-bad-gvop.raw 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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