From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 10C1B45898 for ; Sun, 26 Mar 2023 19:56:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5079868C5DD; Sun, 26 Mar 2023 22:56:08 +0300 (EEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9CDE668C5C9 for ; Sun, 26 Mar 2023 22:56:01 +0300 (EEST) Received: by mail-wm1-f43.google.com with SMTP id l8-20020a05600c1d0800b003ef6708bbf6so1860069wms.5 for ; Sun, 26 Mar 2023 12:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679860560; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=t6nS0JIIg3vjsURkZCpdYU2R+0cC0mbZySmS9PscwSo=; b=iRCKE+553Wqw/hqUSRSe0QCgHaZKHWLgmtutJpXrOyT9JHg4MYpAFPf4fhXKiysq3f Km4VCLdfsC5s7y8RRpJlCytSpXY9qpQhT+UPnGsHw0Aw9mSjV15ifHtI2JRw/uMfZXFa dWTlMcLXuTvBd5r7zkkHS1xK/VhNfqaiNHnWRel7tACRJLORZ8ad+VXFAxeAmTqlgIF6 Zkple/uLEe6Uvv4kEFeoMntm6HTsAUE7AwE85ftCHqYl/TWa6HPYzU/u9WqqujFaERGv MSHIoyzgLiyo9c0eF8b1+txXh6s9Zvy4Ik9TVgUPgehP1FXw1EzIQchb1hy3leZTmaG0 c7Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679860560; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=t6nS0JIIg3vjsURkZCpdYU2R+0cC0mbZySmS9PscwSo=; b=tb+JCwJUE66dbSwfEmX5hw5UuAYiGWSJXyIRUVZeU8bS9nj0yX1dOqOcOFsfmGSHpE NuGQkgGIYTeduxWrsgjpjxnPupK/yEGiUiqH5vuGaH22cJprjjBnmXRw0AhAsqth2uXK 3eJTwHiE70RdL3ReI7tjgjjHgLH8uYrEuBfFwP10EkbOyUgS7ShcEUnUqtNJi10wP3LL 6SYM+DQ7YMsTv7PdYKM4Xo0SkKa3rRghTms94ynLsRnYveL+zdS+KxyRYRSiUdmngLS0 IBVuyY3LsLyWhW/0hcIVcsSZhE/VDi+g46CezwpMXaU0sKdcD702Ov0tThfRSbNuL4TU 0CHg== X-Gm-Message-State: AO0yUKUA2KaC+iJT6WZjYUIV+5zKD4xWhdBDxNgBpQ+uSSlxh/E4R//K wbp06RdQSMrtYEUaetd351hQ8JENXus= X-Google-Smtp-Source: AK7set98JRhFx4cQjtVTsFWEAr8EuiQsNzjmSDjCgP3mI4CrkbLZalzhMeRJH6HjQ4GzcgZgQ1XdfQ== X-Received: by 2002:a1c:cc1a:0:b0:3dc:557f:6129 with SMTP id h26-20020a1ccc1a000000b003dc557f6129mr8022115wmb.2.1679860560145; Sun, 26 Mar 2023 12:56:00 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-98-143.clienti.tiscali.it. [62.10.98.143]) by smtp.gmail.com with ESMTPSA id l18-20020a05600c4f1200b003ef67848a21sm4554476wmq.13.2023.03.26.12.55.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 12:55:59 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 7D3F2BFB73; Sun, 26 Mar 2023 21:55:58 +0200 (CEST) Date: Sun, 26 Mar 2023 21:55:58 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: <20230326195558.GH26811@mariano> Mail-Followup-To: FFmpeg development discussions and patches References: <20230115174129.590765-1-stefasab@gmail.com> <61d409b2-fe0f-1bc5-a7ec-6af86b5b37aa@gyani.pro> <20230125004425.GE12061@mariano> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230125004425.GE12061@mariano> User-Agent: Mutt/1.13.2 (2019-12-18) Subject: Re: [FFmpeg-devel] [PATCH] lavc: clarify color_range semantics 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On date Wednesday 2023-01-25 01:44:25 +0100, Stefano Sabatini wrote: > On date Monday 2023-01-16 09:46:35 +0530, Gyan Doshi wrote: > > On 2023-01-15 11:11 pm, Stefano Sabatini wrote: > > > Mark this option as encode-only and extend description. > > > > There are scripts which set this (and other color props) on the input, and > > then those streams can be sent to multiple filters with the props set, > > instead of having to use setparams in each chain. > > Good point, amended with this considerations in mind. > From bcddce6d1ea802638770dcfd8e7ecb6d798f63c6 Mon Sep 17 00:00:00 2001 > From: Stefano Sabatini > Date: Sun, 15 Jan 2023 18:16:45 +0100 > Subject: [PATCH] lavc: clarify color_range semantics > > Extend description for decoding and encoding use cases. > > Address issue: http://trac.ffmpeg.org/ticket/443 > --- > libavcodec/avcodec.h | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 0ac581d660..85bb95144d 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -976,8 +976,11 @@ typedef struct AVCodecContext { > > /** > * MPEG vs JPEG YUV range. > - * - encoding: Set by user > - * - decoding: Set by libavcodec > + * - encoding: Set by user to override the default output color range value, > + * If not specified, libavcodec sets the color range depending on the > + * output format. > + * - decoding: Set by libavcodec, can be set by the user to propagate the > + * color range to components reading from the decoder context. > */ > enum AVColorRange color_range; Ping. Will apply in a few days if I see no comments. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".