Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.h32 #define MDP_COLOR_GET_PLANE_COUNT(c) ((0x00600000 & (c)) >> 21) macro
189 return (MDP_COLOR_GET_PLANE_COUNT(c) == 2 && MDP_COLOR_IS_YUV(c)); in MDP_COLOR_IS_UV_COPLANE()
203 if (MDP_COLOR_GET_PLANE_COUNT(c) == 1) in mdp_color_get_min_uv_stride()
226 if (MDP_COLOR_IS_BLOCK_MODE(c) && (MDP_COLOR_GET_PLANE_COUNT(c) > 1)) in mdp_color_get_min_uv_size()
Dmtk-mdp3-regs.c557 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_stride()
574 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_stride_contig()
594 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_plane_size()
621 for (; i < MDP_COLOR_GET_PLANE_COUNT(b->format.colorformat); ++i) { in mdp_prepare_buffer()