src/video/x11/edid-parse.c
changeset 6851 a58fc7ff4a0f
parent 6797 8a818a373436
child 6853 4f26c9dfe50f
equal deleted inserted replaced
6850:ad3416a14319 6851:a58fc7ff4a0f
   601 	case HDMI_A: interface = "HDMI-a"; break;
   601 	case HDMI_A: interface = "HDMI-a"; break;
   602 	case HDMI_B: interface = "HDMI-b"; break;
   602 	case HDMI_B: interface = "HDMI-b"; break;
   603 	case MDDI: interface = "MDDI"; break;
   603 	case MDDI: interface = "MDDI"; break;
   604 	case DISPLAY_PORT: interface = "DisplayPort"; break;
   604 	case DISPLAY_PORT: interface = "DisplayPort"; break;
   605 	case UNDEFINED: interface = "undefined"; break;
   605 	case UNDEFINED: interface = "undefined"; break;
       
   606 	default: interface = "unknown"; break;
   606 	}
   607 	}
   607 	printf ("Interface: %s\n", interface);
   608 	printf ("Interface: %s\n", interface);
   608 	
   609 	
   609 	printf ("RGB 4:4:4: %s\n", yesno (info->digital.rgb444));
   610 	printf ("RGB 4:4:4: %s\n", yesno (info->digital.rgb444));
   610 	printf ("YCrCb 4:4:4: %s\n", yesno (info->digital.ycrcb444));
   611 	printf ("YCrCb 4:4:4: %s\n", yesno (info->digital.ycrcb444));
   629 	{
   630 	{
   630 	case UNDEFINED_COLOR: s = "undefined"; break;
   631 	case UNDEFINED_COLOR: s = "undefined"; break;
   631 	case MONOCHROME: s = "monochrome"; break;
   632 	case MONOCHROME: s = "monochrome"; break;
   632 	case RGB: s = "rgb"; break;
   633 	case RGB: s = "rgb"; break;
   633 	case OTHER_COLOR: s = "other color"; break;
   634 	case OTHER_COLOR: s = "other color"; break;
       
   635 	default: s = "unknown"; break;
   634 	};
   636 	};
   635 	
   637 	
   636 	printf ("Color: %s\n", s);
   638 	printf ("Color: %s\n", s);
   637     }
   639     }
   638     
   640     
   729 	case FIELD_LEFT:  s = "Field Sequential, Left on Sync"; break;
   731 	case FIELD_LEFT:  s = "Field Sequential, Left on Sync"; break;
   730 	case TWO_WAY_RIGHT_ON_EVEN: s = "Two-way, Right on Even"; break;
   732 	case TWO_WAY_RIGHT_ON_EVEN: s = "Two-way, Right on Even"; break;
   731 	case TWO_WAY_LEFT_ON_EVEN:  s = "Two-way, Left on Even"; break;
   733 	case TWO_WAY_LEFT_ON_EVEN:  s = "Two-way, Left on Even"; break;
   732 	case FOUR_WAY_INTERLEAVED:  s = "Four-way Interleaved"; break;
   734 	case FOUR_WAY_INTERLEAVED:  s = "Four-way Interleaved"; break;
   733 	case SIDE_BY_SIDE:          s = "Side-by-Side"; break;
   735 	case SIDE_BY_SIDE:          s = "Side-by-Side"; break;
       
   736 	default:          s = "unknown"; break;
   734 	}
   737 	}
   735 	printf ("  Stereo: %s\n", s);
   738 	printf ("  Stereo: %s\n", s);
   736 	
   739 	
   737 	if (timing->digital_sync)
   740 	if (timing->digital_sync)
   738 	{
   741 	{