MPEGStatusData

From Yabause
Jump to: navigation, search

MPEG Status Data

CR1 CD status(high byte), MPEG Play Status(low byte)
CR2 V-counter(word)
CR3 Picture Info(high byte), MPEG Audio Status(low byte)
CR4 MPEG Video Status(word)


MPEG Play Status flags are as follows:

0x01 Video Stopped
0x02 Video Preparation 1
0x03 Video Preparation 2
0x04 Video Transfering/Playing
0x05 Video Changing
0x06 Video Receiving
0x08 MPEG decoding stopped
0x10 Audio Stopped
0x20 Audio Preparation 1
0x30 Audio Preparation 2
0x40 Audio Transfering/Playing
0x50 Audio Changing
0x60 Audio Receiving


MPEG Audio Status flags are as follows:

0x01 Audio Decoding Operation
0x08 Illegal Audio
0x10 Audio Buffer Empty
0x20 Audio Error
0x40 Left Channel Output
0x80 Right Channel Output


MPEG Video Status flags are as follows:

0x0001 Video Decoding Operation
0x0002 Display
0x0004 Pause
0x0008 Freeze
0x0010 Last Picture Display
0x0020 Odd Number Field
0x0040 Update Picture
0x0080 Video Error
0x0100 Output Preparation Completion
0x0800 First Picture Display
0x1000 Video Buffer Empty