Lines Matching defs:format

64 	copy->format = state->format;
108 uint32_t format,
111 const struct drm_format_info *info = drm_format_info(format);
145 for (i = 0; i < state->base.fb->format->num_planes; i++) {
193 for (i = 0; i < state->base.fb->format->num_planes; i++) {
246 fmt = state->fb->format;
250 * Note that real memory bandwidth vary depending on format and
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap)
334 *format = WIN_COLOR_DEPTH_B4G4R4A4;
338 *format = WIN_COLOR_DEPTH_B5G5R5A1;
342 *format = WIN_COLOR_DEPTH_B5G6R5;
346 *format = WIN_COLOR_DEPTH_A1B5G5R5;
350 *format = WIN_COLOR_DEPTH_B8G8R8A8;
354 *format = WIN_COLOR_DEPTH_R8G8B8A8;
358 *format = WIN_COLOR_DEPTH_R4G4B4A4;
362 *format = WIN_COLOR_DEPTH_R5G5B5A;
366 *format = WIN_COLOR_DEPTH_AR5G5B5;
370 *format = WIN_COLOR_DEPTH_B5G5R5X1;
374 *format = WIN_COLOR_DEPTH_X1B5G5R5;
378 *format = WIN_COLOR_DEPTH_R5G5B5X1;
382 *format = WIN_COLOR_DEPTH_X1R5G5B5;
386 *format = WIN_COLOR_DEPTH_R5G6B5;
390 *format = WIN_COLOR_DEPTH_A8R8G8B8;
394 *format = WIN_COLOR_DEPTH_A8B8G8R8;
398 *format = WIN_COLOR_DEPTH_B8G8R8X8;
402 *format = WIN_COLOR_DEPTH_R8G8B8X8;
406 *format = WIN_COLOR_DEPTH_YCbCr422;
413 *format = WIN_COLOR_DEPTH_YCbCr422;
421 *format = WIN_COLOR_DEPTH_YCbCr422;
429 *format = WIN_COLOR_DEPTH_YCbCr422;
434 *format = WIN_COLOR_DEPTH_YCbCr420P;
438 *format = WIN_COLOR_DEPTH_YCbCr422P;
442 *format = WIN_COLOR_DEPTH_YCbCr444P;
446 *format = WIN_COLOR_DEPTH_YCbCr420SP;
450 *format = WIN_COLOR_DEPTH_YCrCb420SP;
454 *format = WIN_COLOR_DEPTH_YCbCr422SP;
458 *format = WIN_COLOR_DEPTH_YCrCb422SP;
462 *format = WIN_COLOR_DEPTH_YCbCr444SP;
466 *format = WIN_COLOR_DEPTH_YCrCb444SP;
476 bool tegra_plane_format_is_indexed(unsigned int format)
478 switch (format) {
489 bool tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc)
491 switch (format) {
540 static bool __drm_format_has_alpha(u32 format)
542 switch (format) {
593 unsigned int format;
596 switch (state->format) {
605 err = tegra_plane_format_get_alpha(state->format, &format);
609 state->format = format;
684 if (new->fb && __drm_format_has_alpha(new->fb->format->format))