w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mpeg.h File Reference
#include "ansi.h"
#include "mtypes.h"
#include "frame.h"
Include dependency graph for mpeg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32 GenMPEGStream (int whichGOP, int frameStart, int frameEnd, int32 qtable[], int32 niqtable[], int numFrames, FILE *ofp, char *outputFileName)
 
void PrintStartStats (int firstFrame, int lastFrame)
 
void IncrementTCTime (void)
 
void SetReferenceFrameType (char *type)
 
boolean NonLocalRefFrame (int id)
 
void ReadDecodedRefFrame (MpegFrame *frame, int frameNumber)
 
void WriteDecodedFrame (MpegFrame *frame)
 
void SetBitRateFileName (char *fileName)
 
void SetFrameRate (void)
 

Variables

MpegFrameframeMemory [3]
 
int32 tc_hrs
 
int32 tc_min
 
int32 tc_sec
 
int32 tc_pict
 
int32 tc_extra
 
int totalFramesSent
 
int gopSize
 
char * framePattern
 
int framePatternLen
 
int32 qtable []
 
int32 niqtable []
 
int32customQtable
 
int32customNIQtable
 
int aspectRatio
 
int frameRate
 
int frameRateRounded
 
boolean frameRateInteger
 

Function Documentation

◆ GenMPEGStream()

int32 GenMPEGStream ( int  whichGOP,
int  frameStart,
int  frameEnd,
int32  qtable[],
int32  niqtable[],
int  numFrames,
FILE ofp,
char *  outputFileName 
)

Referenced by main().

◆ IncrementTCTime()

void IncrementTCTime ( void  )

◆ NonLocalRefFrame()

boolean NonLocalRefFrame ( int  id)

Definition at line 926 of file mpeg.c.

References childProcess, FALSE, FType_FutureRef(), FType_PastRef(), FType_Type(), realEnd, realStart, and TRUE.

Referenced by GenIFrame(), and GenPFrame().

◆ PrintStartStats()

◆ ReadDecodedRefFrame()

◆ SetBitRateFileName()

void SetBitRateFileName ( char *  fileName)

Definition at line 263 of file mpeg.c.

References bitRateFileName, fileName, and strcpy().

Referenced by main().

◆ SetFrameRate()

void SetFrameRate ( void  )

Definition at line 973 of file mpeg.c.

References FALSE, frameRate, frameRateInteger, frameRateRounded, printf(), and TRUE.

◆ SetReferenceFrameType()

void SetReferenceFrameType ( char *  type)

Definition at line 248 of file mpeg.c.

References DECODED_FRAME, exit(), fprintf, ORIGINAL_FRAME, referenceFrame, strcmp(), and type.

Referenced by ReadParamFile().

◆ WriteDecodedFrame()

Variable Documentation

◆ aspectRatio

int aspectRatio
extern

Definition at line 210 of file mpeg.c.

Referenced by FramesToMPEG(), GenMPEGStream(), GOPStoMPEG(), ProcessRefFrame(), and ReadParamFile().

◆ customNIQtable

int32* customNIQtable
extern

Definition at line 168 of file postdct.c.

Referenced by GOPStoMPEG(), main(), ProcessRefFrame(), and ReadParamFile().

◆ customQtable

int32* customQtable
extern

Definition at line 167 of file postdct.c.

Referenced by GOPStoMPEG(), main(), ProcessRefFrame(), and ReadParamFile().

◆ frameMemory

MpegFrame* frameMemory[3]
extern

Definition at line 64 of file frame.c.

Referenced by Frame_Exit(), Frame_Init(), and GetUnusedFrame().

◆ framePattern

char* framePattern
extern

Definition at line 201 of file mpeg.c.

◆ framePatternLen

int framePatternLen
extern

Definition at line 202 of file mpeg.c.

◆ frameRate

int frameRate
extern

◆ frameRateInteger

boolean frameRateInteger
extern

Definition at line 209 of file mpeg.c.

Referenced by IncrementTCTime(), ReadParamFile(), and SetFrameRate().

◆ frameRateRounded

◆ gopSize

int gopSize
extern

Definition at line 190 of file mpeg.c.

Referenced by ComputeGOPFrames(), GenMPEGStream(), PrintStartStats(), ProcessRefFrame(), and SetGOPSize().

◆ niqtable

◆ qtable

int32 qtable[]
extern

Definition at line 145 of file postdct.c.

Referenced by FramesToMPEG(), GenMPEGStream(), ReadParamFile(), and smoothing_ok().

◆ tc_extra

int32 tc_extra

Definition at line 89 of file mpeg.h.

Referenced by FramesToMPEG().

◆ tc_hrs

int32 tc_hrs
extern

◆ tc_min

int32 tc_min

Definition at line 89 of file mpeg.h.

Referenced by FramesToMPEG(), and Mhead_GenGOPHeader().

◆ tc_pict

int32 tc_pict

Definition at line 89 of file mpeg.h.

Referenced by FramesToMPEG(), and Mhead_GenGOPHeader().

◆ tc_sec

int32 tc_sec

Definition at line 89 of file mpeg.h.

Referenced by FramesToMPEG(), and Mhead_GenGOPHeader().

◆ totalFramesSent

int totalFramesSent
extern

Definition at line 192 of file mpeg.c.

Referenced by FramesToMPEG(), GenMPEGStream(), IncrementTCTime(), and ProcessRefFrame().