CedarX/MPEG Engine Init procedure

From linux-sunxi.org
Jump to navigation Jump to search

MPEG Engine reset/clock init procedure

Before use MPEG engine for MPEG/MJPEG/DIVX/MS-MPEG/VP6 files, MPEG engine should be clocked and reseted

MACC_VE_CTRL <= 0x7 /*place in reset*/
MACC_VE_CTRL <= 0x030007 /* Set DRAM type?? */
MACC_VE_CTRL <= 0x130007 /* DRAM Blank ?? */
MACC_VE_CTRL <= 0x130000 /* Select MPEG Engine */