You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							624 B
						
					
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							624 B
						
					
					
				#pragma once
 | 
						|
 | 
						|
#include <stdint.h>
 | 
						|
#include <stddef.h>
 | 
						|
#define NUM_SEGMENTS_X 8
 | 
						|
#define NUM_SEGMENTS_Y 6
 | 
						|
 | 
						|
#define ROI_X_MIN 1
 | 
						|
#define ROI_X_MAX 6
 | 
						|
#define ROI_Y_MIN 2
 | 
						|
#define ROI_Y_MAX 3
 | 
						|
 | 
						|
#define LM_THRESH 120
 | 
						|
#define LM_PREC_THRESH 0.9 // 90 perc is blur
 | 
						|
 | 
						|
// only apply to QCOM
 | 
						|
#define FULL_STRIDE_X 1280
 | 
						|
#define FULL_STRIDE_Y 896
 | 
						|
 | 
						|
#define CONV_LOCAL_WORKSIZE 16
 | 
						|
 | 
						|
const int16_t lapl_conv_krnl[9] = {0, 1, 0,
 | 
						|
                                  1, -4, 1,
 | 
						|
                                  0, 1, 0};
 | 
						|
 | 
						|
uint16_t get_lapmap_one(const int16_t *lap, int x_pitch, int y_pitch);
 | 
						|
bool is_blur(const uint16_t *lapmap, const size_t size);
 | 
						|
 |