w14 2004-12-16 DVR.pdf

  • Upload
    ajoaomv

  • View
    222

  • Download
    0

Embed Size (px)

Citation preview

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    1/15

    AC C E S S I C LA B 

    Graduate Institute of Electronics Engineering, NTU

    Digital Video Recorder Digital Video Recorder 

     Advisor: Prof. Andy Wu

    2004/12/16 Thursday

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    2/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P2

    OutlineOutline

    SpecificationSystem Architecture

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    3/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P3

    SpecificationSpecification

    Function:Record NTSC composite video

    Video compression/processing

    Video playback: NTSC compatible composite

    video

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    4/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P4

    Digital Video Recorder ArchitectureDigital Video Recorder Architecture

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    5/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P5

    Software HierarchySoftware Hierarchy

    Partition software

    function blocks: ISR for frame

    acquiring/output

    ISR for User interface

    Message pass inmain process

    Library package:

    File system

    DSP library

    Graphical UserInterface

    Plan carefully beforedirect access tohardware resource

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    6/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P6

    Common Video FormatCommon 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 InterfaceCCIR601 format

    CCIR656 format

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    7/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P7

    What is Composite Video?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.

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    8/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P8

    Video Decoder on EZVideo Decoder on EZ--KITKIT

     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:

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    9/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P9

    Functional Block DiagramFunctional Block Diagram

     Analog

    Video

    Signal

    Digital

    Video

    Signal

    Serial

    Control

    Interface

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    10/15

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    11/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P11

    Output FormatOutput 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

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    12/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P12

    Video Encoder on EZVideo Encoder on EZ--KITKIT

     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

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    13/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P13

    Functional Block DiagramFunctional Block Diagram Analog

    Video

    Signal

    Serial

    Control

    Interface

    Digital

    VideoSignal

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    14/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P14

    Support Output Analog InterfaceSupport Output Analog Interface

  • 8/19/2019 w14 2004-12-16 DVR.pdf

    15/15

    AC C E S S I C L A B  Graduate Institute of Electronics Engineering, NTU

    P15

    Several HintSeveral 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 careof memory allocation and code optimization.

    On EZ-KIT, you may simplify many part and

    take more time on your critical softwaredesign such as video codec kernel, rather

    than file format or some other things like that.