view gui/bitmap.h @ 24912:384aa7179c9c

in video_read_frame() set the keyframe flag in demuxer->video when dealing with VIDEO_MPEG12 and picture_coding_type==I_FRAME; fixes seeking in avi streams with MPEG1/2 video
author nicodvb
date Fri, 02 Nov 2007 23:05:51 +0000
parents 3f0d00abc073
children 9d0b189ce1b2
line wrap: on
line source

#ifndef GUI_BITMAP_H
#define GUI_BITMAP_H

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

int bpRead( char * fname, txSample * bf );
void Convert32to1( txSample * in,txSample * out,int adaptivlimit );

#endif /* GUI_BITMAP_H */