[FFmpeg-devel] [PATCH v4 0/1] [WIP] avutil/csp changes

Michael Niedermayer michael at niedermayer.cc
Tue May 24 16:45:16 EEST 2022


On Mon, May 23, 2022 at 05:01:38PM -0400, Leo Izen wrote:
> Changes in v4:
> - Provide the patch with an AVCIExy struct so we can discuss its
>   potential pros and cons
> 
> Changes in v3:
> - increase precision for AVR() macro to 100k, at haasn's request
> - add #define AVUTIL_CSP_DENOM 100000
> - add 0.5 to the AVR macro definition to get exact values from truncation
> 
> This patch is a work in progress example for swapping these
> structs from doubles to AVRationals.
> 
> There's two main discussions here to be had
> - Is this API to be exposed as avpriv_ or av_?
> - Should these structs use AVRational or double values?
> 
> I don't believe a consensus has been reached on this yet, but I've attached
> an AVRational version of it so we can see the pros/cons.

iam fine with the API (as well as a wide range of variations of this)

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220524/b4e2047d/attachment.sig>


More information about the ffmpeg-devel mailing list