39. VC

39.1. Function Overview

Adjust the Motion Map settings on the Video Codec side

39.2. API Reference

39.2.1. CVI_ISP_SetVCAttr

【Description】

Set VC attribute parameter

【Syntax】

CVI_S32 CVI_ISP_SetVCAttr(VI_PIPE ViPipe, const ISP_VC_ATTR_S *pstVCAttr);

【Parameter】

Parameter

Description

Input/Output

ViPipe

VI_PIPE number

Input

pstVCAttr

VC attribute parameter

Input

【Return Value】

Return Value

Description

0

Success

Non 0

Failure. An error code is returned. For details, see chapter Error Codes.

【Requirement】

  • Header files: cvi_isp.h, cvi_comm_isp.h

  • Library files: libisp.so

【Note】

None.

【Example】

None.

【Related Topic】

39.2.2. CVI_ISP_GetVCAttr

【Description】

Get VC attribute parameter

【Syntax】

CVI_S32 CVI_ISP_GetVCAttr(VI_PIPE ViPipe, ISP_VC_ATTR_S *pstVCAttr);

【Parameter】

Parameter

Description

Input/Output

ViPipe

VI_PIPE number

Input

pstVCAttr

VC attribute parameter

Output

【Return Value】

Return Value

Description

0

Success

Non 0

Failure. An error code is returned. For details, see chapter Error Codes.

【Requirement】

  • Header files: cvi_isp.h, cvi_comm_isp.h

  • Library files: libisp.so

【Note】

None.

【Example】

None.

【Related Topic】

39.3. Data Types

39.3.1. ISP_VC_ATTR_S

【Description】

VC attribute parameter

【Syntax】

typedef struct _ISP_VC_ATTR_S {
   CVI_U8 UpdateInterval;
   CVI_U8 MotionThreshold;
} ISP_VC_ATTR_S;

【Member】

Member

Description

UpdateInterval

Affects the parameter update interval, the larger the value, the slower the screen changes and the better the performance

Value range: [0x0, 0xff]

Data type: CVI_U8

MotionThreshold

Motion Map Threshold

Value range: [0x0, 0xff]

Data type: CVI_U8

【Note】

None.

【Related Data Type and Interface】