Lines Matching +full:16 +full:bpp

48 #define PRIMARY_FORMAT_NUM	16
51 int bpp; /* Bits per pixel, 0 indicates invalid */ member
57 {DRM_FORMAT_RGB565, 16, "16-bit BGRX (5:6:5 MSB-R:G:B)"},
64 /* non-supported format has bpp default to 0 */
69 {DRM_FORMAT_YUYV, 16, "16-bit packed YUYV (8:8:8:8 MSB-V:Y2:U:Y1)"},
70 {DRM_FORMAT_UYVY, 16, "16-bit packed UYVY (8:8:8:8 MSB-Y2:V:Y1:U)"},
71 {DRM_FORMAT_YVYU, 16, "16-bit packed YVYU (8:8:8:8 MSB-U:Y2:V:Y1)"},
72 {DRM_FORMAT_VYUY, 16, "16-bit packed VYUY (8:8:8:8 MSB-Y2:U:Y1:V)"},
75 {DRM_FORMAT_RGB565, 16, "16-bit BGRX (5:6:5 MSB-R:G:B)"},
84 /* non-supported format has bpp default to 0 */
141 skl_pixel_formats_index = yuv_order >> 16; in skl_format_to_drm()
154 u32 tiled, int stride_mask, int bpp) in intel_vgpu_get_stride() argument
173 if (bpp == 8) in intel_vgpu_get_stride()
175 else if (bpp == 16 || bpp == 32 || bpp == 64) in intel_vgpu_get_stride()
178 gvt_dbg_core("skl: unsupported bpp:%d\n", bpp); in intel_vgpu_get_stride()
238 plane->bpp = skl_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane()
243 plane->bpp = bdw_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane()
247 if (!plane->bpp) { in intel_vgpu_decode_primary_plane()
268 _PRI_PLANE_STRIDE_MASK, plane->bpp); in intel_vgpu_decode_primary_plane()
289 u8 bpp; /* Bits per pixel; 0 indicates invalid */ member
296 {DRM_FORMAT_ARGB8888, 32, 128, 128, "128x128 32bpp ARGB"},
297 {DRM_FORMAT_ARGB8888, 32, 256, 256, "256x256 32bpp ARGB"},
298 {DRM_FORMAT_ARGB8888, 32, 64, 64, "64x64 32bpp ARGB"},
299 {DRM_FORMAT_ARGB8888, 32, 64, 64, "64x64 32bpp ARGB"},
301 /* non-supported format has bpp default to 0 */
359 if (!cursor_pixel_formats[index].bpp) { in intel_vgpu_decode_cursor_plane()
364 plane->bpp = cursor_pixel_formats[index].bpp; in intel_vgpu_decode_cursor_plane()
402 [0x0] = {DRM_FORMAT_YUV422, 16, "YUV 16-bit 4:2:2 packed"},
441 if (!sprite_pixel_formats[fmt].bpp) { in intel_vgpu_decode_sprite_plane()
446 plane->bpp = sprite_pixel_formats[fmt].bpp; in intel_vgpu_decode_sprite_plane()