Support additional display modes

This commit is contained in:
Kamil Trzcinski 2017-06-19 22:15:08 +02:00
parent 6165db01c8
commit 1f6222aefc
2 changed files with 5 additions and 1 deletions

View file

@ -41,6 +41,8 @@ static tv_para_t g_tv_para[]=
{5, DISP_TV_MOD_1080I_50HZ, 1920, 1080, 50,0}, {5, DISP_TV_MOD_1080I_50HZ, 1920, 1080, 50,0},
{5, DISP_TV_MOD_1080I_60HZ, 1920, 1080, 60,0}, {5, DISP_TV_MOD_1080I_60HZ, 1920, 1080, 60,0},
{5, DISP_TV_MOD_800_480P, 800, 480, 60,0},
{5, DISP_TV_MOD_1024_600P, 1024, 600, 60,0},
{5, DISP_TV_MOD_3840_2160P_25HZ, 3840, 2160, 25,0xff}, {5, DISP_TV_MOD_3840_2160P_25HZ, 3840, 2160, 25,0xff},
{5, DISP_TV_MOD_3840_2160P_24HZ, 3840, 2160, 24,0xff}, {5, DISP_TV_MOD_3840_2160P_24HZ, 3840, 2160, 24,0xff},

View file

@ -153,7 +153,9 @@ enum disp_tv_mode
DISP_TV_MOD_3840_2160P_30HZ = 0x1c, DISP_TV_MOD_3840_2160P_30HZ = 0x1c,
DISP_TV_MOD_3840_2160P_25HZ = 0x1d, DISP_TV_MOD_3840_2160P_25HZ = 0x1d,
DISP_TV_MOD_3840_2160P_24HZ = 0x1e, DISP_TV_MOD_3840_2160P_24HZ = 0x1e,
DISP_TV_MODE_NUM = 0x1f, DISP_TV_MOD_800_480P = 0x1f,
DISP_TV_MOD_1024_600P = 0x20,
DISP_TV_MODE_NUM = 0x21,
}; };