more movie format experimentations

This commit is contained in:
minjaesong
2022-04-28 11:10:48 +09:00
parent 806b534f77
commit e7315834ae
7 changed files with 531 additions and 1 deletions

View File

@@ -137,7 +137,13 @@ let framesRendered = 0
//serial.println(readCount) // must say 18
//serial.println(`Dim: (${width}x${height}), FPS: ${fps}, Frames: ${frameCount}`)
if (type != 0) {
printerrln("Not a type 0 mov")
return 1
}
let fbuf = sys.malloc(FBUF_SIZE)
graphics.setGraphicsMode(0)
let startTime = sys.nanoTime()
while (framesRendered < frameCount) {