Enhanced PCI Bus Multimedia Controller (Low-Voltage)
Enhanced PCI Bus Multimedia Controller (Low-Voltage)
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Video Input Processor . . . . . . . . . . . . . . . . . . . . . . . 19
Horizontal Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Horizontal/Vertical Downscaler . . . . . . . . . . . . . . . . . . . . . .19
Color Space Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
The ZR36067-LV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
JPEG System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Motion Video Compression. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Motion Video Decompression . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Still Image Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Still Image Decompression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Notations and Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Video Output Control . . . . . . . . . . . . . . . . . . . . . . . . 20
Display Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Frame Grabbing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Output Pixel Organization . . . . . . . . . . . . . . . . . . . . . . . . . .20
Graphics Overlay. . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
JPEG Code Transfer . . . . . . . . . . . . . . . . . . . . . . . . . 21
The Code Buffer Table . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Fragment Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
JPEG Compression Modes. . . . . . . . . . . . . . . . . . . . . . . . .22
JPEG Decompression Modes . . . . . . . . . . . . . . . . . . . . . . .22
Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Digital Video Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Digital Video Front End (VFE). . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Video Input Processor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Pixel Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Video DMA Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Pixel Bursts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Display Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Frame Grabbing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Overlay Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Host Control/Communication Services . . . . . . . . . . . . . . . . .9
Application-Specific Registers (ASRs) . . . . . . . . . . . . . . . . . . . . . 9
GuestBus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
PostOffice Handshaking Protocol . . . . . . . . . . . . . . . . . . . . . . . . . 9
Still Transfer Mechanism. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Hardware Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Software Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
JPEG P_reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Subsystem ID And Subsystem Vendor ID . . . . . . . 24
Subsystem ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Subsystem Vendor ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
PCI Configuration Space Registers. . . . . . . . . . . . . 25
Application-Specific Registers (ASRs) . . . . . . . . . . 26
Video Front End Horizontal Configuration Register . . . . . .26
Video Front End Vertical Configuration Register. . . . . . . . .26
Video Front End, Scaler and Pixel Format Register . . . . . .27
Video Display “Top” Register . . . . . . . . . . . . . . . . . . . . . . .28
Video Display “Bottom” Register . . . . . . . . . . . . . . . . . . . . .28
Video Stride, Status and Frame Grab Register. . . . . . . . . .28
Video Display Configuration Register . . . . . . . . . . . . . . . . .28
Masking Map “Top” Register. . . . . . . . . . . . . . . . . . . . . . . .29
Masking Map “Bottom” Register . . . . . . . . . . . . . . . . . . . . .29
Overlay Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . .29
System, PCI and General Purpose Pins Control Register .30
General Purpose Pins and GuestBus Control Register (I) .30
MPEG Code Source Address Register . . . . . . . . . . . . . . . .30
MPEG Code Transfer Control Register. . . . . . . . . . . . . . . .31
MPEG Code Memory Pointer Register . . . . . . . . . . . . . . . .32
Interrupt Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Interrupt Control Register . . . . . . . . . . . . . . . . . . . . . . . . . .32
I2C-Bus Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
PostOffice Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
JPEG Mode and Control . . . . . . . . . . . . . . . . . . . . . . . . . . .34
JPEG Process Control . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Vertical Sync Parameters . . . . . . . . . . . . . . . . . . . . . . . . . .35
Horizontal Sync Parameters . . . . . . . . . . . . . . . . . . . . . . . .35
Field Horizontal Active Portion . . . . . . . . . . . . . . . . . . . . . .35
Field Vertical Active Portion . . . . . . . . . . . . . . . . . . . . . . . .35
Field Process Parameters. . . . . . . . . . . . . . . . . . . . . . . . . .35
JPEG Code Base Address . . . . . . . . . . . . . . . . . . . . . . . . .35
JPEG Code FIFO Threshold . . . . . . . . . . . . . . . . . . . . . . . .35
JPEG Codec Guest ID . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
GuestBus Control Register (II) . . . . . . . . . . . . . . . . . . . . . .36
“Still Transfer” Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
2
I C Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Interrupt Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Code DMA Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
MPEG Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
JPEG Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
PCI Bus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Digital Video Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Sampling The Incoming Video . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Synchronization Signal Generation. . . . . . . . . . . . . . . . . . . . . . . 11
ZR36067-LV Connection To ZR36060 Video Interface . . . . . . . 12
Pixel Transfer In Still Image Compression Mode . . . . . . . . . . . . 13
Pixel Transfer In Still Image Decompression Mode . . . . . . . . . . 13
GuestBus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Flexible GuestBus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Code-Write Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Doubleword to Bytes Mapping in Code-Write Operations. . . . . .14
PostOffice Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
GuestBus Wait States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
PostOffice Handshaking Protocol . . . . . . . . . . . . . . . . . . . .15
Host Writes to a Guest Device . . . . . . . . . . . . . . . . . . . . . . . . . 15
Host Reads from a Guest Device . . . . . . . . . . . . . . . . . . . . . . . 16
Codec Bus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Compression Mode Code Transactions . . . . . . . . . . . . . . . . . . . 16
Decompression Mode Code Transactions . . . . . . . . . . . . . . . . .16
Code Bus Stalling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Connecting ZR36067-LV To ZR36060 Host and Code Intrfaces 17
I2C Bus Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
General Purpose I/O Pins . . . . . . . . . . . . . . . . . . . . . . . . . .17
Interrupt Requests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
2