[Ffmpeg-devel] [PATCH] simple internal lzo decoder

Måns Rullgård mru
Sun Jan 15 23:54:40 CET 2006

Jindrich Makovicka <makovick at kmlinux.fjfi.cvut.cz> writes:

> I am using debian's 686 libc, so it should be ok. But it is possible,
> that with 800MHz CPU the decompression is more cpu-bound, while it is
> more memory bound on my machine. By the way, the
>     dst[0] = src[0];
>     dst[1] = src[1];
>     dst[2] = src[2];
>     dst[3] = src[3];
> style sequences compile to eight byte-wise instructions with gcc 3.4 and
> gcc 4.0.3. So maybe replacing them with
> *((uint32_t*)dst)=*((uint32_t*)src) or 64-bit equivalent can gain some
> more speed if the process is cpu bound. However it didn't make any

Be careful with alignment if you that.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list