Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_mem_input_v.c244 swap(local_size.video.chroma_size.x, in program_size_and_rotation()
245 local_size.video.chroma_size.y); in program_size_and_rotation()
246 swap(local_size.video.chroma_size.width, in program_size_and_rotation()
247 local_size.video.chroma_size.height); in program_size_and_rotation()
309 set_reg_field_value(value, local_size.video.chroma_size.x + in program_size_and_rotation()
310 local_size.video.chroma_size.width, in program_size_and_rotation()
327 set_reg_field_value(value, local_size.video.chroma_size.y + in program_size_and_rotation()
328 local_size.video.chroma_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()
291 ctx->chroma_size = ALIGN(ctx->buf_width * in s5p_mfc_dec_calc_dpb_size_v5()
312 ctx->chroma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5()
326 ctx->chroma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
330 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5()
331 ALIGN(ctx->chroma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
337 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5()
342 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5()
343 ALIGN(ctx->chroma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
470 frame_size_ch = ctx->chroma_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()
449 ctx->chroma_size = calc_plane(ctx->img_width, (ctx->img_height >> 1)); in s5p_mfc_dec_calc_dpb_size_v6()
453 ctx->chroma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6()
483 ctx->chroma_size = ALIGN((mb_width * mb_height) * 128, 256); in s5p_mfc_enc_calc_src_size_v6()
488 ctx->chroma_size += MFC_CHROMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6()
534 writel(ctx->chroma_size, mfc_regs->d_second_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6()
557 frame_size_ch = ctx->chroma_size; in s5p_mfc_set_dec_frame_buffer_v6()
Ds5p_mfc_dec.c362 pix_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_g_fmt()
937 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup()
973 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_init()
Ds5p_mfc_enc.c1397 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_g_fmt()
1482 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_s_fmt()
2425 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup()
2499 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare()
2501 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare()
Ds5p_mfc_common.h653 int chroma_size; member
Ds5p_mfc.c350 ctx->chroma_size); in s5p_mfc_handle_frame_new()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h138 struct rect chroma_size; member
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2047 plane_state->plane_size.video.chroma_size.x = 0; in fill_plane_attributes_from_fb()
2048 plane_state->plane_size.video.chroma_size.y = 0; in fill_plane_attributes_from_fb()
2049 plane_state->plane_size.video.chroma_size.width = awidth; in fill_plane_attributes_from_fb()
2050 plane_state->plane_size.video.chroma_size.height = fb->height; in fill_plane_attributes_from_fb()