2b7da70a70 
								
							
								 
							
						 
						
							
							
								
								postproc: remove usage of deprecated QP_STORE_T define  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2aa21eec1a 
								
							
								 
							
						 
						
							
							
								
								postproc: fix unaligned access  
							
							Based on 59074310#5259 . 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								590743101d 
								
							
								 
							
						 
						
							
							
								
								postproc: fix unaligned access  
							
							QP_store is only 8-bit-aligned, so accessing it as uint32_t causes
SIGBUS crashes on sparc.
The AV_RN32/AV_WN32 macros only do unaligned access in the
HAVE_FAST_UNALIGNED case.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f51674c91 
								
							
								 
							
						 
						
							
							
								
								postproc: Avoid floats in maxClipped computation  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07cb6bf985 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: Use size_t to hold strlen()s value  
							
							This should make no difference but its more correct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6264b6227c 
								
							
								 
							
						 
						
							
							
								
								postproc: Replaced inline asm for prefetching with prefetch functions  
							
							Prefetching functions are defined in postprocess_template using the
RENAME macro so that prefetching is used when available. For x86
targets inline asm is used and the functions are non-empty only for
cpus where prefetching is available. For non x86 targets the gcc bultin
prefetch is used if it is available, otherwise no prefetching is done.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78cd9c5671 
								
							
								 
							
						 
						
							
							
								
								postproc: mark alloc/free context functions as av_cold  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9d24ee1dc 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: Check for av_malloc() failure  
							
							Fixes CID1271052
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac424b23e4 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: Check for av_mallocz() failure  
							
							Fixes CID1271050
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45e0aa46ca 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: use av_mallocz()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								649c158e8c 
								
							
								 
							
						 
						
							
							
								
								Add FFMPEG_VERSION into the binary libs  
							
							This simplifies identifying from which revision a binary of a lib came from
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b7e5d0d75 
								
							
								 
							
						 
						
							
							
								
								postproc: fix qp count  
							
							Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a11333387 
								
							
								 
							
						 
						
							
							
								
								libpostproc: support grayscale  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								941aaa39e8 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: fix quant store for fq mode  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac682955e9 
								
							
								 
							
						 
						
							
							
								
								postproc: add basic deblock filter visualization support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd68909753 
								
							
								 
							
						 
						
							
							
								
								postprocess: prefetch* dont change anything, thus their arguments should be const  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5ccd08d26d 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: Avoid some ifs in do_a_deblock_C()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a9ca68e15 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: remove redundant casts  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								859d7d4640 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: Use FF_ARRAY_ELEMS() in pp_free_context() instead of hard-coding their size  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9b141c05f 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: Remove unused argument from reallocAlign()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e8be46252 
								
							
								 
							
						 
						
							
							
								
								postproc/postprocess: use av_strtok()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								921caf6203 
								
							
								 
							
						 
						
							
							
								
								postprocess: make some variables in pp_get_mode_by_name_and_quality() const  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44dabf1f42 
								
							
								 
							
						 
						
							
							
								
								postproc: simplify forwarding return codes  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f9ebe631d 
								
							
								 
							
						 
						
							
							
								
								libpostproc/postprocess: avoid some if()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb8b752553 
								
							
								 
							
						 
						
							
							
								
								postproc: use FFMIN/FFMAX where appropriate  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9e2aceb7f 
								
							
								 
							
						 
						
							
							
								
								Add missing "const" all over the place.  
							
							Only "./configure --enable-gpl" on x86 was tested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81a663f49e 
								
							
								 
							
						 
						
							
							
								
								Drop remaining unneeded != NULL  
							
							Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6173fed60 
								
							
								 
							
						 
						
							
							
								
								postproc: fix null pointer dereference with invalid option strings  
							
							Fixes CID1135760
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8da1fff85a 
								
							
								 
							
						 
						
							
							
								
								lavfi/pp: switch to an AVOptions-based system.  
							
							Also add and use the '|' separator instead of ':' since it's
incompatible with the new option system... 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								518239cd61 
								
							
								 
							
						 
						
							
							
								
								build: postproc cleanup.  
							
							This reverts 79f80f5c, moves postproc along with the other libraries,
and fix the postproc dependency to libavutil. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e04e11e83 
								
							
								 
							
						 
						
							
							
								
								libpostproc: alloc a few bytes more in the temporary buffer  
							
							This avoids dering reading 4 bytes prior the buffer (1 byte can
be used)
Fixes Ticket2057
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9d8658d67 
								
							
								 
							
						 
						
							
							
								
								libpostproc: fix leak of 2kb  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e264d1c79 
								
							
								 
							
						 
						
							
							
								
								pp: add support for SSE2.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59d686f100 
								
							
								 
							
						 
						
							
							
								
								pp: add auto detection cpu flag.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e034b07e40 
								
							
								 
							
						 
						
							
							
								
								pp: add various const for pointers.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6945228e8 
								
							
								 
							
						 
						
							
							
								
								pp: simplify postProcess().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								375cd3f2ec 
								
							
								 
							
						 
						
							
							
								
								pp: rework the way templating is done.  
							
							This refactoring simplifies the usage of the template: define the
profile and include the template is all that is required. It should now
be easier to add more instruction sets.
The HAVE_* flags are changed with TEMPLATE_PP_* setting to avoid messing
them up.
See the top comment in postprocess_template.c for details. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e20ac54f3e 
								
							
								 
							
						 
						
							
							
								
								postproc: Fix unprotected inline asm  
							
							Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08bd8c8ab3 
								
							
								 
							
						 
						
							
							
								
								rename the remaining instances of HAVE_MMX2 to HAVE_MMXEXT  
							
							Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								561a365dca 
								
							
								 
							
						 
						
							
							
								
								pp: check that the argument is not NULL as this is not supported  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								234d42f53b 
								
							
								 
							
						 
						
							
							
								
								postprocess: fix another void returning void function.  
							
							lets hope this makes suncc happy finally ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f80afe0a7 
								
							
								 
							
						 
						
							
							
								
								libpostproc: add bitexact mode, which is needed for regression testing.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1808e3048 
								
							
								 
							
						 
						
							
							
								
								libpostproc: add pp=help support to print the help text via av_log()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b315042c8c 
								
							
								 
							
						 
						
							
							
								
								Remove libpostproc.  
							
							This library does not fit into Libav as a whole and its code is just a
maintenance burden.  Furthermore it is now available as an external project,
which completely obviates any reason to keep it around.
URL: http://git.videolan.org/?p=libpostproc.git  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55a6d8d9fa 
								
							
								 
							
						 
						
							
							
								
								libpostproc: increase LIBPOSTPROC_VERSION_MICRO to 100  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da9cea77e3 
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of common typos.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c68fafe0d2 
								
							
								 
							
						 
						
							
							
								
								doxygen: eliminate Qt-style doxygen syntax  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4f3300c09 
								
							
								 
							
						 
						
							
							
								
								postprocess.c: filter name needs to be double 0 terminated  
							
							Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0fedf754b2 
								
							
								 
							
						 
						
							
							
								
								libpostproc: Remove disabled code.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c96f3750c2 
								
							
								 
							
						 
						
							
							
								
								postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)  
							
							
								
							
							
						 
						14 years ago