[FFmpeg-devel] [PATCH] lavfi/hue: use lookup tables

Michael Niedermayer michaelni at gmx.at
Tue Aug 20 02:35:18 CEST 2013


On Mon, Aug 19, 2013 at 08:50:44PM +0000, Paul B Mahol wrote:
> On 8/19/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Mon, Aug 19, 2013 at 08:28:14PM +0000, Paul B Mahol wrote:
> >> On 8/19/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> > On Mon, Aug 19, 2013 at 07:12:04PM +0000, Paul B Mahol wrote:
> >> >> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> >> >> ---
> >> >>  libavfilter/vf_hue.c | 76
> >> >> +++++++++++++++++++++++++++++++---------------------
> >> >>  1 file changed, 45 insertions(+), 31 deletions(-)
> >> >
> >> > breaks -vf hue=90
> >> >
> >> > also i dont see how this could work, rotation is not newu=f(oldu)
> >>
> >> obviously, i need bigger luts, but do you consider lut approach worth it?
> >
> > if its faster sure, but iam not sure SIMD without LUT wont beat it
> 
> shouldn't lut with SIMD be fastest?

if theres a CPU and a architecture that has a fast multiple lookup
instruction

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

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- 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/20130820/86d2b859/attachment.asc>


More information about the ffmpeg-devel mailing list