Revision f7a5e779 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 |
* Left-shift 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, int len, unsigned int shift); |
|
60 |
|
|
61 |
/** |
|
62 |
* Shift 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 shift amount (negative = right, positive = left) |
|
68 |
* constraints: range [-31,31] |
|
69 |
*/ |
|
70 |
void (*ac3_shift_int32)(int32_t *src, int len, int shift); |
|
71 | 49 |
} AC3DSPContext; |
72 | 50 |
|
73 | 51 |
void ff_ac3dsp_init (AC3DSPContext *c); |
Also available in: Unified diff