Lines Matching refs:format
337 int num_planes = fb->format->num_planes;
339 u32 h_subsample = fb->format->hsub;
340 u32 v_subsample = fb->format->vsub;
558 for (i = 0; i < fb->format->num_planes; i++) {
574 fb->format->cpp[i];
598 * storage due to our scaling/format conversion.
632 const struct hvs_format *format = vc4_get_hvs_format(fb->format->format);
634 int num_planes = fb->format->num_planes;
635 u32 h_subsample = fb->format->hsub;
636 u32 v_subsample = fb->format->vsub;
641 u32 hvs_format = format->hvs;
691 fb->format->cpp[i];
699 u32 tile_w_shift = fb->format->cpp[0] == 2 ? 6 : 5;
794 pix_per_tile = tile_w / fb->format->cpp[0];
808 fb->format->cpp[i];
826 fb->format->has_alpha;
835 (format->pixel_order << SCALER_CTL0_ORDER_SHIFT) |
861 VC4_SET_FIELD(fb->format->has_alpha ?
866 (fb->format->has_alpha ?
877 u32 hvs_pixel_order = format->pixel_order;
879 if (format->pixel_order_hvs5)
880 hvs_pixel_order = format->pixel_order_hvs5;
912 (fb->format->has_alpha ?
916 VC4_SET_FIELD(fb->format->has_alpha ?
1033 vc4_state->needs_bg_fill = fb->format->has_alpha || !covers_screen ||
1290 uint32_t format,
1294 switch (format) {