src/video/x11/edid-parse.c
changeset 6797 8a818a373436
parent 6796 424a12862805
child 6851 a58fc7ff4a0f
equal deleted inserted replaced
6796:424a12862805 6797:8a818a373436
    24 
    24 
    25 #include "edid.h"
    25 #include "edid.h"
    26 #include <stdlib.h>
    26 #include <stdlib.h>
    27 #include <string.h>
    27 #include <string.h>
    28 #include <math.h>
    28 #include <math.h>
       
    29 #include <stdio.h>
    29 
    30 
    30 #define TRUE 1
    31 #define TRUE 1
    31 #define FALSE 0
    32 #define FALSE 0
    32 
    33 
    33 static int
    34 static int
   720 	printf ("  Height: %d mm\n", timing->height_mm);
   721 	printf ("  Height: %d mm\n", timing->height_mm);
   721 	printf ("  Right Border: %d\n", timing->right_border);
   722 	printf ("  Right Border: %d\n", timing->right_border);
   722 	printf ("  Top Border: %d\n", timing->top_border);
   723 	printf ("  Top Border: %d\n", timing->top_border);
   723 	switch (timing->stereo)
   724 	switch (timing->stereo)
   724 	{
   725 	{
       
   726 	default:
   725 	case NO_STEREO:   s = "No Stereo"; break;
   727 	case NO_STEREO:   s = "No Stereo"; break;
   726 	case FIELD_RIGHT: s = "Field Sequential, Right on Sync"; break;
   728 	case FIELD_RIGHT: s = "Field Sequential, Right on Sync"; break;
   727 	case FIELD_LEFT:  s = "Field Sequential, Left on Sync"; break;
   729 	case FIELD_LEFT:  s = "Field Sequential, Left on Sync"; break;
   728 	case TWO_WAY_RIGHT_ON_EVEN: s = "Two-way, Right on Even"; break;
   730 	case TWO_WAY_RIGHT_ON_EVEN: s = "Two-way, Right on Even"; break;
   729 	case TWO_WAY_LEFT_ON_EVEN:  s = "Two-way, Left on Even"; break;
   731 	case TWO_WAY_LEFT_ON_EVEN:  s = "Two-way, Left on Even"; break;