ModuleInfo "Version: 1.00"
ModuleInfo "Author: Richard Hanson"
ModuleInfo "Modserver: pantson"
ModuleInfo "License: It is released under the terms of the GPL license."
import brl.blitz
import brl.max2d
import pantson.yuv
import brl.glmax2d
import brl.endianstream
Tmpeg^brl.blitz.Object{
.color%&
.EOM%&
.frames%&
.fps#&
.width%&
.height%&
.timer%&
.buffersize%&
.autoloop%&
.sync%&
.pausetimer%&
.filename$&
.movie:brl.stream.TStream&
.decoder@*&
.info@*&
.buffer:brl.bank.TBank&
-New%()="_pantson_mpeg_Tmpeg_New"
-Delete%()="_pantson_mpeg_Tmpeg_Delete"
-open%(filename$,buffer_size%)="_pantson_mpeg_Tmpeg_open"
-draw%(pixmap:brl.pixmap.TPixmap="bbNullObject")="_pantson_mpeg_Tmpeg_draw"
-close%()="_pantson_mpeg_Tmpeg_close"
-start%(t#=0#)="_pantson_mpeg_Tmpeg_start"
-pause%()="_pantson_mpeg_Tmpeg_pause"
}="pantson_mpeg_Tmpeg"
StartMPEG%(movie:Tmpeg,seconds#=0#)="pantson_mpeg_StartMPEG"
OpenMPEG:Tmpeg(filename$,buffer_size%=8192)="pantson_mpeg_OpenMPEG"
CloseMPEG%(movie:Tmpeg)="pantson_mpeg_CloseMPEG"
DrawMPEG%(movie:Tmpeg,pixmap:brl.pixmap.TPixmap)="pantson_mpeg_DrawMPEG"
DrawMPEGimage%(movie:Tmpeg,image:brl.max2d.Timage,frame%=0)="pantson_mpeg_DrawMPEGimage"
EOM%(movie:Tmpeg)="pantson_mpeg_EOM"
MPEGheight%(movie:Tmpeg,width%=0)="pantson_mpeg_MPEGheight"
MPEGwidth%(movie:Tmpeg,height%=0)="pantson_mpeg_MPEGwidth"
MPEGfullscreen%(movie:Tmpeg)="pantson_mpeg_MPEGfullscreen"
PauseMPEG%(movie:Tmpeg)="pantson_mpeg_PauseMPEG"
