Lines Matching refs:max_b_frames
394 if (avctx->max_b_frames > MAX_B_FRAMES) { in ff_mpv_encode_init()
397 avctx->max_b_frames = MAX_B_FRAMES; in ff_mpv_encode_init()
399 s->max_b_frames = avctx->max_b_frames; in ff_mpv_encode_init()
550 if (s->max_b_frames && in ff_mpv_encode_init()
557 if (s->max_b_frames < 0) { in ff_mpv_encode_init()
689 if (s->max_b_frames != 0) { in ff_mpv_encode_init()
788 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init()
793 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init()
889 s->low_delay = s->max_b_frames ? 0 : 1; in ff_mpv_encode_init()
890 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init()
1070 for (i = 0; i < s->max_b_frames + 2; i++) { in ff_mpv_encode_init()
1184 int encoding_delay = s->max_b_frames ? s->max_b_frames in load_input_picture()
1420 for (i = 0; i < s->max_b_frames + 2; i++) { in estimate_best_b_count()
1453 for (j = 0; j < s->max_b_frames + 1; j++) { in estimate_best_b_count()
1476 c->max_b_frames = s->max_b_frames; in estimate_best_b_count()
1494 for (i = 0; i < s->max_b_frames + 1; i++) { in estimate_best_b_count()
1495 int is_p = i % (j + 1) == j || i == s->max_b_frames; in estimate_best_b_count()
1572 for (i = 0; i < s->max_b_frames + 1; i++) { in select_input_picture()
1588 b_frames = s->max_b_frames; in select_input_picture()
1592 for (i = 1; i < s->max_b_frames + 1; i++) { in select_input_picture()
1602 for (i = 0; i < s->max_b_frames + 1; i++) { in select_input_picture()
1629 b_frames == s->max_b_frames) { in select_input_picture()