Lines Matching defs:feat
163 } feat[8];
642 if ((s->segmentation.feat[i].q_enabled = get_bits1(&s->gb)))
643 s->segmentation.feat[i].q_val = get_sbits_inv(&s->gb, 8);
644 if ((s->segmentation.feat[i].lf_enabled = get_bits1(&s->gb)))
645 s->segmentation.feat[i].lf_val = get_sbits_inv(&s->gb, 6);
646 if ((s->segmentation.feat[i].ref_enabled = get_bits1(&s->gb)))
647 s->segmentation.feat[i].ref_val = get_bits(&s->gb, 2);
648 s->segmentation.feat[i].skip_enabled = get_bits1(&s->gb);
652 s->segmentation.feat[0].q_enabled = 0;
653 s->segmentation.feat[0].lf_enabled = 0;
654 s->segmentation.feat[0].skip_enabled = 0;
655 s->segmentation.feat[0].ref_enabled = 0;
662 if (s->segmentation.feat[i].q_enabled) {
664 qyac = s->segmentation.feat[i].q_val;
666 qyac = s->yac_qi + s->segmentation.feat[i].q_val;
675 s->segmentation.feat[i].qmul[0][0] = vp9_dc_qlookup[qydc];
676 s->segmentation.feat[i].qmul[0][1] = vp9_ac_qlookup[qyac];
677 s->segmentation.feat[i].qmul[1][0] = vp9_dc_qlookup[quvdc];
678 s->segmentation.feat[i].qmul[1][1] = vp9_ac_qlookup[quvac];
681 if (s->segmentation.feat[i].lf_enabled) {
683 lflvl = s->segmentation.feat[i].lf_val;
685 lflvl = s->filter.level + s->segmentation.feat[i].lf_val;
689 s->segmentation.feat[i].lflvl[0][0] =
690 s->segmentation.feat[i].lflvl[0][1] =
693 s->segmentation.feat[i].lflvl[j][0] =
696 s->segmentation.feat[i].lflvl[j][1] =
1374 s->segmentation.feat[b->seg_id].skip_enabled;
1383 } else if (s->segmentation.feat[b->seg_id].ref_enabled) {
1384 b->intra = !s->segmentation.feat[b->seg_id].ref_val;
1548 if (s->segmentation.feat[b->seg_id].ref_enabled) {
1549 av_assert2(s->segmentation.feat[b->seg_id].ref_val != 0);
1551 b->ref[0] = s->segmentation.feat[b->seg_id].ref_val - 1;
1793 if (s->segmentation.feat[b->seg_id].skip_enabled) {
2155 int16_t (*qmul)[2] = s->segmentation.feat[b->seg_id].qmul;
3051 (lvl = s->segmentation.feat[b->seg_id].lflvl[b->intra ? 0 : b->ref[0] + 1]
4051 memcpy(&s->segmentation.feat, &ssrc->segmentation.feat,
4052 sizeof(s->segmentation.feat));