00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _INPUT_H_
00015 #define _INPUT_H_
00016
00017 int testEndian(void);
00018 void initInput(FrameFormat *source, FrameFormat *output);
00019 void AllocateFrameMemory (ImageParameters *img, InputParameters *params, int size);
00020 void DeleteFrameMemory (void);
00021
00022 void ReadOneFrame (VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, FrameFormat *output, imgpel **pImage[3]);
00023 extern void (*buf2img) ( imgpel** imgX, unsigned char* buf, int size_x, int size_y, int osize_x, int o_size_y, int symbol_size_in_bytes, int bitshift);
00024
00025 #endif
00026