mpegvideo: Move ME_MAP_* defines to the only place they are used
This commit is contained in:
		
							parent
							
								
									ff85334375
								
							
						
					
					
						commit
						4fbb62a21b
					
				@ -45,6 +45,9 @@
 | 
			
		||||
#define P_MEDIAN P[4]
 | 
			
		||||
#define P_MV1 P[9]
 | 
			
		||||
 | 
			
		||||
#define ME_MAP_SHIFT 3
 | 
			
		||||
#define ME_MAP_MV_BITS 11
 | 
			
		||||
 | 
			
		||||
static int sad_hpel_motion_search(MpegEncContext * s,
 | 
			
		||||
                                  int *mx_ptr, int *my_ptr, int dmin,
 | 
			
		||||
                                  int src_index, int ref_index,
 | 
			
		||||
 | 
			
		||||
@ -73,8 +73,6 @@ enum OutputFormat {
 | 
			
		||||
#define MAX_B_FRAMES 16
 | 
			
		||||
 | 
			
		||||
#define ME_MAP_SIZE 64
 | 
			
		||||
#define ME_MAP_SHIFT 3
 | 
			
		||||
#define ME_MAP_MV_BITS 11
 | 
			
		||||
 | 
			
		||||
#define MAX_MB_BYTES (30*16*16*3/8 + 120)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user