Searched refs:HI_ALIGN_UP (Results 1 - 7 of 7) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_buffer.h | 59 u32Align = (HI_ALIGN_UP(u32Align, DEFAULT_ALIGN)); in COMMON_GetPicBufferConfig() 77 u32AlignHeight = HI_ALIGN_UP(u32Height, 2); in COMMON_GetPicBufferConfig() 80 u32MainStride = HI_ALIGN_UP((u32Width * u32BitWidth + 7) >> 3, u32Align); in COMMON_GetPicBufferConfig() 105 u32MainStride = HI_ALIGN_UP(u32Width, u32Align); in COMMON_GetPicBufferConfig() 136 u32HeadSize = HI_ALIGN_UP(u32HeadSize, u32Align); in COMMON_GetPicBufferConfig() 194 u32Align = (HI_ALIGN_UP(u32Align, DEFAULT_ALIGN)); in VI_GetRawBufferSizeEx() 230 u32Stride = HI_ALIGN_UP(HI_ALIGN_UP(u32Width * u32BitWidth, 8) / 8, u32Align); in VI_GetRawBufferSizeEx() 234 u32Tmp = HI_ALIGN_UP((16 + u32Width * u32BitWidth * 1000UL / u32RawCmpRatio + 8192 + 127) / 128, 2); in VI_GetRawBufferSizeEx() 235 u32Stride = HI_ALIGN_UP(u32Tm in VI_GetRawBufferSizeEx() [all...] |
H A D | hi_math.h | 67 * HI_ALIGN_UP(x, a) align x to multiple of a 70 * HI_ALIGN_UP(5,4) = 8 76 #define HI_ALIGN_UP(x, a) ((((x) + ((a) - 1)) / (a)) * (a)) macro
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hi_buffer.h | 59 u32Align = (HI_ALIGN_UP(u32Align, DEFAULT_ALIGN)); in COMMON_GetPicBufferConfig() 77 u32AlignHeight = HI_ALIGN_UP(u32Height, 2); in COMMON_GetPicBufferConfig() 80 u32MainStride = HI_ALIGN_UP((u32Width * u32BitWidth + 7) >> 3, u32Align); in COMMON_GetPicBufferConfig() 105 u32MainStride = HI_ALIGN_UP(u32Width, u32Align); in COMMON_GetPicBufferConfig() 136 u32HeadSize = HI_ALIGN_UP(u32HeadSize, u32Align); in COMMON_GetPicBufferConfig() 194 u32Align = (HI_ALIGN_UP(u32Align, DEFAULT_ALIGN)); in VI_GetRawBufferSizeEx() 230 u32Stride = HI_ALIGN_UP(HI_ALIGN_UP(u32Width * u32BitWidth, 8) / 8, u32Align); in VI_GetRawBufferSizeEx() 234 u32Tmp = HI_ALIGN_UP((16 + u32Width * u32BitWidth * 1000UL / u32RawCmpRatio + 8192 + 127) / 128, 2); in VI_GetRawBufferSizeEx() 235 u32Stride = HI_ALIGN_UP(u32Tm in VI_GetRawBufferSizeEx() [all...] |
H A D | hi_math.h | 69 * HI_ALIGN_UP(x, a) align x to multiple of a 72 * HI_ALIGN_UP(5,4) = 8 78 #define HI_ALIGN_UP(x, a) ((((x) + ((a) - 1)) / (a)) * (a)) macro
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/ |
H A D | sample_comm_vi.c | 2074 return (HI_ALIGN_UP(u32ByteAlign, DEFAULT_ALIGN)); in SAMPLE_VI_GetValidAlign() 2087 u32Stride = HI_ALIGN_UP(HI_ALIGN_UP(u32Width * u32BitWidth, 8) / 8, u32ByteAlign); /* 8 align */ in SAMPLE_VI_GetRawStride() 2111 u32Stride = HI_ALIGN_UP((pstFrmCfg->u32Width * 8 + 8 - 1) / 8, DEFAULT_ALIGN); /* 8 align */ in SAMPLE_VI_GetFrameBlkInfo() 2116 u32Stride = HI_ALIGN_UP((pstFrmCfg->u32Width * 8 + 8 - 1) / 8, DEFAULT_ALIGN); /* 8 align */ in SAMPLE_VI_GetFrameBlkInfo() 2121 u32Stride = HI_ALIGN_UP((pstFrmCfg->u32Width * 8 + 8 - 1) / 8, DEFAULT_ALIGN); /* 8 align */ in SAMPLE_VI_GetFrameBlkInfo()
|
H A D | sample_comm_venc.c | 392 HI_ALIGN_UP(stPicSize.u32Width, 16) * HI_ALIGN_UP(stPicSize.u32Height, 16); /* 16 align */ in SAMPLE_COMM_VENC_Create() 395 HI_ALIGN_UP(stPicSize.u32Width * stPicSize.u32Height * 3 / 4, 64); /* * 3 / 4, 64 align */ in SAMPLE_COMM_VENC_Create() 975 HI_ALIGN_UP(pstSize->u32Width, 16) * HI_ALIGN_UP(pstSize->u32Height, 16); /* 16 align */ in SAMPLE_COMM_VENC_SnapStart()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
H A D | hi_math.h | 70 * HI_ALIGN_UP(x, a) align x to multiple of a 73 * HI_ALIGN_UP(5,4) = 8 79 #define HI_ALIGN_UP(x, a) ((((x) + ((a) - 1)) / (a)) * (a)) macro
|
Completed in 10 milliseconds