Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.h36 #define MDP_COLOR_BITS_PER_PIXEL(c) ((0x0003ff00 & (c)) >> 8) macro
196 return ((MDP_COLOR_BITS_PER_PIXEL(c) * width) + 4) >> 3; in mdp_color_get_min_y_stride()
218 return ((MDP_COLOR_BITS_PER_PIXEL(c) * width) >> 8) * height; in mdp_color_get_min_y_size()
228 return ((MDP_COLOR_BITS_PER_PIXEL(c) * width) >> 8) * height; in mdp_color_get_min_uv_size()
Dmtk-mdp3-regs.c332 stride = (bytesperline * MDP_COLOR_BITS_PER_PIXEL(c)) in mdp_fmt_get_stride()
370 / MDP_COLOR_BITS_PER_PIXEL(c); in mdp_fmt_get_plane_size()