Revision f1efbca5 libavcodec/ac3dsp.h
libavcodec/ac3dsp.h  

46  46 
* @return a value with the same MSB as max(abs(src[])) 
47  47 
*/ 
48  48 
int (*ac3_max_msb_abs_int16)(const int16_t *src, int len); 
49  
50 
/** 

51 
* Leftshift each value in an array of int16_t by a specified amount. 

52 
* @param src input array 

53 
* constraints: align 16 

54 
* @param len number of values in the array 

55 
* constraints: multiple of 32 greater than 0 

56 
* @param shift left shift amount 

57 
* constraints: range [0,15] 

58 
*/ 

59 
void (*ac3_lshift_int16)(int16_t *src, unsigned int len, unsigned int shift); 

60  
61 
/** 

62 
* Rightshift each value in an array of int32_t by a specified amount. 

63 
* @param src input array 

64 
* constraints: align 16 

65 
* @param len number of values in the array 

66 
* constraints: multiple of 16 greater than 0 

67 
* @param shift right shift amount 

68 
* constraints: range [0,31] 

69 
*/ 

70 
void (*ac3_rshift_int32)(int32_t *src, unsigned int len, unsigned int shift); 

49  71 
} AC3DSPContext; 
50  72  
51  73 
void ff_ac3dsp_init (AC3DSPContext *c); 
Also available in: Unified diff