Home
last modified time | relevance | path

Searched refs:pstPipeFrames (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_avs.cpp319 VIDEO_FRAME_INFO_S **pstPipeFrames; in test_avs_vpss_venc_loop() local
324 pstPipeFrames = reinterpret_cast<VIDEO_FRAME_INFO_S **>( in test_avs_vpss_venc_loop()
327pstPipeFrames[i] = reinterpret_cast<VIDEO_FRAME_INFO_S *>(malloc(sizeof(VIDEO_FRAME_INFO_S))); in test_avs_vpss_venc_loop()
328 memset(pstPipeFrames[i], 0, sizeof(VIDEO_FRAME_INFO_S)); in test_avs_vpss_venc_loop()
444 s32Ret = TEST_AVS_ModGetFrameFromPool(pstAvsCtx, pstPipeFrames); in test_avs_vpss_venc_loop()
446 … s32Ret = TEST_AVS_ModSendFrame(pstAvsCtx->s32GrpIndex, pstAvsCtx->s32PipeNum, pstPipeFrames); in test_avs_vpss_venc_loop()
448 TEST_AVS_ModReleaseFrameToPool(pstAvsCtx, pstPipeFrames); in test_avs_vpss_venc_loop()
452 TEST_AVS_ModReleaseFrameToPool(pstAvsCtx, pstPipeFrames); in test_avs_vpss_venc_loop()
531 RK_SAFE_FREE(pstPipeFrames[i]); in test_avs_vpss_venc_loop()
534 RK_SAFE_FREE(pstPipeFrames); in test_avs_vpss_venc_loop()
[all …]
/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_avs.cpp471 VIDEO_FRAME_INFO_S **pstPipeFrames; in TEST_AVS_UnitTest() local
474 pstPipeFrames = reinterpret_cast<VIDEO_FRAME_INFO_S **>( in TEST_AVS_UnitTest()
479pstPipeFrames[i] = reinterpret_cast<VIDEO_FRAME_INFO_S *>(malloc(sizeof(VIDEO_FRAME_INFO_S))); in TEST_AVS_UnitTest()
480 memset(pstPipeFrames[i], 0, sizeof(VIDEO_FRAME_INFO_S)); in TEST_AVS_UnitTest()
487 s32Ret = TEST_AVS_ModCreateFrame(pstCtx, pstPipeFrames); in TEST_AVS_UnitTest()
498 s32Ret = TEST_AVS_ModSendFrame(pstCtx->s32GrpIndex, pstCtx->s32PipeNum, pstPipeFrames); in TEST_AVS_UnitTest()
529 if (pstPipeFrames[i] && in TEST_AVS_UnitTest()
530 pstPipeFrames[i]->stVFrame.pMbBlk) { in TEST_AVS_UnitTest()
531 RK_MPI_MB_ReleaseMB(pstPipeFrames[i]->stVFrame.pMbBlk); in TEST_AVS_UnitTest()
534 RK_SAFE_FREE(pstPipeFrames[i]); in TEST_AVS_UnitTest()
[all …]