view Gui/bitmap.h @ 9393:5f9c97070b56

yv12 -> yuy2 converter in alpha asm (from mplayerxp)
author michael
date Tue, 11 Feb 2003 13:13:16 +0000
parents aa55f2f0b057
children 22572f1dafa3
line wrap: on
line source

#ifndef __MYSAMPLE
#define __MYSAMPLE

typedef struct _txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

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