Home
last modified time | relevance | path

Searched refs:luma_size (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr_v5.c71 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5()
286 ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, in s5p_mfc_dec_calc_dpb_size_v5()
301 ctx->luma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5()
321 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
326 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
332 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
338 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
466 frame_size_lu = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v5()
[all...]
H A Ds5p_mfc_opr_v6.c72 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
445 ctx->luma_size = calc_plane(ctx->img_width, ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6()
449 ctx->luma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6()
479 ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); in s5p_mfc_enc_calc_src_size_v6()
484 ctx->luma_size += MFC_LUMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6()
530 writel(ctx->luma_size, mfc_regs->d_first_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6()
553 frame_size = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v6()
H A Ds5p_mfc_dec.c332 pix_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
923 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
959 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init()
H A Ds5p_mfc_enc.c1386 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
1471 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_s_fmt()
2416 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
2489 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2492 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
H A Ds5p_mfc_common.h566 * @luma_size: size of a luma plane
648 int luma_size; member
H A Ds5p_mfc.c344 ctx->luma_size); in s5p_mfc_handle_frame_new()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c71 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5()
286 ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, in s5p_mfc_dec_calc_dpb_size_v5()
301 ctx->luma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5()
321 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
326 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
332 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
338 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
466 frame_size_lu = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v5()
[all...]
H A Ds5p_mfc_opr_v6.c72 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
445 ctx->luma_size = calc_plane(ctx->img_width, ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6()
449 ctx->luma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6()
479 ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); in s5p_mfc_enc_calc_src_size_v6()
484 ctx->luma_size += MFC_LUMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6()
530 writel(ctx->luma_size, mfc_regs->d_first_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6()
553 frame_size = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v6()
H A Ds5p_mfc_dec.c363 pix_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
956 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
992 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init()
H A Ds5p_mfc_enc.c1384 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
1469 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_s_fmt()
2414 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
2487 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2490 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
H A Ds5p_mfc_common.h570 * @luma_size: size of a luma plane
658 int luma_size; member
H A Ds5p_mfc.c356 ctx->luma_size); in s5p_mfc_handle_frame_new()
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_defs.h168 u32 luma_size; member
H A Dvdec.c1009 info.luma_size = fs->buffer[fs->index].length; in vdec_response_fs()
1072 info.luma_size = inst->cap_format.sizeimage[0]; in vdec_response_frame()
1076 info.chroma_addr = info.luma_addr + info.luma_size; in vdec_response_frame()
H A Dvpu_malone.c771 fs->chroma_addr = fs->luma_addr + fs->luma_size; in vpu_malone_pack_fs_alloc()
772 pkt->data[2] = fs->luma_addr + fs->luma_size / 2; in vpu_malone_pack_fs_alloc()
777 pkt->data[2] = fs->luma_size; in vpu_malone_pack_fs_alloc()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c951 u32 luma_size, chroma_size; in enc_scratch2_size() local
984 luma_size = ref_buf_height * ref_stride; in enc_scratch2_size()
988 luma_size = (luma_size + (SZ_4K - 1)) & (~(SZ_4K - 1)); in enc_scratch2_size()
990 ref_buf_size = luma_size + chroma_size; in enc_scratch2_size()

Completed in 37 milliseconds