7bc9fb8cde 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: add 16bit planar YUV formats to avcodec_align_dimensions2()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								889bc79b5f 
								
							
								 
							
						 
						
							
							
								
								lavc/utils: Add support for discarding samples from the end  
							
							Adding support for discarding samples from the end based on the value in
AV_PKT_DATA_SKIP_SAMPLES side data's bytes 5-8.
Signed-off By: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a0e20817a 
								
							
								 
							
						 
						
							
							
								
								avcodec/util: Make size argument of ff_alloc_packet2() int64_t  
							
							This ensures that huge sizes dont get truncated before the check in ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e1f507f3e 
								
							
								 
							
						 
						
							
							
								
								avcodec: make avcodec_close() more tolerant.  
							
							See previous commit. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fcfafff84 
								
							
								 
							
						 
						
							
							
								
								Show subtitle resolution in avcodec_string().  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8da23be458 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: avcodec_string: print colorspace type  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea07dbdeaa 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: avcodec_string: Print color_range  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								336982a0ce 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: avcodec_string: make the colorspace printing code more extendible.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								811d58e083 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: support non edge emu for grayscale  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e95930eda1 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARM  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f18ccb529f 
								
							
								 
							
						 
						
							
							
								
								Fix wrong use of "an" in some comments.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98fd8a7848 
								
							
								 
							
						 
						
							
							
								
								avcodec: Remove ff_packet_free_side_data, use av_packet_free_side_data  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4db7c334b 
								
							
								 
							
						 
						
							
							
								
								Integrate accessors.h header into internal.h  
							
							I have no idea why I added a separate header,
I think there is no good reason for it.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a48979d715 
								
							
								 
							
						 
						
							
							
								
								Reduce MAKE_ACCESSORS code duplication via a new header.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63c0113588 
								
							
								 
							
						 
						
							
							
								
								lavc: do not override format if neither text nor bitmap codec prop is set  
							
							Some decoders may output both, this way the decoder can set it.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9375879d57 
								
							
								 
							
						 
						
							
							
								
								Show max bitrate for mpeg2 video streams in avcodec_string().  
							
							See also 25b7aa9 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								274a50ab57 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: Warn the user about the lack of a lock manager if insufficient locks are detected  
							
							A lock manager is not the only possibility to avoid open/close locking
issues but its easier and more robust than maintaining a lot of lock/unlock
calls.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55db06af64 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: use av_assert0() to check validity of input pointers for start code search  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abc8110f7e 
								
							
								 
							
						 
						
							
							
								
								avcodec: add avcodec_chroma_pos_to_enum()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7397857e2 
								
							
								 
							
						 
						
							
							
								
								avcodec: add avcodec_enum_to_chroma_pos()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a80e622924 
								
							
								 
							
						 
						
							
							
								
								avcodec/avutil: Add AVColorSpace and AVColorRange to AVFrames  
							
							This also moves AVColorSpace and AVColorRange from avcodec to avutil
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6516a25f04 
								
							
								 
							
						 
						
							
							
								
								ADPCM IMA WAV 2, 3 and 5 bits decoder  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b42bcaef29 
								
							
								 
							
						 
						
							
							
								
								Avoid a null pointer dereference in avcodec_decode_audio4().  
							
							This could happen if oom occured while probing a file.
Fixes ticket #2722 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8738d94274 
								
							
								 
							
						 
						
							
							
								
								avcodec: Make av_register_hwaccel() and avcodec_register() thread safe  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41f3c60fbb 
								
							
								 
							
						 
						
							
							
								
								Avoid a null pointer dereference in avcodec_decode_video2().  
							
							This could happen if oom occured while probing a file.
Reported in ticket #1900 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47c9887eca 
								
							
								 
							
						 
						
							
							
								
								lavc/utils: improve feedback in case of invalid packet size  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								720a1de52f 
								
							
								 
							
						 
						
							
							
								
								lavc: free the padded last frame during audio encoding properly  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								985f34b756 
								
							
								 
							
						 
						
							
							
								
								utils: fix avcodec_flush_buffers pre-reference counting compatibility  
							
							The to_free AVframe must be freed just like the other ones.
Indeed, the calling application may expect all frames to be
released.
(This regression caused use-after-free in VLC with hwaccel.)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7fff3df6b2 
								
							
								 
							
						 
						
							
							
								
								avcodec_encode_audio2: fix memleak on last padded frame  
							
							Regression introduced by 799f57ac96 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								175e916fa2 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: Fix encoder allocation size  
							
							Fixes Ticket2645
Found-by: Darrell Walisser
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								799f57ac96 
								
							
								 
							
						 
						
							
							
								
								lavc: use AVFrame API properly in pad_last_frame().  
							
							This also simplifies the code. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5f7f1fef1 
								
							
								 
							
						 
						
							
							
								
								audio frame multi-threaded decoding  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a90baa63c3 
								
							
								 
							
						 
						
							
							
								
								add YUVJ411P  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e29e91232 
								
							
								 
							
						 
						
							
							
								
								avcodec_align_dimensions2: add missing yuva formats  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30e256430e 
								
							
								 
							
						 
						
							
							
								
								lavc/pthread: remove obsolete checks  
							
							Those were useful when avcodec_thread_init() was a public functions. It
was deprecated and removed some time ago, so those checks are not needed
anymore. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7c71f95f8 
								
							
								 
							
						 
						
							
							
								
								replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6c4ac7b5f 
								
							
								 
							
						 
						
							
							
								
								pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								252c0bfdc0 
								
							
								 
							
						 
						
							
							
								
								lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)  
							
							This fixes https://bugzilla.libav.org/show_bug.cgi?id=514 .
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67fad0d221 
								
							
								 
							
						 
						
							
							
								
								ADPCM IMA Radical decoder  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7814ed839 
								
							
								 
							
						 
						
							
							
								
								ADPCM DTK decoder  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								570d63eef3 
								
							
								 
							
						 
						
							
							
								
								lavu: add FF_CEIL_RSHIFT and use it in various places.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c057433cc 
								
							
								 
							
						 
						
							
							
								
								libswscale: GBRAP input & output and GBRAP16 input support  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e55e8b2c36 
								
							
								 
							
						 
						
							
							
								
								lavc: do not leak frames in avcodec_decode_audio4  
							
							Notwithstanding the return value the frame should be freed if
is not going to be used.
Reported-by: Matthew Wolenetz <wolenetz@chromium.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								004779cc59 
								
							
								 
							
						 
						
							
							
								
								avcodec/utils: Fix leak by dereferencing audio frame when side data causes whole frame skip  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdfa1c89b7 
								
							
								 
							
						 
						
							
							
								
								avcodec: Set frame.width/height on all exit pathes of ff_get_buffer()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fee1b90ce 
								
							
								 
							
						 
						
							
							
								
								avcodec: Add av_cold attributes to init functions missing them  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ee29b5fb9 
								
							
								 
							
						 
						
							
							
								
								avcodec: move lowres down with the next ABI bump and add accessors  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								088f38a4f9 
								
							
								 
							
						 
						
							
							
								
								avcodec: Drop unnecessary ff_ name prefixes from static functions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e036bb7899 
								
							
								 
							
						 
						
							
							
								
								lavc: clear AVBuffers on decoded frames if refcounted_frames is not set  
							
							Otherwise some code might mistakenly think it is allowed to unref those
buffers, which would lead to double unref. 
							
						 
						12 years ago