Lines Matching refs:trellis
45 /* We clip the value of avctx->trellis to prevent data type overflows and
94 if (avctx->trellis) {
95 /* validate trellis */
96 if (avctx->trellis < MIN_TRELLIS || avctx->trellis > MAX_TRELLIS) {
97 int new_trellis = av_clip(avctx->trellis, MIN_TRELLIS, MAX_TRELLIS);
98 av_log(avctx, AV_LOG_WARNING, "Requested trellis value is not "
100 avctx->trellis);
101 avctx->trellis = new_trellis;
103 if (avctx->trellis) {
104 int frontier = 1 << avctx->trellis;
168 static void g722_encode_trellis(G722Context *c, int trellis,
173 int frontier = 1 << trellis;
357 if (avctx->trellis)
358 g722_encode_trellis(c, avctx->trellis, avpkt->data, nb_samples, samples);