
Go to the source code of this file.
Functions | |
| void | ReadFrameConcatenated (VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, unsigned char *buf) |
| void | ReadFrameSeparate (VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, unsigned char *buf) |
Definition in file io_raw.h.
| void ReadFrameConcatenated | ( | 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.
| 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 81 of file io_raw.c.
References error(), errortext, ET_SIZE, ImageParameters::pic_unit_size_on_disk, and InputParameters::start_frame.
Referenced by ReadOneFrame().

| void ReadFrameSeparate | ( | 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.
| 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 157 of file io_raw.c.
References error(), OpenFrameFile(), ImageParameters::pic_unit_size_on_disk, and InputParameters::start_frame.
Referenced by ReadOneFrame().
