[FFmpeg-devel] FW: [PATCH] 10-bit DNxHD decoding and encoding

Michael Niedermayer michaelni at gmx.at
Thu Mar 31 14:57:18 CEST 2011


On Thu, Mar 31, 2011 at 12:26:53PM +0000, Joseph Artsimovich wrote:
> Michael Niedermayer wrote:
> 
> > ive thought about using a av_always_inline function, i would not pass any
> > special tables
> 
> Do you have something like this in mind?
> -----------------------------------------------------------------------------
> av_always_inline void ff_faandct_impl(DCTELEM* data, float const* scaletable)
> {
> 	...
> 	data[i] = lrintf((scaletable ? scaletable[i] : 1.0f) * something);

the current SCALE() macro seems fine to me with

av_always_inline void ff_faandct_impl(DCTELEM* data, float const* postscale)




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

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110331/e3f83cd6/attachment.asc>


More information about the ffmpeg-devel mailing list