22#ifndef GROOVIE_VIDEO_ROQ_H
23#define GROOVIE_VIDEO_ROQ_H
25#include "groovie/video/player.h"
26#include "audio/mixer.h"
46 void setOrigin(int16 x, int16 y)
override;
53 void copyfgtobg(uint8 arg)
override;
55 bool isFileHandled()
override {
return _isFileHandled; }
58 void waitFrame()
override;
59 uint16 loadInternal()
override;
60 bool playFrameInternal()
override;
61 void stopAudioStream()
override;
62 virtual void createAudioStream(
bool stereo);
71 bool isValidBlockHeaderType(uint16 blockHeaderType);
76 void processBlockQuadVectorBlock(
int baseX,
int baseY);
77 void processBlockQuadVectorBlockSub(
int baseX,
int baseY);
82 bool playFirstFrame() {
return _flagNoPlay; };
86 void paint2(
byte i,
int destx,
int desty);
87 void paint4(
byte i,
int destx,
int desty);
88 void paint8(
byte i,
int destx,
int desty);
89 void copy(
byte size,
int destx,
int desty,
int dx,
int dy);
94 void calcStartStop(
int &start,
int &stop,
int origin,
int length);
99 byte _codingTypeCount;
104 uint32 _codebook2[256 * 4];
105 byte _codebook4[256 * 4];
110 bool _altMotionDecoder;
114 void redrawRestoreArea(
int screenOffset,
bool force);
116 byte _scaleX, _scaleY;
118 int8 _motionOffX, _motionOffY;
119 bool _interlacedVideo;
133 void createAudioStream(
bool stereo)
override;
Definition: groovie.h:116
Definition: video_decoder.h:53