35. VC

35.1. Functional Description

AdjustVideo Codec endMotion Mapsettings

35.2. API Reference

35.2.1. CVI_ISP_SetVCAttr

[Description]

Set VC attribute parameters

[Syntax]

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

[Parameters]

Parameter Name

Description

Input/Output

ViPipe

VI_PIPE No.

Input

pstVCAttr

VC attribute parameters

Input

[Return Value]

Return Value

Description

0

Success.

Non-zero

Failure, whose value is Error Code.

[Requirements]

  • Header File: cvi_isp.h, cvi_comm_isp.h

  • Library File: libisp.so

[Note]

None.

[Example]

None.

[Related Topics]

35.2.2. CVI_ISP_GetVCAttr

[Description]

Get VC attribute parameters

[Syntax]

CVI_S32 CVI_ISP_GetVCAttr(VI_PIPE ViPipe, ISP_VC_ATTR_S *pstVCAttr);

[Parameters]

Parameter Name

Description

Input/Output

ViPipe

VI_PIPE No.

Input

pstVCAttr

VC attribute parameters

output

[Return Value]

Return Value

Description

0

Success.

Non-zero

Failure, whose value is Error Code.

[Requirements]

  • Header File: cvi_isp.h, cvi_comm_isp.h

  • Library File: libisp.so

[Note]

None.

[Example]

None.

[Related Topics]

35.3. Data Types

35.3.1. ISP_VC_ATTR_S

[Description]

VC attribute parameters

[Definition]

typedef struct _ISP_VC_ATTR_S {
   CVI_U8 UpdateInterval;
   CVI_U8 MotionThreshold[ISP_AUTO_ISO_STRENGTH_NUM];
} ISP_VC_ATTR_S;

[Members]

Member Name

Input/Output

UpdateInterval

affects the parameter update interval, the larger the value, the slower the image changes, the better the performance

Value Range: [0x0, 0xff]

Data Types: CVI_U8

MotionThreshold

Motion Map threshold

Value Range: [0x0, 0xff]

Data Types: CVI_U8

[Precautions]

None.

[Related Data Types and Interfaces]