Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
readframe.c File Reference
#include "all.h"
#include <time.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include "mtypes.h"
#include "frames.h"
#include "prototypes.h"
#include "parallel.h"
#include "param.h"
#include "readframe.h"
#include "fsize.h"
#include "rgbtoycc.h"
#include "jpeg.h"
#include "opts.h"
Go to the source code of this file.
|
Data Structures |
struct | YuvLine |
Defines |
#define | PPM_READ_STATE_MAGIC 0 |
#define | PPM_READ_STATE_WIDTH 1 |
#define | PPM_READ_STATE_HEIGHT 2 |
#define | PPM_READ_STATE_MAXVAL 3 |
#define | PPM_READ_STATE_DONE 4 |
#define | safe_fread(ptr, sz, len, fileptr) |
Functions |
char *ScanNextString | _ANSI_ARGS_ ((char *inputLine, char *string)) |
void ReadPNM | _ANSI_ARGS_ ((FILE *fp, MpegFrame *mf)) |
boolean ReadPPM | _ANSI_ARGS_ ((MpegFrame *mf, FILE *fpointer)) |
void ReadEYUV | _ANSI_ARGS_ ((MpegFrame *mf, FILE *fpointer, int width, int height)) |
void SeparateLine | _ANSI_ARGS_ ((FILE *fpointer, struct YuvLine *lineptr, int width)) |
void DoGamma | _ANSI_ARGS_ ((MpegFrame *mf, int width, int height)) |
void DoKillDim | _ANSI_ARGS_ ((MpegFrame *mf, int w, int h)) |
void | SetResize (set) boolean set |
Variables |
int | fileType = BASE_FILE_TYPE |
boolean | GammaCorrection |
float | GammaValue |
int | outputWidth |
int | outputHeight |
boolean | resizeFrame |
char * | CurrFile |
char * | fileName |
char * | conversion |
boolean | addPath |
MpegFrame * | mf |
FILE * | fpointer |
int | width |
int | height |
YuvLine * | lineptr |
char * | string |
int | w |
int | h |
Define Documentation
#define PPM_READ_STATE_DONE 4
|
|
#define PPM_READ_STATE_HEIGHT 2
|
|
#define PPM_READ_STATE_MAGIC 0
|
|
#define PPM_READ_STATE_MAXVAL 3
|
|
#define PPM_READ_STATE_WIDTH 1
|
|
#define safe_fread |
( |
ptr, |
|
|
sz, |
|
|
len, |
|
|
fileptr |
|
) |
|
|
|
Value: if ((safe_read_count=fread(ptr,sz,len,fileptr))!=sz*len) { \
fprintf(stderr,"Input file too small! (%s)\n",CurrFile); \
exit(1);} \
Definition at line 213 of file readframe.c. |
Function Documentation
void DoKillDim _ANSI_ARGS_ |
( |
(MpegFrame *mf, int w, int h) |
|
) |
[static] |
|
char* ScanNextString _ANSI_ARGS_ |
( |
(char *inputLine, char *string) |
|
) |
[static] |
|
Variable Documentation
int fileType = BASE_FILE_TYPE [static]
|
|