海思hi3518编码h264源代码


海思hi3518简化SDK里的sample编码为h264,更利于初学者学习海思IPC
资源截图
代码片段和文件信息
#include 
gettime(char* buf)//main()
{
        char szContentBuf[200] =““;
        time_t timep;
        struct tm *p;
        time(&timep);
        p=gmtime(&timep);
        sprintf(szContentBuf“%04d%02d%02d%02d%02d%02d“(1900+p->tm_year) (1+p->tm_mon)p->tm_mdayp->tm_hourp->tm_minp->tm_sec);
        strcpy(bufszContentBuf);//bufstrlen(szContentBuf));
        //return szContentBuf;
//printf(“%s
“ szContentBuf);
}
char filename[200]={0};
main()
{
        //filename=gettime();
        printf(“%s
“gettime(filename));
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-03 15:07  h264ok_utf8
     文件         562  2018-03-05 09:33  h264ok_utf8gettime.c
     目录           0  2018-04-03 15:06  h264ok_utf8h264.si4project
     目录           0  2018-04-03 15:06  h264ok_utf8h264.si4projectcache
     目录           0  2018-04-03 15:07  h264ok_utf8h264.si4projectcacheparse
     文件       18609  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_include_hi_ae_comm.h.sisc
     文件        2326  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_include_hi_af_comm.h.sisc
     文件       17321  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_include_hi_awb_comm.h.sisc
     文件       20993  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_include_mpi_ae.h.sisc
     文件       11868  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_include_mpi_af.h.sisc
     文件       20598  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_include_mpi_awb.h.sisc
     文件       23150  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_ae_sample_ae_adp.c.sisc
     文件        6945  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_ae_sample_ae_adp.h.sisc
     文件        6367  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_ae_sample_ae_ext_config.h.sisc
     文件       11928  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_ae_sample_ae_mpi.c.sisc
     文件       14695  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_ae_sample_ae_mpi.h.sisc
     文件       23163  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_awb_sample_awb_adp.c.sisc
     文件        6852  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_awb_sample_awb_adp.h.sisc
     文件        6357  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_awb_sample_awb_ext_config.h.sisc
     文件       15031  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_3a_sample_awb_sample_awb_mpi.c.sisc
     文件        9311  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_defog_isp_dehaze.h.sisc
     文件       11790  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_acm_ext.h.sisc
     文件       13634  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_dev_ext.h.sisc
     文件      168243  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_isp.c.sisc
     文件       21939  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_isp.h.sisc
     文件        1599  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_isp_acm_lut.c.sisc
     文件       10686  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_isp_ext.h.sisc
     文件       23037  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_isp_st.c.sisc
     文件       47958  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_mkp_acm.c.sisc
     文件        3498  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_mkp_ioctl.h.sisc
     文件       78393  2018-03-05 09:33  h264ok_utf8h264.si4projectcacheparsempp_component_isp_firmware_drv_mkp_isp.h.sisc
............此处省略754个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)