[FFmpeg-devel] swscale/input : avoid float calc for GrayFloat to Gray16 conv

Michael Niedermayer michael at niedermayer.cc
Wed Aug 22 22:07:24 EEST 2018


On Wed, Aug 22, 2018 at 09:02:57PM +0200, Martin Vignali wrote:
> >
> > well then it should be ok
> > not sure if the ff_ prefix is ideal for a static inline function
> >
> >
> Do you think flt_2_uint16 is a better name ?

yes

thx

> (can probably be interesting to also add same kind of func for float to
> uint8 in unscaled part)
> 
> Martin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180822/b401ee83/attachment.sig>


More information about the ffmpeg-devel mailing list