From patchwork Mon Aug 21 20:45:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 43283 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:47ca:b0:130:ccc6:6c4b with SMTP id ey10csp1675736pzb; Mon, 21 Aug 2023 13:46:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0BMBB8X/RzVPwxfA1+rqg0dF2fxvKPGMQjbp70u4gipQOW0bhvb38IDcyzPInQat+Jepv X-Received: by 2002:a17:906:20d7:b0:99c:ac84:663b with SMTP id c23-20020a17090620d700b0099cac84663bmr6384792ejc.65.1692650785285; Mon, 21 Aug 2023 13:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692650785; cv=none; d=google.com; s=arc-20160816; b=y1DMDMknchAXSz0QJ6iui8I+B/BpQyUA4aL1QvKI8DbK0iTDlPfpz11FCxaS9AL6c7 ttVEUQr+mRvjnqEGs6ivxYFeLfrbzbVR6pTAThDRSjl/jBA+G2FJPcpWV14Xjm08mFMy Mc/CKUgfO3CRSWE7NrSGcC9XE6M+ntdxXN91i4dguwJmye6O4CrKT06jpvZE98wNqxsx SQQtfId1pdQkxF8kk/vLHHm83q8ryQSG5Ots7BT5V3HDdlddbG7AsFMNAT0RWSzsmEY8 R6cNbp+Djj6HxOr4CY0Xl6Ix1HsAHCZfudOAyO1d7JCfhOCBkdxE8fFraLgAkgBa9mQ7 JJKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=001KjW+f2DPSe77jKoMQcmAW51F+7mn3W9F0JkFzzFU=; fh=nwMvC2rEvrxw3oi8lhns+cXSV39bEdECtcaEBNnUVDY=; b=A4trmhdYAWRolAWf7ys5Ry5Mhjs8wN7cky7RfBQO/0Tk1VBXcFHF7H7+KvAFn/Kl8q B5MZJRrRDp83jLx1BP4n6uKFXiQaPL95NTqGyyIG5MTHGy8x2T4PzhwHS/kBQrgcsz9g n4X/n0MVOve8FOnZWdMngQajzN5/UM4FH5HFSVBAHQoDwZQI7a+q18s+CVjhCJhmFfhm 4slGuoPN2HBqnvyQIc/4x10CfGxCbPcREo2ndXC0F7Ae1Mh7m7j9Ex5wa4YM60mwxEs9 o79TzIOKR3oauU2mw37Ul0Mcv3h43q+7YsM0nZnAnyO/06QYOlHHmZgF2tb+jTTf9+mY GqwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20221208 header.b=g+QUq8st; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id pw19-20020a17090720b300b0099bcf57414esi4475870ejb.896.2023.08.21.13.46.03; Mon, 21 Aug 2023 13:46:25 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20221208 header.b=g+QUq8st; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D253F68C3BA; Mon, 21 Aug 2023 23:45:52 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5898068BF89 for ; Mon, 21 Aug 2023 23:45:45 +0300 (EEST) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-99357737980so496741566b.2 for ; Mon, 21 Aug 2023 13:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692650744; x=1693255544; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tXZvVpKXFEjeeceI/FzhX331Q2dsfm4dWsGbJjJZF2k=; b=g+QUq8stCV7MdAnBmKLRGsB8XbzP2k4mUGbgK5tTSxEIQ4E1TMpE18UMzxANYNW3d2 n/ta/I0f7Ap18b6cHGPkBSGsIuA40wxiXV5QNsORAJ8yV8X+Q+VkFFzm7Fr16Xjjpndf rP37mrEPogbYXHU8rNqVxSIm3d4BlO/splknIkfoXhcRV5rcW9N1Wf0neWkRoYxQfK7N IUE4HO882a7voZRfwfU09JW0Khfk4UL+GZotWMKV/Ysb+BQph2+SWICKg1AyCicehc9x V04Zj9TIbWNHB8CgiqOlQarBTsBCz8rpDzoP71zcL1F49g1T5AT/FaJK486HKh8Iq9r+ NWxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692650744; x=1693255544; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tXZvVpKXFEjeeceI/FzhX331Q2dsfm4dWsGbJjJZF2k=; b=M9Z+XjkSu2OU5jep1SRjyp8yN9EJ3RWvYT7f7ndx2bpmGjtpQmq54PtxelTcCGEqXu YA+DSJjHM1gePBz1u7nXWVYKlO5K/NC7+I9fs1tPMIcwiT+HKeVCSEq3Io+eNI9tj/I3 uIdWfGgCG2EKXmMEo5oDaxg9Q6dqMumt7y5SnCLuQZpNmp9sVM2cjcDRHgJ4ZKjgfhn4 tHiCIjeF1MDCeBpTVBojT5OBauG9PBunFdIGGrzUAwASPrZkuAAFF0GvYKNnWhvd6N2s x9OwGt7+fH+O8XYRnfkdgc0F4x/RW3xxjrabkEAXYCqI0vTQEdrZVLFSmZdQnjx7VzCI +PQA== X-Gm-Message-State: AOJu0YwHjPAyN/xNGI1RdPIsbw9nkOdJN8m3Y0wBwv/97IQdn/EcCdxX 6efTrLllqtLm3eljeNHW7c+16mumG99XvYXK X-Received: by 2002:a17:906:1bb1:b0:993:dd1d:8251 with SMTP id r17-20020a1709061bb100b00993dd1d8251mr5490510ejg.28.1692650744430; Mon, 21 Aug 2023 13:45:44 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id z14-20020a1709064e0e00b0099293cdbc98sm7102176eju.145.2023.08.21.13.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 13:45:43 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Mon, 21 Aug 2023 22:45:24 +0200 Message-Id: <20230821204527.4494-2-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20230821204527.4494-1-epirat07@gmail.com> References: <20230724214727.40253-1-epirat07@gmail.com> <20230821204527.4494-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 2/5] lavfi/vf_xfade_vulkan: reindent after last commit X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: vQ42ixt7uID9 --- libavfilter/vf_xfade_vulkan.c | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/libavfilter/vf_xfade_vulkan.c b/libavfilter/vf_xfade_vulkan.c index 23c61bdb48..880b3b1afe 100644 --- a/libavfilter/vf_xfade_vulkan.c +++ b/libavfilter/vf_xfade_vulkan.c @@ -213,17 +213,17 @@ static const char transition_circleclose[] = { }; static const char* transitions_map[NB_TRANSITIONS] = { - [FADE] = transition_fade, - [WIPELEFT] = transition_wipeleft, - [WIPERIGHT] = transition_wiperight, - [WIPEUP] = transition_wipeup, - [WIPEDOWN] = transition_wipedown, - [SLIDEDOWN] = transition_slidedown, - [SLIDEUP] = transition_slideup, - [SLIDELEFT] = transition_slideleft, - [SLIDERIGHT]= transition_slideright, - [CIRCLEOPEN]= transition_circleopen, - [CIRCLECLOSE]=transition_circleclose, + [FADE] = transition_fade, + [WIPELEFT] = transition_wipeleft, + [WIPERIGHT] = transition_wiperight, + [WIPEUP] = transition_wipeup, + [WIPEDOWN] = transition_wipedown, + [SLIDEDOWN] = transition_slidedown, + [SLIDEUP] = transition_slideup, + [SLIDELEFT] = transition_slideleft, + [SLIDERIGHT] = transition_slideright, + [CIRCLEOPEN] = transition_circleopen, + [CIRCLECLOSE] = transition_circleclose, }; static av_cold int init_vulkan(AVFilterContext *avctx) @@ -565,17 +565,17 @@ static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h) static const AVOption xfade_vulkan_options[] = { { "transition", "set cross fade transition", OFFSET(transition), AV_OPT_TYPE_INT, {.i64=FADE}, 0, NB_TRANSITIONS-1, FLAGS, "transition" }, - { "fade", "fade transition", 0, AV_OPT_TYPE_CONST, {.i64=FADE}, 0, 0, FLAGS, "transition" }, - { "wipeleft", "wipe left transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPELEFT}, 0, 0, FLAGS, "transition" }, + { "fade", "fade transition", 0, AV_OPT_TYPE_CONST, {.i64=FADE}, 0, 0, FLAGS, "transition" }, + { "wipeleft", "wipe left transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPELEFT}, 0, 0, FLAGS, "transition" }, { "wiperight", "wipe right transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPERIGHT}, 0, 0, FLAGS, "transition" }, - { "wipeup", "wipe up transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPEUP}, 0, 0, FLAGS, "transition" }, - { "wipedown", "wipe down transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPEDOWN}, 0, 0, FLAGS, "transition" }, + { "wipeup", "wipe up transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPEUP}, 0, 0, FLAGS, "transition" }, + { "wipedown", "wipe down transition", 0, AV_OPT_TYPE_CONST, {.i64=WIPEDOWN}, 0, 0, FLAGS, "transition" }, { "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" }, + { "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 }