e6153f173a 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19000122a4 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: remove assert that has become obsolete with the new API  
							
							It now just checks uninitialized and unused data.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d211547ddd 
								
							
								 
							
						 
						
							
							
								
								x86: mpegvideoenc: Split optimizations off into a separate file  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5a0dedf11 
								
							
								 
							
						 
						
							
							
								
								Fix duplicate packet init introduced by  7f9aaa4 
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								677e763a55 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: remove stray duplicate line from  7f9aaa4 
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f9aaa499b 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: don't use deprecated avcodec_encode_video().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8c4022018 
								
							
								 
							
						 
						
							
							
								
								h263penc: fix multitheraded encoding  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e2c54d4d72 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: reset mb_x/y before writing the headers  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a851153d3 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: convert mpegvideo_common.h to a .c file  
							
							This file defines a single, huge function, MPV_motion(), which
although being declared inline is not actually inlined by the
compiler (for good reason).  There is thus no sense in defining
this function in a header file, resulting in multiple copies of
it in the final library.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8dbbe5464 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: switch some assert to av_assert  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f72e0d9a9f 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: remove assert that has become obsolete with the new API  
							
							it now just checks uninitialized and unused data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18d7bea695 
								
							
								 
							
						 
						
							
							
								
								wmv2enc: fix rounding flag.  
							
							Fixes Ticket1467
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb850480e1 
								
							
								 
							
						 
						
							
							
								
								mjpegenc: support slice multithreading  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4991cbafaf 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: Fix chroma edge size  
							
							Fixes ticket1303
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6108e1be2f 
								
							
								 
							
						 
						
							
							
								
								wmvenc: check if width is multiple of 2  
							
							The width of wmv1/2 video must be multiple of 2 or win32 codec will fail to decode it (WMP displays black screen).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b0a0dc555 
								
							
								 
							
						 
						
							
							
								
								mpeg2enc: check input dimensions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5df0df848 
								
							
								 
							
						 
						
							
							
								
								mpeg1enc: check input dimensions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f153dfc9e4 
								
							
								 
							
						 
						
							
							
								
								h263enc: test that dimensions are a multiple of 4  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70f133fb54 
								
							
								 
							
						 
						
							
							
								
								h263enc: check w/h for validity  
							
							Fixes Ticket1063
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c354576457 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: fix dts  
							
							Fixes Ticket1200
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c450cf1572 
								
							
								 
							
						 
						
							
							
								
								libavcodec: be less picky on nonsense rc_max_rate / rc_buffer_size combinations.  
							
							Some applications use these combinations and to maintain ABI
compatibility with previous versions we should not suddenly
fail. Thus only display a warning for the newly detected cases
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								856c8e0a04 
								
							
								 
							
						 
						
							
							
								
								faandct: Remove FAAN_POSTSCALE define and related code.  
							
							It is not a user-accessible option and unlikely to ever be changed. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e22113cf1d 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: : switch to ff_alloc_packet2()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf3a404572 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: fix constness error in ff_MPV_encode_picture()  
							
							The struct has some of its fields changed, thus is not strictly const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47c0ac96aa 
								
							
								 
							
						 
						
							
							
								
								Replace AVFrame pointer casts by proper struct member accesses.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdc1220eeb 
								
							
								 
							
						 
						
							
							
								
								h263enc: Add an option for outputting info about MBs as side data  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23bfcc066d 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: add quantizer_noise_shaping private option.  
							
							Deprecate corresponding AVCodecContext field. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63efd83ae1 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: add chroma/luma_elim_threshold private options.  
							
							Deprecate corresponding AVCodecContext fields. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af3d804f9f 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: add cbp_rd flag to mpv_flags.  
							
							Deprecate CODEC_FLAG_CBP_RD. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff71a383ac 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: add qp_rd flag to mpv_flags.  
							
							Deprecate CODEC_FLAG_QP_RD. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a249f0cc23 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: add strict_gop flag to mpv_flags.  
							
							Deprecate CODEC_FLAG2_STRICT_GOP. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed019b8e5b 
								
							
								 
							
						 
						
							
							
								
								lavc: add -mpv_flags to mpegvideo_enc-based encoders.  
							
							Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags
flag. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d42ac7ffb 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: only allocate output packet when we know there will be output  
							
							Fixes a memleak. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								445a7d48b1 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: switch to encode2().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5455384219 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0  
							
							This allows the following commit to extrapolate better dts for the first
frame. Pts difference between the first two frames is reused as the
difference between pts and dts of the first frame. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								04d3822524 
								
							
								 
							
						 
						
							
							
								
								msmpeg4: Add ff_ prefix to nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6c8dcb8ac 
								
							
								 
							
						 
						
							
							
								
								mpeg12: Add ff_ prefix to nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f13a371ec 
								
							
								 
							
						 
						
							
							
								
								mpeg4: Add ff_ prefixes to nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e2efacdd8 
								
							
								 
							
						 
						
							
							
								
								libavcodec: Prefix fdct_ifast, fdct_ifast248  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99560a4caa 
								
							
								 
							
						 
						
							
							
								
								libavcodec: Add ff_ prefix to some nonstatic symbols  
							
							Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								52719dae8a 
								
							
								 
							
						 
						
							
							
								
								Support encoding BGR24 and BGR0 in ljpeg.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f21b6159cf 
								
							
								 
							
						 
						
							
							
								
								mpegvideoenc: Fail if a buffer size is specified without a max rate.  
							
							This combination makes not much sense.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ce2a91b84 
								
							
								 
							
						 
						
							
							
								
								lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f7144b44c 
								
							
								 
							
						 
						
							
							
								
								lavc/mpegvideo_enc: improve log message in case of too large GOP  
							
							Change log level from ERROR to WARNING and provide more specific
information in the message itself. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c71cc6526 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: ifdef out/replace references to deprecated codec flags.  
							
							
								
							
							
						 
						14 years ago