44 #define OFFSET(x) offsetof(G722Context, x)
45 #define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
74 -35, -35, -2919, -2195, -1765, -1458, -1219, -1023,
75 -858, -714, -587, -473, -370, -276, -190, -110,
76 2919, 2195, 1765, 1458, 1219, 1023, 858, 714,
77 587, 473, 370, 276, 190, 110, 35, -35
101 out_buf = (int16_t *)frame->
data[0];
105 for (j = 0; j < avpkt->
size; j++) {
106 int ilow, ihigh, rlow, rhigh, dhigh;
127 *out_buf++ = av_clip_int16(xout1 >> 11);
128 *out_buf++ = av_clip_int16(xout2 >> 11);