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 6AA3F42388 for ; Sun, 15 May 2022 18:10:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 55254688050; Sun, 15 May 2022 21:10:53 +0300 (EEST) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E90BE688050 for ; Sun, 15 May 2022 21:10:46 +0300 (EEST) Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id 5D0824A0E0 for ; Sun, 15 May 2022 20:10:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1652638246; bh=XVGle6VrQU+dkATWwVDFgtW/DegaLrI/NmIPGaM4mUw=; h=Date:From:To:Subject:In-Reply-To:References:From; b=dWKZgDZyI9WUkmOgL2Jtc6b+JNZB3A8Mp9dVPk8uQzee7xlvyCgd7o5YodTxyE4ov FjOMkXLmvDraWRAPgW3bG+Iqx64av+I+TigRyihCA+mdGwwOVk2BuTtGMF+ohZFV0v bKasXmwNGJmQjWRcvWx9AjUKEbYYWb5WodqTfTxQ= Date: Sun, 15 May 2022 20:10:46 +0200 Message-ID: <20220515201046.GB6783@haasn.xyz> From: Niklas Haas To: FFmpeg development discussions and patches In-Reply-To: References: <20220513154208.17941-1-leo.izen@gmail.com> <20220513212245.GN396728@pb2> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH] avutil/csp: create public API for colorspace structs 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 Sun, 15 May 2022 12:49:51 -0400 "Ronald S. Bultje" wrote: > To explain: when I designed this stuff, I chose to keep them in float so > that we can use the literal values from the specs, which are themselves in > floating point. That would not be possible anymore, and would therefore > make it slightly harder to read for a casual observer. > > (Otherwise no opinion, I'm typically used to fixed-point rather than > floating-point myself also.) > > Ronald Can you elaborate on this? Aren't almost all of these constants represented in some notation rounded to 3-4 decimal places, in which case a fixed point notation with denominator 10^N makes perfect sense? _______________________________________________ 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".