You are on page 1of 15

Graduate Institute of Electronics Engineering, NTU

Digital Video Recorder


Advisor: Prof. Andy Wu
2004/12/16 Thursday

ACCESS IC LAB

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Outline
Specification
System Architecture

P2

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Specification
Function:
Record NTSC composite video
Video compression/processing
Video playback: NTSC compatible composite
video

P3

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Digital Video Recorder Architecture

P4

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Software Hierarchy
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

P5

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

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

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

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

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

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

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Functional Block Diagram

Digital
Video
Signal

Analog
Video
Signal
Serial
Control
Interface

P9

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

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

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Output Format
How to acquire video sequence through DMA controller?
Refer to \Analog Devices\VisualDSP 3.5 16-Bit\Blackfin\EZKits\ADSP-BF533\Examples\Video Input\C
You can get more introduction to CCIR656 format in ADSPBF533 Blackfin Processor Hardware Reference, page 11-14

P11

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

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 (I2C compatible)

Data exchange with Blackfin processor through PPI


Note: PPI connection and Video configuration switch
(SW3), the same as ADV7183

P12

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Functional Block Diagram


Digital
Video
Signal

Analog
Video
Signal

Serial
Control
Interface

P13

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Support Output Analog Interface

P14

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

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

You might also like