0ae3ba8daa 
								
							
								 
							
						 
						
							
							
								
								avcodec: Drop long-deprecated imgconvert.h header  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8deddc6961 
								
							
								 
							
						 
						
							
							
								
								avcodec_alloc_frame: dont zero the whole struct twice  
							
							cleaning it up is already done in avcodec_get_frame_defaults()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a42aadabc6 
								
							
								 
							
						 
						
							
							
								
								lavc: add avcodec_free_frame().  
							
							Since an AVFrame now has malloced members (extended_data), it must have
a destructor. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b437cec143 
								
							
								 
							
						 
						
							
							
								
								lavc: ensure extended_data is set properly on decoding  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2bc0de3858 
								
							
								 
							
						 
						
							
							
								
								lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c084a975aa 
								
							
								 
							
						 
						
							
							
								
								lavc: use av_mallocz to allocate AVFrames.  
							
							Otherwise the frame is uninitialized, so avcodec_get_frame_defaults()
cannot determine whether to free extended_data. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a83499b13b 
								
							
								 
							
						 
						
							
							
								
								lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults  
							
							AVFrame is used for both audio and video, so calling the argument 'pic'
is misleading. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ccf051a9d 
								
							
								 
							
						 
						
							
							
								
								avcodec: fix memleak in avcodec_encode_audio2()  
							
							Ensure that padded_frame is freed before returning when needed. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								419ffb2390 
								
							
								 
							
						 
						
							
							
								
								avcodec: cleanup utils.c  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								466b39efaf 
								
							
								 
							
						 
						
							
							
								
								lavc: replace AVCodecContext.encode with subtitle-specific callback  
							
							AVCodecContext.encode is currently used only for subtitles, encode2 is
used for audio and video. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f64c8219a 
								
							
								 
							
						 
						
							
							
								
								lavc: add const to private codec class initialization.  
							
							Silences a warning about discarding const. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9dd8272431 
								
							
								 
							
						 
						
							
							
								
								lavc: set AVSubtitle.pts if possible.  
							
							If the packet has a PTS and the corresponding time base is known,
set the pts field of the decoded subtitle structure before the
call to the decoder. The decoder is still allowed to change the
PTS if necessary. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85c830331c 
								
							
								 
							
						 
						
							
							
								
								lavc: protect calls to frame_thread_encoder by HAVE_THREADS  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								097a909ea1 
								
							
								 
							
						 
						
							
							
								
								frame_thread_encoder: pass private options  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c28d80f4c9 
								
							
								 
							
						 
						
							
							
								
								lavc: avcodec_get_name: return "none" for AV_CODEC_ID_NONE.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a0f19b577 
								
							
								 
							
						 
						
							
							
								
								lavc: add const to AVCodec* function parameters.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								747774ece9 
								
							
								 
							
						 
						
							
							
								
								av_get_audio_frame_duration: fix ra144  
							
							Fixes Ticket1612
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d3acbfe8c 
								
							
								 
							
						 
						
							
							
								
								lavc: add const to AVCodecContext.codec_descriptor.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9bb936a80e 
								
							
								 
							
						 
						
							
							
								
								lavc: reimplement avcodec_get_name with descriptors.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da74e883f1 
								
							
								 
							
						 
						
							
							
								
								lavc: add codec_descriptor field to AVCodecContext.  
							
							This can be used to avoid a time consuming lookup of the
descriptor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44bd69e9b9 
								
							
								 
							
						 
						
							
							
								
								lavc/utils: rename ff_init_buffer_info() pic parameter to frame  
							
							The new name is more expressive, given that the frame is not necessarily
a picture but may be an audio frame. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b99381e8b5 
								
							
								 
							
						 
						
							
							
								
								lavc/utils: generalize ff_init_buffer_info() and use it when seems feasible  
							
							Extend ff_init_buffer_info() to init audio frames as well as video
frames.
Avoid code duplication. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23fc4dd6e7 
								
							
								 
							
						 
						
							
							
								
								lavc: add channels field to AVFrame  
							
							This is required otherwise it is not always possible to guess the number
of channels from the layout, for example if the channel layout is
unknown. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								016a472009 
								
							
								 
							
						 
						
							
							
								
								avcodec: add decode_error_flags field to AVFrame  
							
							Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								461f506f7b 
								
							
								 
							
						 
						
							
							
								
								lavc: set best_effort_timestamp for audio too.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd08900393 
								
							
								 
							
						 
						
							
							
								
								lavc: update pkt_duration for skipped samples.  
							
							Also: factor the the computation of the timestamp difference. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e18ac5611 
								
							
								 
							
						 
						
							
							
								
								lavc: warn when impossible to adjust timestamps for skipped samples.  
							
							It is likely to happen if pkt_timebase was not set. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11ce1cf9a7 
								
							
								 
							
						 
						
							
							
								
								lavc: add debug info about skipped samples.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1463bd902a 
								
							
								 
							
						 
						
							
							
								
								cosmetics: reindent after  d3abbb1d1 
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f49ec1b404 
								
							
								 
							
						 
						
							
							
								
								lavc: add metadata to AVFrame  
							
							See thread:
Subject: [libav-devel] [PATCH 1/3] avcodec: add metadata to AVFrame
Date: Tue,  4 Oct 2011 00:19:51 +0200 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa32971d2b 
								
							
								 
							
						 
						
							
							
								
								lavc: adjust timestamp in case of skiping initial samples  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fe186409b 
								
							
								 
							
						 
						
							
							
								
								lavc: skip initial silence when requested  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0eb0b310c4 
								
							
								 
							
						 
						
							
							
								
								lavc: add pkt_timebase to allow avcodec to adjust pkt_dts/pts when needed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3abbb1d13 
								
							
								 
							
						 
						
							
							
								
								lavc: fix ff_alloc_packet()  
							
							Regression introduced in 740b9ff44 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e003d8c91 
								
							
								 
							
						 
						
							
							
								
								lavc: add av_fast_padded_mallocz  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36b2bd9629 
								
							
								 
							
						 
						
							
							
								
								Show hyphen in codec tag.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93d672967d 
								
							
								 
							
						 
						
							
							
								
								video_get_buffer: return ENOMEM instead of -1 on malloc failure  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f339ebc1ff 
								
							
								 
							
						 
						
							
							
								
								lavc/utils: print error message on get_buffer related errors  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ea973fc4c 
								
							
								 
							
						 
						
							
							
								
								avcodec_align_dimensions2: support 12 & 14 bit planar colorspaces  
							
							Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7001eee1f4 
								
							
								 
							
						 
						
							
							
								
								avcodec_encode_audio2: print error messages for errors  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								fde1bc64ad 
								
							
								 
							
						 
						
							
							
								
								lavc: add frame multithreading capability (currently intra only)  
							
							Compared to the decoder side, this code is able to change both the
delay and the number of threads seamlessly during encoding. Also
any idle thread can pick up tasks, the strict round robin in order
limit is gone too.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3641b0489c 
								
							
								 
							
						 
						
							
							
								
								Add support for iLBC decoding/encoding via the external library libilbc  
							
							The library is 3-clause BSD licensed.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3cc1a89881 
								
							
								 
							
						 
						
							
							
								
								lavc/utils: in avcodec_decode_video2() return proper error code instead of -1  
							
							Return AVERROR(EINVAL) in case of invalid coded size. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dded4cb20b 
								
							
								 
							
						 
						
							
							
								
								lavc: fix support of unofficial pix_fmt extensions of jpeg  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62b39d41cd 
								
							
								 
							
						 
						
							
							
								
								lavc: add pkt_duration field to AVFrame  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5ad3c2382 
								
							
								 
							
						 
						
							
							
								
								av_get_audio_frame_duration: fix FPE  
							
							Fixes ticket1392
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73f3f6baff 
								
							
								 
							
						 
						
							
							
								
								lavc: clarify experimental codec message  
							
							Should be easier for new users to get a working output.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67b7631040 
								
							
								 
							
						 
						
							
							
								
								lavc: prettify printing of some codec tags which contains non alphanumeric characters  
							
							Make av_get_codec_tag_string() show codec tag string characters in a more
intelligible ways. For example the ascii char "@" is used as a number, so
should be displayed like "[64]" rather than as a printable character.
Apart alphanumeric chars, only the characters ' ' and '.' are used
literally in codec tags, all the other characters represent numbers. 
							
						 
						13 years ago