Home
last modified time | relevance | path

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

/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.c559 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_stride()
576 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_stride_contig()
596 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_plane_size()
623 for (; i < MDP_COLOR_GET_PLANE_COUNT(b->format.colorformat); ++i) { in mdp_prepare_buffer()