checkasm/vf_blend: use the correct depth parameters to initialize the blend modes
This effectively enables the tests that until now were just running the C version alone. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 55e1bc39cb3e485e5b0b6b13a41a2fd6f18ed3af)
This commit is contained in:
		
							parent
							
								
									8fd7d3864d
								
							
						
					
					
						commit
						d913badb9f
					
				@ -99,7 +99,7 @@ void checkasm_check_blend(void)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#define check_and_report(name, val, depth)        \
 | 
					#define check_and_report(name, val, depth)        \
 | 
				
			||||||
    param.mode = val;                             \
 | 
					    param.mode = val;                             \
 | 
				
			||||||
    ff_blend_init(¶m, depth - 1);             \
 | 
					    ff_blend_init(¶m, depth * 8);             \
 | 
				
			||||||
    if (check_func(param.blend, #name))           \
 | 
					    if (check_func(param.blend, #name))           \
 | 
				
			||||||
        check_blend_func(depth);
 | 
					        check_blend_func(depth);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user