/device/soc/rockchip/rk3588/hardware/mpp/src/ |
H A D | mpi_enc_utils.c | 41 p->hor_stride = (cmd->hor_stride) ? (cmd->hor_stride) : in test_ctx_init() 67 (MPP_ALIGN(p->hor_stride, 64) >> 6) * in test_ctx_init() 69 (MPP_ALIGN(p->hor_stride, 64) >> 6) * in test_ctx_init() 108 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 3 / 2; in test_ctx_init() 117 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 2; in test_ctx_init() 133 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64); in test_ctx_init() 137 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 4; in test_ctx_init() 201 mpp_enc_cfg_set_s32(cfg, "prep:hor_stride", in test_mpp_enc_cfg_setup() [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
H A D | vpu_api_legacy.cpp | 126 "prep:hor_stride", MPP_ALIGN(width, 16)); // hor_stride 16 in vpu_api_set_enc_cfg() 132 (*(mRKMppApi.HdiMppEncCfgSetS32))(enc_cfg, "prep:hor_stride", \ in vpu_api_set_enc_cfg() 133 2 * MPP_ALIGN(width, 16)); // hor_stride 2 * 16 in vpu_api_set_enc_cfg() 139 (*(mRKMppApi.HdiMppEncCfgSetS32))(enc_cfg, "prep:hor_stride", 4 * MPP_ALIGN(width, 16)); // hor_stride 4 * 16 in vpu_api_set_enc_cfg() 221 RK_U32 hor_stride = MPP_ALIGN(width, 16); // width 16 in copy_align_raw_buffer_to_dest() local 223 RK_U8 *dst_u = dst_buf + hor_stride * ver_stride; in copy_align_raw_buffer_to_dest() 224 RK_U8 *dst_v = dst_u + hor_stride * ver_stride / 4; in copy_align_raw_buffer_to_dest() 229 if (memcpy_s(dst_buf + row * hor_stride, widt in copy_align_raw_buffer_to_dest() 661 RK_U32 hor_stride = MPP_ALIGN(width, 16); // (width, 16) decode() local 1022 RK_U32 hor_stride = MPP_ALIGN(width, 16); encode() local 1258 RK_U32 hor_stride = MPP_ALIGN(width, 16); encoder_sendframe() local [all...] |
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | utils_mpp.h | 69 RK_U32 hor_stride, RK_U32 ver_stride, 72 RK_U32 hor_stride, RK_U32 ver_stride, MppFrameFormat fmt,
|
H A D | mpi_enc_utils.h | 43 RK_S32 hor_stride; member 160 RK_U32 hor_stride; member
|
H A D | mpp_frame.h | 287 * <---------------+ hor_stride +---------------> 313 void mpp_frame_set_hor_stride(MppFrame frame, RK_U32 hor_stride);
|
H A D | rk_venc_cmd.h | 534 * width / height / hor_stride / ver_stride / format 541 RK_S32 hor_stride; member
|
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpi_enc_utils.h | 52 unsigned int hor_stride; member
|
H A D | mpp_frame.h | 289 * <---------------+ hor_stride +---------------> 315 void mpp_frame_set_hor_stride(MppFrame frame, unsigned int hor_stride);
|
H A D | rk_venc_cmd.h | 454 * width / height / hor_stride / ver_stride / format 461 signed int hor_stride; member
|
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpi_enc_utils.h | 52 RK_U32 hor_stride; member
|
H A D | mpp_frame.h | 288 * <---------------+ hor_stride +---------------> 314 void mpp_frame_set_hor_stride(MppFrame frame, RK_U32 hor_stride);
|
H A D | rk_venc_cmd.h | 455 * width / height / hor_stride / ver_stride / format 462 RK_S32 hor_stride; member
|
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpi_enc_utils.h | 52 RK_U32 hor_stride; member
|
H A D | mpp_frame.h | 288 * <---------------+ hor_stride +---------------> 314 void mpp_frame_set_hor_stride(MppFrame frame, RK_U32 hor_stride);
|
H A D | rk_venc_cmd.h | 455 * width / height / hor_stride / ver_stride / format 462 RK_S32 hor_stride; member
|
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/inc/ |
H A D | mpp_frame_impl.h | 34 RK_U32 hor_stride; member
|
/device/soc/rockchip/rk3399/hardware/mpp/src/ |
H A D | mpi_enc_utils.c | 328 p->hor_stride = MPP_ALIGN(cmd->width, 16); // 16:hor_stride in test_ctx_init() 338 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 3 / 2; in test_ctx_init() 355 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 2; in test_ctx_init() 360 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 4; in test_ctx_init() 414 mpp_enc_cfg_set_s32(cfg, "prep:hor_stride", p->hor_stride); in test_mpp_enc_cfg_setup() 620 mpp_frame_set_hor_stride(frame, p->hor_stride); in test_mpp_frame_set_param()
|
/device/soc/rockchip/rk3568/hardware/mpp/src/ |
H A D | mpi_enc_utils.c | 329 p->hor_stride = MPP_ALIGN(cmd->width, 16); // 16:hor_stride in test_ctx_init() 338 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 3 / 2; in test_ctx_init() 354 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 2; in test_ctx_init() 358 p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 4; in test_ctx_init() 412 mpp_enc_cfg_set_s32(cfg, "prep:hor_stride", p->hor_stride); in test_mpp_enc_cfg_setup() 612 mpp_frame_set_hor_stride(frame, p->hor_stride); in test_mpp_frame_set_param()
|
/device/soc/rockchip/common/hardware/mpp/src/ |
H A D | mpi_enc_utils.c | 310 p->hor_stride = MPP_ALIGN(cmd->width, 0x10); // 16:hor_stride in test_ctx_init() 319 p->frame_size = MPP_ALIGN(p->hor_stride, 0x40) * MPP_ALIGN(p->ver_stride, 0x40) * 0x3 / 0x2; in test_ctx_init() 334 p->frame_size = MPP_ALIGN(p->hor_stride, 0x40) * MPP_ALIGN(p->ver_stride, 0x40) * 0x2; in test_ctx_init() 338 p->frame_size = MPP_ALIGN(p->hor_stride, 0x40) * MPP_ALIGN(p->ver_stride, 0x40) * 0x4; in test_ctx_init() 398 mpp_enc_cfg_set_s32(cfg, "prep:hor_stride", p->hor_stride); in test_mpp_enc_cfg_setup() 598 mpp_frame_set_hor_stride(frame, p->hor_stride); in test_mpp_frame_set_param()
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
H A D | Rockchip_OSAL_OHOS.cpp | 549 OMX_U32 hor_stride = Get_Video_HorAlign(pVideoDec->codecId, in Get_Video_HorAlign() local 555 omx_err("hor_stride %d ver_stride %d", hor_stride, ver_stride); in Get_Video_HorAlign() 556 if (0 != create_vpu_memory_pool_allocator(&pool, 8, (hor_stride * ver_stride * 2))) { in Get_Video_HorAlign()
|
/device/soc/rockchip/rk3568/hardware/codec/src/ |
H A D | hdi_mpp.c | 606 RK_U32 hor_stride = mppApi->HdiMppFrameGetHorStride(frame); in HandleDecodeFrameInfoChange() local 616 HDF_LOGI("%{public}s: decoder require stride [%{public}d:%{public}d]", __func__, hor_stride, ver_stride); in HandleDecodeFrameInfoChange()
|
/device/soc/rockchip/rk3588/hardware/codec/src/ |
H A D | hdi_mpp.c | 606 RK_U32 hor_stride = mppApi->HdiMppFrameGetHorStride(frame); in HandleDecodeFrameInfoChange() local 616 HDF_LOGI("%{public}s: decoder require stride [%{public}d:%{public}d]", __func__, hor_stride, ver_stride); in HandleDecodeFrameInfoChange()
|