81d6501be7 
								
							
								 
							
						 
						
							
							
								
								checkasm/Makefile: add EXTRALIBS-swresample  
							
							Should fix https://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225058.html 
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com> 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78b982d3b9 
								
							
								 
							
						 
						
							
							
								
								checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_pred  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40d4b13228 
								
							
								 
							
						 
						
							
							
								
								checkasm: support for AVX-512 functions  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da03242778 
								
							
								 
							
						 
						
							
							
								
								Revert "checkasm/vf_interlace : add test for lowpass_line 8 and 16"  
							
							This reverts commit adff97be5e 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adff97be5e 
								
							
								 
							
						 
						
							
							
								
								checkasm/vf_interlace : add test for lowpass_line 8 and 16  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cefb7e0060 
								
							
								 
							
						 
						
							
							
								
								checkasm/vf_hflip : add test for vf_hflip byte and short simd  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18a0f42026 
								
							
								 
							
						 
						
							
							
								
								checkasm: Use LOCAL_ALIGNED for aligned variables on the stack  
							
							This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding
NEON HEVC MC assembly.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1215889bc1 
								
							
								 
							
						 
						
							
							
								
								checkasm/llviddsp: fix mixed code and declarations  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1121f9723 
								
							
								 
							
						 
						
							
							
								
								checkasm/llviddsp : add test for add_gradient_pred  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5bda11e70e 
								
							
								 
							
						 
						
							
							
								
								checkasm/llviddsp : test return of add_left_pred(16)  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								179a2f04eb 
								
							
								 
							
						 
						
							
							
								
								checkasm/vf_threshold : add test for threshold16  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b324700e3 
								
							
								 
							
						 
						
							
							
								
								checkasm/vf_threshold: fix mixed code and declarations  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cfce442750 
								
							
								 
							
						 
						
							
							
								
								checkasm/vf_threshold : add checkasm test for threshold8  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9bed17cd0f 
								
							
								 
							
						 
						
							
							
								
								checkasm/utvideo : be more explicit to the WIDTH_PADDED define  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38f966b222 
								
							
								 
							
						 
						
							
							
								
								tests/checkasm/float_dsp: Increase allowed difference for float_dsp.vector_dmul  
							
							Tested for 10000 iterations on x86-32
Fixes: Ticket6848
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bea8eeaa2c 
								
							
								 
							
						 
						
							
							
								
								checkasm/utvideodsp: zero initialize the entire buffer  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a05c873cf 
								
							
								 
							
						 
						
							
							
								
								checkasm/utvideodsp: fix mixed declarations and code  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a6aa6d1b2 
								
							
								 
							
						 
						
							
							
								
								checkasm : add test for huffyuvdsp add_int16  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a7eb65e1b 
								
							
								 
							
						 
						
							
							
								
								checkasm : add utvideodsp test  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								501435e5e6 
								
							
								 
							
						 
						
							
							
								
								checkasm/jpeg2000dsp: add test for ict_float  
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20a93ea8d4 
								
							
								 
							
						 
						
							
							
								
								checkasm/jpeg2000dsp: refactor rct_int test  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4cfb46f94f 
								
							
								 
							
						 
						
							
							
								
								checkasm/llviddsp: fix warnings about mixed declaration and code  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fbe9148779 
								
							
								 
							
						 
						
							
							
								
								checkasm/llviddsp : add test for other dsp func  
							
							add_median_pred
add_left_pred : add two func one with acc 0, and one with random acc
add_left_pred16 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbbec68847 
								
							
								 
							
						 
						
							
							
								
								libavcodec/blockdsp : add AVX version  
							
							Also modify the required alignment, to 32 instead of 16
for several codecs
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac5908b13f 
								
							
								 
							
						 
						
							
							
								
								libavcodec/exr : add x86 SIMD for predictor  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								516c479172 
								
							
								 
							
						 
						
							
							
								
								checkasm: Test more h264 idct variants  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7323c896b2 
								
							
								 
							
						 
						
							
							
								
								checkasm: add an exrdsp test  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0d56f097f 
								
							
								 
							
						 
						
							
							
								
								checkasm: use perf API on Linux ARM*  
							
							On ARM platforms, accessing the PMU registers requires special user
access permissions. Since there is no other way to get accurate timers,
the current implementation of timers in FFmpeg rely on these registers.
Unfortunately, enabling user access to these registers on Linux is not
trivial, and generally involve compiling a random and unreliable github
kernel module, or patching somehow your kernel.
Such module is very unlikely to reach the upstream anytime soon. Quoting
Robin Murphin from ARM:
> Say you do give userspace direct access to the PMU; now run two or more
> programs at once that believe they can use the counters for their own
> "minimal-overhead" profiling. Have fun interpreting those results...
>
> And that's not even getting into the implications of scheduling across
> different CPUs, CPUidle, etc. where the PMU state is completely beyond
> userspace's control. In general, the plan to provide userspace with
> something which might happen to just about work in a few corner cases,
> but is meaningless, misleading or downright broken in all others, is to
> never do so.
As a result, the alternative is to use the Performance Monitoring Linux
API which makes use of these registers internally (assuming the PMU of
your ARM board is supported in the kernel, which is definitely not a
given...).
While the Linux API is obviously cross platform, it does have a
significant overhead which needs to be taken into account. As a result,
that mode is only weakly enabled on ARM platforms exclusively.
Note on the non flexibility of the implementation: the timers (native
FFmpeg vs Linux API) are selected at compilation time to prevent the
need of function calls, which would result in a negative impact on the
cycle counters. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e12f1cd616 
								
							
								 
							
						 
						
							
							
								
								Revert "checkasm: Test more h264 idct variants"  
							
							This reverts commit 547db1eaec 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								547db1eaec 
								
							
								 
							
						 
						
							
							
								
								checkasm: Test more h264 idct variants  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e51073fe00 
								
							
								 
							
						 
						
							
							
								
								checkasm/vf_blend: rename addition128 and difference128 to grainmerge and grainextract  
							
							This was missing from f8d0689d3f 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f205a42d7 
								
							
								 
							
						 
						
							
							
								
								checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to aacpsdsp  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								823cc7e25f 
								
							
								 
							
						 
						
							
							
								
								checkasm: add a g722dsp test  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d3243577c 
								
							
								 
							
						 
						
							
							
								
								checkasm: use declare_func_float() in sbrdsp sum_square test  
							
							The function returns a float.
This fixes the test in x86_32 targets.
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7864e07f4a 
								
							
								 
							
						 
						
							
							
								
								checkasm: add sbrdsp tests  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0eb783eb06 
								
							
								 
							
						 
						
							
							
								
								checkasm: randomize the full input buffer in test_hybrid_analysis  
							
							Missed in the last commit. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb7b477a91 
								
							
								 
							
						 
						
							
							
								
								checkasm: fix size of input buffer in test_hybrid_analysis  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b12a36170b 
								
							
								 
							
						 
						
							
							
								
								lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysis  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								edd041e64c 
								
							
								 
							
						 
						
							
							
								
								checkasm: add AAC PS tests  
							
							This includes various fixes and improvements from James Almer.
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa50d9360b 
								
							
								 
							
						 
						
							
							
								
								x86/vf_blend: add sse and ssse3 extremity functions  
							
							Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a579dbb4f7 
								
							
								 
							
						 
						
							
							
								
								checkasm: add missing checks to float_dsp's butterflies_float test  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								067e42b851 
								
							
								 
							
						 
						
							
							
								
								checkasm/aarch64: fix tests returning a float  
							
							Avoids overriding the v0 register (which containins the result of the
tested function) in checkasm_call_checked. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd502f4f5f 
								
							
								 
							
						 
						
							
							
								
								build: Generalize yasm/nasm-related variable names  
							
							None of them are specific to the YASM assembler.
(Cherry-picked from libav commit 39e208f4d4 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b10f484e2 
								
							
								 
							
						 
						
							
							
								
								checkasm: add float_dsp tests  
							
							Ported from libavutil/tests/float_dsp.c
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37388b119c 
								
							
								 
							
						 
						
							
							
								
								checkasm: add a checkasm_checked_call function that doesn't issue emms  
							
							Meant for DSP functions returning a float or double, as they'd fail if emms
is called after every run on x86_32.
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93dc1c1221 
								
							
								 
							
						 
						
							
							
								
								checkasm: add _fixed suffix to fixed_dsp tests  
							
							Should prevents future conflicts with the similarly named floatdsp tests 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d05c9cde0e 
								
							
								 
							
						 
						
							
							
								
								checkasm: aarch64: Specify alignment for the register_init const array  
							
							Loads from this strictly doesn't require alignment, but specify it
just for consistency with the arm version.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e00db9f78b 
								
							
								 
							
						 
						
							
							
								
								checkasm: hevc: Add a hevc_ prefix to the add_residual functions  
							
							This makes it easier to group them with the rest when running e.g.
--bench=hevc.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b3cb953f7 
								
							
								 
							
						 
						
							
							
								
								checkasm: add fixed_dsp tests  
							
							Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c9f4b5078 
								
							
								 
							
						 
						
							
							
								
								lavc/vp9: split into vp9{block,data,mvs}  
							
							This is following Libav layout to ease merges. 
							
						 
						8 years ago