Digital Video Recorder Advisor: Prof. Andy Wu 2004/12/16 Thursday ACCESS IC LAB
Specification System Architecture Outline P2
Function: Specification Record NTSC composite video Video compression/processing Video playback: NTSC compatible composite video P3
Digital Video Recorder Architecture P4
Partition software function blocks: ISR for frame acquiring/output ISR for User interface Message pass in main process Library package: File system DSP library Graphical User Interface Plan carefully before direct access to hardware resource Software Hierarchy P5
Common Video Format Through different interfaces: Analog Video Interfaces: Composite NTSC video Composite PAL video S-Video HDTV RGB video, YUV video VGA video Digital Video Interface CCIR601 format CCIR656 format P6
What is Composite Video? Modulated chrominance is added to the luminance information along with appropriate horizontal and vertical sync signals, blanking information, and color burst information, to generate composite video waveform. P7
Video Decoder on EZ-KIT ADV7183: A multi-format SDTV Video Decoder Automatically detect standard analog baseband television signal Support analog input compatible to : NTSC, PAL, SECAM Convert to 4:2:2 CCIR601/CCIR656 format Data exchange with Blackfin processor through PPI Note: PPI connection and Video configuration switch (SW3) PPI7~PPI0 Connect to Decoder output data, therefore you cannot choose output CCIR601(16bit) format on EZ-KIT. SW3 setting: P8
Functional Block Diagram Digital Video Signal Analog Video Signal Serial Control Interface P9
CCIR 601 and CCIR 656 Digital video format for transmission CCIR 601: 16 bit data + horizontal synchronous signal + vertical synchronous signal + clock, use 19 pins 13.5 MHz Clock 720 * 480 frame size Y:Cb:Cr = 4:2:2 CCIR 656 8bit data + clock, use 9 pins 27 MHz Clock 720 * 480 frame size Y:Cb:Cr = 4:2:2 P10
Output Format How to acquire video sequence through DMA controller? Refer to \Analog Devices\VisualDSP 3.5 16-Bit\Blackfin\EZ- Kits\ADSP-BF533\Examples\Video Input\C You can get more introduction to CCIR656 format in ADSP- BF533 Blackfin Processor Hardware Reference, page 11-14 P11
Video Encoder on EZ-KIT ADV7171: A digital PAL/NTSC Video Encoder Support composite, component S-Video, component YUV, RGB, EuraSCART, YUV + Chroma video format Support 4:2:2 CCIR601/CCIR656 format Serial MPU control interface (I 2 C compatible) Data exchange with Blackfin processor through PPI Note: PPI connection and Video configuration switch (SW3), the same as ADV7183 P12
Digital Video Signal Functional Block Diagram Analog Video Signal Serial Control Interface P13
Support Output Analog Interface P14
Several Hint On ADSP BF533 EZ-KIT, PPI is shared by video decoder and video encoder. If you use open source code from Internet, even from website of Analog Device, be care of memory allocation and code optimization. On EZ-KIT, you may simplify many part and take more time on your critical software design such as video codec kernel, rather than file format or some other things like that. P15