Lines Matching defs:offset
202 uint8_t (*layout_map)[3], int offset, uint64_t left,
205 if (layout_map[offset][0] == TYPE_CPE) {
206 e2c_vec[offset] = (struct elem_to_channel) {
209 .elem_id = layout_map[offset][1],
212 if (e2c_vec[offset].av_position != UINT64_MAX)
213 *layout |= e2c_vec[offset].av_position;
217 e2c_vec[offset] = (struct elem_to_channel) {
220 .elem_id = layout_map[offset][1],
223 e2c_vec[offset + 1] = (struct elem_to_channel) {
226 .elem_id = layout_map[offset + 1][1],
1227 for (unsigned i = 0, offset = 0; i < 11; i++) {
1228 vlc_spectral[i].table = &vlc_buf[offset];
1229 vlc_spectral[i].table_allocated = FF_ARRAY_ELEMS(vlc_buf) - offset;
1238 offset += vlc_spectral[i].table_size;
1605 int offset[3] = { global_gain, global_gain - NOISE_OFFSET, 0 };
1617 offset[2] += get_vlc2(gb, vlc_scalefactors.table, 7, 3) - SCALE_DIFF_ZERO;
1618 clipped_offset = av_clip(offset[2], -155, 100);
1619 if (offset[2] != clipped_offset) {
1623 offset[2], clipped_offset);
1634 offset[1] += get_bits(gb, NOISE_PRE_BITS) - NOISE_PRE;
1636 offset[1] += get_vlc2(gb, vlc_scalefactors.table, 7, 3) - SCALE_DIFF_ZERO;
1637 clipped_offset = av_clip(offset[1], -100, 155);
1638 if (offset[1] != clipped_offset) {
1642 offset[1], clipped_offset);
1652 offset[0] += get_vlc2(gb, vlc_scalefactors.table, 7, 3) - SCALE_DIFF_ZERO;
1653 if (offset[0] > 255U) {
1655 "Scalefactor (%d) out of range.\n", offset[0]);
1659 sf[idx] = -offset[0];
1661 sf[idx] = -ff_aac_pow2sf_tab[offset[0] - 100 + POW_SF2_ZERO];