= {
{
"engine_type",
"Engine type",
OFFSET(engine_type),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, FRC_ENGINE_DX11, .flags =
FLAGS,
"engine_type" },
{
"fallback_mode",
"Fallback behavior in case of low interpolation confidence",
OFFSET(fallback),
AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, .flags =
FLAGS,
"fallback_mode" },
{
"indicator",
"Show FRC indicator square in the top left corner of the video.",
OFFSET(indicator),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, .flags =
FLAGS },
{
"profile",
"Level of hierarchical motion search",
OFFSET(
profile),
AV_OPT_TYPE_INT, { .i64 = FRC_PROFILE_HIGH }, FRC_PROFILE_LOW, FRC_PROFILE_SUPER,
FLAGS,
"profile" },
{ "low", "Less levels of hierarchical motion search. "
"Only recommended for extremely low resolutions.", 0,
AV_OPT_TYPE_CONST, { .i64 = FRC_PROFILE_LOW }, 0, 0,
FLAGS,
"profile" },
{
"high",
"Recommended for any resolution up to 1440p.", 0,
AV_OPT_TYPE_CONST, { .i64 = FRC_PROFILE_HIGH }, 0, 0,
FLAGS,
"profile" },
{ "super", "More levels of hierarchical motion search. "
"Recommended for resolutions 1440p or higher.", 0,
AV_OPT_TYPE_CONST, { .i64 = FRC_PROFILE_SUPER }, 0, 0,
FLAGS,
"profile" },
{
"mv_search_mode",
"Performance mode of the motion search",
OFFSET(mv_search_mode),
AV_OPT_TYPE_INT, { .i64 = FRC_MV_SEARCH_NATIVE }, FRC_MV_SEARCH_NATIVE, FRC_MV_SEARCH_PERFORMANCE,
FLAGS,
"mv_search_mode" },
{
"native",
"Conduct motion search on the full resolution of source images.", 0,
AV_OPT_TYPE_CONST, { .i64 = FRC_MV_SEARCH_NATIVE }, 0, 0,
FLAGS,
"mv_search_mode" },
{ "performance", "Conduct motion search on the down scaled source images. "
"Recommended for APU or low end GPU for better performance.", 0,
AV_OPT_TYPE_CONST, { .i64 = FRC_MV_SEARCH_PERFORMANCE }, 0, 0,
FLAGS,
"mv_search_mode" },
{
"use_future_frame",
"Enable dependency on future frame, improves quality for the cost of latency",
OFFSET(use_future_frame),
AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, .flags =
FLAGS },
}