From patchwork Tue Apr 2 13:05:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Gaullier X-Patchwork-Id: 35099 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp1338755pzb; Tue, 2 Apr 2024 06:06:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUC09qlZ3dBFXlLmOT1gTJ0X/PB1BE8C35YDifSFFHGPAylfaLY97/kAtmN02FL5fG8pzgZDWUVY9KJnIA+OM0w8E+/sS5l0kNjQw== X-Google-Smtp-Source: AGHT+IFp2stTjV/ivvKrs1nGvN7pJX37qTRWmU90rHb0w+F8I7NhmL1swZUOLzBdP/RYEFHA3Eyo X-Received: by 2002:a05:6402:268c:b0:56b:7f64:86f7 with SMTP id w12-20020a056402268c00b0056b7f6486f7mr11435895edd.3.1712063181933; Tue, 02 Apr 2024 06:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712063181; cv=none; d=google.com; s=arc-20160816; b=pUN5l+eveRkbwgGkZr/bZoj3+YXU5seW+WecAeZyAAD+twvRLUuX6TFbozZpRtSz2E 5MMEl8vLKu9kI6Q/GIM/iTMC1RMWj4k/Ydibnd3Tova57wO9nPjz6slYFl7h4Clw04Oq EXE2ZaxfMj98XrO45C3TZZumghB0WiDVTftCSfl6iwIxt7Al6aCGeBFOk7fh7ZnqaH/i 8An8JWeUtQNSil5iAVtUR4lcf1Feu3SnHXiUyMZ2fXRWONOC++QmCYe3USh9XK5iTq22 R1K8KR0fLFwO4yZkFzRtWlNNuQbyIGzB0+3gLhKeX694ISqaiTObyxbcbV9ybsWdoPE3 1cOA== 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:message-id:date:to:from :delivered-to; bh=zezB9mN+xvkrrkzRO+ttxFWpGS0VUNG8AcXQbTgoqf8=; fh=zgMS+X4RExv2k7fU8QdWClnqVJdqO/9UbUuBS5xxJDs=; b=hPSfsBnfBCsUnEC9SolLKybo9WJ4/z6PjiI3wmmDDGxuqR5vjYBl0hFoh9XJ9EHHMB d36MvG2C67gStlWwd7MlYCGpz8SQwsHUq/I3vLdFo9S2uPxgboyxzKNkuOjxlrCDMrK2 0O7Mo2G7ebhtdq5pSyEgfTQtKmVf+bHl1QlYg+py7YMSGxOCfFf6Onm5bUNZ/f4qpAOF DPS65sodbc0L74QNojDMG9nX05eAnFqwCWvnUtQixOLoYYWfdyitTKyCfJwwB2bWqFCw NiZAEgVKBEWVG/OTZpxfvR6afpDB1Mz2doeREhvpgccVdEtv5CK7+JJ+UU4bP+CoPiWB MASQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z20-20020a05640235d400b005664cbe04d4si5702802edc.309.2024.04.02.06.06.21; Tue, 02 Apr 2024 06:06:21 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2A9A768CD4B; Tue, 2 Apr 2024 16:06:18 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from srv-infra-1.infra.inf.glb.tvvideoms.com (www.inf.tvvideoms.com [213.205.126.156]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 38F0E68C4BA for ; Tue, 2 Apr 2024 16:06:11 +0300 (EEST) Received: from cji.paris (unknown [172.16.3.159]) by srv-infra-1.infra.inf.glb.tvvideoms.com (Postfix) with ESMTP id 885572144C; Tue, 2 Apr 2024 13:06:09 +0000 (UTC) From: Nicolas Gaullier To: ffmpeg-devel@ffmpeg.org Date: Tue, 2 Apr 2024 15:05:57 +0200 Message-Id: <20240402130559.382049-1-nicolas.gaullier@cji.paris> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 0/2] avfilter/vf_colorspace: Use colorspace negotiation API 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: Nicolas Gaullier Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: UhM5LceZp0Ma v3: - Fixes case where colorspace is the first filter (no inlink) - Illustrates with proper examples in commit msg (use yuvtestsrc instead of testsrc) Please note that it is a regression compared to the previous release: both examples (see commit msg) behave the same way as 6.1 after this patch. Nicolas Gaullier (2): avfilter/vf_setparams: Add timeline support avfilter/vf_colorspace: Use colorspace negotiation API libavfilter/vf_colorspace.c | 63 +++++++++++++++++++++---------------- libavfilter/vf_setparams.c | 2 +- 2 files changed, 37 insertions(+), 28 deletions(-)