view Gui/bitmap.h @ 7436:ef1daba63c30

Sync with upstream version. According to Edouard Gomez: - better defaults for some vbr_state_t attributes. - twopass_max_bitrate has been set to much higher default, so nasty blocking effects during scene changes and/or high motion scenes is no more.
author kmkaplan
date Wed, 18 Sep 2002 01:32:32 +0000
parents 634d93c68912
children 30a9a6358ee9
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 "png/png.h"
#include "../../mp_msg.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