e0c16e4e32 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: move mpegvideo formats-related defines to mpegutils.h  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05563ccacc 
								
							
								 
							
						 
						
							
							
								
								dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl names  
							
							Also switch from "tbl" to "tab" name suffixes. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9103185bd1 
								
							
								 
							
						 
						
							
							
								
								dsputil: Drop ff_check_alignment() function  
							
							The function is supposed to confirm that the compiler provided enough
alignment, but in practice it is only run in certain code paths and
insufficient alignment problems are restricted to legacy compilers. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb0c9d41d6 
								
							
								 
							
						 
						
							
							
								
								avutil: remove timer.h include from internal.h  
							
							Added libavutil/timer.h include to all files with {START,STOP}_TIMER. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cff480e49d 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: Don't call ff_h263dsp_init unconditionally  
							
							This fixes builds with e.g. --disable-decoders --disable-encoders
--enable-encoder=mjpeg.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ebfe622bb1 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: drop support for real (non-emulated) edges  
							
							Several decoders disable those anyway and they are not measurably faster
on x86. They might be somewhat faster on other platforms due to missing
emu edge SIMD, but the gain is not large enough (and those decoders
relevant enough) to justify the added complexity. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aec25b1c46 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: split the encoding-only parts of frame_start() into a separate function  
							
							This introduces some code duplication. However, much of it should go
away once the decoders stop using MpegEncContext. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24abd806ea 
								
							
								 
							
						 
						
							
							
								
								ljpegenc: deMpegEncContextize  
							
							The encoder uses almost none of the mpegvideo infrastructure, only some
fields from MpegEncContext.
The FATE results change because now an all-zero quant matrix is written
into the file. Since it is not used for anything for ljpeg, this should
not be a problem. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3360ad9955 
								
							
								 
							
						 
						
							
							
								
								mjpegenc: do not pass MpegEncContext to ff_mjpeg_encode_picture_trailer()  
							
							This will allow deMpegEncContextizing the LJPEG encoder. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								058d5f2feb 
								
							
								 
							
						 
						
							
							
								
								mjpegenc: do not pass MpegEncContext to ff_mjpeg_encode_picture_header()  
							
							This will allow deMpegEncContextizing the LJPEG encoder. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b0a7a751d 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: move encode-only parts of common_end() to encode_end()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								381a722562 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: split the encoding-only parts of ff_MPV_frame_end() into a separate function  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f8eb69079 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: move encoding-only initialization from common_init() to encode_init()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bedf952bb8 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: move setting encoding-only vars from common_defaults() to encode_defaults()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f8bc92365 
								
							
								 
							
						 
						
							
							
								
								Add missing #includes for *INT64_MAX and *INT64_C  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c01b0253e 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: use the AVFrame API properly.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								458446acfa 
								
							
								 
							
						 
						
							
							
								
								lavc: Edge emulation with dst/src linesize  
							
							Allow supporting files for which the image stride is smaller than
the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9
file or a 16x16 VP8 file with -fflags +emu_edge. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa24122989 
								
							
								 
							
						 
						
							
							
								
								lavc: deprecate FF_MAX_B_FRAMES  
							
							We should not arbitrarily decide the maximum B-frame number for all
encoders supported by Libav, each encoder should be able to set its own
limits. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8941971a8f 
								
							
								 
							
						 
						
							
							
								
								lavc: make error_rate a private option of mpegvideo encoders  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0338c39698 
								
							
								 
							
						 
						
							
							
								
								dsputil: Split off H.263 bits into their own H263DSPContext  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93f305473f 
								
							
								 
							
						 
						
							
							
								
								lavc: Convert some remaining strides to ptrdiff_t  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2bed9325d 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Group .name and .long_name together in codec/format declarations  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22c879057e 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: drop outdated copy_picture_attributes() in favour of a modern av_frame_copy_props()  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2832ea26f3 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out debug #define cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								004b81c465 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: Remove commented-out PARANOID debug cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4fed5a2f9 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: Use hpeldsp instead of dsputil for half-pel functions  
							
							This also converts vc1, since that is mpegvideo-based.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66ac3dbf1e 
								
							
								 
							
						 
						
							
							
								
								h261: Move function declarations to h261.h  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eee2000b41 
								
							
								 
							
						 
						
							
							
								
								mpeg12: Move some ff_mpeg1_* function declarations to a more suitable place  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07054015cf 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: remove FMT_H264  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b0f586f07 
								
							
								 
							
						 
						
							
							
								
								lavc: remove disabled FF_API_MPV_GLOBAL_OPTS cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								759001c534 
								
							
								 
							
						 
						
							
							
								
								lavc decoders: work with refcounted frames.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e7b50b427 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: drop support for reusing the input motion vectors.  
							
							This misfeature is most likely completely useless and conflicts with
removing the mpegvideo-specific fields from AVFrame. In the improbable
case it is actually useful, it should be reimplemented in a better way. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54974c6298 
								
							
								 
							
						 
						
							
							
								
								error_resilience: decouple ER from MpegEncContext  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d3d39c72e 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move fdct function declarations to dct.h  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								218aefce44 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move LOCAL_ALIGNED macros to libavutil  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								04f4dbc2fa 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: fix indentation in load_input_picture()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f47d316cd 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: do not modify the input frame.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88bd7fdc82 
								
							
								 
							
						 
						
							
							
								
								Drop DCTELEM typedef  
							
							It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c53d39e7f 
								
							
								 
							
						 
						
							
							
								
								lavc: introduce VideoDSPContext  
							
							Move some functions from dsputil. The idea is that videodsp contains
functions that are useful for a large and varied set of video decoders.
Currently, it contains emulated_edge_mc() and prefetch().
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1d8763a02 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: allocate scratch buffers after linesize is known  
							
							Since we can't know which stride a custom get_buffer() implementation is
going to use we have to allocate this scratch buffers after the linesize
is known. It was pretty safe for 8 bit per pixel pixel formats since we
always allocated memory for up to 16 bits per pixel. It broke hoever
with cmdutis.c's alloc_buffer() and high pixel bit depth since it
allocated larger edges than mpegvideo expected.
Fixes fuzzed sample nasa-8s2.ts_s244342. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1a02e884a 
								
							
								 
							
						 
						
							
							
								
								pixdesc: add av_pix_fmt_get_chroma_sub_sample  
							
							Deprecate avcodec_get_chroma_sub_sample. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9734b8ba56 
								
							
								 
							
						 
						
							
							
								
								Move avutil tables only used in libavcodec to libavcodec.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1218777ffd 
								
							
								 
							
						 
						
							
							
								
								avcodec: Convert some commented-out printf/av_log instances to av_dlog  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9c6cf7f2c9 
								
							
								 
							
						 
						
							
							
								
								avcodec: Drop silly and/or broken printf debug output  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f6b0311a3 
								
							
								 
							
						 
						
							
							
								
								avcodec: Drop some silly commented-out av_log() invocations  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								677e763a55 
								
							
								 
							
						 
						
							
							
								
								mpegvideo_enc: remove stray duplicate line from  7f9aaa4 
							
							
								
							
							
						 
						13 years ago