hanfrunz
19th January 2003, 01:55
hello,
i just had an idea:
wouldn't it increase speed if avisysth would use 3 lookuparrays, like:
r(y,u,v)
g(y,u,v)
b(y,u,v)
to convert yuv->rgb??
y range is 16 to 235 (0..218)
u and v range is 16 to 240 (0..223)
so we need
3x 218*233*233
= 11835002 byte
= 11,29 mb, should be possible on most systems :-)
can any of the developers test that? or did anybody test that before?
maybe a new command like convert2rgbwithlookuptable ?
hanfrunz
i just had an idea:
wouldn't it increase speed if avisysth would use 3 lookuparrays, like:
r(y,u,v)
g(y,u,v)
b(y,u,v)
to convert yuv->rgb??
y range is 16 to 235 (0..218)
u and v range is 16 to 240 (0..223)
so we need
3x 218*233*233
= 11835002 byte
= 11,29 mb, should be possible on most systems :-)
can any of the developers test that? or did anybody test that before?
maybe a new command like convert2rgbwithlookuptable ?
hanfrunz