Home
last modified time | relevance | path

Searched refs:enType (Results 1 - 25 of 43) sorted by relevance

12

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
H A Dsample_comm_region.c203 HI_S32 SAMPLE_COMM_REGION_GetMinHandle(RGN_TYPE_E enType) in SAMPLE_COMM_REGION_GetMinHandle() argument
206 switch (enType) { in SAMPLE_COMM_REGION_GetMinHandle()
235 stRegion.enType = OVERLAY_RGN; in SAMPLE_REGION_CreateOverLay()
258 stRegion.enType = OVERLAYEX_RGN; in SAMPLE_REGION_CreateOverLayEx()
281 stRegion.enType = COVER_RGN; in SAMPLE_REGION_CreateCover()
299 stRegion.enType = COVEREX_RGN; in SAMPLE_REGION_CreateCoverEx()
317 stRegion.enType = MOSAIC_RGN; in SAMPLE_REGION_CreateMosaic()
384 HI_S32 SAMPLE_COMM_REGION_Create(HI_S32 HandleNum, RGN_TYPE_E enType) in SAMPLE_COMM_REGION_Create() argument
392 if (enType < 0 || enType > in SAMPLE_COMM_REGION_Create()
422 SAMPLE_COMM_REGION_Destroy(HI_S32 HandleNum, RGN_TYPE_E enType) SAMPLE_COMM_REGION_Destroy() argument
465 SAMPLE_COMM_REGION_AttachToChn(HI_S32 HandleNum, RGN_TYPE_E enType, MPP_CHN_S *pstMppChn) SAMPLE_COMM_REGION_AttachToChn() argument
585 SAMPLE_COMM_REGION_DetachFrmChn(HI_S32 HandleNum, RGN_TYPE_E enType, MPP_CHN_S *pstMppChn) SAMPLE_COMM_REGION_DetachFrmChn() argument
[all...]
H A Dsample_comm_audio.c1084 HI_S32 SAMPLE_COMM_AUDIO_StartAenc(HI_S32 s32AencChnCnt, const AIO_ATTR_S *pstAioAttr, PAYLOAD_TYPE_E enType) in SAMPLE_COMM_AUDIO_StartAenc() argument
1098 stAencAttr.enType = enType; in SAMPLE_COMM_AUDIO_StartAenc()
1102 if (PT_ADPCMA == stAencAttr.enType) { in SAMPLE_COMM_AUDIO_StartAenc()
1105 } else if (PT_G711A == stAencAttr.enType || PT_G711U == stAencAttr.enType) { in SAMPLE_COMM_AUDIO_StartAenc()
1107 } else if (PT_G726 == stAencAttr.enType) { in SAMPLE_COMM_AUDIO_StartAenc()
1110 } else if (PT_LPCM == stAencAttr.enType) { in SAMPLE_COMM_AUDIO_StartAenc()
1112 } else if (PT_AAC == stAencAttr.enType) { in SAMPLE_COMM_AUDIO_StartAenc()
1122 printf("%s: invalid aenc payload type:%d\n", __FUNCTION__, stAencAttr.enType); in SAMPLE_COMM_AUDIO_StartAenc()
1193 SAMPLE_COMM_AUDIO_StartAdec(ADEC_CHN AdChn, PAYLOAD_TYPE_E enType) SAMPLE_COMM_AUDIO_StartAdec() argument
[all...]
H A Dsample_comm.h442 PAYLOAD_TYPE_E enType; member
474 PAYLOAD_TYPE_E enType; member
631 HI_S32 SAMPLE_COMM_VENC_Create(VENC_CHN VencChn, PAYLOAD_TYPE_E enType, PIC_SIZE_E enSize, SAMPLE_RC_E enRcMode,
633 HI_S32 SAMPLE_COMM_VENC_Start(VENC_CHN VencChn, PAYLOAD_TYPE_E enType, PIC_SIZE_E enSize, SAMPLE_RC_E enRcMode,
649 HI_S32 SAMPLE_COMM_REGION_Create(HI_S32 HandleNum, RGN_TYPE_E enType);
650 HI_S32 SAMPLE_COMM_REGION_Destroy(HI_S32 HandleNum, RGN_TYPE_E enType);
651 HI_S32 SAMPLE_COMM_REGION_AttachToChn(HI_S32 HandleNum, RGN_TYPE_E enType, MPP_CHN_S *pstMppChn);
652 HI_S32 SAMPLE_COMM_REGION_DetachFrmChn(HI_S32 HandleNum, RGN_TYPE_E enType, MPP_CHN_S *pstMppChn);
655 HI_S32 SAMPLE_COMM_REGION_GetMinHandle(RGN_TYPE_E enType);
680 HI_S32 SAMPLE_COMM_AUDIO_StartAenc(HI_S32 s32AencChnCnt, const AIO_ATTR_S *pstAioAttr, PAYLOAD_TYPE_E enType);
[all...]
H A Dsample_comm_venc.c349 HI_S32 SAMPLE_COMM_VENC_Create(VENC_CHN VencChn, PAYLOAD_TYPE_E enType, PIC_SIZE_E enSize, SAMPLE_RC_E enRcMode, in SAMPLE_COMM_VENC_Create() argument
384 stVencChnAttr.stVencAttr.enType = enType; in SAMPLE_COMM_VENC_Create()
390 if (enType == PT_MJPEG || enType == PT_JPEG) { in SAMPLE_COMM_VENC_Create()
406 switch (enType) { in SAMPLE_COMM_VENC_Create()
880 SAMPLE_PRT("can't support this enType (%d) in this version!\n", enType); in SAMPLE_COMM_VENC_Create()
884 if (enType == PT_MJPEG || enType in SAMPLE_COMM_VENC_Create()
920 SAMPLE_COMM_VENC_Start(VENC_CHN VencChn, PAYLOAD_TYPE_E enType, PIC_SIZE_E enSize, SAMPLE_RC_E enRcMode, HI_U32 u32Profile, HI_BOOL bRcnRefShareBuf, VENC_GOP_ATTR_S *pstGopAttr) SAMPLE_COMM_VENC_Start() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dive_img.c65 img->enType = IVE_IMAGE_TYPE_YUV420SP; in FrmToOrigImg()
67 img->enType = IVE_IMAGE_TYPE_YUV422SP; in FrmToOrigImg()
85 static uint32_t IveCalStride(IVE_IMAGE_TYPE_E enType, uint32_t width, AlignType align) in IveCalStride() argument
89 switch (enType) { in IveCalStride()
129 IVE_IMAGE_TYPE_E enType, uint32_t width, uint32_t height) in IveImgCreate()
139 img->enType = enType; in IveImgCreate()
142 img->au32Stride[0] = IveCalStride(img->enType, img->u32Width, ALIGN_TYPE_16); in IveImgCreate()
144 switch (enType) { in IveImgCreate()
161 if (enType in IveImgCreate()
128 IveImgCreate(IVE_IMAGE_S* img, IVE_IMAGE_TYPE_E enType, uint32_t width, uint32_t height) IveImgCreate() argument
305 IVE_IMAGE_TYPE_E enType = img->enType; OrigImgToFrm() local
[all...]
H A Dosd_img.c445 rgnAttr->stContent.enType = HI_OSD_TYPE_STRING; in TxtRgnInit()
555 if (stRgnChnAttr.enType == OVERLAYEX_RGN) { in OSD_Update()
694 stRgnChnAttr.enType = OVERLAYEX_RGN; in OSD_RGNAttach()
718 if (stRgnChnAttr.enType == OVERLAYEX_RGN) { in OSD_RGNAttach()
743 stRgnAttr.enType = OVERLAY_RGN; in OSD_CreateRGN()
747 stRgnAttr.enType = OVERLAYEX_RGN; in OSD_CreateRGN()
752 if (stRgnAttr.enType == OVERLAYEX_RGN) { in OSD_CreateRGN()
758 (HI_OSD_TYPE_BITMAP == pstAttr->stContent.enType) ? 1 : 2; // 2: u32CanvasNum in OSD_CreateRGN()
765 (HI_OSD_TYPE_BITMAP == pstAttr->stContent.enType) ? 1 : 2; // 2: u32CanvasNum in OSD_CreateRGN()
772 if (pstAttr->stContent.enType in OSD_CreateRGN()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_buffer.h250 __inline static HI_U32 VDEC_GetPicBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, in VDEC_GetPicBufferSize() argument
262 if (enType == PT_H264) { in VDEC_GetPicBufferSize()
266 } else if (enType == PT_H265) { in VDEC_GetPicBufferSize()
270 } else if ((enType == PT_JPEG) || (enType == PT_MJPEG)) { in VDEC_GetPicBufferSize()
282 __inline static HI_U32 VDEC_GetTmvBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) in VDEC_GetTmvBufferSize() argument
292 if (enType == PT_H264) { in VDEC_GetTmvBufferSize()
297 } else if (enType == PT_H265) { in VDEC_GetTmvBufferSize()
309 __inline static HI_U32 VENC_GetRefPicInfoBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, in VENC_GetRefPicInfoBufferSize() argument
320 if (enType in VENC_GetRefPicInfoBufferSize()
352 VENC_GetRefBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, DATA_BITWIDTH_E enBitWidth, __attribute__((unused))HI_U32 u32Align) VENC_GetRefBufferSize() argument
424 VENC_GetSkipWeightSizeStride(PAYLOAD_TYPE_E enType, HI_U32 u32Width) VENC_GetSkipWeightSizeStride() argument
442 VENC_GetSkipWeightSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) VENC_GetSkipWeightSize() argument
[all...]
H A Dhi_comm_vdec.h50 PAYLOAD_TYPE_E enType; /* RW; video type to be decoded */ member
91 PAYLOAD_TYPE_E enType; /* R; video type to be decoded */ member
137 PAYLOAD_TYPE_E enType; /* RW; video type to be decoded */ member
159 PAYLOAD_TYPE_E enType; /* RW; video type to be decoded, only h264 and h265 supported */ member
H A Dhi_comm_aenc.h47 PAYLOAD_TYPE_E enType; member
58 PAYLOAD_TYPE_E enType; member
H A Dhi_comm_svp.h65 SVP_BLOB_TYPE_E enType; /* Blob type */ member
133 SVP_IMAGE_TYPE_E enType; /* RW;The type of the image */ member
H A Dhi_comm_adec.h61 PAYLOAD_TYPE_E enType; member
75 PAYLOAD_TYPE_E enType; member
H A Dhi_comm_region.h214 RGN_TYPE_E enType; /* region type */ member
221 RGN_TYPE_E enType; /* region type */ member
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_buffer.h250 __inline static HI_U32 VDEC_GetPicBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, in VDEC_GetPicBufferSize() argument
262 if (enType == PT_H264) { in VDEC_GetPicBufferSize()
266 } else if (enType == PT_H265) { in VDEC_GetPicBufferSize()
270 } else if ((enType == PT_JPEG) || (enType == PT_MJPEG)) { in VDEC_GetPicBufferSize()
282 __inline static HI_U32 VDEC_GetTmvBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) in VDEC_GetTmvBufferSize() argument
292 if (enType == PT_H264) { in VDEC_GetTmvBufferSize()
297 } else if (enType == PT_H265) { in VDEC_GetTmvBufferSize()
309 __inline static HI_U32 VENC_GetRefPicInfoBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, in VENC_GetRefPicInfoBufferSize() argument
320 if (enType in VENC_GetRefPicInfoBufferSize()
352 VENC_GetRefBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, DATA_BITWIDTH_E enBitWidth, __attribute__((unused))HI_U32 u32Align) VENC_GetRefBufferSize() argument
424 VENC_GetSkipWeightSizeStride(PAYLOAD_TYPE_E enType, HI_U32 u32Width) VENC_GetSkipWeightSizeStride() argument
442 VENC_GetSkipWeightSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) VENC_GetSkipWeightSize() argument
[all...]
H A Dhi_comm_vdec.h50 PAYLOAD_TYPE_E enType; /* RW; video type to be decoded */ member
91 PAYLOAD_TYPE_E enType; /* R; video type to be decoded */ member
137 PAYLOAD_TYPE_E enType; /* RW; video type to be decoded */ member
159 PAYLOAD_TYPE_E enType; /* RW; video type to be decoded, only h264 and h265 supported */ member
H A Dhi_comm_svp.h65 SVP_BLOB_TYPE_E enType; /* Blob type */ member
133 SVP_IMAGE_TYPE_E enType; /* RW;The type of the image */ member
H A Dhi_comm_aenc.h47 PAYLOAD_TYPE_E enType; member
58 PAYLOAD_TYPE_E enType; member
H A Dhi_comm_adec.h61 PAYLOAD_TYPE_E enType; member
75 PAYLOAD_TYPE_E enType; member
H A Dhi_comm_region.h214 RGN_TYPE_E enType; /* region type */ member
221 RGN_TYPE_E enType; /* region type */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/color_space_convert/smp/
H A Dsmp_color_space_convert.c140 static uint32_t IveCalStride(IVE_IMAGE_TYPE_E enType, uint32_t width, AlignType align) in IveCalStride() argument
144 switch (enType) { in IveCalStride()
184 IVE_IMAGE_TYPE_E enType, uint32_t width, uint32_t height) in IveImgCreate()
194 img->enType = enType; in IveImgCreate()
197 img->au32Stride[0] = IveCalStride(img->enType, img->u32Width, ALIGN_TYPE_16); in IveImgCreate()
199 switch (enType) { in IveImgCreate()
216 if (enType == IVE_IMAGE_TYPE_YUV420SP) { in IveImgCreate()
347 HI_ASSERT(img->enType == IVE_IMAGE_TYPE_U8C3_PLANAR); in ImgRgbToBgr()
387 img->enType in FrmToOrigImg()
183 IveImgCreate(IVE_IMAGE_S* img, IVE_IMAGE_TYPE_E enType, uint32_t width, uint32_t height) IveImgCreate() argument
413 IVE_IMAGE_TYPE_E enType = img->enType; OrigImgToFrm() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/dependency/
H A Daudio_test.c67 static char *SAMPLE_AUDIO_Pt2Str(PAYLOAD_TYPE_E enType) in SAMPLE_AUDIO_Pt2Str() argument
69 if (enType == PT_G711A) { in SAMPLE_AUDIO_Pt2Str()
71 } else if (enType == PT_G711U) { in SAMPLE_AUDIO_Pt2Str()
73 } else if (enType == PT_ADPCMA) { in SAMPLE_AUDIO_Pt2Str()
75 } else if (enType == PT_G726) { in SAMPLE_AUDIO_Pt2Str()
77 } else if (enType == PT_LPCM) { in SAMPLE_AUDIO_Pt2Str()
79 } else if (enType == PT_AAC) { in SAMPLE_AUDIO_Pt2Str()
81 } else if (enType == PT_MP3) { in SAMPLE_AUDIO_Pt2Str()
117 static FILE* SAMPLE_AUDIO_OpenAdecFile_AAC(int num, ADEC_CHN AdChn, PAYLOAD_TYPE_E enType) in SAMPLE_AUDIO_OpenAdecFile_AAC() argument
128 AdChn, SAMPLE_AUDIO_Pt2Str(enType)) < in SAMPLE_AUDIO_OpenAdecFile_AAC()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/
H A Dsmp_resize_crop.c151 static uint32_t IveCalStride(IVE_IMAGE_TYPE_E enType, uint32_t width, AlignType align) in IveCalStride() argument
155 switch (enType) { in IveCalStride()
195 IVE_IMAGE_TYPE_E enType, uint32_t width, uint32_t height) in IveImgCreate()
205 img->enType = enType; in IveImgCreate()
208 img->au32Stride[0] = IveCalStride(img->enType, img->u32Width, ALIGN_TYPE_16); in IveImgCreate()
210 switch (enType) { in IveImgCreate()
227 if (enType == IVE_IMAGE_TYPE_YUV420SP) { in IveImgCreate()
304 LOGI("ImgYuvCrop boxWidth:%d, ImgYuvCrop boxHeight:%d, entype:%d\n", boxWidth, boxWidth, src->enType); in ImgYuvCrop()
306 ret = IveImgCreate(dst, src->enType, boxWidt in ImgYuvCrop()
194 IveImgCreate(IVE_IMAGE_S* img, IVE_IMAGE_TYPE_E enType, uint32_t width, uint32_t height) IveImgCreate() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/audio/
H A Dsample_audio.c56 static char *SAMPLE_AUDIO_Pt2Str(PAYLOAD_TYPE_E enType) in SAMPLE_AUDIO_Pt2Str() argument
58 if (enType == PT_G711A) { in SAMPLE_AUDIO_Pt2Str()
60 } else if (enType == PT_G711U) { in SAMPLE_AUDIO_Pt2Str()
62 } else if (enType == PT_ADPCMA) { in SAMPLE_AUDIO_Pt2Str()
64 } else if (enType == PT_G726) { in SAMPLE_AUDIO_Pt2Str()
66 } else if (enType == PT_LPCM) { in SAMPLE_AUDIO_Pt2Str()
68 } else if (enType == PT_AAC) { in SAMPLE_AUDIO_Pt2Str()
70 } else if (enType == PT_MP3) { in SAMPLE_AUDIO_Pt2Str()
122 static FILE *SAMPLE_AUDIO_OpenAencFile(AENC_CHN AeChn, PAYLOAD_TYPE_E enType) in SAMPLE_AUDIO_OpenAencFile() argument
130 SAMPLE_AUDIO_Pt2Str(enType)); in SAMPLE_AUDIO_OpenAencFile()
152 SAMPLE_AUDIO_OpenAdecFile(ADEC_CHN AdChn, PAYLOAD_TYPE_E enType) SAMPLE_AUDIO_OpenAdecFile() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/
H A Dsample_comm_nnie.c74 if (pstNnieParam->pstModel->astSeg[i].astSrcNode[j].enType == SVP_BLOB_TYPE_SEQ_S32) { in SAMPLE_SVP_NNIE_FillForwardInfo()
75 pstNnieParam->astSegData[i].astSrc[j].enType = pstNnieParam->pstModel->astSeg[i].astSrcNode[j].enType; in SAMPLE_SVP_NNIE_FillForwardInfo()
82 pstNnieParam->astSegData[i].astSrc[j].enType = pstNnieParam->pstModel->astSeg[i].astSrcNode[j].enType; in SAMPLE_SVP_NNIE_FillForwardInfo()
105 if (pstNnieParam->pstModel->astSeg[i].astDstNode[j].enType == SVP_BLOB_TYPE_SEQ_S32) { in SAMPLE_SVP_NNIE_FillForwardInfo()
106 pstNnieParam->astSegData[i].astDst[j].enType = pstNnieParam->pstModel->astSeg[i].astDstNode[j].enType; in SAMPLE_SVP_NNIE_FillForwardInfo()
113 pstNnieParam->astSegData[i].astDst[j].enType = pstNnieParam->pstModel->astSeg[i].astDstNode[j].enType; in SAMPLE_SVP_NNIE_FillForwardInfo()
[all...]
H A Dsample_comm_ive.h142 HI_S32 SAMPLE_COMM_IVE_CreateImage(IVE_IMAGE_S *pstImg, IVE_IMAGE_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height);
146 HI_S32 SAMPLE_COMM_IVE_CreateImageByCached(IVE_IMAGE_S *pstImg, IVE_IMAGE_TYPE_E enType, HI_U32 u32Width,
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ai_infer_process/
H A Dai_infer_process.c285 g_stCnnNnieParam.astSegData[0].astSrc[0].enType, in CnnCreate()
346 if (SVP_BLOB_TYPE_U8 <= pstNnieParam->astSegData[segId].astSrc[nodeId].enType && in FillNnieByImg()
347 SVP_BLOB_TYPE_YVU422SP >= pstNnieParam->astSegData[segId].astSrc[nodeId].enType) { in FillNnieByImg()
357 if (SVP_BLOB_TYPE_SEQ_S32 == pstNnieParam->astSegData[segId].astSrc[nodeId].enType) { in FillNnieByImg()
367 if (SVP_BLOB_TYPE_YVU420SP == pstNnieParam->astSegData[segId].astSrc[nodeId].enType) { in FillNnieByImg()
391 } else if (SVP_BLOB_TYPE_YVU422SP == pstNnieParam->astSegData[segId].astSrc[nodeId].enType) { in FillNnieByImg()
458 if (pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].enType == SVP_BLOB_TYPE_SEQ_S32) { in SAMPLE_SVP_NNIE_Forward()
526 if (SVP_BLOB_TYPE_SEQ_S32 == pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].enType) { in SAMPLE_SVP_NNIE_Forward()
671 pstSoftWareParam->stDstRoi.enType = SVP_BLOB_TYPE_S32; in SampleSvpNnieYolov2SoftwareInit()
682 pstSoftWareParam->stDstScore.enType in SampleSvpNnieYolov2SoftwareInit()
[all...]

Completed in 19 milliseconds

12