📄 videoinedgedetection_bf533_main.c
字号:
/*****************************************************************************
Copyright (c) 2006 Analog Devices, Inc. All Rights Reserved.
This software is proprietary and confidential to Analog Devices, Inc.
and its licensors.
*****************************************************************************
$RCSfile: VideoInEdgeDetection_BF533_main.c,v $
$Revision: 1.2 $
$Date: 2006/07/06 07:26:44 $
Project: BlackfinSDK (Edge Detection on ITU656 Video In)
Title: Main program
Author(s): bmk
Revised by:
Description:
Main program for Edge Detection on ITU 656 Video Input for BF533
References:
None
*****************************************************************************
Tab Setting: 4
Target Processor: ADSP-BF533
Target Tools Revision: ADSP VisualDSP++ v4.5
******************************************************************************
Modification History:
====================
$Log: VideoInEdgeDetection_BF533_main.c,v $
Revision 1.2 2006/07/06 07:26:44 bmk
modified project to use video utility file macros
Revision 1.1 2006/06/30 01:33:34 bmk
Initial entry
*****************************************************************************/
#include <VideoInEdgeDetection_System.h> // Video In Edge detection system includes
#include <SDK-ezkitutilities.h> // EZ-Kit utility definitions
/*********************************************************************
Function: main
Description: Edge Detection main function
*********************************************************************/
section ("App_Code_L1")
void main (void)
{
// Initialise KeepRunning flag to continue executing this application
SystemFlag.KeepRunningFlag = TRUE;
InitSystem (); // Initialise EZ kit & Video Parameters
InstallSystemServices (); // Installs system services
InstallVideoDecoder (); // Instal Video decoder (video input - ADV7183)
EnableVideoIn(TRUE); // enable video in data flow (ADV7183) to capture one video frame
// Continue executing the app until Terminate button (SW7) is pressed
while (SystemFlag.KeepRunningFlag == TRUE)
{
// check sobel edge detection is enabled
if (SystemFlag.SobelEnable)
{
do_SobelEdgeDetection (); // if so, do sobel edge detection
}
}
TerminateSystem(); // Close all devices and terminate this app
}
/****/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -