Searched refs:stAttr (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_venc.cpp | 473 VENC_CHN_ATTR_S stAttr; in unit_test_mpi_venc() local 483 memset(&stAttr, 0, sizeof(VENC_CHN_ATTR_S)); in unit_test_mpi_venc() 525 memset(&stAttr, 0, sizeof(VENC_CHN_ATTR_S)); in unit_test_mpi_venc() 533 stAttr.stRcAttr.enRcMode = ctx->enRcMode; in unit_test_mpi_venc() 534 stAttr.stRcAttr.stH264Cbr.u32Gop = ctx->u32GopSize; in unit_test_mpi_venc() 535 stAttr.stRcAttr.stH264Cbr.u32BitRate = ctx->u32BitRateKb; in unit_test_mpi_venc() 536 …TEST_VENC_SET_BitRate(&stAttr.stRcAttr, ctx->u32BitRateKb, ctx->u32BitRateKbMax, ctx->u32BitRateKb… in unit_test_mpi_venc() 537 TEST_VENC_SET_FixQp(&stAttr.stRcAttr, ctx->u32FixQp, ctx->u32FixQp + 2, ctx->u32FixQp); in unit_test_mpi_venc() 538 TEST_VENC_SET_StatTime(&stAttr.stRcAttr, ctx->u32StatTime); in unit_test_mpi_venc() 540 stAttr.stVencAttr.enType = (RK_CODEC_ID_E)ctx->u32DstCodec; in unit_test_mpi_venc() [all …]
|
| H A D | test_mpi_all.cpp | 92 VDEC_CHN_ATTR_S stAttr; in mpi_create_vdec() local 99 memset(&stAttr, 0, sizeof(VDEC_CHN_ATTR_S)); in mpi_create_vdec() 103 stAttr.enMode = enMode; in mpi_create_vdec() 104 stAttr.enType = ctx->enCodecId; in mpi_create_vdec() 105 stAttr.u32PicWidth = ctx->u32SrcWidth; in mpi_create_vdec() 106 stAttr.u32PicHeight = ctx->u32SrcHeight; in mpi_create_vdec() 107 stAttr.u32FrameBufCnt = 8; in mpi_create_vdec() 108 stAttr.u32StreamBufCnt = MAX_STREAM_CNT; in mpi_create_vdec() 110 s32Ret = RK_MPI_VDEC_CreateChn(ctx->u32ChnIndex, &stAttr); in mpi_create_vdec() 186 VDEC_CHN_ATTR_S stAttr; in mpi_send_stream() local [all …]
|
| H A D | test_mpi_avs.cpp | 61 VENC_CHN_ATTR_S stAttr; member 80 s32Ret = RK_MPI_VENC_CreateChn(ctx->VencChn, &ctx->stAttr); in create_venc() 388 pstVencCtx[i].stAttr.stVencAttr.enPixelFormat = RK_FMT_YUV420SP; in test_avs_vpss_venc_loop() 389 pstVencCtx[i].stAttr.stVencAttr.u32PicWidth = vpssOutputWidth[i]; in test_avs_vpss_venc_loop() 390 pstVencCtx[i].stAttr.stVencAttr.u32PicHeight = vpssOutputHeight[i]; in test_avs_vpss_venc_loop() 391 pstVencCtx[i].stAttr.stVencAttr.u32VirWidth = vpssOutputWidth[i]; in test_avs_vpss_venc_loop() 392 pstVencCtx[i].stAttr.stVencAttr.u32VirHeight = vpssOutputHeight[i]; in test_avs_vpss_venc_loop() 393 pstVencCtx[i].stAttr.stVencAttr.u32StreamBufCnt = 3; in test_avs_vpss_venc_loop() 394 pstVencCtx[i].stAttr.stVencAttr.u32BufSize = stMbPicCalResult.u32MBSize; in test_avs_vpss_venc_loop() 396 pstVencCtx[i].stAttr.stVencAttr.enType = RK_VIDEO_ID_AVC; in test_avs_vpss_venc_loop() [all …]
|
| H A D | test_mpi_vdec.cpp | 188 VDEC_CHN_ATTR_S stAttr; in mpi_create_vdec() local 195 memset(&stAttr, 0, sizeof(VDEC_CHN_ATTR_S)); in mpi_create_vdec() 208 stAttr.enMode = enMode; in mpi_create_vdec() 209 stAttr.enType = ctx->enCodecId; in mpi_create_vdec() 210 stAttr.u32PicWidth = ctx->u32SrcWidth; in mpi_create_vdec() 211 stAttr.u32PicHeight = ctx->u32SrcHeight; in mpi_create_vdec() 212 stAttr.u32FrameBufCnt = ctx->u32FrameBufferCnt; in mpi_create_vdec() 213 stAttr.u32StreamBufCnt = MAX_STREAM_CNT; in mpi_create_vdec() 216 stAttr.stVdecVideoAttr.bTemporalMvpEnable = RK_FALSE; in mpi_create_vdec() 219 s32Ret = RK_MPI_VDEC_CreateChn(ctx->u32ChnIndex, &stAttr); in mpi_create_vdec() [all …]
|
| H A D | test_mpi_rgn.cpp | 424 RGN_ATTR_S stAttr; in test_rgn_mosaic_process() local 427 memset(&stAttr, 0, sizeof(RGN_ATTR_S)); in test_rgn_mosaic_process() 432 stAttr.enType = MOSAIC_RGN; in test_rgn_mosaic_process() 433 s32Ret = RK_MPI_RGN_Create(Handle, &stAttr); in test_rgn_mosaic_process() 514 RGN_ATTR_S stAttr; in test_rgn_draw_line_process() local 517 memset(&stAttr, 0, sizeof(RGN_ATTR_S)); in test_rgn_draw_line_process() 522 stAttr.enType = LINE_RGN; in test_rgn_draw_line_process() 523 s32Ret = RK_MPI_RGN_Create(Handle, &stAttr); in test_rgn_draw_line_process()
|
| H A D | test_mpi_vi.cpp | 66 VENC_CHN_ATTR_S stAttr; member 224 RK_MPI_VENC_CreateChn(u32Ch, &ctx->stVencCfg[u32Ch].stAttr); in create_venc() 231 ctx->stVencCfg[u32Ch].stAttr.stVencAttr.enType = enType; in init_venc_cfg() 233 ctx->stVencCfg[u32Ch].stAttr.stVencAttr.enPixelFormat = ctx->stChnAttr.enPixelFormat; in init_venc_cfg() 234 ctx->stVencCfg[u32Ch].stAttr.stRcAttr.enRcMode = VENC_RC_MODE_H264CBR; in init_venc_cfg() 235 ctx->stVencCfg[u32Ch].stAttr.stRcAttr.stH264Cbr.u32Gop = 60; in init_venc_cfg() 236 ctx->stVencCfg[u32Ch].stAttr.stVencAttr.u32PicWidth = ctx->width; in init_venc_cfg() 237 ctx->stVencCfg[u32Ch].stAttr.stVencAttr.u32PicHeight = ctx->height; in init_venc_cfg() 238 ctx->stVencCfg[u32Ch].stAttr.stVencAttr.u32VirWidth = ctx->width; in init_venc_cfg() 239 ctx->stVencCfg[u32Ch].stAttr.stVencAttr.u32VirHeight = ctx->height; in init_venc_cfg() [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/example/common/ |
| H A D | test_comm_venc.cpp | 65 VENC_CHN_ATTR_S stAttr; in TEST_VENC_Create() local 67 memset(&stAttr, 0, sizeof(VENC_CHN_ATTR_S)); in TEST_VENC_Create() 69 stAttr.stVencAttr.enType = vencCtx->enType; in TEST_VENC_Create() 71 stAttr.stVencAttr.u32Profile = H264E_PROFILE_HIGH; in TEST_VENC_Create() 73 stAttr.stVencAttr.u32Profile = H265E_PROFILE_MAIN; in TEST_VENC_Create() 74 stAttr.stVencAttr.enPixelFormat = vencCtx->enPixFmt; in TEST_VENC_Create() 75 stAttr.stVencAttr.u32PicWidth = vencCtx->u32Width; in TEST_VENC_Create() 76 stAttr.stVencAttr.u32PicHeight = vencCtx->u32Height; in TEST_VENC_Create() 77 stAttr.stVencAttr.u32VirWidth = vencCtx->u32Width; in TEST_VENC_Create() 78 stAttr.stVencAttr.u32VirHeight = vencCtx->u32Height; in TEST_VENC_Create() [all …]
|