|
|
|
@ -221,9 +221,9 @@ static const char* transitions_map[NB_TRANSITIONS] = { |
|
|
|
|
[SLIDEDOWN] = transition_slidedown, |
|
|
|
|
[SLIDEUP] = transition_slideup, |
|
|
|
|
[SLIDELEFT] = transition_slideleft, |
|
|
|
|
[SLIDERIGHT]= transition_slideright, |
|
|
|
|
[CIRCLEOPEN]= transition_circleopen, |
|
|
|
|
[CIRCLECLOSE]=transition_circleclose, |
|
|
|
|
[SLIDERIGHT] = transition_slideright, |
|
|
|
|
[CIRCLEOPEN] = transition_circleopen, |
|
|
|
|
[CIRCLECLOSE] = transition_circleclose, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static av_cold int init_vulkan(AVFilterContext *avctx) |
|
|
|
@ -573,9 +573,9 @@ static const AVOption xfade_vulkan_options[] = { |
|
|
|
|
{ "slidedown", "slide down transition", 0, AV_OPT_TYPE_CONST, {.i64=SLIDEDOWN}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "slideup", "slide up transition", 0, AV_OPT_TYPE_CONST, {.i64=SLIDEUP}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "slideleft", "slide left transition", 0, AV_OPT_TYPE_CONST, {.i64=SLIDELEFT}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "slideright","slide right transition", 0, AV_OPT_TYPE_CONST, {.i64=SLIDERIGHT}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "circleopen","circleopen transition", 0, AV_OPT_TYPE_CONST, {.i64=CIRCLEOPEN}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "circleclose","circleclose transition", 0, AV_OPT_TYPE_CONST, {.i64=CIRCLECLOSE}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "slideright", "slide right transition", 0, AV_OPT_TYPE_CONST, {.i64=SLIDERIGHT}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "circleopen", "circleopen transition", 0, AV_OPT_TYPE_CONST, {.i64=CIRCLEOPEN}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "circleclose", "circleclose transition", 0, AV_OPT_TYPE_CONST, {.i64=CIRCLECLOSE}, 0, 0, FLAGS, "transition" }, |
|
|
|
|
{ "duration", "set cross fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64=1000000}, 0, 60000000, FLAGS }, |
|
|
|
|
{ "offset", "set cross fade start relative to first input stream", OFFSET(offset), AV_OPT_TYPE_DURATION, {.i64=0}, INT64_MIN, INT64_MAX, FLAGS }, |
|
|
|
|
{ NULL } |
|
|
|
|