00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef _INPUT_H_
00014 #define _INPUT_H_
00015
00016 extern int testEndian(void);
00017 extern void initInput(ImageParameters *p_Img, FrameFormat *source, FrameFormat *output);
00018 extern void AllocateFrameMemory (ImageParameters *p_Img, InputParameters *p_Inp, FrameFormat *source);
00019 extern void DeleteFrameMemory (ImageParameters *p_Img);
00020
00021 extern int ReadOneFrame (ImageParameters *p_Img, InputParameters *p_Inp, VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, FrameFormat *output, imgpel **pImage[3]);
00022 extern void PaddAutoCropBorders( FrameFormat output, int img_size_x, int img_size_y, int img_size_x_cr, int img_size_y_cr, imgpel **pImage[3]);
00023
00024 #endif
00025