ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
Data Structures | Enumerations | Functions
imp_framesource.h File Reference

The header file of FrameSource. More...

#include "imp_common.h"
Include dependency graph for imp_framesource.h:

Go to the source code of this file.

Data Structures

struct  IMPFSChnCrop
 The structure of cropping operation. More...
 
struct  IMPFSChnScaler
 The structure of scaling operation. More...
 
struct  IMPFSChnFifoAttr
 The structure of FIFO Channel's attributes. More...
 
struct  IMPFSChnAttr
 The structure of frame channel's attributes. More...
 

Enumerations

enum  IMPFSChnType { FS_PHY_CHANNEL, FS_EXT_CHANNEL }
 
enum  IMPFSChnFifoType { FIFO_CACHE_PRIORITY = 0, FIFO_DATA_PRIORITY }
 Channel FIFO Type. More...
 

Functions

int IMP_FrameSource_CreateChn (int chnNum, IMPFSChnAttr *chn_attr)
 Create a frame channel. More...
 
int IMP_FrameSource_DestroyChn (int chnNum)
 Destroy the selected frame channel. More...
 
int IMP_FrameSource_EnableChn (int chnNum)
 Enable the selected frame channel. More...
 
int IMP_FrameSource_DisableChn (int chnNum)
 Disable the selected frame channel. More...
 
int IMP_FrameSource_GetChnAttr (int chnNum, IMPFSChnAttr *chnAttr)
 Obtains the frame channel attribute. More...
 
int IMP_FrameSource_SetChnAttr (int chnNum, const IMPFSChnAttr *chnAttr)
 Sets the frame channel attribute. More...
 
int IMP_FrameSource_SetFrameDepth (int chnNum, int depth)
 Sets the maximum space(depth) for the images. More...
 
int IMP_FrameSource_GetFrameDepth (int chnNum, int *depth)
 Obtains the depth of Frame FIFO. More...
 
int IMP_FrameSource_GetFrame (int chnNum, IMPFrameInfo **frame)
 Obtained image. More...
 
int IMP_FrameSource_GetTimedFrame (int chnNum, IMPFrameTimestamp *framets, int block, void *framedata, IMPFrameInfo *frame)
 Obtained image with specified time. More...
 
int IMP_FrameSource_ReleaseFrame (int chnNum, IMPFrameInfo *frame)
 Release the frame. More...
 
int IMP_FrameSource_SnapFrame (int chnNum, IMPPixelFormat fmt, int width, int height, void *framedata, IMPFrameInfo *frame)
 Get frames. More...
 
int IMP_FrameSource_SetMaxDelay (int chnNum, int maxcnt)
 Set max frame delay. More...
 
int IMP_FrameSource_GetMaxDelay (int chnNum, int *maxcnt)
 Get max frame delay. More...
 
int IMP_FrameSource_SetDelay (int chnNum, int cnt)
 Set frame delay. More...
 
int IMP_FrameSource_GetDelay (int chnNum, int *cnt)
 Get frame delay. More...
 
int IMP_FrameSource_SetChnFifoAttr (int chnNum, IMPFSChnFifoAttr *attr)
 set channel's largest cache FIFO attribute More...
 
int IMP_FrameSource_GetChnFifoAttr (int chnNum, IMPFSChnFifoAttr *attr)
 Get channel maximum caches FIFO attribute. More...
 

Detailed Description

The header file of FrameSource.