• Home
  • Raw
  • Download

Lines Matching refs:rc_mode

1557     const VAAPIEncodeRCMode *rc_mode;  in vaapi_encode_init_rate_control()  local
1589 rc_mode = &vaapi_encode_rc_modes[i]; in vaapi_encode_init_rate_control()
1590 if (supported_va_rc_modes & rc_mode->va_mode) { in vaapi_encode_init_rate_control()
1592 first ? "" : ", ", rc_mode->name); in vaapi_encode_init_rate_control()
1622 rc_mode = &vaapi_encode_rc_modes[mode]; \ in vaapi_encode_init_rate_control()
1623 if (!(rc_mode->va_mode & supported_va_rc_modes)) { \ in vaapi_encode_init_rate_control()
1626 "RC mode (supported modes: %s).\n", rc_mode->name, \ in vaapi_encode_init_rate_control()
1631 "RC mode.\n", rc_mode->name); \ in vaapi_encode_init_rate_control()
1632 rc_mode = NULL; \ in vaapi_encode_init_rate_control()
1676 if (rc_mode->bitrate) { in vaapi_encode_init_rate_control()
1679 "RC mode.\n", rc_mode->name); in vaapi_encode_init_rate_control()
1683 if (rc_mode->mode == RC_MODE_AVBR) { in vaapi_encode_init_rate_control()
1702 } else if (rc_mode->maxrate) { in vaapi_encode_init_rate_control()
1725 "in %s RC mode.\n", rc_mode->name); in vaapi_encode_init_rate_control()
1735 if (rc_mode->quality) { in vaapi_encode_init_rate_control()
1749 if (rc_mode->hrd) { in vaapi_encode_init_rate_control()
1773 "in %s RC mode.\n", rc_mode->name); in vaapi_encode_init_rate_control()
1779 if (rc_mode->mode != RC_MODE_AVBR) { in vaapi_encode_init_rate_control()
1793 ctx->rc_mode = rc_mode; in vaapi_encode_init_rate_control()
1795 ctx->va_rc_mode = rc_mode->va_mode; in vaapi_encode_init_rate_control()
1798 av_log(avctx, AV_LOG_VERBOSE, "RC mode: %s.\n", rc_mode->name); in vaapi_encode_init_rate_control()
1809 if (rc_mode->quality) in vaapi_encode_init_rate_control()
1812 if (rc_mode->va_mode != VA_RC_CQP) { in vaapi_encode_init_rate_control()
1813 if (rc_mode->mode == RC_MODE_AVBR) { in vaapi_encode_init_rate_control()
1818 } else if (rc_mode->bitrate) { in vaapi_encode_init_rate_control()
1845 if (rc_mode->hrd) { in vaapi_encode_init_rate_control()