CN105141874B - Method and apparatus scaling signal picture and scale register mapping - Google Patents

Method and apparatus scaling signal picture and scale register mapping Download PDF

Info

Publication number
CN105141874B
CN105141874B CN201510522745.9A CN201510522745A CN105141874B CN 105141874 B CN105141874 B CN 105141874B CN 201510522745 A CN201510522745 A CN 201510522745A CN 105141874 B CN105141874 B CN 105141874B
Authority
CN
China
Prior art keywords
scaling
numerical value
register
period
ratio mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510522745.9A
Other languages
Chinese (zh)
Other versions
CN105141874A (en
Inventor
黄孙明
王云华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201510522745.9A priority Critical patent/CN105141874B/en
Publication of CN105141874A publication Critical patent/CN105141874A/en
Priority to PCT/CN2016/084220 priority patent/WO2017032119A1/en
Application granted granted Critical
Publication of CN105141874B publication Critical patent/CN105141874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Circuits (AREA)

Abstract

The invention discloses a kind of methods scaling signal picture and scale register mapping, including:Triggering command is received, the digit and corresponding numerical value of each period of scaling register are obtained;When each period, corresponding numerical value was all effective, according to it is described scaling register digit shift each numerical value, by each numerical value be converted to reference format and include significance bit new numerical value;New numerical value and ratio mode option and scaling signal picture are corresponded;When receiving the ratio mode option of user's selection, the corresponding new numerical value of ratio mode option of user's selection is obtained in the scaling register, and shows the corresponding scaling signal picture of the new numerical value.The invention also discloses a kind of devices scaling signal picture and scale register mapping.Scaling signal picture error, is conducive to the normal switching of television set proportional zoom caused by the invention avoids being mismatched with scaling register because of scaling signal picture.

Description

Method and apparatus scaling signal picture and scale register mapping
Technical field
The present invention relates to display technology fields, the more particularly to method and dress of scaling signal picture and scaling register mapping It sets.
Background technology
Currently, television set, display etc. show that equipment producer when production shows equipment, often only produces in terminal Between part, then by the chip that chip development side provides be assembled into display equipment middleware in.Increasingly due to chip development number formulary amount More, the type of chip is also more and more abundant, and the chip for the same model that different exploitation sides produce may be also different, this may It can cause to show that compatibling problem occurs in docking between equipment middleware and various chips.
By taking the aspect ratio of television set scaling as an example, when user selects a certain scaling signal picture in television setup menu Behind face, corresponding scaling signal picture is popped up on television display screen, facilitates user that can become more apparent upon the ratio currently selected The corresponding display effect of example pattern.Assuming that television set includes 4:3、16:9 two kinds of aspect ratio patterns, the zoom function of 8 chips Register includes tri- numerical value of 0x01,0x02,0x03.When user selects 4:After 3 ratio mode options, zoom function register Value is 0x01, and corresponding scaling illustrates picture with 4:3 ratio mode is shown;When user selects 16:After 9 ratio mode options, The value of zoom function register is 0x02, and corresponding scaling illustrates picture with 16:9 ratio mode is shown;But when scaling work( When the value of energy register is switched to 0x03, since no matched scaling illustrates picture, scaling to illustrate picture and scale register Between docking there are Fault-Tolerant Problems, cause scaling signal picture error, zoom function can not normally switch.
Invention content
The main object of the present invention is to provide a kind of method and apparatus scaling signal picture and scale register mapping, is had Effect avoids scaling signal picture and the scaling unmatched problem of register.
The present invention proposes a kind of method scaling signal picture and scale register mapping, including step:
Triggering command is received, number, the digit for scaling register and the scaling register of ratio mode option are obtained In each period corresponding numerical value;
Judge whether corresponding numerical value of each period is effective according to the number of the ratio mode option;
When any of corresponding numerical value of each period is invalid, generated according to the number of the ratio mode option multiple New numerical value with reference format, and each new numerical value is corresponded into each period and is assigned to the scaling successively and deposits Device;
Each new numerical value and each ratio mode option and each scaling signal picture are corresponded;
When receiving the ratio mode option of user's selection, the ratio of user's selection is obtained in the scaling register The corresponding new numerical value of the mode option, and show the corresponding scaling signal picture of the new numerical value.
Preferably, the number according to ratio mode option judges the whether effective step of corresponding numerical value of each period Further include later:
When each period, corresponding numerical value was all effective, each numerical value is shifted according to the digit of the scaling register, By each numerical value be converted to reference format and include significance bit new numerical value.
Preferably, the number according to ratio mode option judges the whether effective step of corresponding numerical value of each period Including:
According to the number of the digit of the scaling register and the ratio mode option, default value range is set;
When the numerical value is within the scope of the default value, it is determined as that the numerical value is effective;
When the numerical value is not within the scope of the default value, it is determined as that the numerical value is invalid.
Preferably, described that default value model is arranged according to the digit of scaling register and the number of the ratio mode option Further include after the step of enclosing:
The default value range and the numerical value are subjected to step-by-step and operation;
When operating result is true, the numerical value is within the scope of the default value;
When operating result is fictitious time, the numerical value is not within the scope of the default value;
Preferably, the number according to ratio mode option judges the whether effective step of corresponding numerical value of each period Further include before:
Judge the parity of the digit of the scaling register;
When the digit of the scaling register is even number, judge that the scaling register is effective, and execute the basis The number of ratio mode option judges the whether effective step of corresponding numerical value of each period;
When the digit of the scaling register is odd number, judge that the scaling register is invalid.
The present invention also proposes a kind of device scaling signal picture and scale register mapping, including:
Command reception module, for receiving triggering command;
Acquisition module, number, the digit for scaling register and the scaling register for obtaining ratio mode option In each period corresponding numerical value;
Judgment module, for judging whether corresponding numerical value of each period has according to the number of the ratio mode option Effect;
Module is reset, is used for, when any of corresponding numerical value of each period is invalid, according to the ratio mode option Number generate multiple new numerical value with reference format, and each new numerical value is corresponded into assignment successively of each period To the scaling register;
Respective modules, for corresponding new numerical value and ratio mode option and scaling signal picture;
The acquisition module is additionally operable to, when receiving the ratio mode option of user's selection, in the scaling register The middle corresponding new numerical value of ratio mode option for obtaining user's selection;
Display module, for showing that the corresponding scaling of the new numerical value illustrates picture.
Preferably, the device of the scaling signal picture and scaling register mapping further includes shift module, for when each When a period corresponding numerical value is all effective, each numerical value is shifted according to the digit of the scaling register, by each numerical value All be converted to reference format and include significance bit new numerical value.
Preferably, the device of the scaling signal picture and scaling register mapping further includes presetting module, is used for basis Default value range is arranged in the digit of the scaling register and the number of the ratio mode option;
The judgment module is additionally operable to, and when the numerical value is within the scope of the default value, is determined as that the numerical value has Effect;When the numerical value is not within the scope of the default value, it is determined as that the numerical value is invalid.
Preferably, the device of the scaling signal picture and scaling register mapping further includes computing module, is used for institute It states default value range and carries out step-by-step and operation with the numerical value;
The judgment module is additionally operable to, and when operating result is true, the numerical value is within the scope of the default value;Work as behaviour It is fictitious time to make result, and the numerical value is not within the scope of the default value;
Preferably, the judgment module is additionally operable to:
Judge the parity of the digit of the scaling register;
When the digit of the scaling register is even number, judge that the scaling register is effective;
When the digit of the scaling register is odd number, judge that the scaling register is invalid.
The present invention will be before it will scale signal picture and be shown according to the values match of scaling register, in advance to scaling register The validity of middle numerical value judged, when any of numerical value to scaling register is invalid, in resetting scaling register Numerical value makes numerical value in scaling register be matched with ratio mode option and scaling signal picture, avoids because scaling illustrates picture Scaling signal picture error, is conducive to the normal switching of television set proportional zoom caused by being mismatched with scaling register.
Description of the drawings
Fig. 1 is the flow chart that present invention scaling illustrates picture and the first embodiment for the method for scaling register mapping;
Fig. 2 is the flow chart that present invention scaling illustrates picture and the second embodiment for the method for scaling register mapping;
Fig. 3 is the flow chart that present invention scaling illustrates picture and the 3rd embodiment for the method for scaling register mapping;
Fig. 4 is the flow chart that present invention scaling illustrates picture and the fourth embodiment for the method for scaling register mapping;
Fig. 5 is the flow chart that present invention scaling illustrates picture and the 5th embodiment of the method for scaling register mapping;
Fig. 6 is that present invention scaling illustrates picture and the module of the first embodiment for the device for scaling register mapping to illustrate Figure;
Fig. 7 is that present invention scaling illustrates picture and the module of the second embodiment for the device for scaling register mapping to illustrate Figure;
Fig. 8 is that present invention scaling illustrates picture and the module of the 3rd embodiment for the device for scaling register mapping to illustrate Figure;
Fig. 9 is that present invention scaling illustrates picture and the module of the fourth embodiment for the device for scaling register mapping to illustrate Figure.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in FIG. 1, FIG. 1 is the present invention to scale signal picture and the first embodiment for the method for scaling register mapping Flow chart.The method for the scaling signal picture and scaling register mapping that the present embodiment is mentioned, including:
Step S10 receives triggering command;
The present embodiment can be applied in the display equipment of adjustable picture scaling, such as television set, display, notes This computer, integrated computer etc..The present embodiment is by taking television set as an example, when user needs the picture scaling of adjusting television set When, the setting menu page of television set is turned on, cursor is switched at the ratio mode option in setting menu, that is, generated tactile Send instructions, triggering command is sent to the CPU of television set by display module.Television set includes multiple ratio modes, such as including 4: 3、16:9, Auto etc., or including standard, full frame, amplification, stretching, widescreen etc..Current television machine can be only shown in setting menu Aspect ratio corresponding to ratio mode option, such as current television machine aspect ratio be 16:9, then in only display scale The mode option 16:9.In addition it is also possible to which all ratio mode options are shown in setting menu page.
Step S20 obtains the number of ratio mode option, scales the digit of register and scales each period in register Corresponding numerical value;
After obtaining triggering command, CPU executes matching operation on backstage.CPU obtains the total number of ratio mode option, often One ratio mode option corresponds to a scaling signal picture.Scaling register also current to television set CPU is identified, and obtains The digit of register must be scaled, such as the digit of 8 scaling registers is 8bit, the digit of 16 scaling registers is 16bit, The digit of 32 scaling registers is 32bit etc..Matching operation in the present embodiment can when using television set for the first time or It is carried out after having replaced scaling register every time, therefore triggering command can also generate under the foregoing conditions.In scaling register Be stored with numerical value, the different periods corresponds to different numerical value, such as 16 scaling registers include 0x0100,0x0200, Tri- numerical value of 0x0300.
Step S30 judges whether corresponding numerical value of each period is effective according to the number of ratio mode option;
It, need to be to the effective of each numerical value in scaling register in order to avoid scaling signal picture and scaling register mismatch Property judged, mainly judge whether the number for scaling the numerical value in register has exceeded the ratio mode option of television set Number illustrates that there are assignment for the scaling register if so, it will cause scaling signal pictures and scaling register value to mismatch The possibility of mistake shows if carrying out matching using the numerical value in the scaling register at this time, will appear can not find it is matched The case where scaling signal picture, thus scale any of register numerical value it is invalid when, can to user's display reminding information, or The numerical value in scaling register is modified automatically by display equipment.
Step S41 is generated when any of corresponding numerical value of each period is invalid according to the number of ratio mode option Multiple new numerical value with reference format;
Each new numerical value is corresponded to each period and is assigned to scaling register successively by step S42;
When any of scaling register numerical value is invalid, scaling is reset according to the ratio mode option number of television set Register.For example, ratio mode option includes 4:3、16:9, tri- options of Auto then generate three numerical value according to reference format Newly-generated numerical value 0x01,0x02,0x03 are assigned to scaling register by 0x01,0x02,0x03 successively, complete resetting scaling Register.
Step S50 corresponds new numerical value and ratio mode option and scaling signal picture;
Each numerical value in scaling register after resetting is illustrated into picture one by one with each ratio mode option and scaling respectively It is corresponding, such as 0x01 correspondences 4:3 options, while it is 4 also to correspond to ratio:3 scaling illustrates picture.
Step S60 obtains user's selection when receiving the ratio mode option of user's selection in scaling register The corresponding new numerical value of ratio mode option, and show the corresponding scaling signal picture of new numerical value.
When user selects some ratio mode option on menu is arranged, such as select 4:3 options, then display are set The standby option according to user's selection gets corresponding numerical value in scaling register, and finds correspondence according to the numerical value got Scaling illustrate picture, will scaling signal picture according to preset display time showing on the screen of a display device, such as show Show 3 seconds, the display effect of selected ratio mode option is checked for user.After the preset display time reaches, display equipment is closed The scaling signal picture currently shown is closed, avoids display overlong time from influencing user and watches normal TV programme.In addition also may be used Not scale the display for illustrating picture to control using the preset display time and be automatically closed, but signal picture is scaled in display While face, a control is shown on the screen, which may include the option of " determination " and " cancellation ", and user, which clicks, to be determined Afterwards, the scaling currently shown illustrates image close, the TV programme played on display screen to be shown according to the ratio that user selects Show, cancel if clicked, the scaling signal picture currently shown is also switched off, and the TV programme played on display screen are according to user Ratio before selection is shown.
The present embodiment in advance deposits scaling before it will scale signal picture and be shown according to the values match of scaling register The validity of numerical value is judged in device, when invalid to any of the numerical value for scaling register, in resetting scaling register Numerical value, so that numerical value and ratio mode option and scaling signal picture in scaling register match, avoid because of scaling signal picture Scaling signal picture error, is conducive to the normal switching of television set proportional zoom caused by face is mismatched with scaling register.
As shown in Fig. 2, Fig. 2, which is present invention scaling, illustrates picture and the second embodiment for the method for scaling register mapping Flow chart.The present embodiment includes the steps that embodiment illustrated in fig. 1, further includes after step S30:
Step S70 shifts each number when each period, corresponding numerical value was all effective according to the digit of scaling register Value, by each numerical value be converted to reference format and include significance bit new numerical value.
In the present embodiment, when scale the numerical value in register it is effective when, it is contemplated that the diversity of register, different registers Digit it is different, cause the position of the significance bit of numerical value may disunity.Such as the numerical value in 8 scaling registers is 0x01, Numerical value in 16 scaling registers is 0x0100, and the numerical value in 32 scaling registers is 0x010000,64 scaling deposits Numerical value in device is 0x01000000, this makes a scaling signal picture needs and multiple values match, is easy error.In order to Facilitate matching, the present embodiment that the numerical value for scaling register is carried out unified conversion according to reference format, for example, 8 scaling deposits Numerical value 0x01 in device is not converted, and the numerical value 0x0100 of 16 scaling registers is moved right 2 and obtains 0x01, and 32 are contracted It puts the numerical value 0x010000 in register to move right 4 0x01, to the right by the numerical value 0x01000000 in 64 scaling registers Move 6 0x01.Thus, which the format of numerical value in the scaling register of not isotopic number is carried out unification, a scaling signal picture Face only needs to be matched with a numerical value, avoids not that isotopic number scaling register can not picture be matched asks with scaling signal Topic keeps scaling signal picture matching more convenient, accurate.
As shown in figure 3, Fig. 3, which is present invention scaling, illustrates picture and the 3rd embodiment for the method for scaling register mapping Flow chart.The present embodiment includes the steps that embodiment illustrated in fig. 2, wherein step S30 include:
Default value range is arranged according to the number of the digit of scaling register and ratio mode option in step S31;
Step S32 is determined as that numerical value is effective when numerical value is within the scope of default value;
Step S33 is determined as that numerical value is invalid when numerical value is not within the scope of default value.
The present embodiment mismatches in order to avoid scaling signal picture and scaling register, to each numerical value in scaling register Validity judged, mainly judge whether the number for scaling the numerical value in register has exceeded the ratio mode of television set Option number, also judges whether the numerical value scaled in register is ranked sequentially according to numerical values recited.Scale numerical value in register Significance bit is typically that the numerical value in fixed bit, such as 8 scaling registers is 0x01, and significance bit is 0~3,16 scalings Numerical value in register is 0x0100, and significance bit is 8~11.For the ease of sentencing to the numerical value validity for scaling register It is disconnected, default value range is arranged according to the number of the digit of scaling register and ratio mode option.For example, ratio mode option Number be 3, then the default value range of 8 scaling registers is set to 0x03, by the preset number of 16 scaling registers Value range is set as 0x0300;For another example, the number of ratio mode option is 15, then by the default value model of 8 scaling registers It encloses and is set as 0x0F, set the default value range of 16 scaling registers to 0x0F00.If scaling the number in register When value has exceeded default value range, then illustrate that the numerical value number for scaling register has exceeded the ratio mode option of television set Number, although scaling register numerical value number be less than or equal to television set ratio mode option number, may scale There is assignment mistake in register, then the numerical value for scaling present period in register at this time is invalid, need to be revised to it. If the numerical value in scaling register is belonged within the scope of default value, judge that the numerical value for scaling present period in register has Effect.The present embodiment is judged by the validity to numerical value in scaling register, is avoided because the numerical value of scaling register goes out Mistake causes scaling signal picture to be mismatched with scaling register, is conducive to scaling signal picture and normally switches.
As shown in figure 4, Fig. 4, which is present invention scaling, illustrates picture and the fourth embodiment for the method for scaling register mapping Flow chart.The present embodiment includes the steps that embodiment illustrated in fig. 3, further includes after step S31:
Default value range and numerical value are carried out step-by-step and operation by step S341;
Step S342, when operating result is true, numerical value is within the scope of default value;
Step S343, when operating result is fictitious time, numerical value is not within the scope of default value;
The numerical value scaled in register is compared by the present embodiment using step-by-step with by the way of with default value range.Example Such as, the default value range of 8 scaling registers is set as 0x03, when the numerical value in 8 scaling registers is 0x01, step-by-step Result with after is true, and for numerical value within the scope of default value, numerical value is effective;When the numerical value in 8 scaling registers is 0x04, Result of the step-by-step with after is false, and for numerical value not within the scope of default value, numerical value is invalid.The present embodiment passes through in scaling register The validity of numerical value is judged, scaling signal picture and scaling register caused by the numerical value error of scaling register are avoided It mismatches, is conducive to scaling signal picture and normally switches.
As shown in figure 5, Fig. 5, which is present invention scaling, illustrates picture and the 5th embodiment of the method for scaling register mapping Flow chart.The present embodiment includes the steps that embodiment illustrated in fig. 1, further includes before step S30:
Step S81 judges the parity for scaling the digit of register;
Step S82, when the digit for scaling register is even number, judgement scaling register is effective, and executes step S30;
Step S83, when the digit for scaling register is odd number, judgement scaling register is invalid.
The present embodiment is the situation for avoiding the scaling signal picture display mistake caused by scaling register damage, in advance to contracting The digit parity for putting register is judged that the normal digit for scaling register is typically even number, therefore, if scaling is posted The digit of storage is even number, then the scaling register is effective, if the digit of scaling register is odd number, the scaling register It may damage, display equipment stops subsequent operation, and prompts user's scaling register invalid, avoids because of scaling register damage It is bad that scaling signal picture is caused to show mistake.
As shown in fig. 6, Fig. 6, which is present invention scaling, illustrates picture and the first embodiment for the device for scaling register mapping Module diagram.The device for the scaling signal picture and scaling register mapping that the present embodiment is mentioned, including:
Command reception module 10, for receiving triggering command;
Acquisition module 20, for obtaining in the number of ratio mode option, the digit for scaling register and scaling register Each period corresponding numerical value;
Judgment module 30, for judging whether corresponding numerical value of each period is effective according to the number of ratio mode option;
Acquisition module 20 is additionally operable to, when any of corresponding numerical value of each period is invalid;
Module 40 is reset, is used for, when any of corresponding numerical value of each period is invalid, according to ratio mode option Number generates multiple new numerical value with reference format, and each new numerical value is corresponded to each period and is assigned to scaling successively Register;
Respective modules 50, for corresponding new numerical value and ratio mode option and scaling signal picture;
Acquisition module 20 is additionally operable to, and when receiving the ratio mode option of user's selection, is obtained in scaling register The corresponding new numerical value of ratio mode option of user's selection;
Display module 60, for showing that the corresponding scaling of new numerical value illustrates picture.
The present embodiment can be applied in the display equipment of adjustable picture scaling, such as television set, display, notes This computer, integrated computer etc..The present embodiment is by taking television set as an example, when user needs the picture scaling of adjusting television set When, the setting menu page of television set is turned on, cursor is switched at the ratio mode option in setting menu, that is, generated tactile Send instructions, triggering command is sent to the CPU of television set by display module.Television set includes multiple ratio modes, such as including 4: 3、16:9, Auto etc., or including standard, full frame, amplification, stretching, widescreen etc..Current television machine can be only shown in setting menu Aspect ratio corresponding to ratio mode option, such as current television machine aspect ratio be 16:9, then in only display scale The mode option 16:9.In addition it is also possible to which all ratio mode options are shown in setting menu page.
After obtaining triggering command, CPU executes matching operation on backstage.CPU obtains the total number of ratio mode option, often One ratio mode option corresponds to a scaling signal picture.Scaling register also current to television set CPU is identified, and obtains The digit of register must be scaled, such as the digit of 8 scaling registers is 8bit, the digit of 16 scaling registers is 16bit, The digit of 32 scaling registers is 32bit etc..Matching operation in the present embodiment can when using television set for the first time or It is carried out after having replaced scaling register every time, therefore triggering command can also generate under the foregoing conditions.In scaling register Be stored with numerical value, the different periods corresponds to different numerical value, such as 16 scaling registers include 0x0100,0x0200, Tri- numerical value of 0x0300.
It, need to be to the effective of each numerical value in scaling register in order to avoid scaling signal picture and scaling register mismatch Property judged, mainly judge whether the number for scaling the numerical value in register has exceeded the ratio mode option of television set Number illustrates that there are assignment for the scaling register if so, it will cause scaling signal pictures and scaling register value to mismatch The possibility of mistake shows if carrying out matching using the numerical value in the scaling register at this time, will appear can not find it is matched The case where scaling signal picture, thus scale any of register numerical value it is invalid when, can to user's display reminding information, or The numerical value in scaling register is modified automatically by display equipment.
When any of scaling register numerical value is invalid, scaling is reset according to the ratio mode option number of television set Register.For example, ratio mode option includes 4:3、16:9, tri- options of Auto then generate three numerical value according to reference format Newly-generated numerical value 0x01,0x02,0x03 are assigned to scaling register by 0x01,0x02,0x03 successively, complete resetting scaling Register.Each numerical value in scaling register after resetting is a pair of with each ratio mode option and scaling signal picture one respectively It answers, such as 0x01 corresponds to 4:3 options, while it is 4 also to correspond to ratio:3 scaling illustrates picture.
When user selects some ratio mode option on menu is arranged, such as select 4:3 options, then display are set The standby option according to user's selection gets corresponding numerical value in scaling register, and finds correspondence according to the numerical value got Scaling illustrate picture, will scaling signal picture according to preset display time showing on the screen of a display device, such as show Show 3 seconds, the display effect of selected ratio mode option is checked for user.After the preset display time reaches, display equipment is closed The scaling signal picture currently shown is closed, avoids display overlong time from influencing user and watches normal TV programme.In addition also may be used Not scale the display for illustrating picture to control using the preset display time and be automatically closed, but signal picture is scaled in display While face, a control is shown on the screen, which may include the option of " determination " and " cancellation ", and user, which clicks, to be determined Afterwards, the scaling currently shown illustrates image close, the TV programme played on display screen to be shown according to the ratio that user selects Show, cancel if clicked, the scaling signal picture currently shown is also switched off, and the TV programme played on display screen are according to user Ratio before selection is shown.
The present embodiment in advance deposits scaling before it will scale signal picture and be shown according to the values match of scaling register The validity of numerical value is judged in device, when invalid to any of the numerical value for scaling register, in resetting scaling register Numerical value, so that numerical value and ratio mode option and scaling signal picture in scaling register match, avoid because of scaling signal picture Scaling signal picture error, is conducive to the normal switching of television set proportional zoom caused by face is mismatched with scaling register.
As shown in fig. 7, Fig. 7, which is present invention scaling, illustrates picture and the second embodiment for the device for scaling register mapping Module diagram.The present embodiment includes the module of embodiment illustrated in fig. 6, further includes shift module 70, for working as each period pair When the numerical value answered is all effective, each numerical value is shifted according to the digit of scaling register, each numerical value, which is converted to, to be had Reference format and include significance bit new numerical value.
In the present embodiment, when scale the numerical value in register it is effective when, it is contemplated that the diversity of register, different registers Digit it is different, cause the position of the significance bit of numerical value may disunity.Such as the numerical value in 8 scaling registers is 0x01, Numerical value in 16 scaling registers is 0x0100, and the numerical value in 32 scaling registers is 0x010000,64 scaling deposits Numerical value in device is 0x01000000, this makes a scaling signal picture needs and multiple values match, is easy error.In order to Facilitate matching, the present embodiment that the numerical value for scaling register is carried out unified conversion according to reference format, for example, 8 scaling deposits Numerical value 0x01 in device is not converted, and the numerical value 0x0100 of 16 scaling registers is moved right 2 and obtains 0x01, and 32 are contracted It puts the numerical value 0x010000 in register to move right 4 0x01, to the right by the numerical value 0x01000000 in 64 scaling registers Move 6 0x01.Thus, which the format of numerical value in the scaling register of not isotopic number is carried out unification, a scaling signal picture Face only needs to be matched with a numerical value, avoids not that isotopic number scaling register can not picture be matched asks with scaling signal Topic keeps scaling signal picture matching more convenient, accurate.
As shown in figure 8, Fig. 8, which is present invention scaling, illustrates picture and the 3rd embodiment for the device for scaling register mapping Module diagram.The present embodiment includes the module of embodiment illustrated in fig. 6, further includes presetting module 80, for being deposited according to scaling Default value range is arranged in the digit of device and the number of ratio mode option;
Judgment module 30 is used for, and when numerical value is within the scope of default value, is determined as that numerical value is effective;When numerical value is not preset When in numberical range, it is determined as that numerical value is invalid.
The present embodiment mismatches in order to avoid scaling signal picture and scaling register, to each numerical value in scaling register Validity judged, mainly judge whether the number for scaling the numerical value in register has exceeded the ratio mode of television set Option number, also judges whether the numerical value scaled in register is ranked sequentially according to numerical values recited.Scale numerical value in register Significance bit is typically that the numerical value in fixed bit, such as 8 scaling registers is 0x01, and significance bit is 0~3,16 scalings Numerical value in register is 0x0100, and significance bit is 8~11.For the ease of sentencing to the numerical value validity for scaling register It is disconnected, default value range is arranged according to the number of the digit of scaling register and ratio mode option.For example, ratio mode option Number be 3, then the default value range of 8 scaling registers is set to 0x03, by the preset number of 16 scaling registers Value range is set as 0x0300;For another example, the number of ratio mode option is 15, then by the default value model of 8 scaling registers It encloses and is set as 0x0F, set the default value range of 16 scaling registers to 0x0F00.If scaling the number in register When value has exceeded default value range, then illustrate that the numerical value number for scaling register has exceeded the ratio mode option of television set Number, although scaling register numerical value number be less than or equal to television set ratio mode option number, may scale There is assignment mistake in register, then the numerical value for scaling present period in register at this time is invalid, need to be revised to it. If the numerical value in scaling register is belonged within the scope of default value, judge that the numerical value for scaling present period in register has Effect.The present embodiment is judged by the validity to numerical value in scaling register, is avoided because the numerical value of scaling register goes out Mistake causes scaling signal picture to be mismatched with scaling register, is conducive to scaling signal picture and normally switches.
As shown in figure 9, Fig. 9, which is present invention scaling, illustrates picture and the fourth embodiment for the device for scaling register mapping Module diagram.The present embodiment includes the module of embodiment illustrated in fig. 8, further includes computing module 90, is used for default value model It encloses and carries out step-by-step and operation with numerical value;
Judgment module 30 is additionally operable to, and when operating result is true, numerical value is within the scope of default value;When operating result is false When, numerical value is not within the scope of default value;
The numerical value scaled in register is compared by the present embodiment using step-by-step with by the way of with default value range.Example Such as, the default value range of 8 scaling registers is set as 0x03, when the numerical value in 8 scaling registers is 0x01, step-by-step Result with after is true, and for numerical value within the scope of default value, numerical value is effective;When the numerical value in 8 scaling registers is 0x04, Result of the step-by-step with after is false, and for numerical value not within the scope of default value, numerical value is invalid.The present embodiment passes through in scaling register The validity of numerical value is judged, scaling signal picture and scaling register caused by the numerical value error of scaling register are avoided It mismatches, is conducive to scaling signal picture and normally switches.
Further, judgment module 30 is additionally operable to:
Judge the parity of the digit of scaling register;
When the digit for scaling register is even number, judgement scaling register is effective;
When the digit for scaling register is odd number, judgement scaling register is invalid.
The present embodiment is the situation for avoiding the scaling signal picture display mistake caused by scaling register damage, in advance to contracting The digit parity for putting register is judged that the normal digit for scaling register is typically even number, therefore, if scaling is posted The digit of storage is even number, then the scaling register is effective, if the digit of scaling register is odd number, the scaling register It may damage, display equipment stops subsequent operation, and prompts user's scaling register invalid, avoids because of scaling register damage It is bad that scaling signal picture is caused to show mistake.
The foregoing is merely the preferred embodiment of the present invention, are not intended to limit the scope of the invention, every utilization Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method scaling signal picture and scale register mapping, which is characterized in that including step:
Triggering command is received, is obtained each in number, the digit for scaling register and the scaling register of ratio mode option A period corresponding numerical value;
Judge whether corresponding numerical value of each period is effective according to the number of the ratio mode option;
When any of corresponding numerical value of each period is invalid, have according to the generation of the number of the ratio mode option is multiple The new numerical value of reference format, and each new numerical value is corresponded into each period and is assigned to the scaling register successively;
New numerical value and ratio mode option and scaling signal picture are corresponded;
When receiving the ratio mode option of user's selection, the ratio mode of user's selection is obtained in the scaling register The corresponding new numerical value of option, and show the corresponding scaling signal picture of the new numerical value.
2. the method as described in claim 1 scaling signal picture and scale register mapping, which is characterized in that the basis The number of ratio mode option judges:
When each period, corresponding numerical value was all effective, each numerical value is shifted according to the digit of the scaling register, it will be every One numerical value be all converted to reference format and include significance bit new numerical value.
3. the method as claimed in claim 1 or 2 scaling signal picture and scale register mapping, which is characterized in that described Judge that the whether effective step of corresponding numerical value of each period includes according to the number of ratio mode option:
According to the number of the digit of the scaling register and the ratio mode option, default value range is set;
When corresponding numerical value of each period is within the scope of the default value in the scaling register, it is determined as the scaling Each period, corresponding numerical value was effective in register;
When corresponding numerical value of each period is not within the scope of the default value in the scaling register, it is determined as the contracting It is invalid to put the corresponding numerical value of each period in register.
4. the method as claimed in claim 3 scaling signal picture and scale register mapping, which is characterized in that the basis Further include after the step of default value range is arranged in the number of the digit and the ratio mode option that scale register:
Default value range numerical value corresponding with each period in the scaling register is subjected to step-by-step and operation;
When operating result is true, each period, corresponding numerical value was within the scope of the default value in the scaling register;
When operating result is fictitious time, each period, corresponding numerical value was not in the default value range in the scaling register It is interior.
5. the method as claimed in claim 1 or 2 scaling signal picture and scale register mapping, which is characterized in that described Judging the whether effective step of corresponding numerical value of each period before according to the number of ratio mode option further includes:
Judge the parity of the digit of the scaling register;
When the digit of the scaling register is even number, judge that the scaling register is effective, and execute described according to ratio The number of the mode option judges the whether effective step of corresponding numerical value of each period;
When the digit of the scaling register is odd number, judge that the scaling register is invalid.
6. a kind of device scaling signal picture and scale register mapping, which is characterized in that including:
Command reception module, for receiving triggering command;
Acquisition module, it is each in the number of ratio mode option, the digit of scaling register and the scaling register for obtaining A period corresponding numerical value;
Judgment module, for judging whether corresponding numerical value of each period is effective according to the number of the ratio mode option;
Module is reset, is used for, when any of corresponding numerical value of each period is invalid, according to of the ratio mode option Number generates multiple new numerical value with reference format, and each new numerical value is corresponded to each period and is assigned to institute successively State scaling register;
Respective modules, for corresponding new numerical value and ratio mode option and scaling signal picture;
The acquisition module is additionally operable to, and when receiving the ratio mode option of user's selection, is obtained in the scaling register Take the corresponding new numerical value of ratio mode option of family selection;
Display module, for showing that the corresponding scaling of the new numerical value illustrates picture.
7. the device as claimed in claim 6 scaling signal picture and scale register mapping, which is characterized in that further include moving Position module, for when each period, corresponding numerical value was all effective, each number to be shifted according to the digit of the scaling register Value, by each numerical value be converted to reference format and include significance bit new numerical value.
8. the device of scaling signal picture and scaling register mapping as claimed in claims 6 or 7, which is characterized in that also wrap Presetting module is included, for default value model to be arranged according to the digit of the scaling register and the number of the ratio mode option It encloses;
The judgment module is additionally operable to, and when each period, corresponding numerical value was within the scope of the default value, is determined as Each period, corresponding numerical value was effective;When each period, corresponding numerical value was not within the scope of the default value, It is determined as that corresponding numerical value of each period is invalid.
9. the device as claimed in claim 8 scaling signal picture and scale register mapping, which is characterized in that further include meter Module is calculated, for carrying out step-by-step and operating default value range numerical value corresponding with each period;
The judgment module is additionally operable to, and when operating result is true, each period, corresponding numerical value was in the default value In range;When operating result is fictitious time, each period, corresponding numerical value was not within the scope of the default value.
10. the device of scaling signal picture and scaling register mapping as claimed in claims 6 or 7, which is characterized in that described Judgment module is additionally operable to:
Judge the parity of the digit of the scaling register;
When the digit of the scaling register is even number, judge that the scaling register is effective;
When the digit of the scaling register is odd number, judge that the scaling register is invalid.
CN201510522745.9A 2015-08-24 2015-08-24 Method and apparatus scaling signal picture and scale register mapping Active CN105141874B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510522745.9A CN105141874B (en) 2015-08-24 2015-08-24 Method and apparatus scaling signal picture and scale register mapping
PCT/CN2016/084220 WO2017032119A1 (en) 2015-08-24 2016-06-01 Method and apparatus for matching scaling schematic picture and scaling register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510522745.9A CN105141874B (en) 2015-08-24 2015-08-24 Method and apparatus scaling signal picture and scale register mapping

Publications (2)

Publication Number Publication Date
CN105141874A CN105141874A (en) 2015-12-09
CN105141874B true CN105141874B (en) 2018-09-04

Family

ID=54727070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510522745.9A Active CN105141874B (en) 2015-08-24 2015-08-24 Method and apparatus scaling signal picture and scale register mapping

Country Status (2)

Country Link
CN (1) CN105141874B (en)
WO (1) WO2017032119A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141874B (en) * 2015-08-24 2018-09-04 深圳Tcl数字技术有限公司 Method and apparatus scaling signal picture and scale register mapping
CN111797933B (en) * 2020-07-10 2023-07-28 百度在线网络技术(北京)有限公司 Template matching method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6593928B1 (en) * 2000-02-16 2003-07-15 Silicon Motion, Inc. Auto screen centering and expansion of VGA display modes on larger size of LCD display device
CN101753877A (en) * 2008-12-09 2010-06-23 深圳Tcl新技术有限公司 Television zoom mode adjustment method and television
CN103794169A (en) * 2012-10-30 2014-05-14 瑞萨Sp驱动器公司 Display control device and data processing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3362538B2 (en) * 1994-12-06 2003-01-07 ソニー株式会社 Video signal processing device and video signal reproducing device
CN105141874B (en) * 2015-08-24 2018-09-04 深圳Tcl数字技术有限公司 Method and apparatus scaling signal picture and scale register mapping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6593928B1 (en) * 2000-02-16 2003-07-15 Silicon Motion, Inc. Auto screen centering and expansion of VGA display modes on larger size of LCD display device
CN101753877A (en) * 2008-12-09 2010-06-23 深圳Tcl新技术有限公司 Television zoom mode adjustment method and television
CN103794169A (en) * 2012-10-30 2014-05-14 瑞萨Sp驱动器公司 Display control device and data processing system

Also Published As

Publication number Publication date
CN105141874A (en) 2015-12-09
WO2017032119A1 (en) 2017-03-02

Similar Documents

Publication Publication Date Title
CN100428113C (en) One key on-and-off unit for computer and reset device and method
CN105959544B (en) A kind of image processing method and mobile terminal of mobile terminal
CN108632838A (en) A kind of measurement report method, terminal and the network side equipment of wave beam
CN102722440A (en) Debugging device of executive codes of embedded system, debugging method and embedded system
CN101393442A (en) CEMS monitoring method based on OPC communication technology
CN105141874B (en) Method and apparatus scaling signal picture and scale register mapping
CN107657591A (en) A kind of image processing method and mobile terminal
CN106775053A (en) Method and device for determining sensitivity of touch screen
CN104750585A (en) Terminal detecting method and terminal detecting device
CN104915297A (en) APP electricity consumption automatic test method for android device
CN107360321B (en) A kind of detection method and mobile terminal of digital signal processor DSP
CN112180764A (en) Controller with multiple fault diagnosis and display functions
CN106406433B (en) A kind of brightness control system
CN107463051A (en) A kind of exposure method and device
US11223961B2 (en) Configuration method of wireless network system, configuration terminal and configuration system
CN110470927B (en) Key testing method and key testing device
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN105812940A (en) Method for switching between homepages and display equipment
CN106407062B (en) industrial control chip debugging system and debugging method
CN205091732U (en) Automatic switching device for USB interface
CN105388795A (en) Miniaturized man-machine interaction system
CN114327151B (en) Touch data conversion method and device, computer equipment and storage medium
EP3190518A1 (en) Method and apparatus for acquiring power consumption of network element device
JP2865379B2 (en) Television receiver
CN103457957A (en) Network penetration test system with self-adaption function and network penetration test method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant