Searched refs:chroma_size (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_mem_input_v.c | 244 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/ |
D | s5p_mfc_opr_v5.c | 74 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()
|
D | s5p_mfc_opr_v6.c | 75 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()
|
D | s5p_mfc_dec.c | 362 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()
|
D | s5p_mfc_enc.c | 1397 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()
|
D | s5p_mfc_common.h | 653 int chroma_size; member
|
D | s5p_mfc.c | 350 ctx->chroma_size); in s5p_mfc_handle_frame_new()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | dc_hw_types.h | 138 struct rect chroma_size; member
|
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 2047 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()
|