From patchwork Thu Oct 29 10:26:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 23270 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id D375B44952D for ; Thu, 29 Oct 2020 12:26:34 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AD4EF68AF5D; Thu, 29 Oct 2020 12:26:34 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0F94768A5A8 for ; Thu, 29 Oct 2020 12:26:28 +0200 (EET) Received: by mail-pf1-f195.google.com with SMTP id y14so1942985pfp.13 for ; Thu, 29 Oct 2020 03:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Hph81Dx/k0Y0+RSyWa8e1lM16MsOESy6OGYaHK+XkeE=; b=QkOy7t+Z4YY33qAWwVaBUL+Kh3xCvil7RtEZIohsO4C66EPZGTHD+L7V2a0Hjc06hg Qbrr7Q/6gUd6o1Yph+vd0+cd5BxWf9frbHfUGW0m/XhqQlYFrU8cK5PmL+O1zLNaFDgo CV7iYHmiMlq4iYV71qAXlpGXOMfduXFxlnCxSkolxKL1t8Y4bFLD5ON0Dkvhi790Yd1c zIMOghAfK7Uy7W+ngDHwxnVU2mUYR2crR+y9RxOQLGHX74wtckscZL9+OEPKnadQuNDU ULdHFg/XsDZbRUmgu2jmfPuHCweiOju0zaV7JUzfEQa8qpNHcrmpIrpuUHqOG63Hwb9Q AYmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Hph81Dx/k0Y0+RSyWa8e1lM16MsOESy6OGYaHK+XkeE=; b=m1arDw/21Pam8ovr2Xn8Apu2b5OxRsxk/QmZgxi1pskjSa+eJ2TVMMJej+dZzj+7An Iw5dF8mUJvGnq46+ZaJPO6SIm1XKuWumyJvf8wjHqp7E2qvbOP0xbQAbDGg5rmlEadbY nu1UnPOtzo12/Rc0VQP5kSohJZk31aLxSdwuGr3y+Ju+yQDwBTD2dBKSw8dUuQZwsYdP pDuNa87LxfABfbmtKcPZvaNfTH9irpwCVK5x4UaDW9WpqHCOoeDTsfhXS6xDEvp5A9zX R9R7w5zDPi6B0hFh1+pwmILwe0UA6Or0x/l9/FnFPDkbULxpySpwmK/ghmE/R9ipNwTm j2/Q== X-Gm-Message-State: AOAM531BAwg8yrN+zc3FNQMtlHbxJbvg4irkCPw0YDjhmVjkHXBC1dEs 4z3SjesBuBX+mAJxt/VHiyEtQlQeyl4= X-Google-Smtp-Source: ABdhPJx1f+Z40xauNOQHFlZDpyGPvqu00KWXEYVbS9Bp/tAKhQ6uSHK0q0axdjx2nxBYmH67HgC4hg== X-Received: by 2002:a62:1d4b:0:b029:164:892d:51c7 with SMTP id d72-20020a621d4b0000b0290164892d51c7mr3358797pfd.72.1603967186314; Thu, 29 Oct 2020 03:26:26 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id ca5sm2738874pjb.27.2020.10.29.03.26.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Oct 2020 03:26:25 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Thu, 29 Oct 2020 18:26:17 +0800 Message-Id: <1603967178-3765-2-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1603967178-3765-1-git-send-email-lance.lmwang@gmail.com> References: <1603967178-3765-1-git-send-email-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH 2/3] avfilter/vf_unsharp: add more pixel format support X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_unsharp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 416bf1c..e9b6c90 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -201,6 +201,10 @@ static int query_formats(AVFilterContext *ctx) static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, + AV_PIX_FMT_YUV420P9, AV_PIX_FMT_YUV422P9, AV_PIX_FMT_YUV444P9, + AV_PIX_FMT_YUV420P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUV440P10, + AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV440P12, + AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV444P16, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P, AV_PIX_FMT_NONE };