92ba965103 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move draw_edges and clear_block* out of dsputil_template  
							
							The functions are not used templatized. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da5be23525 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move RV40-specific bits into rv40dsp  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c01ad8b20 
								
							
								 
							
						 
						
							
							
								
								dsputil_template: Detemplatize the code  
							
							The indirection makes no sense without multiple instantiation. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7373585f8 
								
							
								 
							
						 
						
							
							
								
								dsputil_template: Move bits that are used templatized into separate file  
							
							This allows detemplatizing the bits that are not instantiated twice. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3c3c1664a 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move hpel_template #include out of dsputil_template  
							
							Multiple inclusion makes no sense as it is only used in the 8-bit case. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57f09608e1 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move thirdpel-related bits into their own context  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82bb304801 
								
							
								 
							
						 
						
							
							
								
								dsputil: Use correct type in me_cmp_func function pointer  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5169e68895 
								
							
								 
							
						 
						
							
							
								
								dsputil: Propagate bit depth information to all (sub)init functions  
							
							This avoids recalculating the value over and over again. 
							
						 
						12 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								635ec127d4 
								
							
								 
							
						 
						
							
							
								
								dsputil: Merge variable declarations and initializations  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb12c2e9c0 
								
							
								 
							
						 
						
							
							
								
								dsputil: K&R formatting cosmetics  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a8f91b1fb 
								
							
								 
							
						 
						
							
							
								
								dsputil: Remove disabled avg_no_rnd_qpel leftovers  
							
							
								
							
							
						 
						11 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4dd424d96 
								
							
								 
							
						 
						
							
							
								
								Remove all SPARC architecture optimizations  
							
							SPARC is no longer being used in any multimedia-related fields and the
VIS optimizations only represent a maintenance burden. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6096a6742 
								
							
								 
							
						 
						
							
							
								
								Remove all SH4 architecture optimizations  
							
							SH4 has been end-of-lifed and no more test machines are available. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4958f35a2e 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move apply_window_int16 to ac3dsp  
							
							The (optimized) functions are used nowhere else. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffaa19570 
								
							
								 
							
						 
						
							
							
								
								dsputil: x86: Move ff_inv_zigzag_direct16 table init to mpegvideo  
							
							The table is MMX-specific and used nowhere else. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1916d13e2 
								
							
								 
							
						 
						
							
							
								
								dsputil/pngdsp: fix signed/unsigned type in end comparison  
							
							Fixes out of array accesses and integer overflows. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7f7bfc9e3 
								
							
								 
							
						 
						
							
							
								
								Remove all Alpha architecture optimizations  
							
							Alpha has been end-of-lifed and no more test machines are available. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0338c39698 
								
							
								 
							
						 
						
							
							
								
								dsputil: Split off H.263 bits into their own H263DSPContext  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67e6a9f558 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Place arch initialization calls in alphabetical order  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a64f6a04ac 
								
							
								 
							
						 
						
							
							
								
								dsputil: x86: Hide arch-specific initialization details  
							
							Also give consistent names to init functions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fee1b90ce 
								
							
								 
							
						 
						
							
							
								
								avcodec: Add av_cold attributes to init functions missing them  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								088f38a4f9 
								
							
								 
							
						 
						
							
							
								
								avcodec: Drop unnecessary ff_ name prefixes from static functions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4d186d185 
								
							
								 
							
						 
						
							
							
								
								dsputil: Remove non-8bpp draw_edge  
							
							It is never used.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9f5fcd08c 
								
							
								 
							
						 
						
							
							
								
								dsputil: Merge 9-10 bpp functions for get_pixels and draw_edge  
							
							These only care about pixel storage unit size, not actual bits
used (i.e. they don't clip).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								619e0da191 
								
							
								 
							
						 
						
							
							
								
								dsputil: Remove unused 32-bit functions  
							
							Previously, if dct_bits was set to 32, we used separate 32-bit
versions of these functions. Since dct_bits now is removed,
remove the unused 32-bit versions of the functions.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c443117f25 
								
							
								 
							
						 
						
							
							
								
								dsputil: Remove dct_bits  
							
							dct_bits is never set except in h264, where it is never used,
thus remove it.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54cd5e4f92 
								
							
								 
							
						 
						
							
							
								
								dsputil: Remove hpel functions (moved to hpeldsp)  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d25c9db11 
								
							
								 
							
						 
						
							
							
								
								dsputil: Make square put/avg_pixels functions local to h264qpel  
							
							Put a copy of the 8bit functions only in dsputil, where they are
used for some other things (e.g. mpeg4qpel, mspel, cavsqpel).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2ec6ea6c6 
								
							
								 
							
						 
						
							
							
								
								lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables  
							
							These are widely used throughout libavcodec, nothing dsputil-specific.
Change ff_cropTbl to a statically initialized table, to avoid
initializing it with a function call.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e0f14f16c 
								
							
								 
							
						 
						
							
							
								
								lavc: Make pointers to ff_cropTbl const  
							
							There's no point in these pointers not being const.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed16c2dbf4 
								
							
								 
							
						 
						
							
							
								
								h261: Remove H.261 loop filter from dsputil  
							
							There is no arch-optimized version of the H.261 loop filter and there
likely will never be, so the dsputil overhead does not give any benefit. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8b6015823 
								
							
								 
							
						 
						
							
							
								
								dsputil: convert remaining functions to use ptrdiff_t strides  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ed008204d 
								
							
								 
							
						 
						
							
							
								
								h264: Add add_pixels4/8() to h264dsp, and remove add_pixels4 from dsputil  
							
							These functions are mostly H264-specific (the only other user I can
spot is bink), and this allows us to special-case some functionality
for H264. Also remove the 16-bit-coeff with >8bpp versions (unused)
and merge the duplicate 32-bit-coeff for >8bpp (identical).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								059866eb17 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move WRAPPER8_16_SQ macro to the only place it is used  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35685a3c2a 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move ff_shrink* function declarations to separate header  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9ba5253dd 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move copy_block functions to a separate header  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b016eb99d 
								
							
								 
							
						 
						
							
							
								
								dsputil: Move ff_block_permute to mpegvideo_enc  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79dad2a932 
								
							
								 
							
						 
						
							
							
								
								dsputil: Separate h264chroma  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9d817351b 
								
							
								 
							
						 
						
							
							
								
								dsputil: Separate h264 qpel  
							
							The sh4 optimizations are removed, because the code is
100% identical to the C code, so it is unlikely to
provide any real practical benefit.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								baf35bb4bc 
								
							
								 
							
						 
						
							
							
								
								dsputil: remove one array dimension from avg_no_rnd_pixels_tab.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2612c4dc78 
								
							
								 
							
						 
						
							
							
								
								dsputil: remove 9/10 bits hpel functions.  
							
							These are never used. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32ff643228 
								
							
								 
							
						 
						
							
							
								
								dsputil: remove avg_no_rnd_pixels8.  
							
							This is never used. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d56668bd80 
								
							
								 
							
						 
						
							
							
								
								floatdsp: move scalarproduct_float from dsputil to avfloatdsp.  
							
							This makes the aac decoder and all voice codecs independent of dsputil. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5959bfaca3 
								
							
								 
							
						 
						
							
							
								
								floatdsp: move butterflies_float from dsputil to avfloatdsp.  
							
							This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3)
independent of dsputil. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42d3246948 
								
							
								 
							
						 
						
							
							
								
								floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.  
							
							Now, nellymoserenc and aacenc no longer depends on dsputil. Independent
of this patch, wmaprodec also does not depend on dsputil, so I removed
it from there also. 
							
						 
						12 years ago