Home
last modified time | relevance | path

Searched refs:chroma_samp (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c250 u32 chroma_samp, unpack, src_format; in dpu_hw_sspp_setup_format() local
279 chroma_samp = fmt->chroma_sample; in dpu_hw_sspp_setup_format()
281 if (chroma_samp == DPU_CHROMA_H2V1) in dpu_hw_sspp_setup_format()
282 chroma_samp = DPU_CHROMA_H1V2; in dpu_hw_sspp_setup_format()
283 else if (chroma_samp == DPU_CHROMA_H1V2) in dpu_hw_sspp_setup_format()
284 chroma_samp = DPU_CHROMA_H2V1; in dpu_hw_sspp_setup_format()
287 src_format = (chroma_samp << 23) | (fmt->fetch_planes << 19) | in dpu_hw_sspp_setup_format()
Ddpu_formats.c799 uint32_t chroma_samp; in _dpu_format_get_plane_sizes_linear() local
802 chroma_samp = fmt->chroma_sample; in _dpu_format_get_plane_sizes_linear()
803 _dpu_get_v_h_subsample_rate(chroma_samp, &v_subsample, in _dpu_format_get_plane_sizes_linear()