Hi On Friday 17 October 2003 20:56, Arpi wrote:
Hi,
vf_eq2.c Log Message: optimization
+#ifdef LUT16 + uint16_t lut16[256*256]; +#endif
hmm, nice trick! :) at least when the table is aligned well and fit in the cache... only a small part of it must fit, as consecutive pixels have very smilar color most of the time, so most entries of the table will practically never be accesed
its about 40% faster then the old code here (500mhz P3 Notebook) [...] -- Michael level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049) median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535) buf[i]= qp - buf[i-1]; (violates patent #?) for more examples, see http://mplayerhq.hu/~michael/patent.html stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en