Lines Matching defs:level
94 int level = i - 64;
96 if (!level)
100 int alevel = FFABS(level);
192 if (avctx->level != FF_LEVEL_UNKNOWN) {
193 av_log(avctx, AV_LOG_ERROR, "Set profile and level\n");
200 if (avctx->level == FF_LEVEL_UNKNOWN) {
203 avctx->level = 5; /* Main */
205 avctx->level = 2; /* High */
214 avctx->level = 8; /* Main */
216 avctx->level = 6; /* High 1440 */
218 avctx->level = 4; /* High */
358 put_bits(&s->pb, 4, s->avctx->level); // level
702 int alevel, level, last_non_zero, dc, diff, i, j, run, last_index, sign;
721 level = block[0];
722 if (abs(level) == 1) {
723 code = ((uint32_t)level >> 31); /* the sign bit */
738 level = block[j];
742 if (level != 0) {
745 alevel = level;
763 put_sbits(&s->pb, 8, level);
765 if (level < 0)
766 put_bits(&s->pb, 16, 0x8001 + level + 255);
768 put_sbits(&s->pb, 16, level);
771 put_sbits(&s->pb, 12, level);
1198 #define LEVEL(name, value) name, NULL, 0, AV_OPT_TYPE_CONST, { .i64 = value }, 0, 0, VE, "avctx.level"