thrcapture.h

来自「TI公司的算法标准 Framework5的源代码」· C头文件 代码 · 共 55 行

H
55
字号
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) RF5_IEK 2.00.02 12-11-02 (swat-c19)" */
/*
 *  ======== thrCapture.h ========
 */
 
#ifndef THRCAPTURE_
#define THRCAPTURE_

// RF5 module includes
#include <chan.h>
#include <icell.h>

#include "appThreads.h"     // thread-wide common info

#ifdef __cplusplus
extern "C" {
#endif

#define CAP_FRAMES 4

enum { CHPRES   = 0, 
       NUMCAPCHANS
     };
     
enum { CHPRESCELLPRES = 0, 
       CHCONVNUMCELLS
     };

// Capture thread object
typedef struct ThrCapture {
    IEKC64_VIDEOIN thrCaptureVideoIn;   // VideoIn object for ateme driver
	Handle thrCaptureHVin;      // Input handle for ateme driver
} ThrCapture;

/* prototypes for public functions */
extern Void thrCaptureInit( Void );
extern Void thrCaptureStartup( Void );
extern Void thrCaptureRun( Void );

#ifdef __cplusplus
}
#endif // extern "C" 

#endif // THRCAPTURE_

 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?