| /OK3568_Linux_fs/external/rockit/mpi/example/common/ |
| H A D | test_comm_tde.cpp | 57 fwrite(RK_MPI_MB_Handle2VirAddr(pstCtx->pstDst.pMbBlk), in TEST_TDE_Save_DstFrame() 68 pstFrames->stVFrame.pMbBlk = surface->pMbBlk; in TEST_TDE_TransSurfaceToVideoFrame() 161 pstVideoFrame = (RK_U8 *)RK_MPI_MB_Handle2VirAddr(stVideoFrame.stVFrame.pMbBlk); in TEST_TDE_LoadSrcFrame() 178 RK_MPI_SYS_MmzFlushCache(stVideoFrame.stVFrame.pMbBlk, RK_FALSE); in TEST_TDE_LoadSrcFrame() 179 pstCtx->pstSrc.pMbBlk = stVideoFrame.stVFrame.pMbBlk; in TEST_TDE_LoadSrcFrame() 182 RK_MPI_MB_ReleaseMB(stVideoFrame.stVFrame.pMbBlk); in TEST_TDE_LoadSrcFrame() 206 pstCtx->pstDst.pMbBlk = stVideoFrame.stVFrame.pMbBlk; in TEST_TDE_CreateDstFrame() 210 RK_MPI_MB_ReleaseMB(stVideoFrame.stVFrame.pMbBlk); in TEST_TDE_CreateDstFrame() 240 RK_MPI_MB_ReleaseMB(pstCtx->pstSrc.pMbBlk); in TEST_TDE_ProcessJob() 241 RK_MPI_MB_ReleaseMB(pstCtx->pstDst.pMbBlk); in TEST_TDE_ProcessJob() [all …]
|
| H A D | test_comm_vgs.cpp | 57 fwrite(RK_MPI_MB_Handle2VirAddr(pstCtx->stImgOut.stVFrame.pMbBlk), in TEST_VGS_Save_DstFrame() 120 pstVideoFrame = (RK_U8 *)RK_MPI_MB_Handle2VirAddr(stVideoFrame->stVFrame.pMbBlk); in TEST_VGS_LoadSrcFrame() 132 RK_MPI_SYS_MmzFlushCache(stVideoFrame->stVFrame.pMbBlk, RK_FALSE); in TEST_VGS_LoadSrcFrame() 136 RK_MPI_MB_ReleaseMB(stVideoFrame->stVFrame.pMbBlk); in TEST_VGS_LoadSrcFrame() 163 RK_MPI_MB_ReleaseMB(stVideoFrame->stVFrame.pMbBlk); in TEST_VGS_CreateDstFrame() 190 RK_MPI_MB_ReleaseMB(pstCtx->stImgIn.stVFrame.pMbBlk); in TEST_VGS_ProcessJob() 191 RK_MPI_MB_ReleaseMB(pstCtx->stImgOut.stVFrame.pMbBlk); in TEST_VGS_ProcessJob() 208 RK_MPI_MB_ReleaseMB(pstCtx->stImgIn.stVFrame.pMbBlk); in TEST_VGS_SingleProc() 209 RK_MPI_MB_ReleaseMB(pstCtx->stImgOut.stVFrame.pMbBlk); in TEST_VGS_SingleProc() 223 RK_MPI_MB_ReleaseMB(pstCtx->stImgIn.stVFrame.pMbBlk); in TEST_VGS_MultiProc() [all …]
|
| H A D | test_comm_sys.cpp | 44 CHECK_RET(RK_MPI_SYS_MmzAlloc_Cached(&(pstVideoFrame->stVFrame.pMbBlk), in TEST_SYS_CreateVideoFrame() 500 RK_MPI_SYS_MmzFlushCache(stCompareFrame.stVFrame.pMbBlk, RK_FALSE); in TEST_SYS_FuzzyCompareFrameByFile() 501 RK_MPI_SYS_MmzFlushCache(pstVideoFrame->stVFrame.pMbBlk, RK_FALSE); in TEST_SYS_FuzzyCompareFrameByFile() 503 (RK_U8 *)RK_MPI_MB_Handle2VirAddr(pstVideoFrame->stVFrame.pMbBlk), in TEST_SYS_FuzzyCompareFrameByFile() 504 (RK_U8 *)RK_MPI_MB_Handle2VirAddr(stCompareFrame.stVFrame.pMbBlk), in TEST_SYS_FuzzyCompareFrameByFile() 517 RK_MPI_MB_ReleaseMB(stCompareFrame.stVFrame.pMbBlk); in TEST_SYS_FuzzyCompareFrameByFile() 539 s32Ret = TEST_COMM_FillImage((RK_U8 *)RK_MPI_MB_Handle2VirAddr(stCompareFrame.stVFrame.pMbBlk), in TEST_SYS_FuzzyCompareFrame() 549 RK_MPI_SYS_MmzFlushCache(stCompareFrame.stVFrame.pMbBlk, RK_FALSE); in TEST_SYS_FuzzyCompareFrame() 550 RK_MPI_SYS_MmzFlushCache(pstVideoFrame->stVFrame.pMbBlk, RK_FALSE); in TEST_SYS_FuzzyCompareFrame() 552 (RK_U8 *)RK_MPI_MB_Handle2VirAddr(pstVideoFrame->stVFrame.pMbBlk), in TEST_SYS_FuzzyCompareFrame() [all …]
|
| H A D | test_comm_utils.cpp | 172 u32ReadSize = fread(RK_MPI_MB_Handle2VirAddr(pstVideoFrame->stVFrame.pMbBlk), in TEST_COMM_FileReadOneFrame() 180 RK_MPI_SYS_MmzFlushCache(pstVideoFrame->stVFrame.pMbBlk, RK_FALSE); in TEST_COMM_FileReadOneFrame() 210 RK_MPI_SYS_MmzFlushCache(pstVideoFrame->stVFrame.pMbBlk, RK_TRUE); in TEST_COMM_FileWriteOneFrame() 218 fwrite(RK_MPI_MB_Handle2VirAddr(pstVideoFrame->stVFrame.pMbBlk), in TEST_COMM_FileWriteOneFrame()
|
| H A D | test_comm_avs.cpp | 241 pstVideoFrames[AvsPipe]->stVFrame.pMbBlk = blk; in TEST_AVS_ModGetFrameFromPool() 273 … (RK_U8 *)RK_MPI_MB_Handle2VirAddr(pstVideoFrames[AvsPipe]->stVFrame.pMbBlk), in TEST_AVS_ModGetFrameFromPool() 291 RK_MPI_SYS_MmzFlushCache(pstVideoFrames[AvsPipe]->stVFrame.pMbBlk, RK_FALSE); in TEST_AVS_ModGetFrameFromPool() 301 if (pstVideoFrames[AvsPipe] && pstVideoFrames[AvsPipe]->stVFrame.pMbBlk) { in TEST_AVS_ModReleaseFrameToPool() 302 s32Ret = RK_MPI_MB_ReleaseMB(pstVideoFrames[AvsPipe]->stVFrame.pMbBlk); in TEST_AVS_ModReleaseFrameToPool() 303 pstVideoFrames[AvsPipe]->stVFrame.pMbBlk = RK_NULL; in TEST_AVS_ModReleaseFrameToPool() 354 … (RK_U8 *)RK_MPI_MB_Handle2VirAddr(pstVideoFrames[AvsPipe]->stVFrame.pMbBlk), in TEST_AVS_ModCreateFrame() 373 RK_MPI_SYS_MmzFlushCache(pstVideoFrames[AvsPipe]->stVFrame.pMbBlk, RK_FALSE); in TEST_AVS_ModCreateFrame() 380 RK_MPI_MB_ReleaseMB(pstVideoFrames[AvsPipe]->stVFrame.pMbBlk); in TEST_AVS_ModCreateFrame() 396 AvsGrp, AvsPipe, pstVideoFrames[AvsPipe]->stVFrame.pMbBlk, s32Ret); in TEST_AVS_ModSendFrame() [all …]
|
| H A D | test_comm_vpss.cpp | 264 frameIn.stVFrame.pMbBlk = srcBlk; in TEST_VPSS_Proc() 283 …RK_LOGI("get chn[%d] frame %p length %d", i, frameOut.stVFrame.pMbBlk, stMbPicCalResult.u32MBSize); in TEST_VPSS_Proc() 285 RK_MPI_SYS_MmzFlushCache(frameOut.stVFrame.pMbBlk, RK_TRUE); in TEST_VPSS_Proc() 286 fwrite(RK_MPI_MB_Handle2VirAddr(frameOut.stVFrame.pMbBlk), in TEST_VPSS_Proc()
|
| H A D | test_comm_vdec.cpp | 117 stStream.pMbBlk = pStreamBlk; in TEST_VDEC_SendStreamProc() 131 RK_MPI_SYS_Free(stStream.pMbBlk); in TEST_VDEC_SendStreamProc()
|
| H A D | test_comm_venc.cpp | 194 pData = RK_MPI_MB_Handle2VirAddr(stVencStream.pstPack->pMbBlk); in TEST_VENC_SnapProcess() 195 RK_MPI_SYS_MmzFlushCache(stVencStream.pstPack->pMbBlk, RK_TRUE); in TEST_VENC_SnapProcess() 236 pData = RK_MPI_MB_Handle2VirAddr(stVencStream.pstPack->pMbBlk); in TEST_VENC_GetVencStreamProc() 237 RK_MPI_SYS_MmzFlushCache(stVencStream.pstPack->pMbBlk, RK_TRUE); in TEST_VENC_GetVencStreamProc() 355 stFrame.stVFrame.pMbBlk = blk; in TEST_VENC_SendVencFrameProc()
|
| H A D | test_mod_vpss.cpp | 312 (RK_U8 *)RK_MPI_MB_Handle2VirAddr(stVideoFrame.stVFrame.pMbBlk), in TEST_VPSS_ModSendFrame() 322 RK_MPI_SYS_MmzFlushCache(stVideoFrame.stVFrame.pMbBlk, RK_FALSE); in TEST_VPSS_ModSendFrame() 330 RK_MPI_MB_ReleaseMB(stVideoFrame.stVFrame.pMbBlk); in TEST_VPSS_ModSendFrame()
|
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/sys/ |
| H A D | test_sys_avio.cpp | 39 MB_BLK mb = vstream->pMbBlk; in test_dump_vstream_info() 62 RK_MPI_SYS_MmzAlloc(&(vstream.pMbBlk), RK_NULL, RK_NULL, 250); in test_video_stream() 67 RK_MPI_MB_ReleaseMB(vstream.pMbBlk); in test_video_stream() 77 RK_MPI_SYS_CreateMB(&(vstream.pMbBlk), &extConfig); in test_video_stream() 82 RK_MPI_SYS_Free(vstream.pMbBlk); in test_video_stream() 97 RK_MPI_SYS_CreateMB(&(vstream.pMbBlk), &extConfig); in test_video_stream() 100 RK_MPI_SYS_Free(vstream.pMbBlk); in test_video_stream()
|
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_vgs.cpp | 139 videoFrameIn.pMbBlk = srcBlk; in unit_test_vgs_generate_scale_task() 164 videoFrameOut.pMbBlk = dstBlk; in unit_test_vgs_generate_scale_task() 195 videoFrameIn.pMbBlk = srcBlk; in unit_test_vgs_generate_rotation_task() 226 videoFrameOut.pMbBlk = dstBlk; in unit_test_vgs_generate_rotation_task() 255 videoFrameIn.pMbBlk = srcBlk; in unit_test_vgs_generate_crop_task() 282 videoFrameOut.pMbBlk = dstBlk; in unit_test_vgs_generate_crop_task() 340 videoFrameOut.pMbBlk = dstBlk; in unit_test_vgs_generate_cover_task_array() 387 pstOsd[i].pMbBlk = osdBlk; in unit_test_set_vgs_osd_array_info() 415 videoFrameOut.pMbBlk = dstBlk; in unit_test_vgs_generate_osd_task_array() 464 videoFrameOut.pMbBlk = dstBlk; in unit_test_vgs_generate_drawline_task_array() [all …]
|
| H A D | test_mpi_tde.cpp | 87 MB_BLK dstBlk = pstDst->pMbBlk; in test_tde_save_result() 196 memcpy(RK_MPI_MB_Handle2VirAddr(pstDst->pMbBlk), in test_tde_quick_fill_task() 197 RK_MPI_MB_Handle2VirAddr(pstSrc->pMbBlk), in test_tde_quick_fill_task() 198 RK_MPI_MB_GetSize(pstSrc->pMbBlk)); in test_tde_quick_fill_task() 373 pstSrc[u32TaskIndex].pMbBlk = srcBlk; in test_tde_job() 374 pstDst[u32TaskIndex].pMbBlk = dstBlk; in test_tde_job()
|
| H A D | test_mpi_adec.cpp | 171 RK_MPI_SYS_CreateMB(&(stAudioStream.pMbBlk), &extConfig); in send_stream_thread() 178 RK_MPI_MB_ReleaseMB(stAudioStream.pMbBlk); in send_stream_thread() 217 MB_BLK bBlk = pstFrmInfo->pstFrame->pMbBlk; in receive_data_thread()
|
| H A D | test_mpi_aenc.cpp | 189 RK_MPI_SYS_CreateMB(&(stAudioFrm.pMbBlk), &extConfig); in send_frame_thread() 195 RK_MPI_MB_ReleaseMB(stAudioFrm.pMbBlk); in send_frame_thread() 234 MB_BLK bBlk = pstStream.pMbBlk; in receive_stream_thread()
|
| H A D | test_mpi_vdec.cpp | 87 base = (RK_U8 *)RK_MPI_MB_Handle2VirAddr(pstFrame->stVFrame.pMbBlk); in dump_frame_to_file() 88 RK_MPI_SYS_MmzFlushCache(pstFrame->stVFrame.pMbBlk, RK_TRUE); in dump_frame_to_file() 458 stStream.pMbBlk = buffer; in mpi_send_stream() 468 RK_MPI_MB_ReleaseMB(stStream.pMbBlk); in mpi_send_stream() 475 RK_MPI_MB_ReleaseMB(stStream.pMbBlk); in mpi_send_stream()
|
| H A D | test_mpi_vi.cpp | 383 buffer->pMbBlk = srcBlk; in readFromPic() 872 pData = RK_MPI_MB_Handle2VirAddr(ctx->stFrame[i].pstPack->pMbBlk); in test_vi_bind_vpss_venc_loop() 992 pData = RK_MPI_MB_Handle2VirAddr(ctx->stFrame[i].pstPack->pMbBlk); in test_vi_bind_venc_loop() 1088 ctx->stUsrPic.unUsrPic.stUsrPicFrm.stVFrame.pMbBlk) { in test_vi_get_release_frame_loop() 1089 RK_MPI_MMZ_Free(ctx->stUsrPic.unUsrPic.stUsrPicFrm.stVFrame.pMbBlk); in test_vi_get_release_frame_loop() 1090 ctx->stUsrPic.unUsrPic.stUsrPicFrm.stVFrame.pMbBlk = RK_NULL; in test_vi_get_release_frame_loop() 1101 void *data = RK_MPI_MB_Handle2VirAddr(ctx->stViFrame.stVFrame.pMbBlk); in test_vi_get_release_frame_loop() 1105 RK_MPI_MB_GetLength(ctx->stViFrame.stVFrame.pMbBlk)); in test_vi_get_release_frame_loop() 1268 void *data = RK_MPI_MB_Handle2VirAddr(pstViCtx[i]->stViFrame.stVFrame.pMbBlk); in test_vi_muti_vi_loop() 1273 RK_MPI_MB_GetLength(pstViCtx[i]->stViFrame.stVFrame.pMbBlk)); in test_vi_muti_vi_loop()
|
| H A D | test_mpi_gdc.cpp | 1201 stLineFrame.stVFrame.pMbBlk = pLineMbBlk; in test_mpi_gdc_api() 1237 … ctx->stTask.stImgIn.stVFrame.pMbBlk = RK_MPI_MB_GetMB(ctx->inPool, ctx->u32SrcSize, RK_TRUE); in test_mpi_gdc_api() 1238 if (RK_NULL == ctx->stTask.stImgIn.stVFrame.pMbBlk) { in test_mpi_gdc_api() 1257 ctx->stTask.stImgOut.stVFrame.pMbBlk = ctx->stTask.stImgIn.stVFrame.pMbBlk; in test_mpi_gdc_api() 1264 pSrcData = RK_MPI_MB_Handle2VirAddr(ctx->stTask.stImgIn.stVFrame.pMbBlk); in test_mpi_gdc_api() 1279 RK_MPI_MB_ReleaseMB(ctx->stTask.stImgIn.stVFrame.pMbBlk); in test_mpi_gdc_api() 1286 RK_MPI_SYS_MmzFlushCache(ctx->stTask.stImgIn.stVFrame.pMbBlk, RK_FALSE); in test_mpi_gdc_api() 1339 RK_MPI_VO_DestroyGraphicsFrameBuffer(ctx->stTask.stImgIn.stVFrame.pMbBlk); in test_mpi_gdc_api() 1381 RK_MPI_MB_ReleaseMB(ctx->stTask.stImgIn.stVFrame.pMbBlk); in test_mpi_gdc_api()
|
| H A D | test_mpi_ai.cpp | 226 void* data = RK_MPI_MB_Handle2VirAddr(frame.pMbBlk); in sendDataThread() 228 RK_U64 len = RK_MPI_MB_GetLength(frame.pMbBlk); in sendDataThread()
|
| H A D | test_mpi_all.cpp | 217 stStream.pMbBlk = buffer; in mpi_send_stream() 227 RK_MPI_MB_ReleaseMB(stStream.pMbBlk); in mpi_send_stream() 234 RK_MPI_MB_ReleaseMB(stStream.pMbBlk); in mpi_send_stream()
|
| H A D | test_mpi_ao.cpp | 267 RK_MPI_SYS_CreateMB(&(frame.pMbBlk), &extConfig); in sendDataThread() 275 RK_MPI_MB_ReleaseMB(frame.pMbBlk); in sendDataThread()
|
| /OK3568_Linux_fs/external/rockit/mpi/sdk/include/ |
| H A D | rk_comm_aio.h | 49 MB_BLK pMbBlk; member 94 MB_BLK pMbBlk; member
|
| H A D | rk_comm_tde.h | 55 MB_BLK pMbBlk;/* <Header address of a bitmap or the Y component */ member
|
| H A D | rk_comm_vgs.h | 83 MB_BLK pMbBlk; member
|
| H A D | rk_comm_vdec.h | 96 MB_BLK pMbBlk; member
|
| /OK3568_Linux_fs/kernel/include/soc/rockchip/ |
| H A D | rockchip_rockit.h | 34 u32 pMbBlk; member
|