Home
last modified time | relevance | path

Searched refs:stMbPoolCfg (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_mod_vpss.cpp69 MB_POOL_CONFIG_S stMbPoolCfg; in TEST_VPSS_CreatePool() local
84 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in TEST_VPSS_CreatePool()
85 stMbPoolCfg.u64MBSize = stMbPicCalResult.u32MBSize; in TEST_VPSS_CreatePool()
86 stMbPoolCfg.u32MBCnt = 10; in TEST_VPSS_CreatePool()
87 stMbPoolCfg.enRemapMode = MB_REMAP_MODE_CACHED; in TEST_VPSS_CreatePool()
88 stMbPoolCfg.bPreAlloc = RK_TRUE; in TEST_VPSS_CreatePool()
90 return RK_MPI_MB_CreatePool(&stMbPoolCfg); in TEST_VPSS_CreatePool()
H A Dtest_comm_venc.cpp307 MB_POOL_CONFIG_S stMbPoolCfg; in TEST_VENC_SendVencFrameProc() local
326 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in TEST_VENC_SendVencFrameProc()
327 stMbPoolCfg.u64MBSize = u32BufferSize; in TEST_VENC_SendVencFrameProc()
328 stMbPoolCfg.u32MBCnt = pstThreadInfo->stVencCtx.u32StreamBufCnt; in TEST_VENC_SendVencFrameProc()
329 stMbPoolCfg.enAllocType = MB_ALLOC_TYPE_DMA; in TEST_VENC_SendVencFrameProc()
330 pstThreadInfo->pool = RK_MPI_MB_CreatePool(&stMbPoolCfg); in TEST_VENC_SendVencFrameProc()
H A Dtest_comm_avs.cpp168 MB_POOL_CONFIG_S stMbPoolCfg; in TEST_AVS_ModCreateFramePool() local
184 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in TEST_AVS_ModCreateFramePool()
185 stMbPoolCfg.u64MBSize = stMbPicCalResult.u32MBSize; in TEST_AVS_ModCreateFramePool()
186 stMbPoolCfg.u32MBCnt = 2; in TEST_AVS_ModCreateFramePool()
187 stMbPoolCfg.enAllocType = MB_ALLOC_TYPE_DMA; in TEST_AVS_ModCreateFramePool()
188 stMbPoolCfg.bPreAlloc = RK_TRUE; in TEST_AVS_ModCreateFramePool()
189 pstCtx->srcVFramePools[AvsPipe] = RK_MPI_MB_CreatePool(&stMbPoolCfg); in TEST_AVS_ModCreateFramePool()
/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_venc.cpp477 MB_POOL_CONFIG_S stMbPoolCfg; in unit_test_mpi_venc() local
513 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in unit_test_mpi_venc()
514 stMbPoolCfg.u64MBSize = ctx->u32BufferSize; in unit_test_mpi_venc()
515 stMbPoolCfg.u32MBCnt = 3 * ctx->u32ChNum; in unit_test_mpi_venc()
516 stMbPoolCfg.enAllocType = MB_ALLOC_TYPE_DMA; in unit_test_mpi_venc()
517 stMbPoolCfg.bPreAlloc = RK_TRUE; in unit_test_mpi_venc()
518 ctx->vencPoolInput = RK_MPI_MB_CreatePool(&stMbPoolCfg); in unit_test_mpi_venc()
607 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in unit_test_mpi_venc()
608 stMbPoolCfg.u64MBSize = ctx->u32StreamSize; in unit_test_mpi_venc()
609 stMbPoolCfg.u32MBCnt = 3; in unit_test_mpi_venc()
[all …]
H A Dtest_mpi_vdec.cpp190 MB_POOL_CONFIG_S stMbPoolCfg; in mpi_create_vdec() local
251 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in mpi_create_vdec()
264 stMbPoolCfg.u64MBSize = stMbPicCalResult.u32MBSize;; in mpi_create_vdec()
265 stMbPoolCfg.u32MBCnt = 10; in mpi_create_vdec()
266 stMbPoolCfg.enRemapMode = MB_REMAP_MODE_CACHED; in mpi_create_vdec()
267 stMbPoolCfg.bPreAlloc = RK_TRUE; in mpi_create_vdec()
268 ctx->s32Pool = RK_MPI_MB_CreatePool(&stMbPoolCfg); in mpi_create_vdec()
H A Dtest_mpi_gdc.cpp1136 MB_POOL_CONFIG_S stMbPoolCfg; in test_mpi_gdc_api() local
1143 memset(&stMbPoolCfg, 0, sizeof(MB_POOL_CONFIG_S)); in test_mpi_gdc_api()
1146 stMbPoolCfg.u64MBSize = ctx->u32SrcSize; in test_mpi_gdc_api()
1147 stMbPoolCfg.u32MBCnt = 4; in test_mpi_gdc_api()
1148 stMbPoolCfg.enAllocType = MB_ALLOC_TYPE_DMA; in test_mpi_gdc_api()
1149 ctx->inPool = RK_MPI_MB_CreatePool(&stMbPoolCfg); in test_mpi_gdc_api()
H A Dtest_mpi_all.cpp94 MB_POOL_CONFIG_S stMbPoolCfg; in mpi_create_vdec() local