Home
last modified time | relevance | path

Searched refs:luma_size (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_mem_input_v.c240 swap(local_size.video.luma_size.x, in program_size_and_rotation()
241 local_size.video.luma_size.y); in program_size_and_rotation()
242 swap(local_size.video.luma_size.width, in program_size_and_rotation()
243 local_size.video.luma_size.height); in program_size_and_rotation()
300 set_reg_field_value(value, local_size.video.luma_size.x + in program_size_and_rotation()
301 local_size.video.luma_size.width, in program_size_and_rotation()
318 set_reg_field_value(value, local_size.video.luma_size.y + in program_size_and_rotation()
319 local_size.video.luma_size.height, in program_size_and_rotation()
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c74 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5()
289 ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, in s5p_mfc_dec_calc_dpb_size_v5()
304 ctx->luma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5()
324 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
329 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
335 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
341 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
469 frame_size_lu = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v5()
Ds5p_mfc_opr_v6.c75 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
448 ctx->luma_size = calc_plane(ctx->img_width, ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6()
452 ctx->luma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6()
482 ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); in s5p_mfc_enc_calc_src_size_v6()
487 ctx->luma_size += MFC_LUMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6()
533 writel(ctx->luma_size, mfc_regs->d_first_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6()
556 frame_size = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v6()
Ds5p_mfc_dec.c360 pix_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
936 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
972 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init()
Ds5p_mfc_enc.c1395 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
1480 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_s_fmt()
2424 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
2497 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2500 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
Ds5p_mfc_common.h652 int luma_size; member
Ds5p_mfc.c348 ctx->luma_size); in s5p_mfc_handle_frame_new()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h131 struct rect luma_size; member
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2040 plane_state->plane_size.video.luma_size.x = 0; in fill_plane_attributes_from_fb()
2041 plane_state->plane_size.video.luma_size.y = 0; in fill_plane_attributes_from_fb()
2042 plane_state->plane_size.video.luma_size.width = awidth; in fill_plane_attributes_from_fb()
2043 plane_state->plane_size.video.luma_size.height = fb->height; in fill_plane_attributes_from_fb()