Home
last modified time | relevance | path

Searched refs:s32DevId (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_sys.cpp33 RK_S32 s32DevId; member
41 AUDIO_DEV aoDevId = (AUDIO_DEV)pstCtx->s32DevId; in test_ao_dev_init()
62 s32Ret = RK_MPI_AO_Disable(pstCtx->s32DevId); in test_ao_dev_deinit()
124 RK_S32 s32DevId = pstCtx->s32DevId; in test_adec_destroy_channel() local
140 s32Ret = RK_MPI_AO_EnableChn(pstCtx->s32DevId, AdChn); in test_ao_enable_channel()
153 s32Ret = RK_MPI_AO_DisableChn(pstCtx->s32DevId, AoChn); in test_ao_disable_channel()
164 RK_S32 s32DevId = pstCtx->s32DevId; in test_bind_adec_ao() local
168 stSrcChn.s32DevId = s32DevId; in test_bind_adec_ao()
172 stDstChn.s32DevId = s32DevId; in test_bind_adec_ao()
181 RK_S32 s32DevId = pstCtx->s32DevId; in test_unbind_adec_ao() local
[all …]
H A Dtest_mpi_amix.cpp26 RK_S32 s32DevId; member
40 ret = RK_MPI_AMIX_SetControl(ctx->s32DevId, ctx->psControlName, ctx->psControlValue); in unit_test_mpi_amix()
48 ret = RK_MPI_AMIX_GetControl(ctx->s32DevId, ctx->psControlName, value); in unit_test_mpi_amix()
57 ret = RK_MPI_AMIX_GetControl(ctx->s32DevId, ctx->psControlName, NULL); in unit_test_mpi_amix()
65 RK_MPI_AMIX_ListControls(ctx->s32DevId); in unit_test_mpi_amix()
68 RK_MPI_AMIX_ListContents(ctx->s32DevId); in unit_test_mpi_amix()
80 RK_PRINT("sound control id : %d\n", ctx->s32DevId); in mpi_amix_test_show_options()
91 ctx->s32DevId = 0; in main()
100 OPT_INTEGER('C', "card", &(ctx->s32DevId), in main()
H A Dtest_mpi_ao.cpp45 RK_S32 s32DevId; member
117 AUDIO_DEV aoDevId = ctx->s32DevId; in test_open_device_ao()
161 result = RK_MPI_AO_EnableChn(params->s32DevId, params->s32ChnIndex); in test_init_mpi_ao()
168 result = RK_MPI_AO_EnableReSmp(params->s32DevId, params->s32ChnIndex, in test_init_mpi_ao()
195 AUDIO_DEV aoDevId = ctx->s32DevId; in test_close_device_ao()
269 result = RK_MPI_AO_SendFrame(params->s32DevId, params->s32ChnIndex, &frame, s32MilliSec); in sendDataThread()
284 RK_MPI_AO_WaitEos(params->s32DevId, params->s32ChnIndex, s32MilliSec); in sendDataThread()
303 RK_MPI_AO_SetMute(params->s32DevId, mute, &aFade); in commandThread()
304 RK_MPI_AO_SetVolume(params->s32DevId, params->s32SetVolume); in commandThread()
309 RK_MPI_AO_SetTrackMode(params->s32DevId, (AUDIO_TRACK_MODE_E)params->s32SetTrackMode); in commandThread()
[all …]
H A Dtest_mpi_ai.cpp46 RK_S32 s32DevId; member
112 AUDIO_DEV aiDevId = ctx->s32DevId; in test_open_device_ai()
165 result = RK_MPI_AI_EnableChn(params->s32DevId, params->s32ChnIndex); in test_init_mpi_ai()
173 params->s32DevFd = RK_MPI_AI_GetFd(params->s32DevId, params->s32ChnIndex); in test_init_mpi_ai()
174 …RK_LOGI("ai (devId: %d, chnId: %d), selectFd:%d", params->s32DevId, params->s32ChnIndex, params->s… in test_init_mpi_ai()
177 result = RK_MPI_AI_EnableReSmp(params->s32DevId, params->s32ChnIndex, in test_init_mpi_ai()
188 RK_MPI_AI_DisableReSmp(params->s32DevId, params->s32ChnIndex); in test_deinit_mpi_ai()
189 RK_S32 result = RK_MPI_AI_DisableChn(params->s32DevId, params->s32ChnIndex); in test_deinit_mpi_ai()
195 result = RK_MPI_AI_Disable(params->s32DevId); in test_deinit_mpi_ai()
217 RK_MPI_AI_SaveFile(params->s32DevId, params->s32ChnIndex, &save); in sendDataThread()
[all …]
H A Dtest_mpi_all.cpp661 stSrcChn.s32DevId = 0; in unit_test_mpi_all()
664 stDestChn.s32DevId = 0; in unit_test_mpi_all()
673 stDestChn.s32DevId = 1; in unit_test_mpi_all()
696 stSrcChn.s32DevId = 0; in unit_test_mpi_all()
699 stDestChn.s32DevId = 0; in unit_test_mpi_all()
708 stDestChn.s32DevId = 1; in unit_test_mpi_all()
718 stDestChn.s32DevId = 0; in unit_test_mpi_all()
728 stSrcChn.s32DevId = 0; in unit_test_mpi_all()
731 stDestChn.s32DevId = 0; in unit_test_mpi_all()
741 stSrcChn.s32DevId = 0; in unit_test_mpi_all()
[all …]
H A Dtest_mpi_avs.cpp65 VO_DEV s32DevId; member
126 VO_DEV VoDev = ctx->s32DevId; in create_vo()
253 VO_DEV VoDev = ctx->s32DevId; in destroy_vo()
572 pstVoCtx.s32DevId = RK3588_VO_DEV_HDMI; in test_avs_vo_loop()
574 if (RK3588_VO_DEV_HDMI == pstVoCtx.s32DevId) { in test_avs_vo_loop()
577 } else if (RK3588_VO_DEV_MIPI == pstVoCtx.s32DevId) { in test_avs_vo_loop()
613 pstVoCtx.s32DevId, in test_avs_vo_loop()
654 pstVoCtx.s32DevId, pstVoCtx.s32ChnId); in test_avs_vo_loop()
658 pstVoCtx.s32DevId, pstVoCtx.s32ChnId); in test_avs_vo_loop()
665 pstVoCtx.s32DevId, pstVoCtx.s32LayerId, in test_avs_vo_loop()
[all …]
H A Dtest_mpi_vo.cpp865 stSrcChn.s32DevId = 0; in screen1_process()
870 stDstChn.s32DevId = ctx->stVoCfg.u32Screen1VoLayer; in screen1_process()
903 stSrcChn.s32DevId = 0; in screen0_process()
908 stDstChn.s32DevId = ctx->stVoCfg.u32Screen0VoLayer; in screen0_process()
910 RK_LOGD("voLayer %d, voCh %d", stDstChn.s32DevId, stDstChn.s32ChnId); in screen0_process()
932 stSrcChn.s32DevId = 0; in wbc_process()
945 stDstChn.s32DevId = ctx->stVoCfg.u32Screen0VoLayer; in wbc_process()
953 stDstChn.s32DevId = ctx->stVoCfg.u32Screen1VoLayer; in wbc_process()
1044 stSrcChn.s32DevId = 0; in unit_mpi_voplay_test()
1048 stDstChn.s32DevId in unit_mpi_voplay_test()
[all...]
H A Dtest_mpi_vi.cpp76 RK_S32 s32DevId; member
421 stMppChn.s32DevId = ctx->devId; in create_rgn()
525 stMppChn.s32DevId = ctx->devId; in create_rgn()
726 stSrcChn.s32DevId = ctx->devId; in test_vi_bind_vo_loop()
730 stDestChn.s32DevId = ctx->s32VoLayer; in test_vi_bind_vo_loop()
821 stViChn.s32DevId = ctx->devId; in test_vi_bind_vpss_venc_loop()
824 stVpssChn.s32DevId = 0; in test_vi_bind_vpss_venc_loop()
827 RK_LOGD("vi to vpss ch %d vpss group %d", stVpssChn.s32ChnId , stVpssChn.s32DevId); in test_vi_bind_vpss_venc_loop()
845 stVencChn[i].s32DevId = i; in test_vi_bind_vpss_venc_loop()
962 stSrcChn.s32DevId = ctx->devId; in test_vi_bind_venc_loop()
[all …]
H A Dtest_mpi_vdec.cpp609 stSrcChn.s32DevId = 0; in unit_test_mpi_vdec()
613 stDestChn.s32DevId = 0; in unit_test_mpi_vdec()
H A Dtest_mpi_rgn.cpp592 stMppChn.s32DevId = 0; in unit_test_mpi_rgn_venc()
643 stMppChn.s32DevId = VpssGrp; in unit_test_mpi_rgn_vpss()
/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_sys.cpp64 stSrcChn.s32DevId = AvsGrp; in TEST_SYS_AvsUnbindVenc()
68 stDestChn.s32DevId = 0; in TEST_SYS_AvsUnbindVenc()
87 stSrcChn.s32DevId = AvsGrp; in TEST_SYS_AvsBindVpss()
91 stDestChn.s32DevId = VpssGrp; in TEST_SYS_AvsBindVpss()
109 stSrcChn.s32DevId = AvsGrp; in TEST_SYS_AvsUnbindVpss()
113 stDestChn.s32DevId = VpssGrp; in TEST_SYS_AvsUnbindVpss()
131 stSrcChn.s32DevId = AvsGrp; in TEST_SYS_AvsBindVo()
135 stDestChn.s32DevId = VoDev; in TEST_SYS_AvsBindVo()
153 stSrcChn.s32DevId = AvsGrp; in TEST_SYS_AvsUnbindVo()
157 stDestChn.s32DevId = VoDev; in TEST_SYS_AvsUnbindVo()
[all …]
/OK3568_Linux_fs/external/rockit/mpi/sdk/include/
H A Drk_common.h120 RK_S32 s32DevId; member