#include "contributors.h"
#include "global.h"
#include "img_io.h"
#include "report.h"
Go to the source code of this file.
Functions | |
int | ParseSizeFromString (VideoDataFile *input_file, int *x_size, int *y_size, double *fps) |
void | ParseFrameNoFormatFromString (VideoDataFile *input_file) |
void | OpenFrameFile (VideoDataFile *input_file, int FrameNumberInFile) |
void | OpenFiles (VideoDataFile *input_file) |
void | CloseFiles (VideoDataFile *input_file) |
VideoFileType | ParseVideoType (VideoDataFile *input_file) |
Variables | |
static const VIDEO_SIZE | VideoRes [] |
Definition in file img_io.c.
void CloseFiles | ( | VideoDataFile * | input_file | ) |
Close input file.
Definition at line 277 of file img_io.c.
Referenced by free_encoder_memory(), and PatchInp().
void OpenFiles | ( | VideoDataFile * | input_file | ) |
Open file(s) containing the entire frame sequence.
Definition at line 253 of file img_io.c.
References error(), errortext, and ET_SIZE.
Referenced by init_encoder(), and PatchInp().
void OpenFrameFile | ( | VideoDataFile * | input_file, | |
int | FrameNumberInFile | |||
) |
Open file containing a single frame.
Definition at line 220 of file img_io.c.
References report_stats_on_error().
Referenced by ReadFrameSeparate().
void ParseFrameNoFormatFromString | ( | VideoDataFile * | input_file | ) |
int ParseSizeFromString | ( | VideoDataFile * | input_file, | |
int * | x_size, | |||
int * | y_size, | |||
double * | fps | |||
) |
const VIDEO_SIZE VideoRes[] [static] |
Initial value:
{ { "qcif" , 176, 144}, { "qqvga" , 160, 128}, { "qvga" , 320, 240}, { "sif" , 352, 240}, { "cif" , 352, 288}, { "vga" , 640, 480}, { "sd1" , 720, 480}, { "sd2" , 704, 576}, { "sd3" , 720, 576}, { "720p" , 1280, 720}, { "1080p" , 1920, 1080}, { NULL, 0, 0} }