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 C269445356 for ; Wed, 25 Jan 2023 00:44:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9D81568BE97; Wed, 25 Jan 2023 02:44:35 +0200 (EET) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4BE0168BE84 for ; Wed, 25 Jan 2023 02:44:29 +0200 (EET) Received: by mail-ej1-f46.google.com with SMTP id bk15so43517572ejb.9 for ; Tue, 24 Jan 2023 16:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=1SgX64EFEBH5fDUq5utg8sZhJZ2Qy7skH7NsVu/orMA=; b=a3oSCmOQvMnkIyMxzRhCJ9wOSJlW1U4sMhZyj39IjadwpmVcuS/8XHAMLfiV4o2rRf PygKbsl861m0M3ejtMEObcSE7Mjh17D5rHMh73b4qBbkH3rToHtufWPjkK2uqG0rVIpM 3nkLpCq6+sps43grUlAMU2+vuLRuTLwarmv8ARsIV2lvyvYcvT4V7KH+a2WWkj3xxHlx Cj9jApeDKZKaBoIMwjdcVcaUigi8p7PSaD6P3eWSzBr5mEDQjJIV1DuwTBM/nrNBeD4Y 6VPRPKpAV0fWri5yjm8K4e4jVpy4m0RL4CUhpxdKz8mUFRNqqCsfE059tlKV0FGeF6tI xa0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=1SgX64EFEBH5fDUq5utg8sZhJZ2Qy7skH7NsVu/orMA=; b=NdAvgWxTnsp9SjCjnKtrnSrXMDL4y4bB6+ebqg60TGZcCnA0SPe1RwPjlgU5KOKrIJ Xv4m5P//w99AqVRYG9X6BD21744dTT7d6lraJcgSyHBgPipSCQRS8k5ZdU/9aB2lSGxp wcZU0h70yG3VSZqWmIm0ERBbjGL3Qpd0X243PxI6ojkQ4TpEPk39KHyD6bm2FD5Laho1 8PNYDO9tlR7oIJ5w3/Qzjrza1Ok+p9E0s9y14QFpP8K2n6IgSVdNmE8xFW1Itu4iJNRA 6GEUv0z0j1USBiR/K72eyZpr0wgnVdzmH8U37wDf2BnXIlrfys1dV2mOE1nbRBIq6VEP aLaw== X-Gm-Message-State: AFqh2krjo7TYA1/Jre1ZNirK11WKl9Im4jcv2Coh4MNb+5PWEa3YDooI /TCoFf9MVx23lqjYnzNJT0x3uFshBf0SCA== X-Google-Smtp-Source: AMrXdXuRiIIPvMZIy5oPDvP/WqJxKVbDcVjwpJ72QTvh3Chswx+94KNQ0BCJDM5I0bp7OuYYEwHUJw== X-Received: by 2002:a17:906:eb0e:b0:871:be7:c984 with SMTP id mb14-20020a170906eb0e00b008710be7c984mr30877759ejb.34.1674607467670; Tue, 24 Jan 2023 16:44:27 -0800 (PST) Received: from mariano ([82.84.225.92]) by smtp.gmail.com with ESMTPSA id si5-20020a170906cec500b0086f5bf2b3a1sm1585966ejb.21.2023.01.24.16.44.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 16:44:26 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id 63B43BFB73; Wed, 25 Jan 2023 01:44:25 +0100 (CET) Date: Wed, 25 Jan 2023 01:44:25 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: <20230125004425.GE12061@mariano> Mail-Followup-To: FFmpeg development discussions and patches References: <20230115174129.590765-1-stefasab@gmail.com> <61d409b2-fe0f-1bc5-a7ec-6af86b5b37aa@gyani.pro> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <61d409b2-fe0f-1bc5-a7ec-6af86b5b37aa@gyani.pro> 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --PNTmBPCT7hxwcZjr Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-lavc-clarify-color_range-semantics.patch" >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; -- 2.25.1 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --PNTmBPCT7hxwcZjr--