12e25ed284 
								
							
								 
							
						 
						
							
							
								
								avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63d744e2be 
								
							
								 
							
						 
						
							
							
								
								av_log_missing_feature() ---> avpriv_report_missing_feature()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ec94b0f06 
								
							
								 
							
						 
						
							
							
								
								lavc: factorize ff_{thread_,re,}get_buffer error messages.  
							
							Coccinelle profile used:
  @@
  expression r, ctx, f, loglevel, str, flags;
  @@
  -if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
  -    av_log(ctx, loglevel, str);
  -    return r;
  -}
  +if ((r = ff_get_buffer(ctx, f, flags)) < 0)
  +    return r;
  @@
  expression r, ctx, f, loglevel, str;
  @@
  -if ((r = ff_reget_buffer(ctx, f)) < 0) {
  -    av_log(ctx, loglevel, str);
  -    return r;
  -}
  +if ((r = ff_reget_buffer(ctx, f)) < 0)
  +    return r;
  @@
  expression r, ctx, f, loglevel, str, flags;
  @@
  -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
  -    av_log(ctx, loglevel, str);
  -    return r;
  -}
  +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
  +    return r;
...along with some manual patches for the remaining ones. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								759001c534 
								
							
								 
							
						 
						
							
							
								
								lavc decoders: work with refcounted frames.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3db34291f 
								
							
								 
							
						 
						
							
							
								
								amrnb: decode directly to the user-provided AVFrame  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d56668bd80 
								
							
								 
							
						 
						
							
							
								
								floatdsp: move scalarproduct_float from dsputil to avfloatdsp.  
							
							This makes the aac decoder and all voice codecs independent of dsputil. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								594d4d5df3 
								
							
								 
							
						 
						
							
							
								
								lavc: add a wrapper for AVCodecContext.get_buffer().  
							
							It will be useful in the upcoming transition to refcounted AVFrames. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8aaec38fc 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: allow sample rates other than 8khz  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b24a4449a5 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: set channels, channel_layout, and sample_rate  
							
							Only mono 8kHz is supported. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								717addecad 
								
							
								 
							
						 
						
							
							
								
								Use proper return values in case of missing features  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52fa5cea03 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: silence a warning about unsigned cant be negative  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dafcbfe443 
								
							
								 
							
						 
						
							
							
								
								celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0177b7d23a 
								
							
								 
							
						 
						
							
							
								
								Improve descriptiveness of a number of codec and container long names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3827a86eac 
								
							
								 
							
						 
						
							
							
								
								Optimization of AMR NB and WB decoders for MIPS  
							
							AMR NB and WB decoders are optimized for MIPS architecture.
Appropriate Makefiles are changed accordingly.
Cnfigure script is changed in order to support optimizations.
 Optimizations are enabled by default when compiling is done for
  mips architecture.
 Appropriate cflags are automatically set.
 Support for several mips CPUs is added in configure script.
New ffmpeg options are added for disabling optimizations.
The FFMPEG option --disable-mipsfpu disables MIPS floating point
 optimizations.
The FFMPEG option --disable-mips32r2 disables MIPS32R2
 optimizations.
The FFMPEG option --disable-mipsdspr1 disables MIPS DSP ASE R1
 optimizations.
The FFMPEG option --disable-mipsdspr2 disables MIPS DSP ASE R2
 optimizations.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Reviewed-by: Vitor Sessak <vitor1001@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1248de53c1 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: use av_assert  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b70feb4053 
								
							
								 
							
						 
						
							
							
								
								amrnb/amrwb: Remove get_bits usage.  
							
							It is used to parse fixed sized fields out of a single octet. The code
is simpler without it. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								882abda5a2 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: check frame size before decoding.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org 
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f09791d28 
								
							
								 
							
						 
						
							
							
								
								Report an error if pitch_lag is zero in AMR-NB decoder.  
							
							This fixes an infinite loop in the decoder on specially
crafted files, and fixes bug 151.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c68fafe0d2 
								
							
								 
							
						 
						
							
							
								
								doxygen: eliminate Qt-style doxygen syntax  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0eea212943 
								
							
								 
							
						 
						
							
							
								
								Add avcodec_decode_audio4().  
							
							Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b61af7382 
								
							
								 
							
						 
						
							
							
								
								Restore WIP g729 code that has been remvoed by diego biurrun.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79a9aab56f 
								
							
								 
							
						 
						
							
							
								
								Remove unused and non-compiling vestigial g729 decoder  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21a19b7912 
								
							
								 
							
						 
						
							
							
								
								doxygen: Prefer member groups over grouping into modules  
							
							Before this, almost all module groups have been used for grouping functions
and fields in structures semantically. This causes them to not appear
properly in the file documentation and needlessly clutters up the "Modules"
index.
Additionally, this commit streamlines some spelling and appearances. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dbe5f0172b 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: we dont want dtx samples anymore and give the user a hint towards how to play such files.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b7dc087e4 
								
							
								 
							
						 
						
							
							
								
								Add forgotten const to enum AVSampleFormat  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c41eb2ade4 
								
							
								 
							
						 
						
							
							
								
								libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46382ae2ec 
								
							
								 
							
						 
						
							
							
								
								amrnb: use correct size when copying lsf_r array  
							
							lsf_r is an array of int16_t, not float.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 1efa772e20 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1efa772e20 
								
							
								 
							
						 
						
							
							
								
								amrnb: use correct size when copying lsf_r array  
							
							lsf_r is an array of int16_t, not float.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d6e4c160a 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum  
							
							SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7bb7eff81 
								
							
								 
							
						 
						
							
							
								
								Move AMR-NB frame unpacking code to a common file so it can be reused in  
							
							the AMR-WB decoder.
Patch by Marcelo Galvăo Póvoa.
Originally committed as revision 25100 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d96cc0865 
								
							
								 
							
						 
						
							
							
								
								Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.  
							
							Patch by Marcelo Galvăo Póvoa
Originally committed as revision 25061 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa36165adf 
								
							
								 
							
						 
						
							
							
								
								amrnbdec: Apply AMR_SAMPLE_SCALE when finishing the decoder output  
							
							The output scaling was accidentally removed in rev 22937.
Originally committed as revision 23012 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1078e9fe6 
								
							
								 
							
						 
						
							
							
								
								Move clipping of audio samples (for those codecs outputting float) from decoder  
							
							to the audio conversion routines.
Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8955a9d79c 
								
							
								 
							
						 
						
							
							
								
								Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().  
							
							Originally committed as revision 22933 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb2dd9efd8 
								
							
								 
							
						 
						
							
							
								
								Split the input/output data arguments to ff_adaptive_gain_control().  
							
							Originally committed as revision 22932 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2d3588813 
								
							
								 
							
						 
						
							
							
								
								10l: do not try to unpack DTX frames in AMR-NB decoder  
							
							Originally committed as revision 22930 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								95c6b5ebc8 
								
							
								 
							
						 
						
							
							
								
								Fix spelling.  
							
							Originally committed as revision 22470 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4fe3edaadf 
								
							
								 
							
						 
						
							
							
								
								AMR-NB floating-point based decoder.  
							
							Code produced during SoC by Robert Swain and Colin McQuillan.
Originally committed as revision 21943 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago