Home
last modified time | relevance | path

Searched refs:u32Width (Results 1 - 25 of 83) sorted by relevance

1234

/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_buffer.h32 __inline static HI_VOID COMMON_GetPicBufferConfig(HI_U32 u32Width, HI_U32 u32Height, in COMMON_GetPicBufferConfig() argument
49 if ((u32Width > HI_MAXINUM_LIMIT) || (u32Height > HI_MAXINUM_LIMIT)) { in COMMON_GetPicBufferConfig()
80 u32MainStride = HI_ALIGN_UP((u32Width * u32BitWidth + 7) >> 3, u32Align); in COMMON_GetPicBufferConfig()
96 if (u32Width <= 4096) { in COMMON_GetPicBufferConfig()
98 } else if (u32Width <= 8192) { in COMMON_GetPicBufferConfig()
105 u32MainStride = HI_ALIGN_UP(u32Width, u32Align); in COMMON_GetPicBufferConfig()
154 __inline static HI_U32 COMMON_GetPicBufferSize(HI_U32 u32Width, HI_U32 u32Height, in COMMON_GetPicBufferSize() argument
160 COMMON_GetPicBufferConfig(u32Width, u32Height, enPixelFormat, enBitWidth, enCmpMode, u32Align, &stCalConfig); in COMMON_GetPicBufferSize()
165 __inline static HI_U32 VI_GetRawBufferSizeEx(HI_U32 u32Width, HI_U32 u32Height, in VI_GetRawBufferSizeEx() argument
174 if ((u32Width > HI_MAXINUM_LIMI in VI_GetRawBufferSizeEx()
244 VI_GetRawBufferSize(HI_U32 u32Width, HI_U32 u32Height, PIXEL_FORMAT_E enPixelFormat, COMPRESS_MODE_E enCmpMode, HI_U32 u32Align) VI_GetRawBufferSize() argument
250 VDEC_GetPicBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, __attribute__((unused))PIXEL_FORMAT_E enPixelFormat, __attribute__((unused))DATA_BITWIDTH_E enBitWidth, __attribute__((unused))HI_U32 u32Align) VDEC_GetPicBufferSize() argument
282 VDEC_GetTmvBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) VDEC_GetTmvBufferSize() argument
309 VENC_GetRefPicInfoBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, __attribute__((unused))HI_U32 u32Align) VENC_GetRefPicInfoBufferSize() argument
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
401 VENC_GetQpmapSizeStride(HI_U32 u32Width) VENC_GetQpmapSizeStride() argument
410 VENC_GetQpmapSize(HI_U32 u32Width, HI_U32 u32Height) VENC_GetQpmapSize() 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...]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_buffer.h32 __inline static HI_VOID COMMON_GetPicBufferConfig(HI_U32 u32Width, HI_U32 u32Height, in COMMON_GetPicBufferConfig() argument
49 if ((u32Width > HI_MAXINUM_LIMIT) || (u32Height > HI_MAXINUM_LIMIT)) { in COMMON_GetPicBufferConfig()
80 u32MainStride = HI_ALIGN_UP((u32Width * u32BitWidth + 7) >> 3, u32Align); in COMMON_GetPicBufferConfig()
96 if (u32Width <= 4096) { in COMMON_GetPicBufferConfig()
98 } else if (u32Width <= 8192) { in COMMON_GetPicBufferConfig()
105 u32MainStride = HI_ALIGN_UP(u32Width, u32Align); in COMMON_GetPicBufferConfig()
154 __inline static HI_U32 COMMON_GetPicBufferSize(HI_U32 u32Width, HI_U32 u32Height, in COMMON_GetPicBufferSize() argument
160 COMMON_GetPicBufferConfig(u32Width, u32Height, enPixelFormat, enBitWidth, enCmpMode, u32Align, &stCalConfig); in COMMON_GetPicBufferSize()
165 __inline static HI_U32 VI_GetRawBufferSizeEx(HI_U32 u32Width, HI_U32 u32Height, in VI_GetRawBufferSizeEx() argument
174 if ((u32Width > HI_MAXINUM_LIMI in VI_GetRawBufferSizeEx()
244 VI_GetRawBufferSize(HI_U32 u32Width, HI_U32 u32Height, PIXEL_FORMAT_E enPixelFormat, COMPRESS_MODE_E enCmpMode, HI_U32 u32Align) VI_GetRawBufferSize() argument
250 VDEC_GetPicBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, __attribute__((unused))PIXEL_FORMAT_E enPixelFormat, __attribute__((unused))DATA_BITWIDTH_E enBitWidth, __attribute__((unused))HI_U32 u32Align) VDEC_GetPicBufferSize() argument
282 VDEC_GetTmvBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) VDEC_GetTmvBufferSize() argument
309 VENC_GetRefPicInfoBufferSize(PAYLOAD_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height, __attribute__((unused))HI_U32 u32Align) VENC_GetRefPicInfoBufferSize() argument
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
401 VENC_GetQpmapSizeStride(HI_U32 u32Width) VENC_GetQpmapSizeStride() argument
410 VENC_GetQpmapSize(HI_U32 u32Width, HI_U32 u32Height) VENC_GetQpmapSize() 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...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/color_space_convert/smp/
H A Dsmp_color_space_convert.c195 img->u32Width = width; in IveImgCreate()
197 img->au32Stride[0] = IveCalStride(img->enType, img->u32Width, ALIGN_TYPE_16); in IveImgCreate()
300 HI_CHAR* pchSrcFileName, HI_CHAR* pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) in SampleIveColorConvertInit()
306 s32Ret = SAMPLE_COMM_IVE_CreateImage(&g_stColorSpaceInfo->stSrc, IVE_IMAGE_TYPE_YUV420SP, u32Width, u32Height); in SampleIveColorConvertInit()
348 HI_ASSERT(img->au32Stride[0] >= img->u32Width); in ImgRgbToBgr()
349 HI_ASSERT(img->au32Stride[1] >= img->u32Width); in ImgRgbToBgr()
350 HI_ASSERT(img->au32Stride[2] >= img->u32Width); // 2: au32Stride array subscript, not out of bounds in ImgRgbToBgr()
356 for (j = 0; j < img->u32Width; j++) { in ImgRgbToBgr()
383 img->u32Width = frm->stVFrame.u32Width; in FrmToOrigImg()
299 SampleIveColorConvertInit(SampleIveColorSpaceConvInfo* g_stColorSpaceInfo, HI_CHAR* pchSrcFileName, HI_CHAR* pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) SampleIveColorConvertInit() argument
553 HI_U16 u32Width = 1920; SampleIveOrigImgToFrm() local
601 HI_U16 u32Width = 1920; SampleIveFrmToOrigImg() local
661 HI_U16 u32Width = 1920; SampleIveFrmToU8c1Img() local
721 HI_U16 u32Width = 1920; SampleIveFrmToRgbImgToYuv() local
786 HI_U16 u32Width = 1920; SampleIveFrmToRgbImgToBgr() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dosd_img.c367 pstOsdParam->stMaxSize.u32Width = 0; in HI_OSD_Stop()
448 rgnAttr->stContent.stFontSize.u32Width = OSD_FONT_WIDTH_DEF; in TxtRgnInit()
483 stImageSize.u32Width = stChnAttr.u32Width; in OSD_Ratio2Absolute()
495 stImageSize.u32Width = stChnAttr.stRect.u32Width; in OSD_Ratio2Absolute()
505 pstAbsCoor->s32X = HiAppcommAlign(stImageSize.u32Width * pstRatioCoor->s32X / MULTIPLE_NUM, 2); in OSD_Ratio2Absolute()
593 for (s32BmCol = 0; s32BmCol < pstContent->stBitmap.u32Width; ++s32BmCol) { in OSD_Bitmap_Cal()
603 HI_S32 s32CharIdx = s32BmCol / pstContent->stFontSize.u32Width; in OSD_Bitmap_Cal()
613 HI_S32 s32CharCol = (s32BmCol - (pstContent->stFontSize.u32Width * s32CharId in OSD_Bitmap_Cal()
[all...]
H A Dive_img.c61 img->u32Width = frm->stVFrame.u32Width; in FrmToOrigImg()
140 img->u32Width = width; in IveImgCreate()
142 img->au32Stride[0] = IveCalStride(img->enType, img->u32Width, ALIGN_TYPE_16); in IveImgCreate()
217 HI_ASSERT(boxWidth > 0 && boxWidth <= src->u32Width); in ImgYuvCrop()
220 HI_ASSERT(src->au32Stride[0] >= src->u32Width); in ImgYuvCrop()
310 frm->stVFrame.u32Width = img->u32Width; in OrigImgToFrm()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
H A Dsample_ive_test_memory.c56 HI_U32 u32Width, HI_U32 u32Height) in SAMPLE_IVE_TestMemory_Init()
63 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstTestMem->stSrc1), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_TestMemory_Init()
67 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstTestMem->stSrc2), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_TestMemory_Init()
71 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstTestMem->stDst), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_TestMemory_Init()
121 stSrcData.u32Width = pstTestMem->stSrc1.u32Width; in SAMPLE_IVE_TestMemoryProc()
127 stDstData.u32Width = pstTestMem->stSrc2.u32Width; in SAMPLE_IVE_TestMemoryProc()
152 if (pu32Hist[0] != pstTestMem->stSrc1.u32Width * pstTestMem->stSrc1.u32Height) { in SAMPLE_IVE_TestMemoryProc()
177 HI_U32 u32Width in SAMPLE_IVE_TestMemory() local
55 SAMPLE_IVE_TestMemory_Init(TEST_MEMORY_S *pstTestMem, HI_CHAR *pchSrcFileName, HI_CHAR *pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) SAMPLE_IVE_TestMemory_Init() argument
[all...]
H A Dsample_ive_st_and_lk.c73 stDataSrc.u32Width = pstSrc->u32Width; in SAMPLE_IVE_St_Lk_DMA()
79 stDataDst.u32Width = pstDst->u32Width; in SAMPLE_IVE_St_Lk_DMA()
135 static HI_S32 SAMPLE_IVE_St_Lk_Init(SAMPLE_IVE_ST_LK_S *pstStLk, HI_CHAR *pchSrcFileName, HI_U32 u32Width, in SAMPLE_IVE_St_Lk_Init() argument
154 SAMPLE_COMM_IVE_CreateImage(&pstStLk->astPrevPyr[i], IVE_IMAGE_TYPE_U8C1, u32Width >> i, u32Height >> i); in SAMPLE_IVE_St_Lk_Init()
159 pstStLk->astPrevPyr[i].u32Width, pstStLk->astPrevPyr[i].u32Height); in SAMPLE_IVE_St_Lk_Init()
188 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstStLk->stStSrc, IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_St_Lk_Init()
191 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstStLk->stStDst, IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_St_Lk_Init()
195 u32Size = 4 * SAMPLE_COMM_IVE_CalcStride(u32Width, IVE_ALIG in SAMPLE_IVE_St_Lk_Init()
[all...]
H A Dsample_ive_sobel_with_cached_mem.c66 static HI_S32 SAMPLE_IVE_Sobel_Init(SAMPLE_IVE_SOBEL_S *pstSobel, HI_CHAR *pchSrcFileName, HI_U32 u32Width, in SAMPLE_IVE_Sobel_Init() argument
82 s32Ret = SAMPLE_COMM_IVE_CreateImageByCached(&(pstSobel->stSrc1), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Sobel_Init()
85 s32Ret = SAMPLE_COMM_IVE_CreateImageByCached(&(pstSobel->stSrc2), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Sobel_Init()
88 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstSobel->stDstH1), IVE_IMAGE_TYPE_S16C1, u32Width, u32Height); in SAMPLE_IVE_Sobel_Init()
91 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstSobel->stDstH2), IVE_IMAGE_TYPE_S16C1, u32Width, u32Height); in SAMPLE_IVE_Sobel_Init()
94 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstSobel->stDstV1), IVE_IMAGE_TYPE_S16C1, u32Width, u32Height); in SAMPLE_IVE_Sobel_Init()
97 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstSobel->stDstV2), IVE_IMAGE_TYPE_S16C1, u32Width, u32Height); in SAMPLE_IVE_Sobel_Init()
216 HI_U32 u32Width = IVE_D1_WIDTH; in SAMPLE_IVE_Sobel() local
226 s32Ret = SAMPLE_IVE_Sobel_Init(&s_stSobel, achSrcFileName, u32Width, u32Height); in SAMPLE_IVE_Sobel()
H A Dsample_ive_gmm2.c114 static HI_S32 SAMPLE_IVE_Gmm2_Init(SAMPLE_IVE_GMM2_S *pstGmm2, HI_U32 u32Width, HI_U32 u32Height, in SAMPLE_IVE_Gmm2_Init() argument
124 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->astSrc[i]), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
129 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stFg), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
131 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stBg), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
133 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stFactor), IVE_IMAGE_TYPE_U16C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
137 for (j = 0; j < pstGmm2->stFactor.u32Width; j++) { in SAMPLE_IVE_Gmm2_Init()
143 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stMatchModelInfo), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
146 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stFgMask), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
148 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stDiffImg), IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Gmm2_Init()
150 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstGmm2->stMagImg), IVE_IMAGE_TYPE_U16C1, u32Width, u32Heigh in SAMPLE_IVE_Gmm2_Init()
519 HI_U32 u32Width = IVE_CIF_WIDTH; SAMPLE_IVE_Gmm2() local
[all...]
H A Dsample_ive_md.c71 static HI_S32 SAMPLE_IVE_Md_Init(SAMPLE_IVE_MD_S *pstMd, HI_U32 u32Width, HI_U32 u32Height) in SAMPLE_IVE_Md_Init() argument
80 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstMd->astImg[i], IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Md_Init()
93 pstMd->stMdAttr.u32Width = u32Width; in SAMPLE_IVE_Md_Init()
167 &(pstMd->stRegion), IVE_RECT_NUM, SAMPLE_IVE_MD_AREA_THR_STEP, pstMdAttr->u32Width, pstMdAttr->u32Height, in SAMPLE_IVE_MdProc()
168 stBaseFrmInfo.stVFrame.u32Width, stBaseFrmInfo.stVFrame.u32Height); in SAMPLE_IVE_MdProc()
253 s32Ret = SAMPLE_IVE_Md_Init(&s_stMd, stSize.u32Width, stSize.u32Height); in SAMPLE_IVE_Md()
H A Dsample_ive_od.c63 static HI_S32 SAMPLE_IVE_Od_Init(SAMPLE_IVE_OD_S *pstOd, HI_U32 u32Width, HI_U32 u32Height) in SAMPLE_IVE_Od_Init() argument
67 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstOd->stSrc, IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Od_Init()
69 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstOd->stInteg, IVE_IMAGE_TYPE_U64C1, u32Width, u32Height); in SAMPLE_IVE_Od_Init()
72 pstOd->u32W = u32Width / IVE_CHAR_CALW; in SAMPLE_IVE_Od_Init()
170 stSrc.u32Width = stExtFrmInfo.stVFrame.u32Width; in SAMPLE_IVE_OdProc()
176 stDst.u32Width = stExtFrmInfo.stVFrame.u32Width; in SAMPLE_IVE_OdProc()
292 s32Ret = SAMPLE_IVE_Od_Init(&s_stOd, stSize.u32Width, stSize.u32Height); in SAMPLE_IVE_Od()
H A Dsample_ive_canny.c67 HI_CHAR *pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) in SAMPLE_IVE_Canny_Init()
93 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstCannyInfo->stSrc, IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Canny_Init()
95 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstCannyInfo->stEdge, IVE_IMAGE_TYPE_U8C1, u32Width, u32Height); in SAMPLE_IVE_Canny_Init()
97 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstCannyInfo->stMag, IVE_IMAGE_TYPE_U16C1, u32Width, u32Height); in SAMPLE_IVE_Canny_Init()
200 HI_U16 u32Width = IVE_D1_WIDTH; in SAMPLE_IVE_Canny() local
228 s32Ret = SAMPLE_IVE_Canny_Init(&s_stCannyInfo, achSrcFileName, achDstFileName, u32Width, u32Height); in SAMPLE_IVE_Canny()
66 SAMPLE_IVE_Canny_Init(SAMPLE_IVE_CANNY_INFO_S *pstCannyInfo, HI_CHAR *pchSrcFileName, HI_CHAR *pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) SAMPLE_IVE_Canny_Init() argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/
H A Dsmp_resize_crop.c206 img->u32Width = width; in IveImgCreate()
208 img->au32Stride[0] = IveCalStride(img->enType, img->u32Width, ALIGN_TYPE_16); in IveImgCreate()
283 HI_ASSERT(boxWidth > 0 && boxWidth <= src->u32Width); in ImgYuvCrop()
286 HI_ASSERT(src->au32Stride[0] >= src->u32Width); in ImgYuvCrop()
385 HI_CHAR* pchSrcFileName, HI_CHAR* pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) in SampleIveResizeInit()
391 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstResizeCropInfo->stSrc, IVE_IMAGE_TYPE_YUV420SP, u32Width, u32Height); in SampleIveResizeInit()
418 HI_CHAR* pchSrcFileName, HI_CHAR* pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) in SampleIveCropInit()
424 s32Ret = SAMPLE_COMM_IVE_CreateImage(&pstResizeCropInfo->stSrc, IVE_IMAGE_TYPE_YUV420SP, u32Width, u32Height); in SampleIveCropInit()
497 HI_ASSERT((src->u32Height % HI_OVEN_BASE) == 0 && (src->u32Width % HI_OVEN_BASE) == 0); in IveResizeOnce()
599 uint32_t srcWidth = src->u32Width; in IveImgResize()
384 SampleIveResizeInit(SampleIveResizeCropInfo* pstResizeCropInfo, HI_CHAR* pchSrcFileName, HI_CHAR* pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) SampleIveResizeInit() argument
417 SampleIveCropInit(SampleIveResizeCropInfo* pstResizeCropInfo, HI_CHAR* pchSrcFileName, HI_CHAR* pchDstFileName, HI_U32 u32Width, HI_U32 u32Height) SampleIveCropInit() argument
751 HI_U16 u32Width = 1920; // 1920: Original image size Width SampleIveImgResize() local
802 HI_U16 u32Width = 1920; // 1920: Original image size Width SampleIveImgCrop() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
H A Dsample_comm_vo.c221 HI_U32 u32Width = 0; in SAMPLE_COMM_VO_StartChn() local
249 u32Width = stLayerAttr.stImageSize.u32Width; in SAMPLE_COMM_VO_StartChn()
251 SAMPLE_PRT("u32Width:%d, u32Height:%d, u32Square:%d\n", u32Width, u32Height, u32Square); in SAMPLE_COMM_VO_StartChn()
253 stChnAttr.stRect.s32X = HI_ALIGN_DOWN((u32Width / u32Square) * (i % u32Square), 2); /* 2 align */ in SAMPLE_COMM_VO_StartChn()
255 stChnAttr.stRect.u32Width = HI_ALIGN_DOWN(u32Width / u32Square, 2); /* 2 align */ in SAMPLE_COMM_VO_StartChn()
542 s32Ret = SAMPLE_COMM_VO_GetWH(stVoPubAttr.enIntfSync, &stLayerAttr.stDispRect.u32Width, in SAMPLE_COMM_VO_StartVO()
563 stLayerAttr.stImageSize.u32Width in SAMPLE_COMM_VO_StartVO()
663 HI_U32 u32Frmt, u32Width, u32Height; SAMPLE_COMM_VO_StartLayerChn() local
[all...]
H A Dsample_comm_region.c88 pstBitmap->u32Width = Surface.u16Width; in REGION_MST_LoadBmp()
104 for (j = 0; j < pstBitmap->u32Width; j++) { in REGION_MST_LoadBmp()
118 for (j = 0; j < pstBitmap->u32Width / 4; j++) { /* 4 align */ in REGION_MST_LoadBmp()
174 CreateSurfaceByCanvas(filename, &Surface, (HI_U8 *)(pstBitmap->pData), pstSize->u32Width, pstSize->u32Height, in REGION_MST_UpdateCanvas()
177 pstBitmap->u32Width = Surface.u16Width; in REGION_MST_UpdateCanvas()
190 for (j = 0; j < pstBitmap->u32Width; j++) { in REGION_MST_UpdateCanvas()
238 stRegion.unAttr.stOverlay.stSize.u32Width = RECT_WIDTH; in SAMPLE_REGION_CreateOverLay()
261 stRegion.unAttr.stOverlayEx.stSize.u32Width = RECT_WIDTH; in SAMPLE_REGION_CreateOverLayEx()
497 stChnAttr.unChnAttr.stOverlayChn.stInvertColor.stInvColArea.u32Width = 16; /* set 16 */ in SAMPLE_COMM_REGION_AttachToChn()
518 stChnAttr.unChnAttr.stCoverChn.stRect.u32Width in SAMPLE_COMM_REGION_AttachToChn()
[all...]
H A Dsample_comm_sys.c147 pstSize->u32Width = 800; /* PIC_D1_MIPI width is 800 */ in SAMPLE_COMM_SYS_GetPicSize()
152 pstSize->u32Width = 352; /* PIC_CIF width is 352 */ in SAMPLE_COMM_SYS_GetPicSize()
157 pstSize->u32Width = 640; /* PIC_360P width is 640 */ in SAMPLE_COMM_SYS_GetPicSize()
162 pstSize->u32Width = 720; /* PIC_D1_PAL width is 720 */ in SAMPLE_COMM_SYS_GetPicSize()
167 pstSize->u32Width = 1280; /* PIC_720P width is 1280 */ in SAMPLE_COMM_SYS_GetPicSize()
172 pstSize->u32Width = IMG_2M_WIDTH; in SAMPLE_COMM_SYS_GetPicSize()
177 pstSize->u32Width = IMG_5M_WIDTH; in SAMPLE_COMM_SYS_GetPicSize()
182 pstSize->u32Width = IMG_4M_WIDTH; in SAMPLE_COMM_SYS_GetPicSize()
187 pstSize->u32Width = IMG_4M_WIDTH; in SAMPLE_COMM_SYS_GetPicSize()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/scenario/tennis_detect/
H A Dtennis_detect.cpp64 pstSrc->u32Width = srcFrame->stVFrame.u32Width; in IveImageParamCfg()
68 pstDst->u32Width = pstSrc->u32Width; in IveImageParamCfg()
118 dstImage->u32Width = pstDst.u32Width; in yuvFrame2rgb()
126 HI_U32 w = srcFrame->stVFrame.u32Width; in frame2Mat()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/
H A Dsample_comm_ive.c42 HI_U16 SAMPLE_COMM_IVE_CalcStride(HI_U32 u32Width, HI_U8 u8Align) in SAMPLE_COMM_IVE_CalcStride() argument
44 return (u32Width + (u8Align - u32Width % u8Align) % u8Align); in SAMPLE_COMM_IVE_CalcStride()
160 width = pstImg->u32Width; in SAMPLE_COMM_IVE_ReadFile()
274 width = pstImg->u32Width; in SAMPLE_COMM_IVE_WriteFile()
441 HI_S32 SAMPLE_COMM_IVE_CreateImage(IVE_IMAGE_S *pstImg, IVE_IMAGE_TYPE_E enType, HI_U32 u32Width, HI_U32 u32Height) in SAMPLE_COMM_IVE_CreateImage() argument
451 pstImg->u32Width = u32Width; in SAMPLE_COMM_IVE_CreateImage()
453 pstImg->au32Stride[0] = SAMPLE_COMM_IVE_CalcStride(pstImg->u32Width, IVE_ALIGN); in SAMPLE_COMM_IVE_CreateImage()
577 HI_S32 SAMPLE_COMM_IVE_CreateImageByCached(IVE_IMAGE_S *pstImg, IVE_IMAGE_TYPE_E enType, HI_U32 u32Width, in SAMPLE_COMM_IVE_CreateImageByCached() argument
661 SAMPLE_COMM_IVE_CreateData(IVE_DATA_S *pstData, HI_U32 u32Width, HI_U32 u32Height) SAMPLE_COMM_IVE_CreateData() argument
[all...]
H A Dsample_comm_ive.h137 HI_U16 SAMPLE_COMM_IVE_CalcStride(HI_U32 u32Width, HI_U8 u8Align);
142 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,
149 HI_S32 SAMPLE_COMM_IVE_CreateData(IVE_DATA_S *pstData, HI_U32 u32Width, HI_U32 u32Height);
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/store_sample/smp/
H A Dsample_store.c147 u64BlkSize = COMMON_GetPicBufferSize(stSnsSize.u32Width, stSnsSize.u32Height, in SAMPLE_VENC_SYS_Init()
255 pstSize->u32Width = stSnsSize.u32Width; in SAMPLE_VENC_ModifyResolution()
278 if ((stSnsSize.u32Width < stSize.u32Width) || (stSnsSize.u32Height < stSize.u32Height)) { in SAMPLE_VENC_CheckSensor()
280 stSnsSize.u32Width, stSnsSize.u32Height, stSize.u32Width, stSize.u32Height); in SAMPLE_VENC_CheckSensor()
311 stVpssGrpAttr.u32MaxW = stSnsSize.u32Width; in SAMPLE_VENC_VPSS_Init()
322 stVpssChnAttr[i].u32Width = stSize[i].u32Width; in SAMPLE_VENC_VPSS_Init()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/vio/smp/
H A Dsample_vio.c113 u32BlkSize = COMMON_GetPicBufferSize(stSize.u32Width, stSize.u32Height, SAMPLE_PIXEL_FORMAT, DATA_BITWIDTH_8, in SAMPLE_VIO_ViOnlineVpssOfflineRoute()
118 u32BlkSize = VI_GetRawBufferSize(stSize.u32Width, stSize.u32Height, PIXEL_FORMAT_RGB_BAYER_16BPP, in SAMPLE_VIO_ViOnlineVpssOfflineRoute()
142 stVpssGrpAttr.u32MaxW = stSize.u32Width; in SAMPLE_VIO_ViOnlineVpssOfflineRoute()
148 astVpssChnAttr[VpssChn].u32Width = stSize.u32Width; in SAMPLE_VIO_ViOnlineVpssOfflineRoute()
331 u32BlkSize = COMMON_GetPicBufferSize(stSize.u32Width, stSize.u32Height, SAMPLE_PIXEL_FORMAT, DATA_BITWIDTH_8, in SAMPLE_VIO_WDR_LDC_DIS_SPREAD()
336 u32BlkSize = VI_GetRawBufferSize(stSize.u32Width, stSize.u32Height, PIXEL_FORMAT_RGB_BAYER_16BPP, in SAMPLE_VIO_WDR_LDC_DIS_SPREAD()
366 stVpssGrpAttr.u32MaxW = stSize.u32Width; in SAMPLE_VIO_WDR_LDC_DIS_SPREAD()
372 astVpssChnAttr[VpssChn].u32Width = stSize.u32Width; in SAMPLE_VIO_WDR_LDC_DIS_SPREAD()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/smp/
H A Dsample_media_opencv.cpp101 g_aicTennisMediaInfo.u32BlkSize = COMMON_GetPicBufferSize(g_aicTennisMediaInfo.stSize.u32Width, in TennisStVbParamCfg()
111 g_aicTennisMediaInfo.u32BlkSize = VI_GetRawBufferSize(g_aicTennisMediaInfo.stSize.u32Width, in TennisStVbParamCfg()
122 g_aicTennisMediaInfo.stSize.u32Width, g_aicTennisMediaInfo.stSize.u32Width); in TennisVpssParamCfg()
194 SAMPLE_PRT("get vpss frame success, weight:%d, height:%d\n", frm.stVFrame.u32Width, frm.stVFrame.u32Height);
261 SAMPLE_PRT("AIC: snsMaxSize=%ux%u\n", g_aicTennisMediaInfo.stSize.u32Width, g_aicTennisMediaInfo.stSize.u32Height);
H A Dsample_media_ai.c118 pstLayerAttr->stDispRect.u32Width = pstDevSize->u32Width; in SAMPLE_VO_GetUserLayerAttr()
121 pstLayerAttr->stImageSize.u32Width = pstDevSize->u32Width; in SAMPLE_VO_GetUserLayerAttr()
135 pstChnAttr[i].stRect.u32Width = pstDevSize->u32Width; in SAMPLE_VO_GetUserChnAttr()
1179 HI_U32 u32Width = 0; in SampleCommVoStartChnMipi() local
1193 u32Width = stLayerAttr.stImageSize.u32Width; in SampleCommVoStartChnMipi()
1195 SAMPLE_PRT("enMode:%d, u32Width in SampleCommVoStartChnMipi()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ai_infer_process/
H A Dai_infer_process.c92 HI_U32 u32ClassNum = pstCnnPara->pstModel->astSeg[0].astDstNode[0].unShape.stWhc.u32Width; in SampleSvpNnieCnnSoftwareParaInit()
123 pstCnnSoftWarePara->stGetTopN.unShape.stWhc.u32Width = u32GetTopFrameSize / sizeof(HI_U32); in SampleSvpNnieCnnSoftwareParaInit()
288 g_stCnnNnieParam.astSegData[0].astSrc[0].unShape.stWhc.u32Width, in CnnCreate()
336 HI_U32 u32Width = 0; in FillNnieByImg() local
361 u32Width = pstNnieParam->astSegData[segId].astSrc[nodeId].unShape.stWhc.u32Width; in FillNnieByImg()
374 if (memcpy_s(pu8PicAddr, u32Width * u32VarSize, srcData, u32Width * u32VarSize) != EOK) { in FillNnieByImg()
384 if (memcpy_s(pu8PicAddr, u32Width * u32VarSize, srcData, u32Width * u32VarSiz in FillNnieByImg()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/helloworld/smp/
H A Dsample_lcd.c84 pstLayerAttr->stDispRect.u32Width = pstDevSize->u32Width; in SAMPLE_VO_GetUserLayerAttr()
87 pstLayerAttr->stImageSize.u32Width = pstDevSize->u32Width; in SAMPLE_VO_GetUserLayerAttr()
101 pstChnAttr[i].stRect.u32Width = pstDevSize->u32Width; in SAMPLE_VO_GetUserChnAttr()
1145 HI_U32 u32Width = 0; in SampleCommVoStartChnMipi() local
1159 u32Width = stLayerAttr.stImageSize.u32Width; in SampleCommVoStartChnMipi()
1161 SAMPLE_PRT("enMode:%d, u32Width in SampleCommVoStartChnMipi()
[all...]

Completed in 23 milliseconds

1234