img_io.c File Reference

image I/O related functions More...

#include "contributors.h"
#include "global.h"
#include "img_io.h"
#include "report.h"

Include dependency graph for img_io.c:

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 []


Detailed Description

image I/O related functions

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file img_io.c.


Function Documentation

void CloseFiles ( VideoDataFile *  input_file  ) 

Close input file.

Definition at line 277 of file img_io.c.

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.

Here is the call graph for this function:

void OpenFrameFile ( VideoDataFile *  input_file,
int  FrameNumberInFile 
)

Open file containing a single frame.

Definition at line 220 of file img_io.c.

Referenced by ReadFrameSeparate().

void ParseFrameNoFormatFromString ( VideoDataFile *  input_file  ) 

Parse Size from from file name.

Definition at line 154 of file img_io.c.

int ParseSizeFromString ( VideoDataFile *  input_file,
int *  x_size,
int *  y_size,
double *  fps 
)

Parse Size from from file name.

Definition at line 41 of file img_io.c.


Variable Documentation

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}
}

Definition at line 19 of file img_io.c.


Documentation generated with DoxyGen