[mythtv] [PATCH] OSD constant LUT
ijr at po.cwru.edu
Mon Feb 16 04:49:24 EST 2004
On Monday 16 February 2004 02:48 am, Andrew Mahone wrote:
> The attached patch replaces the replaces the pow_lut table in OSDSurface
> with a precalculated, constant table. This adds 64kB to the size of
> libmythtv, but saves the same amount per OSDSurface instance, and should be
> faster for multiple instances because there won't be more than one copy of
> the table that the CPU is trying to cache (I have no idea how many
> OSDSurfaces typically exist at once). Sharing a single table everywhere
> should be safe, as the table is never written to. Sorry for the compressed
> patch, but the lut.c file is around .4MB.
There's only ever one OSDSurface object in use at any given time. Patch still
useful in that case?
More information about the mythtv-dev