[FFmpeg-devel] [PATCH v4] avutil/csp: create avpriv API for colorspace structs
Leo Izen
leo.izen at gmail.com
Fri May 20 15:08:43 EEST 2022
On 5/20/22 06:28, Michael Niedermayer wrote:
>
> 2. someone said, you need to pick a denominator when doing float -> rational
> av_d2q() will pick the best denominator for you.
>
av_d2q() requires you to pass a maximum denominator, which essentially
determines precision of the conversion. You still have to make a
(somewhat) arbitrary choice in that matter.
- Leo Izen (thebombzen)
More information about the ffmpeg-devel
mailing list