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  
				
					
						
							
							
								 
						
							
							
							
								
							
								438f3ef821 
								
							
								 
							
						 
						
							
							
								
								RV20: try keeping aspect during resolution changes.  
							
							Resolution changes are usually only used to scale with
network bandwidth, the (full) resolution specified in the
RM header really is authoritative.
While I am not sure this is the best solution, it is a
conservative approach that still should fix the most
common cases.
In particular, it fixes aspect with the sample from trac
issue #785  (in MPlayer, ffplay seems to just ignore
sample aspect changes in mid-playback).
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								02beb9826b 
								
							
								 
							
						 
						
							
							
								
								lavc: deprecate AVCodecContext.sub_id.  
							
							In most places where it's used, it's as a pointless write-only field.
Only rv10 decoder actually reads from it, but it stores some internal
version info in it. There is no reason for it to be in a public field. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9243ec4a50 
								
							
								 
							
						 
						
							
							
								
								rv10/20: Fix slice overflow with checked bitstream reader.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f6528537f 
								
							
								 
							
						 
						
							
							
								
								rv10/20: Fix a buffer overread caused by losing track of the remaining buffer size.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								324deaa268 
								
							
								 
							
						 
						
							
							
								
								Replace AVFrame pointer type punning by proper struct member assignments.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efd29844eb 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: Add ff_ prefix to nonstatic functions  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c28d65754 
								
							
								 
							
						 
						
							
							
								
								rv: Add ff_ prefix to 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3e10ae412 
								
							
								 
							
						 
						
							
							
								
								rv20: prevent calling ff_h263_decode_mba() with unset height/width  
							
							Prevents a crash of VLC during playback of a invalid matroska file,
found by John Villamil <johnv@matasano.com>.
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d3a9e63e0 
								
							
								 
							
						 
						
							
							
								
								rv10: verify slice offsets against buffer size  
							
							Found by John Villamil <johnv@matasano.com> in fuzzed rv20 in mkv files. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63ccd46687 
								
							
								 
							
						 
						
							
							
								
								lavc: introduce ER_MB_END and ER_MB_ERROR  
							
							Simplify a little error resilience calls
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a29b47186 
								
							
								 
							
						 
						
							
							
								
								rv10: Reject slices that does not have the same type as the first one  
							
							This prevents crashes with some corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d788af6cf6 
								
							
								 
							
						 
						
							
							
								
								Reject slices that does not have the same type than the first one in RV10/RV20 decoder.  
							
							This prevents crashes with some corrupted bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								331971116d 
								
							
								 
							
						 
						
							
							
								
								rv10/20: tell decoder to use edge emulation  
							
							This removes out-of-edge motion compensation artifacts (easily spotted green
blocks in avplay, gray blocks in transcoding), for example here:
http://samples.libav.org/samples/real/tv_watching_t1.rm 
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9791c02733 
								
							
								 
							
						 
						
							
							
								
								Saner RV1/2 initialisation and RV2 header parsing.  
							
							Old version was based on lots of guesswork which had different hacks based on
32-bit version field instead of splitting it into major/minor/micro version.
RV2 picture header parser also had a few places where it deviated from binary
decoder.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec6402b7c5 
								
							
								 
							
						 
						
							
							
								
								lavc: use designated initialisers for all codecs.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e65ab9d94f 
								
							
								 
							
						 
						
							
							
								
								Remove unused variables  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adba9c6352 
								
							
								 
							
						 
						
							
							
								
								Fix various unused variable warnings  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e15305b70 
								
							
								 
							
						 
						
							
							
								
								Remove some disabled printf debug cruft.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc0ac0d2cb 
								
							
								 
							
						 
						
							
							
								
								rv10: set flags, Fixes Ticket90  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe76e540 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							Done to keep ABI compatible. Otherwise this is just silly 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737eb5976f 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ef5a9deaf 
								
							
								 
							
						 
						
							
							
								
								Replace dprintf with av_dlog  
							
							dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfd2a005eb 
								
							
								 
							
						 
						
							
							
								
								Replace dprintf with av_dlog  
							
							dprintf clashes with POSIX.1-2008 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e16f217ceb 
								
							
								 
							
						 
						
							
							
								
								Use new imgutils.h API names, fix deprecation warnings.  
							
							Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ce9b4310c 
								
							
								 
							
						 
						
							
							
								
								Remove use of the deprecated function avcodec_check_dimensions(), use  
							
							av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								688621d76b 
								
							
								 
							
						 
						
							
							
								
								Add include to fix implicit declaration of ff_mpeg4_init_direct_mv and  
							
							ff_h263_encode_mba
Originally committed as revision 21568 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc53b6afee 
								
							
								 
							
						 
						
							
							
								
								Split H263 encoder and decoder from common code.  
							
							Originally committed as revision 21109 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94f28061f5 
								
							
								 
							
						 
						
							
							
								
								Store original width/height so that rv20 does not get stuck with some  
							
							resolution. A sample file to show a difference is at issue833 (http://airfarce.com/video/000211fh.rm )
Originally committed as revision 20691 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7e578b73c 
								
							
								 
							
						 
						
							
							
								
								Make rv1/2 decoder use the next slice if needed.  
							
							Fixes issue782.
Originally committed as revision 20690 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e026902a62 
								
							
								 
							
						 
						
							
							
								
								Correct order of arguments for avcodec_check_dimensions().  
							
							Originally committed as revision 20590 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4687f908c6 
								
							
								 
							
						 
						
							
							
								
								Make sure avcodec_set_dimensions() is used when rv20 changes resolution.  
							
							This should fix lowres resolution changes.
Originally committed as revision 20589 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8c2f8f71f 
								
							
								 
							
						 
						
							
							
								
								Split RV10 encoder off into its own file.  
							
							Originally committed as revision 19579 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6767d6d9b 
								
							
								 
							
						 
						
							
							
								
								Split RV20 encoder into its own file.  
							
							Originally committed as revision 19578 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7e1353523 
								
							
								 
							
						 
						
							
							
								
								Move AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.  
							
							It is better to keep the declarations in conditionally compiled places.
Originally committed as revision 19573 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4d65ba590 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out cruft.  
							
							Originally committed as revision 19566 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff736f84e2 
								
							
								 
							
						 
						
							
							
								
								Use dprintf() instead of '#ifdef DEBUG' and av_log().  
							
							Originally committed as revision 19528 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce6636b1c1 
								
							
								 
							
						 
						
							
							
								
								Remove disabled function get_num().  
							
							It is small and has been disabled and unused for more than four years.
Originally committed as revision 19520 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77bc343a40 
								
							
								 
							
						 
						
							
							
								
								indent  
							
							Originally committed as revision 18921 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago