重显率,顾名思义就是显示HDMI输入信号源的分辨率与电视实际显示分辨率的垂直和水平方向上的比率,行业中一般要求电视重显率要大于95%,这样显示的效果才比较接近原画,重显率该怎么调节?我这儿简单介绍两种调节方式,一种是动态调节,重启之后数据恢复原样;一种是静态调节,即永久性修改,一般Release到产线的软件版本需要针对不同型号(统一固件除外)的机型设定好重显率才能生产出合格产品。
一、动态调节
以看尚电视基于mstar芯片638系列的C49S型号为例,可以先通过组合按键(信号源+左+左+音量下+右键)调出工厂菜单,选择图像调整==》重显率调整进去选择不同的信号源通道,通过调节水平大小、水平位置、垂直大小、垂直位置这四个选项就可以调节左右上下方向上的显示比率了(注意:通道下应该有信号源输入,不然看不出效果)。当然知道怎么调节还不够,我们需要进步一知道调节之后数据是保存在哪个数据库,调节上下左右显示比率又分别修改了那几个字段?
638系列的电视修改之后的数据都保存到以下路径:
./tvdatabase/Database/factory.db 的tbl_HDMIOverscanSetting表里,当然ATV和DTV也有对应的数据表:tbl_ATVOverscanSetting和tbl_DTVOverscanSetting,这里我只介绍信号源HDMI的重显率的调节。
该表中主要有八个字段,其中前两字段分别表示:分辨率和画面比例,第二、三字段在调节重显率时不需要管它,最后四个字段分别用于控制:左、右、上、下方向上的显示比率。
[ResolutionTypeNum] INTEGER NULL, // 对应分辨率枚举
[_id] INTEGER NULL, // 对应画面比例枚举
[u16H_CapStart] INTEGER NULL,
[u16V_CapStart] INTEGER NULL,
[u8HCrop_Left] INTEGER NULL, // 屏幕左侧显示比率,有对应换算关系
[u8HCrop_Right] INTEGER NULL, // 屏幕右侧显示比率
[u8VCrop_Up] INTEGER NULL, // 屏幕上端显示比率
[u8VCrop_Down] INTEGER NULL // 屏幕下端显示比率
二、静态调节
静态调节当然是需要修改factory.sql文件,即不管你之后有什么更改,只要电视执行恢复出厂的操作,数据都会恢复成你在factory.sql文件中修改的数值。
在介绍factory.sql文件之前,我们需要了解前面提到的数据库前两个字段的组成:[ResolutionTypeNum]和[_id]分别对应于Mapi_video_datatype.h里面的两个枚举类型的数据,代码如下,它们分别表示分辨率和画面比例的类型:
Mapi_video_datatype.h (vendor\mstar\supernova\develop\include\mstarsdk)
///Define HDMI resolution type // 分辨率类型
typedef enum
{
///480i_60
E_HDMI480i_60,
///480p_60
E_HDMI480p_60,
///576i_50
E_HDMI576i_50,
///576p_50
E_HDMI576p_50,
///720p_60
E_HDMI720p_60,
///720p_50
E_HDMI720p_50,
///1080i_60
E_HDMI1080i_60,
///1080i_50
E_HDMI1080i_50,
///1080p_60
E_HDMI1080p_60,
///1080p_50
E_HDMI1080p_50,
///1080p_30
E_HDMI1080p_30,
///1080p_24
E_HDMI1080p_24,
///1440x480i_60
E_HDMI1440x480i_60,
///1440x480p_60
E_HDMI1440x480p_60,
///1440x576i_50
E_HDMI1440x576i_50,
///1440x576p_50
E_HDMI1440x576p_50,
///PC timing 640x480_60
E_HDMI_PC_640_480_60,
///PC timing 640x480_72
E_HDMI_PC_640_480_72,
///PC timing 640x480_75
E_HDMI_PC_640_480_75,
///PC timing 640x480_85
E_HDMI_PC_640_480_85,
///PC timing 720x400_60
E_HDMI_PC_720_400_60,
///PC timing 800x600_56
E_HDMI_PC_800_600_56,
///PC timing 800x600_60
E_HDMI_PC_800_600_60,
///PC timing 800x600_72
E_HDMI_PC_800_600_72,
///PC timing 800x600_75
E_HDMI_PC_800_600_75,
///PC timing 800x600_85
E_HDMI_PC_800_600_85,
///PC timing 1024x768_50
E_HDMI_PC_1024_768_50,
///PC timing 1024x768_60
E_HDMI_PC_1024_768_60,
///PC timing 1024x768_70
E_HDMI_PC_1024_768_70,
///PC timing 1024x768_75
E_HDMI_PC_1024_768_75,
///PC timing 1024x768_85
E_HDMI_PC_1024_768_85,
///PC timing 1152x864_70
E_HDMI_PC_1152_864_70,
///PC timing 1152x864_75
E_HDMI_PC_1152_864_75,
///PC timing 1152x864_85
E_HDMI_PC_1152_864_85,
///PC timing 1280x960_60
E_HDMI_PC_1280_960_60,
///PC timing 1280x960_75
E_HDMI_PC_1280_960_75,
///PC timing 1280x960_85
E_HDMI_PC_1280_960_85,
///PC timing 1280x800_60
E_HDMI_PC_1280_800_60,
///PC timing 1280x768_60
E_HDMI_PC_1280_768_60,
///PC timing 1280x1024_60
E_HDMI_PC_1280_1024_60,
///PC timing 1280x1024_75
E_HDMI_PC_1280_1024_75,
///PC timing 1280x1024_85
E_HDMI_PC_1280_1024_85,
///PC timing 1360x768_60
E_HDMI_PC_1360_768_60,
///PC timing 1360x768_60
E_HDMI_PC_1366_768_60,
//2160p_24
E_HDMI2160p_24,
//2160p_25
E_HDMI2160p_25,
//2160p_30
E_HDMI2160p_30,
// 2160p_50
E_HDMI2160p_50,
// 2160p_60
E_HDMI2160P_60,
// 480P 3D frame packing
E_HDMI480P_3D_FRAME_PACKING,
// 576P 3D frame packing
E_HDMI576P_3D_FRAME_PACKING,
// 720P 3D frame packing
E_HDMI720P_3D_FRAME_PACKING,
// 1080P 3D frame packing
E_HDMI1080P_3D_FRAME_PACKING,
///MAX
E_HDMI_MAX,
} MAX_HDMI_Resolution_Info;
/// Define aspect ratio type // 画面比例类型
typedef enum
{
/// Default
E_AR_DEFAULT = 0,
/// 16x9
E_AR_16x9,
/// 4x3
E_AR_4x3,
/// Auto
E_AR_AUTO,
/// Panorama
E_AR_Panorama,
/// Just Scan
E_AR_JustScan,
/// Zoom 1
E_AR_Zoom1,
/// Zoom 2
E_AR_Zoom2,
E_AR_14x9,
/// point to point
E_AR_DotByDot,
/// Subtitle
E_AR_Subtitle,
/// movie
E_AR_Movie,
/// Personal
E_AR_Personal,
/// 4x3 Panorama
E_AR_4x3_PanScan,
/// 4x3 Letter Box
E_AR_4x3_LetterBox,
/// 16x9 PillarBox
E_AR_16x9_PillarBox,
/// 16x9 PanScan
E_AR_16x9_PanScan,
/// 4x3 Combind
E_AR_4x3_Combind,
/// 16x9 Combind
E_AR_16x9_Combind,
/// Zoom 2X
E_AR_Zoom_2x,
/// Zoom 3X
E_AR_Zoom_3x,
/// Zoom 4X
E_AR_Zoom_4x,
/// In front of E_AR_CUS is Supernova area and the customization area at the back of E_AR_CUS.
E_AR_CUS =0x20,
/// Maximum value of this enum
E_AR_MAX=0x40,
} MAPI_VIDEO_ARC_Type;
每一种分辨率都可以对应不同的画面比例,根据这两个枚举数据排列组合下来会有很多种组合,咱们就挑四种常见的画面比例(Default、16x9、4x3、Auto)来进行调节,这四种画面比例在枚举中对应的数值分别是:0,1,2,3; 分辨率我们也挑几种常见的出入信号源分辨率(576i,576p,720p,1080i,1080p),修改之前需要使用信号源发生器生成不同分辨率的信号源,在电视上选择不同的画面比例,调出工厂菜单调节上下左右数据并记录下来(或者所有分辨率调节完之后导出tbl_HDMIOverscanSetting中的数据),对应的修改以下文件中的数据,然后集成版本刷机验证查看数据库中数据是否修过已经过来了。
vendor/mstar/supernova/projects/board/INI/misc_CIBN/LC490DUY/C49SYCMODEL/factory.sql
INSERT INTO "tbl_Factory_DB_VERSION" VALUES(0,16,0);
DROP TABLE IF EXISTS "tbl_HDMIOverscanSetting";
CREATE TABLE [tbl_HDMIOverscanSetting] (
[ResolutionTypeNum] INTEGER NULL,
[_id] INTEGER NULL,
[u16H_CapStart] INTEGER NULL,
[u16V_CapStart] INTEGER NULL,
[u8HCrop_Left] INTEGER NULL,
[u8HCrop_Right] INTEGER NULL,
[u8VCrop_Up] INTEGER NULL,
[u8VCrop_Down] INTEGER NULL,
PRIMARY KEY ([ResolutionTypeNum],[_id])
);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,0,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,1,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,2,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,3,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,4,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,5,81,36,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,6,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,7,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,8,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,10,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,11,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,12,81,36,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(0,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,0,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,1,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,2,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,3,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,4,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,5,79,37,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,6,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,7,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,8,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,10,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,11,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,12,79,37,16,16,13,13);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(1,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,0,77,34,20,20,19,19); // 2对应E_HDMI576i_50, 0对应E_AR_DEFAULT
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,1,77,34,20,20,18,18); // 2对应E_HDMI576i_50, 1对应E_AR_16x9
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,2,77,34,20,20,18,18); // 标蓝的后四位分别对应于左、右、上、下
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,3,77,34,20,20,18,18);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,4,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,5,77,34,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,6,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,7,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,8,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,10,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,11,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,12,77,34,12,12,12,12);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(2,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,0,86,44,20,20,20,20); // 3对应E_HDMI576p_50, 0对应E_AR_DEFAULT
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,1,86,44,20,20,19,19);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,2,86,44,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,3,86,44,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,4,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,5,86,44,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,6,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,7,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,8,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,10,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,11,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,12,86,44,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(3,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,0,315,26,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,1,315,26,20,20,19,19);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,2,315,26,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,3,315,26,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,4,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,5,315,26,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,6,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,7,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,8,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,10,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,11,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,12,315,26,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(4,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,0,649,28,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,1,649,28,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,2,649,28,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,3,649,28,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,4,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,5,649,28,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,6,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,7,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,8,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,10,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,11,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,12,649,28,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(5,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,0,227,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,1,227,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,2,227,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,3,227,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,4,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,5,227,36,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,6,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,7,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,8,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,10,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,11,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,12,227,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(6,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,0,671,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,1,671,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,2,671,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,3,671,36,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,4,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,5,671,36,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,6,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,7,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,8,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,10,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,11,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,12,671,36,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(7,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,0,222,32,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,1,222,32,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,2,222,32,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,3,222,32,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,4,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,5,222,32,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,6,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,7,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,8,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,10,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,11,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,12,222,32,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(8,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,0,662,37,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,1,662,37,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,2,662,37,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,3,662,37,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,4,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,5,662,37,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,6,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,7,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,8,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,10,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,11,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,12,662,37,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(9,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,0,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,1,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,2,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,3,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,4,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,5,131,33,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,6,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,7,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,8,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,10,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,11,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,12,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(10,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,0,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,1,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,2,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,3,131,33,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,4,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,5,131,33,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,6,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,7,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,8,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,10,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,11,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,12,131,33,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(11,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,0,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,1,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,2,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,3,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,4,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,5,217,40,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,6,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,7,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,8,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,10,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,11,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,12,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(12,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,0,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,1,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,2,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,3,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,4,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,5,217,40,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,6,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,7,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,8,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,10,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,11,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,12,217,40,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(13,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,0,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,1,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,2,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,3,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,4,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,5,231,50,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,6,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,7,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,8,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,9,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,10,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,11,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,12,231,50,50,50,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,13,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,14,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,15,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,16,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,17,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,18,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,19,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,20,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(14,21,0,0,0,0,0,0);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(15,0,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(15,1,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(15,2,231,50,20,20,20,20);
INSERT INTO "tbl_HDMIOverscanSetting" VALUES(15,3,231,50,20,20,20,20);
......