doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idCinematicLocal Class Reference
Inheritance diagram for idCinematicLocal:
idCinematic

Public Member Functions

 idCinematicLocal ()
 
virtual ~idCinematicLocal ()
 
virtual bool InitFromFile (const char *qpath, bool looping)
 
virtual cinData_t ImageForTime (int milliseconds)
 
virtual int AnimationLength ()
 
virtual void Close ()
 
virtual void ResetTime (int time)
 
- Public Member Functions inherited from idCinematic
virtual ~idCinematic ()
 

Private Member Functions

void RoQ_init (void)
 
void blitVQQuad32fs (byte **status, unsigned char *data)
 
void RoQShutdown (void)
 
void RoQInterrupt (void)
 
void move8_32 (byte *src, byte *dst, int spl)
 
void move4_32 (byte *src, byte *dst, int spl)
 
void blit8_32 (byte *src, byte *dst, int spl)
 
void blit4_32 (byte *src, byte *dst, int spl)
 
void blit2_32 (byte *src, byte *dst, int spl)
 
unsigned short yuv_to_rgb (long y, long u, long v)
 
unsigned int yuv_to_rgb24 (long y, long u, long v)
 
void decodeCodeBook (byte *input, unsigned short roq_flags)
 
void recurseQuad (long startX, long startY, long quadSize, long xOff, long yOff)
 
void setupQuad (long xOff, long yOff)
 
void readQuadInfo (byte *qData)
 
void RoQPrepMcomp (long xoff, long yoff)
 
void RoQReset ()
 

Private Attributes

unsigned int mcomp [256]
 
byte ** qStatus [2]
 
idStr fileName
 
int CIN_WIDTH
 
int CIN_HEIGHT
 
idFileiFile
 
cinStatus_t status
 
long tfps
 
long RoQPlayed
 
long ROQSize
 
unsigned int RoQFrameSize
 
long onQuad
 
long numQuads
 
long samplesPerLine
 
unsigned int roq_id
 
long screenDelta
 
bytebuf
 
long samplesPerPixel
 
unsigned int xsize
 
unsigned int ysize
 
unsigned int maxsize
 
unsigned int minsize
 
long normalBuffer0
 
long roq_flags
 
long roqF0
 
long roqF1
 
long t [2]
 
long roqFPS
 
long drawX
 
long drawY
 
int animationLength
 
int startTime
 
float frameRate
 
byteimage
 
bool looping
 
bool dirty
 
bool half
 
bool smootheddouble
 
bool inMemory
 

Additional Inherited Members

- Static Public Member Functions inherited from idCinematic
static void InitCinematic (void)
 
static void ShutdownCinematic (void)
 
static idCinematicAlloc ()
 

Detailed Description

Definition at line 45 of file Cinematic.cpp.

Constructor & Destructor Documentation

idCinematicLocal::idCinematicLocal ( )

Definition at line 264 of file Cinematic.cpp.

idCinematicLocal::~idCinematicLocal ( )
virtual

Definition at line 279 of file Cinematic.cpp.

Member Function Documentation

int idCinematicLocal::AnimationLength ( )
virtual

Reimplemented from idCinematic.

Definition at line 364 of file Cinematic.cpp.

void idCinematicLocal::blit2_32 ( byte src,
byte dst,
int  spl 
)
private

Definition at line 788 of file Cinematic.cpp.

void idCinematicLocal::blit4_32 ( byte src,
byte dst,
int  spl 
)
private

Definition at line 740 of file Cinematic.cpp.

void idCinematicLocal::blit8_32 ( byte src,
byte dst,
int  spl 
)
private

Definition at line 629 of file Cinematic.cpp.

void idCinematicLocal::blitVQQuad32fs ( byte **  status,
unsigned char *  data 
)
private

Definition at line 819 of file Cinematic.cpp.

void idCinematicLocal::Close ( void  )
virtual

Reimplemented from idCinematic.

Definition at line 349 of file Cinematic.cpp.

void idCinematicLocal::decodeCodeBook ( byte input,
unsigned short  roq_flags 
)
private

Definition at line 970 of file Cinematic.cpp.

cinData_t idCinematicLocal::ImageForTime ( int  milliseconds)
virtual

Reimplemented from idCinematic.

Definition at line 383 of file Cinematic.cpp.

bool idCinematicLocal::InitFromFile ( const char *  qpath,
bool  looping 
)
virtual

Reimplemented from idCinematic.

Definition at line 293 of file Cinematic.cpp.

void idCinematicLocal::move4_32 ( byte src,
byte dst,
int  spl 
)
private

Definition at line 578 of file Cinematic.cpp.

void idCinematicLocal::move8_32 ( byte src,
byte dst,
int  spl 
)
private

Definition at line 467 of file Cinematic.cpp.

void idCinematicLocal::readQuadInfo ( byte qData)
private

Definition at line 1227 of file Cinematic.cpp.

void idCinematicLocal::recurseQuad ( long  startX,
long  startY,
long  quadSize,
long  xOff,
long  yOff 
)
private

Definition at line 1160 of file Cinematic.cpp.

void idCinematicLocal::ResetTime ( int  time)
virtual

Reimplemented from idCinematic.

Definition at line 373 of file Cinematic.cpp.

void idCinematicLocal::RoQ_init ( void  )
private

Definition at line 1704 of file Cinematic.cpp.

void idCinematicLocal::RoQInterrupt ( void  )
private

Definition at line 1590 of file Cinematic.cpp.

void idCinematicLocal::RoQPrepMcomp ( long  xoff,
long  yoff 
)
private

Definition at line 1258 of file Cinematic.cpp.

void idCinematicLocal::RoQReset ( )
private

Definition at line 1278 of file Cinematic.cpp.

void idCinematicLocal::RoQShutdown ( void  )
private

Definition at line 1725 of file Cinematic.cpp.

void idCinematicLocal::setupQuad ( long  xOff,
long  yOff 
)
private

Definition at line 1196 of file Cinematic.cpp.

unsigned short idCinematicLocal::yuv_to_rgb ( long  y,
long  u,
long  v 
)
private

Definition at line 934 of file Cinematic.cpp.

unsigned int idCinematicLocal::yuv_to_rgb24 ( long  y,
long  u,
long  v 
)
private

Definition at line 952 of file Cinematic.cpp.

Member Data Documentation

int idCinematicLocal::animationLength
private

Definition at line 83 of file Cinematic.cpp.

byte* idCinematicLocal::buf
private

Definition at line 72 of file Cinematic.cpp.

int idCinematicLocal::CIN_HEIGHT
private

Definition at line 60 of file Cinematic.cpp.

int idCinematicLocal::CIN_WIDTH
private

Definition at line 60 of file Cinematic.cpp.

bool idCinematicLocal::dirty
private

Definition at line 90 of file Cinematic.cpp.

long idCinematicLocal::drawX
private

Definition at line 81 of file Cinematic.cpp.

long idCinematicLocal::drawY
private

Definition at line 81 of file Cinematic.cpp.

idStr idCinematicLocal::fileName
private

Definition at line 59 of file Cinematic.cpp.

float idCinematicLocal::frameRate
private

Definition at line 85 of file Cinematic.cpp.

bool idCinematicLocal::half
private

Definition at line 91 of file Cinematic.cpp.

idFile* idCinematicLocal::iFile
private

Definition at line 61 of file Cinematic.cpp.

byte* idCinematicLocal::image
private

Definition at line 87 of file Cinematic.cpp.

bool idCinematicLocal::inMemory
private

Definition at line 93 of file Cinematic.cpp.

bool idCinematicLocal::looping
private

Definition at line 89 of file Cinematic.cpp.

unsigned int idCinematicLocal::maxsize
private

Definition at line 74 of file Cinematic.cpp.

unsigned int idCinematicLocal::mcomp[256]
private

Definition at line 57 of file Cinematic.cpp.

unsigned int idCinematicLocal::minsize
private

Definition at line 74 of file Cinematic.cpp.

long idCinematicLocal::normalBuffer0
private

Definition at line 75 of file Cinematic.cpp.

long idCinematicLocal::numQuads
private

Definition at line 68 of file Cinematic.cpp.

long idCinematicLocal::onQuad
private

Definition at line 67 of file Cinematic.cpp.

byte** idCinematicLocal::qStatus[2]
private

Definition at line 58 of file Cinematic.cpp.

long idCinematicLocal::roq_flags
private

Definition at line 76 of file Cinematic.cpp.

unsigned int idCinematicLocal::roq_id
private

Definition at line 70 of file Cinematic.cpp.

long idCinematicLocal::roqF0
private

Definition at line 77 of file Cinematic.cpp.

long idCinematicLocal::roqF1
private

Definition at line 78 of file Cinematic.cpp.

long idCinematicLocal::roqFPS
private

Definition at line 80 of file Cinematic.cpp.

unsigned int idCinematicLocal::RoQFrameSize
private

Definition at line 66 of file Cinematic.cpp.

long idCinematicLocal::RoQPlayed
private

Definition at line 64 of file Cinematic.cpp.

long idCinematicLocal::ROQSize
private

Definition at line 65 of file Cinematic.cpp.

long idCinematicLocal::samplesPerLine
private

Definition at line 69 of file Cinematic.cpp.

long idCinematicLocal::samplesPerPixel
private

Definition at line 73 of file Cinematic.cpp.

long idCinematicLocal::screenDelta
private

Definition at line 71 of file Cinematic.cpp.

bool idCinematicLocal::smootheddouble
private

Definition at line 92 of file Cinematic.cpp.

int idCinematicLocal::startTime
private

Definition at line 84 of file Cinematic.cpp.

cinStatus_t idCinematicLocal::status
private

Definition at line 62 of file Cinematic.cpp.

long idCinematicLocal::t[2]
private

Definition at line 79 of file Cinematic.cpp.

long idCinematicLocal::tfps
private

Definition at line 63 of file Cinematic.cpp.

unsigned int idCinematicLocal::xsize
private

Definition at line 74 of file Cinematic.cpp.

unsigned int idCinematicLocal::ysize
private

Definition at line 74 of file Cinematic.cpp.


The documentation for this class was generated from the following file: