Home
last modified time | relevance | path

Searched refs:RK_ALIGN (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/rockit/mpi/example/include/
H A Dtest_comm_utils.h51 #define RK_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
52 #define RK_ALIGN_16(x) RK_ALIGN(x, 16)
53 #define RK_ALIGN_64(x) RK_ALIGN(x, 64)
54 #define RK_ALIGN_256(x) RK_ALIGN(x, 256)
55 #define RK_ALIGN_256_ODD(x) (RK_ALIGN(x, 256) | 256)
/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_imgproc.cpp459 if (!workaround && hor_stride != RK_ALIGN(hor_stride, pixel_aign * pixel_size)) { in util_check_8_pixel_aligned()
463 RK_ALIGN(hor_stride, pixel_aign * pixel_size)); in util_check_8_pixel_aligned()
676 hor_stride = RK_ALIGN(hor_stride, 16); in TEST_COMM_FillImage()
706 hor_stride = RK_ALIGN(hor_stride, 32); in TEST_COMM_FillImage()
732 hor_stride = RK_ALIGN(hor_stride, 24); in TEST_COMM_FillImage()
H A Dtest_comm_avs.cpp623 pstAvsChnAttrs[i].u32Width = RK_ALIGN(pstCtx->u32DstWidth / 2, 16); in TEST_AVS_InitAttr_Blend_Lut()
624 pstAvsChnAttrs[i].u32Height = RK_ALIGN(pstCtx->u32DstHeight / 2, 2); in TEST_AVS_InitAttr_Blend_Lut()
678 pstAvsChnAttrs[i].u32Width = RK_ALIGN(pstCtx->u32DstWidth / 2, 16); in TEST_AVS_InitAttr_Blend_Calib()
679 pstAvsChnAttrs[i].u32Height = RK_ALIGN(pstCtx->u32DstHeight / 2, 2); in TEST_AVS_InitAttr_Blend_Calib()
714 pstAvsChnAttrs[i].u32Width = RK_ALIGN(pstCtx->u32DstWidth / 2, 16); in TEST_AVS_InitAttr_NoBlend()
715 pstAvsChnAttrs[i].u32Height = RK_ALIGN(pstCtx->u32DstHeight / 2, 2); in TEST_AVS_InitAttr_NoBlend()
/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_venc.cpp234 RK_S32 mb_w = RK_ALIGN(w, 64) / 64; in h265_set_qpmap_64x64()
235 RK_S32 mb_h = RK_ALIGN(h, 64) / 64; in h265_set_qpmap_64x64()
277 RK_U32 qpmapWidth = RK_ALIGN(pstCtx->u32SrcWidth, align) / 16; in venc_send_frame()
278 RK_U32 qpmapHeight = RK_ALIGN(pstCtx->u32SrcHeight, align) / 16; in venc_send_frame()