★ PROGRAMMER'S GUIDE ★ MPEG libraryList | Title | Function | Function Name | No |
・ MPG_DSCN_NITL | : NTSC non-interlaced mode |
・ MPG_DSCN_ITL | : NTSC interlaced mode |
・ MPG_DSCN_PLNITL | : PAL non-interlaced mode |
・ MPG_DSCN_PLITL | : PAL interlaced mode |
procedure | Error code | |
|---|---|---|
1 | Perform a soft reset of the CD block (CDC_CdInit function). | If an error occurs |
2 | Use the CDC_GetHwInfo function to check if the MPEG cartridge is installed. | If not installed |
3 | If MPEG is not available, the service routine in the BOOT ROM | If the check fails |
4 | Executes the initialization of the MPEG decoder (CDC_MpInit function). | If an error occurs |
5 | Execute the MPEG interrupt mask setting (CDC_MpSetIntMsk function) and execute it. | If an error occurs |
6 | When a constant for PAL is specified for the display scanning method, | If an error occurs |
CDC_CdInit (0,0,0x05,0x0f);
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
・ MPG_VMODE_MOVIE | :movie |
・ MPG_VMODE_SPIC | :Still image |
・ MPG_VMODE_SPIC_H | : High-definition still image |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
TRUE | : Ready to decode |
FALSE | : Not ready for decoding |
・ MPG_HDEC_PRE | : Pre-decoding start processing |
・ MPG_HDEC_EXE | : Waiting to start decoding |
![]() | As a general rule, this function can only be used when decoding the first picture. Subsequent decoding can be used in streams with a picture period of M ≤ 3 (excluding the last 3 frames of the stream), but it is generally prohibited . |
|---|
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
TRUE | : Hang up |
FALSE | : Not hung |
List | Title | Function | Function Name | No |
actst | : MPEG operation status (lower 1 byte is valid) |
vcnt | : Operating interval (VSYNC) counter (lower 2 bytes are valid) |
pict | : Picture information (lower 1 byte is valid) |
stat_a | : MPEG / Audio status (lower 1 byte is valid) |
stat_v | : MPEG / Video status (lower 2 bytes are valid) |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
★ PROGRAMMER'S GUIDE ★ MPEG library