Lines Matching defs:format
32 /* MDP format helper functions */
41 if (fb->format->format == DRM_FORMAT_NV12 && is_tile)
221 const struct mdp_format *format;
244 format = to_mdp_format(msm_framebuffer_format(fb));
270 if (MDP_FORMAT_IS_YUV(format)) {
286 if (MDP_FORMAT_IS_YUV(format)) {
318 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) |
319 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) |
320 MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) |
321 MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) |
322 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) |
323 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) |
324 MDP4_PIPE_SRC_FORMAT_UNPACK_COUNT(format->unpack_count - 1) |
325 MDP4_PIPE_SRC_FORMAT_FETCH_PLANES(format->fetch_type) |
326 MDP4_PIPE_SRC_FORMAT_CHROMA_SAMP(format->chroma_sample) |
328 COND(format->unpack_tight, MDP4_PIPE_SRC_FORMAT_UNPACK_TIGHT));
331 MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) |
332 MDP4_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) |
333 MDP4_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) |
334 MDP4_PIPE_SRC_UNPACK_ELEM3(format->unpack[3]));
336 if (MDP_FORMAT_IS_YUV(format)) {