io_raw.h File Reference

I/O functions related to raw images. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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)


Detailed Description

I/O functions related to raw images.

Author:

Definition in file io_raw.h.


Function Documentation

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.

Parameters:
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().

Here is the call graph for this function:

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.

Parameters:
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().

Here is the call graph for this function:


Documentation generated with DoxyGen