• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching defs:vr

1314                                            vorbis_residue *vr,
1320 unsigned c_p_c = vc->codebooks[vr->classbook].dimensions;
1321 unsigned inverse_class = ff_inverse[vr->classifications];
1325 temp = get_vlc2(&vc->gb, vc->codebooks[vr->classbook].vlc.table,
1326 vc->codebooks[vr->classbook].nb_bits, 3);
1333 av_assert0(vr->classifications > 1); //needed for inverse[]
1339 if (i < vr->ptns_to_read)
1340 vr->classifs[p + i] = temp - temp2 * vr->classifications;
1345 temp2 = temp / vr->classifications;
1347 if (i < vr->ptns_to_read)
1348 vr->classifs[p + i] = temp - temp2 * vr->classifications;
1353 p += vr->ptns_to_read;
1360 vorbis_residue *vr,
1369 unsigned c_p_c = vc->codebooks[vr->classbook].dimensions;
1370 uint8_t *classifs = vr->classifs;
1373 int ptns_to_read = vr->ptns_to_read;
1382 max_output += vr->end / ch;
1385 max_output += vr->end;
1389 if (max_output <= ch_left * vlen + vr->partition_size*ch_used/ch) {
1400 for (pass = 0; pass <= vr->maxpass; ++pass) { // FIXME OPTIMIZE?
1403 voffset = vr->begin;
1407 if ((ret = setup_classifs(vc, vr, do_not_decode, ch_used, partition_count)) < 0)
1416 int vqbook = vr->books[vqclass][pass];
1421 unsigned step = FASTDIV(vr->partition_size << 1, dim << 1);
1501 voffset += vr->partition_size;
1507 get_vlc2(&vc->gb, vc->codebooks[vr->classbook].vlc.table,
1508 vc->codebooks[vr->classbook].nb_bits, 3);
1516 static inline int vorbis_residue_decode(vorbis_context *vc, vorbis_residue *vr,
1522 if (vr->type == 2)
1523 return vorbis_residue_decode_internal(vc, vr, ch, do_not_decode, vec, vlen, ch_left, 2);
1524 else if (vr->type == 1)
1525 return vorbis_residue_decode_internal(vc, vr, ch, do_not_decode, vec, vlen, ch_left, 1);
1526 else if (vr->type == 0)
1527 return vorbis_residue_decode_internal(vc, vr, ch, do_not_decode, vec, vlen, ch_left, 0);