enaina_taojun2017-05-09 16:24:20
十七、在调试海思3559AV100,VI,VPSS工作在离线模式,当没有视频源输入时,插入一张显示没有输入的yuv420p用户图片,代码如下,在调用HI_MPI_VI_SetUserPic()时报错误码0xa0108003(视频输入参数设置无效),应该是这个结构体VI_USERPIC_ATTR配置错了,看下哪里配置错了,该怎么改? 答:cat /dev/logmpp看一下,里面会...
MPI_VI_SetUserPic()时报错误码0xa0108003(视频输入参数设置无效),应该是这个结构体VI_USERPIC_ATTR...
Issue 10 (2013-04-03) This issue is the tenth official release, which incorporates the following changes: Chapter 3 VI In section 3.4, a note is added to the Note field of HI_MPI_VI_SetUserPic. Chapter 4 VO In section 4.4, the descriptions are updated in the Note fields of HI_MPI...
HI_MPI_VB_GetBlock获取u32BlkHandle失败,请大神们指点一下。代码如下: pstUserPic->u32BlkHandle = HI_MPI_VB_GetBlock(VB_INVALID_POOLID, u32PicSize, "anonymous"); if (VB_INVALID_HANDLE == ps
typedef struct _HIDP_LINK_COLLECTION_NODE { USAGE LinkUsage; USAGE LinkUsagePage; USHORT Parent; USHORT NumberOfChildren; USHORT NextSibling; USHORT FirstChild; ULONG CollectionType : 8; ULONG IsAlias : 1; ULONG Reserved : 23; PVOID UserContext; } HIDP_LINK_COLLECTION_NODE, *PHIDP_LINK...
}VDEC_USERPIC_S;HI_VOID SAMPLE_VDEC_HandleSig(HI_S32 signo){ HI_S32 i; if(SIGINT == signo || SIGTSTP == signo || SIGTERM == signo) { HI_MPI_SYS_Exit(); for(i=0;i { HI_MPI_VB_ExitModCommPool(i); } for(i=0; i { HI_MPI_VB_DestroyPool(i); } HI_MPI_VB_Exit(...
设置VI/VPSS 离/在线模式 在H264_Venc()函数里先去初始化MPI系统,然后根据摄像头设置参数。我这里是AR030摄像头,其拍摄图片大小为720P,编码为H264,为了简单只输出一路。在初始化MPI系统时要计算视频缓存池VB_CONF_S的大小,然后填充VB_CONF_S结构体。填充完VB_CONF_S结构体后再用HI_MPI_VB_SetConf设置...
* function : Rfcn Vi->VO 该函数为主函数实现了模型的初始化、从图像输入,然后识别,最后输出结果的过程 ***/voidSAMPLE_SVP_NNIE_Rfcn(void) 接下来就是如何改代码 第一步 在sample_nnie_mian.c尾端添加如下代码: 代码语言:javascript 复制 /*** * function ...
zhuangweiye2017-05-15 07:54:52