
PRELIMINARY
FIMV-MFC V1.0
MULTI-FORMAT
VIDEO
CODEC
2
1-7
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
Codec firmware
In addition to the boot code, a package of the firmware for driving the IP is required. Basically, the package for
MPEG-4, H.263P3, H.264 and VC-1 codec is provided. You must write the firmware to a region of external
memory and send information about the base address of the region by writing it to the
CodeBufAddr
register. At
run-time, part of firmware is automatically loaded to the internal BIT memory.
Boot Code
Code Memory Base Address
specified in the
CodeBufAddr
register
Codec Firmware
1KB
79KB
bit_code[n+0]
bit_code[n+1]
0
15
16
31
Boot code should be also
loaded to the BIT internal
memory at initialization.
Figure 21.4 Memory space for the BIT firmware
Following is the procedure to download the codec firmware at the video codec initialization step.
Step 1.
addr
= 512;
sdram_addr = *CodeB 1024;
Step 2.
code_data = (bit_code[addr] << 16) + bit_code[addr+1]
Step 3.
*sdram_addr = code_data;
Step 4.
addr = addr + 2;
Step 5. sdram_addr = sdra 4