📄 readme_videoinedgedetection_bf533.txt
字号:
Project Name: VideoInEdgeDetection_BF533.dpj
Project Type:
ADSP-BF533 [X]
ADSP-BF537 [ ]
ADSP-BF561 [ ]
Hardware Used:
**************************************
**************************************
*** PLEASE READ THE RELEASE NOTE ***
*** FOR SPECIFIC HARDWARE AND ***
*** SOFTWARE CONFIGURATIONS ***
*** SUPPORTED BY THIS APPLICATION ***
**************************************
**************************************
ADSP-BF533 EZ-Kit Lite
Analog Devices VisualDSP++ 4.5
VisualDSP++ Emulator
Video monitor with ITU-656 NTSC/PAL AV input
DVD player with ITU-656 NTSC/PAL Output
System Services Components Used:
DMA Manager [X] Deferred Callback Manager [X]
Interrupt Manager [X] Timer Module [X]
Power Management Module [X] Flag Module [X]
External Bus Interface Unit Module [X] Port Module [X]
OVERVIEW
=========
This application can capture a video frame from a video stream, perform
edge detection on the captured video frame and render the edge detected output
to a video monitor.
Pressing and releasing button SW4 on the Ez-Kit captures a new video frame,
Pressing and releasing button SW6 on the Ez-Kit toggles the display between
captured video frame and edge detected output of the captured frame.
Any changes to video input mode (ITU656 NTSC to PAL or vice-versa) will be
automatically updated during next frame capture.
Supported Video inputs:
-----------------------
ITU-656 NTSC Interlaced
ITU-656 PAL Interlaced
Edge detection algorithms used:
--------------------------------
SOBEL Method
Supported Video In/Out combinations:
------------------------------------
ITU656 NTSC Input, Captured Frame/Edge Detected output in ITU656 NTSC format (rendered to TV monitor)
ITU656 PAL Input, Captured Frame/Edge Detected output in ITU656 PAL format (rendered to TV monitor)
Slide-Show Mode MACRO
---------------------
This application can perform continuous frame capture (slide-show mode).
The slide-show mode can be enabled by rebuilding the application with conditional
compilation macro 'VIDEO_IN_SLIDE_SHOW' defined in preprocessor definitions
section under 'VideoInEdgeDetection_BF533.dpj' project options.
(Project -> Project Options
- Project - Compile - Preprocessor - Preprocessor definitions)
Frame capture button (SW4) is not used in slide-show mode. Button SW6 can be used
to switch the display between original video frame/edge detected output
By default, this application builds for Button-press frame capture (i.e, slide-show mode disabled by default)
RUNNING THE APPLICATION
========================
1. Hardware settings
--------------------
Video interface with ADSP-BF533 EZ-KIT Lite codecs
--------------------------------------------------
-- BF533 Ez Kit --
SW1: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF
SW2: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF
SW3: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-ON
SW9: 1-ON 2-ON 3-ON 4-ON 5-OFF 6-OFF
SW10: 1-ON 2-ON
SW11: 1-OFF 2-ON
SW12: 1-ON 2-ON 3-ON 4-ON
2. ADSP-BF533 EZ-KIT Lite - Push Button functions
-------------------------------------------------
Push Button 1 (SW4): Captures a new ITU656 video frame (not used in slide-show mode)
Push Button 2 (SW5): Not used
Push Button 3 (SW6): Toggles display between captured frame and edge detected output on captured frame
Push Button 4 (SW7): Terminates Application
3. External connections
-----------------------
Connect a monitor to the EZ-Kit video-out connector and a video source
to the EZ-Kit video-in. The video connectors are the bank of 6 RCA-style jacks
Video interface with onboard video codecs in ADSP-BF533 EZ-Kit Lite
RCA-style jacks labeled J8
J8
+---------------------------------------------------+
| O O < Video Out O | (White)
| O O O < Video In | (Red)
+---------------------------------------------------+
4. Operational Description
---------------------------
- Open the "VideoInEdgeDetection_BF533.dpg" project in the VisualDSP
Integrated Development Environment (IDDE).
- Build the project by selecting "rebuild all" from the project menu.
The project gets automatically loaded in to DSP
- Connect a video display monitor (Television) to the video output jack
(white coloured RCA-style jack)
- Connect an ITU656 NTSC/PAL video source (DVD player) to video input jack
(red coloured RCA-style jack)
- Run the executables by pressing "run" (F5) on the toolbar.
Edge detected output of a captured frame will be displayed in the video monitor
- Use Push Buttons on ADSP-BF533 EZ-KIT Lite to switch functionality
REFERENCES
==========
Multiformat SDTV Video Decoder ADV7183B Reference Manual
ADV7171 Video Encoder Reference Manual
ADSP-BF533 Hardware Reference Manual
ADSP-BF533 EZ-Kit Lite Evaluation system manual
David J.Katz, Rick Gentile, "Embedded Media Processing", 2d ed. New York:Elsevier Inc., 2006, ISBN:0750679123
SOFTWARE HIERARCHY
==================
This application consists of the following files:
\---BlackfinSDK
|
+---Algorithms
| |
| +---EdgeDetection
| | |
| | +---include
| | | sobel.h
| | |
| | +---src
| | sobel_fast.asm
| |
+---BFinUtils
| | adi_itu656.c
| | SDK-ezkitutilities.c
| |
+---Include
| | adi_itu656.h
| | SDK-ezkitutilities.h
| |
+---Multimedia
|
+---VideoInEdgeDetection
| VideoInEdgeDetection.h
| VideoInEdgeDetection_Buffers.c
| VideoInEdgeDetection_Callbacks.c
| VideoInEdgeDetection_System.c
| VideoInEdgeDetection_System.h
|
+---ADSP-BF533
Readme_VideoInEdgeDetection_BF533.txt
VideoInEdgeDetection_BF533.dpj
VideoInEdgeDetection_BF533.ldf
VideoInEdgeDetection_BF533_basiccrt.s
VideoInEdgeDetection_BF533_heaptab.c
VideoInEdgeDetection_BF533_main.c
Device Drivers:
\---VisualDSP 4.5
|
+---Blackfin
|
+---lib
|
+---src
|
+---drivers
| adi_dev.c
|
+---decoder
| adi_adv7183.c
|
+---deviceaccess
| adi_device_access.c
| adi_device_access_twi.c
|
+---encoder
| adi_adv7171.c
| adi_adv717x.c
|
+---ppi
| adi_ppi.c
|
+---twi
adi_twi.c
adi_twi_pseudo.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -