#include "contributors.h"
#include "global.h"
#include "report.h"
#include "img_io.h"
Go to the source code of this file.
Defines | |
#define | FAST_READ 1 |
Functions | |
static void | ReadData (int vfile, FrameFormat *source, unsigned char *buf) |
void | ReadFrameConcatenated (InputParameters *p_Inp, VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, unsigned char *buf) |
void | ReadFrameSeparate (InputParameters *p_Inp, VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, unsigned char *buf) |
Definition in file io_raw.c.
void ReadFrameConcatenated | ( | InputParameters * | p_Inp, | |
VideoDataFile * | input_file, | |||
int | FrameNoInFile, | |||
int | HeaderSize, | |||
FrameFormat * | source, | |||
unsigned char * | buf | |||
) |
Reads one new frame from concatenated raw file Code does not distinguish between planar and interleaved data.
p_Inp | Input configuration parameters | |
input_file | Input file to read from | |
FrameNoInFile | Frame number in the source file | |
HeaderSize | Number of bytes in the source file to be skipped | |
source | source file (on disk) information | |
buf | image buffer data |
Definition at line 88 of file io_raw.c.
References error(), errortext, ET_SIZE, and inp_par_enc::start_frame.
Referenced by ReadOneFrame().
void ReadFrameSeparate | ( | InputParameters * | p_Inp, | |
VideoDataFile * | input_file, | |||
int | FrameNoInFile, | |||
int | HeaderSize, | |||
FrameFormat * | source, | |||
unsigned char * | buf | |||
) |
Reads one new frame from separate data files Code does not distinguish between planar and interleaved data.
p_Inp | Input configuration parameters | |
input_file | Input file to read from | |
FrameNoInFile | Frame number in the source file | |
HeaderSize | Number of bytes in the source file to be skipped | |
source | source file (on disk) information | |
buf | taget buffer |
Definition at line 163 of file io_raw.c.
References error(), OpenFrameFile(), and inp_par_enc::start_frame.
Referenced by ReadOneFrame().