Mercurial > mplayer.hg
view Gui/bitmap.h @ 2823:004ee19ebfcf
Extract parallelism from OSD stuff + MMX2 optimization.
I've found that mplayer's measuring is not precise :(
Here my test with using RDTSC:
Old stuff:
rd_tsc: 774377
rd_tsc: 765985
rd_tsc: 265309
New CPU optimized stuff:
rd_tsc: 661154
rd_tsc: 641317
rd_tsc: 222448
New MMX2 optimized stuff:
rd_tsc: 269544
rd_tsc: 329189
rd_tsc: 173110
author | nick |
---|---|
date | Sun, 11 Nov 2001 11:18:50 +0000 |
parents | 5fa8c079ee3c |
children | 3473ca9ef158 |
line wrap: on
line source
#ifndef __MYSAMPLE #define __MYSAMPLE typedef struct _txSample { unsigned int Width; unsigned int Height; unsigned int BPP; unsigned long ImageSize; char * Image; } txSample; #include "tga/tga.h" #include "bmp/bmp.h" #include "png/png.h" extern int bpRead( char * fname, txSample * bf ); extern int conv24to32( txSample * bf ); extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); extern void Convert1to32( txSample * in,txSample * out ); #endif