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)  

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

Go to the source code of this file.

Classes

struct  mpegFrame
 

Macros

#define TYPE_IFRAME   2
 
#define TYPE_PFRAME   3
 
#define TYPE_BFRAME   4
 

Typedefs

typedef struct mpegFrame MpegFrame
 

Functions

MpegFrameFrame_New (int id, int type)
 
void Frame_Init (void)
 
void Frame_Free (MpegFrame *frame)
 
void Frame_Exit (void)
 
void Frame_AllocPPM (MpegFrame *frame)
 
void Frame_AllocYCC (MpegFrame *mf)
 
void Frame_AllocDecoded (MpegFrame *frame, boolean makeReference)
 
void Frame_AllocHalf (MpegFrame *frame)
 
void Frame_AllocBlocks (MpegFrame *mf)
 
void Frame_Resize (MpegFrame *omf, MpegFrame *mf, int insize_x, int insize_y, int outsize_x, int outsize_y)
 

Macro Definition Documentation

◆ TYPE_BFRAME

#define TYPE_BFRAME   4

Definition at line 47 of file frame.h.

◆ TYPE_IFRAME

#define TYPE_IFRAME   2

Definition at line 45 of file frame.h.

◆ TYPE_PFRAME

#define TYPE_PFRAME   3

Definition at line 46 of file frame.h.

Typedef Documentation

◆ MpegFrame

typedef struct mpegFrame MpegFrame

Function Documentation

◆ Frame_AllocBlocks()

void Frame_AllocBlocks ( MpegFrame mf)

◆ Frame_AllocDecoded()

◆ Frame_AllocHalf()

void Frame_AllocHalf ( MpegFrame frame)

Definition at line 657 of file frame.c.

References ERRCHK, Fsize_x, Fsize_y, mpegFrame::halfBoth, mpegFrame::halfX, mpegFrame::halfY, malloc, NULL, uint8, and y.

Referenced by ComputeHalfPixelData().

◆ Frame_AllocPPM()

void Frame_AllocPPM ( MpegFrame frame)

Definition at line 526 of file frame.c.

References ERRCHK, Fsize_x, Fsize_y, malloc, NULL, mpegFrame::ppm_data, and y.

Referenced by ReadPPM().

◆ Frame_AllocYCC()

◆ Frame_Exit()

void Frame_Exit ( void  )

Definition at line 457 of file frame.c.

References frameMemory, FreeFrame(), GetNumOfFrames(), and idx.

Referenced by main().

◆ Frame_Free()

void Frame_Free ( MpegFrame frame)

Definition at line 482 of file frame.c.

References FALSE, and mpegFrame::inUse.

Referenced by GenMPEGStream(), ProcessRefFrame(), and StartIOServer().

◆ Frame_Init()

◆ Frame_New()

MpegFrame* Frame_New ( int  id,
int  type 
)

Definition at line 501 of file frame.c.

References GetUnusedFrame(), ResetFrame(), and type.

Referenced by GenMPEGStream(), ProcessRefFrame(), and StartIOServer().

◆ Frame_Resize()

void Frame_Resize ( MpegFrame omf,
MpegFrame mf,
int  insize_x,
int  insize_y,
int  outsize_x,
int  outsize_y 
)

Definition at line 104 of file frame.c.

References exit(), free, malloc, mf, Resize_Height(), and Resize_Width().

Referenced by ReadFrame().