WO2017032119A1 - 缩放示意画面与缩放寄存器匹配的方法和装置 - Google Patents

缩放示意画面与缩放寄存器匹配的方法和装置 Download PDF

Info

Publication number
WO2017032119A1
WO2017032119A1 PCT/CN2016/084220 CN2016084220W WO2017032119A1 WO 2017032119 A1 WO2017032119 A1 WO 2017032119A1 CN 2016084220 W CN2016084220 W CN 2016084220W WO 2017032119 A1 WO2017032119 A1 WO 2017032119A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
scaling
register
scaling register
bits
Prior art date
Application number
PCT/CN2016/084220
Other languages
English (en)
French (fr)
Inventor
黄孙明
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017032119A1 publication Critical patent/WO2017032119A1/zh

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

Definitions

  • the present invention relates to the field of display technologies, and in particular, to a method and apparatus for scaling a schematic picture to match a scaling register.
  • a display device such as a television or a display device produces a display device
  • it is often only a terminal middleware, and the chip provided by the chip developer is assembled into a display device middleware.
  • the types of chips are becoming more and more abundant, and the chips of the same model produced by different developers may also be different, which may lead to the docking between the display device middleware and various chips. Compatibility problems.
  • the zoom ratio of the TV when the user selects a certain zoom gesture screen in the TV setup menu, a corresponding zoom gesture screen pops up on the TV display screen, so that the user can better understand the currently selected scale mode corresponding.
  • the display effect Assume that the TV includes 4:3, 16:9 two aspect ratio modes, and the 8-bit chip's scaling function register includes three values of 0x01, 0x02, and 0x03.
  • the value of the zoom function register is 0x01, and the corresponding zoom mode is displayed in a 4:3 scale mode;
  • the value of the zoom function register is 0x02, the corresponding zoom indication screen is displayed in a 16:9 ratio mode; however, when the value of the scaling function register is switched to 0x03, since there is no matching scaling gesture picture, the problem of fault tolerance occurs between the scaling gesture picture and the scaling register. The zooming screen is in error and the zoom function cannot be switched normally.
  • the main object of the present invention is to provide a method and apparatus for matching a scaling schematic picture with a scaling register, which effectively avoids the problem that the scaling schematic picture does not match the scaling register.
  • the invention provides a method for matching a zooming schematic picture with a scaling register, which comprises the steps of:
  • Receiving a trigger instruction obtaining a number of proportional mode options, a number of bits of the scaling register, and a value corresponding to each time period in the scaling register;
  • the new value corresponding to the proportional mode option selected by the user is obtained in the zoom register, and the zooming instruction screen corresponding to the new value is displayed;
  • the step of determining whether the value corresponding to each time period is valid according to the number of the proportional mode options includes:
  • the invention also provides a method for scaling a schematic picture to match a scaling register, comprising the steps of:
  • Receiving a trigger instruction obtaining a number of proportional mode options, a number of bits of the scaling register, and a value corresponding to each time period in the scaling register;
  • the new value corresponding to the proportional mode option selected by the user is obtained in the zoom register, and the zoom indication screen corresponding to the new value is displayed.
  • the present invention also provides an apparatus for scaling a schematic picture to match a scaling register, comprising:
  • An instruction receiving module configured to receive a trigger instruction
  • An obtaining module configured to obtain a number of the proportional mode option, a number of bits of the scaling register, and a value corresponding to each time period in the scaling register;
  • a determining module configured to determine, according to the number of the proportional mode options, whether a value corresponding to each time period is valid
  • a reset module configured to generate, according to the number of the proportional mode options, a plurality of new values having a standard format, and each of the new values corresponding to each time period, when any one of the values corresponding to each time period is invalid Assigning to the scaling register in turn;
  • Corresponding module for matching the new value with the proportional mode option and the zooming gesture screen
  • the obtaining module is further configured to: when receiving a proportional mode option selected by the user, obtain a new value corresponding to the proportional mode option selected by the user in the scaling register;
  • a display module configured to display a zooming schematic screen corresponding to the new value.
  • the invention pre-determines the validity of the value in the scaling register before the scaling schematic picture is matched according to the value of the scaling register, and resets the value in the scaling register to make the scaling when any one of the values of the scaling register is invalid.
  • the value in the register matches the scale mode option and the zoom schematic screen, which avoids the error of the zoom schematic picture caused by the mismatch between the zoom schematic screen and the zoom register, which is beneficial to the normal switching of the scale conversion of the television.
  • FIG. 1 is a flow chart of a first embodiment of a method for scaling a schematic picture and a scaling register according to the present invention
  • FIG. 2 is a flow chart of a fourth embodiment of a method for scaling a schematic picture and a scaling register according to the present invention
  • FIG. 3 is a flow chart of a fifth embodiment of a method for scaling a schematic picture and a scaling register according to the present invention.
  • FIG. 4 is a block diagram showing a first embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention
  • FIG. 5 is a block diagram showing a second embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention
  • FIG. 6 is a block diagram showing a third embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention.
  • FIG. 7 is a block diagram showing a fourth embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention.
  • FIG. 1 is a flowchart of a first embodiment of a method for scaling a schematic picture and a scaling register according to the present invention.
  • the method for matching the scaling schematic picture and the scaling register mentioned in this embodiment includes:
  • Step S10 receiving a trigger instruction
  • This embodiment can be applied to a display device that can adjust the zoom ratio of a screen, such as a television, a display, a notebook computer, an all-in-one computer, and the like.
  • a television is taken as an example.
  • the setting menu page of the television is turned on, and the cursor is switched to the proportional mode option in the setting menu, that is, a trigger command is generated, and the display module is generated.
  • the television includes a plurality of scale modes, including, for example, 4:3, 16:9, Auto, etc., or includes standard, full screen, zoom, stretch, widescreen, and the like.
  • the setup menu only the proportional mode option corresponding to the aspect ratio of the current TV set can be displayed. For example, if the current TV screen ratio is 16:9, only the scale mode option 16:9 is displayed. In addition, all scale mode options can also be displayed on the setup menu page.
  • Step S20 obtaining the number of the proportional mode option, the number of bits of the scaling register, and the value corresponding to each period in the scaling register;
  • the CPU After obtaining the trigger instruction, the CPU performs a matching operation in the background.
  • the CPU obtains the total number of proportional mode options, and each proportional mode option corresponds to a zooming gesture screen.
  • the CPU also recognizes the current scaling register of the television and obtains the number of bits of the scaling register.
  • the 8-bit scaling register has a bit number of 8 bits
  • the 16-bit scaling register has a bit number of 16 bits
  • the 32-bit scaling register has a bit number of 32 bits.
  • the matching operation in this embodiment can be performed when the television is used for the first time or after each time the zoom register is replaced, so the trigger command can also be generated under the aforementioned conditions. Values are stored in the scaling register, and different time periods correspond to different values.
  • the 16-bit scaling register includes three values of 0x0100, 0x0200, and 0x0300.
  • Step S30 determining whether the value corresponding to each time period is valid according to the number of the proportional mode options
  • the scaling register In order to avoid the misalignment of the scaling picture and the scaling register, it is necessary to judge the validity of each value in the scaling register, mainly to determine whether the number of values in the scaling register exceeds the number of proportional mode options of the television, if , the scaling signal will not match the value of the scaling register, indicating that there is a possibility of assignment error in the scaling register. If the value in the scaling register is used for matching display, a matching scaling image cannot be found. In this case, the prompt information can be displayed to the user when any of the values in the zoom register is invalid, or the value in the zoom register can be automatically corrected by the display device.
  • Step S41 when any one of the values corresponding to each time period is invalid, generate a plurality of new values having a standard format according to the number of the proportional mode options;
  • Step S42 sequentially assigning each new value to each of the time periods to the scaling register
  • the scaling register is reset according to the number of proportional mode options of the TV.
  • the proportional mode option includes four options of 4:3, 16:9, and Auto.
  • Three values 0x01, 0x02, and 0x03 are generated according to the standard format, and the newly generated values 0x01, 0x02, and 0x03 are sequentially assigned to the scaling register. Reset the scaling register.
  • Step S50 the new value is corresponding to the proportional mode option and the zooming gesture screen
  • the values in the reset zoom register are respectively corresponding to the scale mode options and the zoom gesture screen, for example, 0x01 corresponds to the 4:3 option, and also corresponds to the zoom gesture screen with a ratio of 4:3.
  • Step S60 when the user selects the proportional mode option, obtains a new value corresponding to the proportional mode option selected by the user in the zoom register, and displays a zooming gesture screen corresponding to the new value.
  • the display device When the user selects a certain proportional mode option on the setting menu, for example, the 4:3 option is selected, the display device obtains the corresponding value in the scaling register according to the option selected by the user, and finds the corresponding scaling according to the obtained value.
  • the screen is displayed, and the zoom gesture screen is displayed on the screen of the display device according to the preset display time, for example, for 3 seconds, for the user to view the display effect of the selected scale mode option.
  • the display device closes the currently displayed zoom gesture screen to prevent the display time from being too long, which affects the user watching the normal TV program.
  • the preset display time may not be used to control the display of the zoom schematic screen and the automatic close, but a control is displayed on the screen while displaying the zoom gesture screen, and the control may include “determine” and “cancel”.
  • the currently displayed zooming gesture screen is closed, and the TV program played on the display screen is displayed according to the proportion selected by the user. If the cancellation is clicked, the currently displayed zooming gesture screen is also closed, and the television displayed on the display screen is turned off. The program is displayed in proportion to the user's choice.
  • the validity of the value in the scaling register is determined in advance, and when any one of the values of the scaling register is invalid, the value in the scaling register is reset, so that the value in the scaling register is reset.
  • the value in the scaling register is matched with the scaling mode option and the zooming schematic picture, which avoids the error of the zooming schematic picture caused by the mismatch of the zooming picture and the scaling register, and is beneficial for the normal switching of the scale of the television.
  • step S30 the steps of the embodiment shown in FIG. 1 are included, and after step S30, the method further includes:
  • step S70 when the values corresponding to the respective time periods are all valid, each value is shifted according to the number of bits of the scaling register, and each value is converted into a new value having a standard format and containing the valid bits.
  • the value in the scaling register when the value in the scaling register is valid, considering the diversity of the registers, the number of bits of the different registers is different, and the positions of the valid bits of the values may not be uniform.
  • the value in the 8-bit scaling register is 0x01
  • the value in the 16-bit scaling register is 0x0100
  • the value in the 32-bit scaling register is 0x010000
  • the value in the 64-bit scaling register is 0x01000000, which makes a zooming gesture picture need to be more
  • the value of the scaling register is uniformly converted according to the standard format in the embodiment.
  • the value 0x01 in the 8-bit scaling register is not converted, and the value 0x0100 of the 16-bit scaling register is shifted to the right by 2 bits to obtain 0x01.
  • the value 0x010000 in the 32-bit scaling register is shifted to the right by 4 bits 0x01, and the value 0x01000000 in the 64-bit scaling register is shifted to the right by 6 bits 0x01.
  • the format of the values in the different digits of the scaling register is unified, and a zooming gesture picture only needs to be matched with a value, thereby avoiding the problem that the different digit scaling registers cannot match the scaling schematic image, so that the scaling gesture screen is made. Matching is more convenient and accurate.
  • step S30 includes:
  • Step S31 setting a preset value range according to the number of bits of the scaling register and the number of proportional mode options
  • Step S32 when the value is within the preset value range, it is determined that the value is valid
  • step S33 when the value is not within the preset value range, it is determined that the value is invalid.
  • the validity of each value in the scaling register is determined, mainly to determine whether the number of values in the scaling register exceeds the number of proportional mode options of the television. It is also judged whether the values in the scaling register are arranged in the order of numerical values.
  • the valid bit of the value in the scaling register is usually in a fixed bit. For example, the value in the 8-bit scaling register is 0x01, the valid bit is 0 ⁇ 3 bits, the value in the 16-bit scaling register is 0x0100, and the valid bit is 8 ⁇ 11 bits.
  • the preset value range is set according to the number of bits of the scaling register and the number of proportional mode options. For example, if the number of proportional mode options is 3, the preset value range of the 8-bit scaling register is set to 0x03, and the preset value range of the 16-bit scaling register is set to 0x0300; for example, the number of proportional mode options is 15, the preset value range of the 8-bit scaling register is set to 0x0F, and the preset value range of the 16-bit scaling register is set to 0x0F00.
  • the number of values in the scaling register exceeds the number of proportional mode options of the TV, or although the number of values in the scaling register is less than or equal to the ratio mode option of the TV. The number, but the scaling register may have an assignment error. At this time, the value of the current period in the scaling register is invalid and needs to be revised. If the value in the scaling register is within the preset value range, it is determined that the value of the current time period in the scaling register is valid. In this embodiment, by judging the validity of the value in the scaling register, it is avoided that the scaling gesture picture does not match the scaling register due to the error of the value of the scaling register, which is advantageous for the normal switching of the zooming gesture picture.
  • FIG. 2 is a flowchart of a fourth embodiment of a method for scaling a schematic picture and a scaling register according to the present invention.
  • This embodiment includes the steps of the third embodiment, and after step S31, further includes:
  • Step S341 performing bitwise AND operation on the preset value range and the value
  • Step S342 when the operation result is true, the value is within a preset value range
  • Step S343 when the operation result is false, the value is not within the preset value range
  • the value in the scaling register is compared with the preset value range in a bitwise manner.
  • the preset value range of the 8-bit scaling register is set to 0x03.
  • the value in the 8-bit scaling register is 0x01, the result of the bitwise and subsequent is true, the value is within the preset value range, and the value is valid; when 8 bits When the value in the scaling register is 0x04, the result of bitwise and subsequent is false, the value is not within the preset value range, and the value is invalid.
  • the scaling gesture picture does not match the scaling register due to the error of the value of the scaling register, which is advantageous for the normal switching of the zooming gesture picture.
  • FIG. 3 is a flowchart of a fifth embodiment of a method for scaling a schematic picture and a scaling register according to the present invention.
  • This embodiment includes the steps of the embodiment shown in FIG. 1, and further includes: before step S30:
  • Step S81 determining the parity of the number of bits of the scaling register
  • Step S82 when the number of bits of the scaling register is even, it is determined that the scaling register is valid, and step S30 is performed;
  • step S83 when the number of bits of the scaling register is an odd number, it is determined that the scaling register is invalid.
  • the bit parity of the scaling register is determined in advance, and the number of bits of the normal scaling register is usually an even number. Therefore, if the number of bits of the scaling register is Even if the number of bits in the scaling register is odd, the scaling register may be corrupted, the display device stops subsequent operations, and prompts the user that the scaling register is invalid, avoiding the scaling of the zooming screen due to the loss of the scaling register. .
  • FIG. 4 is a block diagram showing a first embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention.
  • the apparatus for matching the scaling schematic picture and the scaling register mentioned in this embodiment includes:
  • the instruction receiving module 10 is configured to receive a trigger instruction
  • the obtaining module 20 is configured to obtain the number of the proportional mode option, the number of bits of the scaling register, and a value corresponding to each time period in the scaling register;
  • the determining module 30 is configured to determine, according to the number of the proportional mode options, whether the value corresponding to each time period is valid;
  • the obtaining module 20 is further configured to: when any one of the values corresponding to each time period is invalid;
  • the resetting module 40 is configured to, when any one of the values corresponding to the respective time periods is invalid, generate a plurality of new values having a standard format according to the number of the proportional mode options, and assign each new value to each time period sequentially Scale register
  • Corresponding module 50 configured to map the new value to the scale mode option and the zoom gesture screen in one-to-one correspondence
  • the obtaining module 20 is further configured to: when receiving the proportional mode option selected by the user, obtain a new value corresponding to the proportional mode option selected by the user in the scaling register;
  • the display module 60 is configured to display a zooming schematic screen corresponding to the new value.
  • each of the means in which the scaling schematic picture matches the scaling register corresponds to the operation in each of the method steps of FIG.
  • the specific content of these operation steps has been described in detail in the foregoing, and therefore will not be described here.
  • the validity of the value in the scaling register is determined in advance, and when any one of the values of the scaling register is invalid, the value in the scaling register is reset, so that the value in the scaling register is reset.
  • the value in the scaling register is matched with the scaling mode option and the zooming schematic picture, which avoids the error of the zooming schematic picture caused by the mismatch of the zooming picture and the scaling register, and is beneficial for the normal switching of the scale of the television.
  • FIG. 5 is a schematic block diagram of a second embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention.
  • the embodiment includes the module of the embodiment shown in FIG. 4, and further includes a shifting module 70, configured to shift each value according to the number of bits of the scaling register when each value corresponding to each time period is valid, and convert each value Is a new value with a standard format and containing valid bits.
  • the shifting module corresponds to the operation of step S70.
  • the specific content of these operation steps has been described in detail in the foregoing, and therefore will not be described here.
  • the number of bits of the different registers is different, and the positions of the valid bits of the values may not be uniform.
  • the format of the values in the different digits of the scaling register is unified, and a zooming gesture picture only needs to be matched with one value, which avoids the problem that the different digit scaling registers cannot match the scaling schematic image, and the scaling of the screen matching is more convenient. accurate.
  • FIG. 6 is a schematic block diagram of a third embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention.
  • the embodiment includes the module of the embodiment shown in FIG. 4, and further includes a preset module 80, configured to set a preset value range according to the number of bits of the scaling register and the number of proportional mode options;
  • the judging module 30 is configured to determine that the value is valid when the value is within the preset value range, and determine that the value is invalid when the value is not within the preset value range.
  • the preset module and the determining module correspond to the specific operating steps S31, S32, and S33 of step S30.
  • the specific content of these operation steps has been described in detail in the foregoing, and therefore will not be described here.
  • FIG. 7 is a schematic block diagram of a fourth embodiment of an apparatus for scaling a schematic picture and a scaling register according to the present invention.
  • the embodiment includes the module of the embodiment shown in FIG. 6 , and further includes a calculation module 90 for performing bitwise operation on the preset value range and the value;
  • the determining module 30 is further configured to: when the operation result is true, the value is within a preset value range; when the operation result is false, the value is not within the preset value range;
  • the value in the scaling register is compared with the preset value range in a bitwise manner.
  • the preset value range of the 8-bit scaling register is set to 0x03.
  • the value in the 8-bit scaling register is 0x01, the result of the bitwise and subsequent is true, the value is within the preset value range, and the value is valid; when 8 bits When the value in the scaling register is 0x04, the result of bitwise and subsequent is false, the value is not within the preset value range, and the value is invalid.
  • the scaling gesture picture does not match the scaling register due to the error of the value of the scaling register, which is advantageous for the normal switching of the zooming gesture picture.
  • the determining module 30 is further configured to:
  • the bit parity of the scaling register is determined in advance, and the number of bits of the normal scaling register is usually an even number. Therefore, if the number of bits of the scaling register is Even if the number of bits in the scaling register is odd, the scaling register may be corrupted, the display device stops subsequent operations, and prompts the user that the scaling register is invalid, avoiding the scaling of the zooming screen due to the loss of the scaling register. .

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

一种缩放示意画面与缩放寄存器匹配的方法,包括:接收触发指令(S10),获取缩放寄存器的位数和各个时段对应的数值(S20);当各个时段对应的数值都有效时,根据所述缩放寄存器的位数移位每一个数值,将每一个数值都转换为具有标准格式且包含有效位的新的数值(S70);将新的数值与比例模式选项和缩放示意画面一一对应(S50);当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值,并显示所述新的数值对应的缩放示意画面(S60)。还公开了一种缩放示意画面与缩放寄存器匹配的装置。避免了因缩放示意画面与缩放寄存器不匹配造成的缩放示意画面出错,有利于电视机比例缩放的正常切换。

Description

缩放示意画面与缩放寄存器匹配的方法和装置
技术领域
本发明涉及显示技术领域,特别涉及缩放示意画面与缩放寄存器匹配的方法和装置。
背景技术
目前,电视机、显示器等显示设备生产方在生产显示设备时,往往是只生产终端中间件,再将芯片开发方提供的芯片组装到显示设备中间件中。由于芯片开发方数量越来越多,芯片的种类也越来越丰富,而不同开发方生产的同一型号的芯片可能也有不同,这可能会导致显示设备中间件与各种芯片之间的对接出现兼容问题。
以电视机的画面比例缩放为例,当用户在电视设置菜单中选择某一种缩放示意画面后,在电视机显示屏上弹出对应的缩放示意画面,方便用户能够更加了解当前选择的比例模式对应的显示效果。假设电视机包括4:3、16:9两种画面比例模式,8位芯片的缩放功能寄存器包括0x01、0x02、0x03三个数值。当用户选择4:3比例模式选项后,缩放功能寄存器的值为0x01,对应的缩放示意画面以4:3的比例模式显示;当用户选择16:9比例模式选项后,缩放功能寄存器的值为0x02,对应的缩放示意画面以16:9的比例模式显示;但是,当缩放功能寄存器的值切换为0x03时,由于没有匹配的缩放示意画面,缩放示意画面与缩放寄存器之间对接出现容错问题,造成缩放示意画面出错,缩放功能无法正常切换。
发明内容
本发明的主要目的为提供一种缩放示意画面与缩放寄存器匹配的方法和装置,有效避免缩放示意画面与缩放寄存器不匹配的问题。
本发明提出一种一种缩放示意画面与缩放寄存器匹配的方法,其特征在于,包括步骤:
接收触发指令,获取比例模式选项的个数、缩放寄存器的位数和所述缩放寄存器中各个时段对应的数值;
判断所述缩放寄存器的位数的奇偶性;
当所述缩放寄存器的位数为偶数时,判定所述缩放寄存器有效,并执行所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤;
当所述缩放寄存器的位数为奇数时,判定所述缩放寄存器无效;
根据所述比例模式选项的个数判断各个时段对应的数值是否有效;
当各个时段对应的数值中任一个无效时,根据所述比例模式选项的个数生成多个具有标准格式的新的数值,并将各个所述新的数值对应各个时段依次赋值给所述缩放寄存器;
将新的数值与比例模式选项和缩放示意画面一一对应;
当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值,并显示所述新的数值对应的缩放示意画面;
其中,所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤包括:
根据所述缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围;
当所述数值在所述预置数值范围内时,判定为所述数值有效;
当所述数值不在所述预置数值范围内时,判定为所述数值无效。
本发明还提出一种缩放示意画面与缩放寄存器匹配的方法,包括步骤:
接收触发指令,获取比例模式选项的个数、缩放寄存器的位数和所述缩放寄存器中各个时段对应的数值;
根据所述比例模式选项的个数判断各个时段对应的数值是否有效;
当各个时段对应的数值中任一个无效时,根据所述比例模式选项的个数生成多个具有标准格式的新的数值,并将各个所述新的数值对应各个时段依次赋值给所述缩放寄存器;
将各新的数值与各比例模式选项和各缩放示意画面一一对应;
当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值,并显示所述新的数值对应的缩放示意画面。
本发明还提出一种缩放示意画面与缩放寄存器匹配的装置,包括:
指令接收模块,用于接收触发指令;
获取模块,用于获取比例模式选项的个数、缩放寄存器的位数和所述缩放寄存器中各个时段对应的数值;
判断模块,用于根据所述比例模式选项的个数判断各个时段对应的数值是否有效;
重置模块,用于,当各个时段对应的数值中任一个无效时,根据所述比例模式选项的个数生成多个具有标准格式的新的数值,并将各个所述新的数值对应各个时段依次赋值给所述缩放寄存器;
对应模块,用于将新的数值与比例模式选项和缩放示意画面一一对应;
所述获取模块还用于,当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值;
显示模块,用于显示所述新的数值对应的缩放示意画面。
本发明在将缩放示意画面按照缩放寄存器的数值匹配显示前,预先对缩放寄存器中数值的有效性进行判断,在对缩放寄存器的数值中任一个无效时,重置缩放寄存器中的数值,使缩放寄存器中数值与比例模式选项和缩放示意画面匹配,避免了因缩放示意画面与缩放寄存器不匹配造成的缩放示意画面出错,有利于电视机比例缩放的正常切换。
附图说明
图1为本发明缩放示意画面与缩放寄存器匹配的方法的第一实施例的流程图;
图2为本发明缩放示意画面与缩放寄存器匹配的方法的第四实施例的流程图;
图3为本发明缩放示意画面与缩放寄存器匹配的方法的第五实施例的流程图;
图4为本发明缩放示意画面与缩放寄存器匹配的装置的第一实施例的模块示意图;
图5为本发明缩放示意画面与缩放寄存器匹配的装置的第二实施例的模块示意图;
图6为本发明缩放示意画面与缩放寄存器匹配的装置的第三实施例的模块示意图;
图7为本发明缩放示意画面与缩放寄存器匹配的装置的第四实施例的模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
如图1所示,图1为本发明缩放示意画面与缩放寄存器匹配的方法的第一实施例的流程图。本实施例提到的缩放示意画面与缩放寄存器匹配的方法,包括:
步骤S10,接收触发指令;
本实施例可应用于可调节画面缩放比例的显示设备中,例如电视机、显示器、笔记本电脑、一体机电脑等。本实施例以电视机为例,当用户需要调节电视机的画面缩放比例时,打开电视机的设置菜单页面,将光标切换到设置菜单中的比例模式选项处,即生成了触发指令,显示模块将触发指令发送给电视机的CPU。电视机包括多个比例模式,例如包括4:3、16:9、Auto等,或包括标准、全屏、放大、拉伸、宽屏等。在设置菜单可以只显示当前电视机的画面比例所对应的比例模式选项,例如当前电视机的画面比例为16:9,则在只显示比例模式选项16:9。此外,也可以将所有的比例模式选项都显示在设置菜单页面中。
步骤S20,获取比例模式选项的个数、缩放寄存器的位数和缩放寄存器中各个时段对应的数值;
在获得触发指令后,CPU在后台执行匹配操作。CPU获取比例模式选项的总个数,每一个比例模式选项对应一个缩放示意画面。CPU还对电视机当前的缩放寄存器进行识别,获得缩放寄存器的位数,例如8位缩放寄存器的位数为8bit,16位缩放寄存器的位数为16bit,32位缩放寄存器的位数为32bit等。本实施例中的匹配操作可以在首次使用电视机时或在每次更换了缩放寄存器后进行,因此触发指令也可以在前述条件下生成。在缩放寄存器中存储有数值,不同的时段对应不同的数值,例如16位缩放寄存器中包括0x0100、0x0200、0x0300三个数值。
步骤S30,根据比例模式选项的个数判断各个时段对应的数值是否有效;
为了避免缩放示意画面与缩放寄存器不匹配,需对缩放寄存器中的各数值的有效性进行判断,主要是判断缩放寄存器中的数值的个数是否超出了电视机的比例模式选项个数,如果是,则会造成缩放示意画面与缩放寄存器数值不匹配,说明该缩放寄存器存在赋值错误的可能,此时如果采用该缩放寄存器中的数值进行匹配显示,则会出现找不到匹配的缩放示意画面的情况,因此在缩放寄存器中任一个数值无效时,可向用户显示提示信息,或由显示设备自动对缩放寄存器中的数值进行修正。
步骤S41,当各个时段对应的数值中任一个无效时,根据比例模式选项的个数生成多个具有标准格式的新的数值;
步骤S42,将各个新的数值对应各个时段依次赋值给缩放寄存器;
在缩放寄存器中任一个数值无效时,根据电视机的比例模式选项个数来重置缩放寄存器。例如,比例模式选项包括4:3、16:9、Auto三个选项,则按照标准格式生成三个数值0x01、0x02、0x03,将新生成的数值0x01、0x02、0x03依次赋值给缩放寄存器,完成重置缩放寄存器。
步骤S50,将新的数值与比例模式选项和缩放示意画面一一对应;
将重置后的缩放寄存器中的各数值分别与各比例模式选项和缩放示意画面一一对应,例如0x01对应4:3选项,同时也对应比例为4:3的缩放示意画面。
步骤S60,当接收到用户选择的比例模式选项时,在缩放寄存器中获取用户选择的比例模式选项对应的新的数值,并显示新的数值对应的缩放示意画面。
当用户在设置菜单上选择某一个比例模式选项时,例如选择了4:3选项,则显示设备根据用户选择的选项获取到缩放寄存器中对应的数值,并根据获取到的数值查找到对应的缩放示意画面,将缩放示意画面按照预设的显示时间显示在显示设备的屏幕上,例如显示3秒,供用户查看所选比例模式选项的显示效果。在预设的显示时间到达后,显示设备关闭当前显示的缩放示意画面,避免显示时间过长影响用户观看正常的电视节目。此外也可以不采用预设的显示时间来控制缩放示意画面的显示与自动关闭,而是在显示缩放示意画面的同时,在屏幕上显示一控件,该控件可以包括“确定”和“取消”的选项,用户点击确定后,当前显示的缩放示意画面关闭,显示屏上播放的电视节目按照用户选择的比例进行显示,如果点击取消,当前显示的缩放示意画面也关闭,而显示屏上播放的电视节目按照用户选择前的比例进行显示。
本实施例在将缩放示意画面按照缩放寄存器的数值匹配显示前,预先对缩放寄存器中数值的有效性进行判断,在对缩放寄存器的数值中任一个无效时,重置缩放寄存器中的数值,使缩放寄存器中数值与比例模式选项和缩放示意画面匹配,避免了因缩放示意画面与缩放寄存器不匹配造成的缩放示意画面出错,有利于电视机比例缩放的正常切换。
第二实施例中,包括图1所示实施例的步骤,在步骤S30之后还包括:
步骤S70,当各个时段对应的数值都有效时,根据缩放寄存器的位数移位每一个数值,将每一个数值都转换为具有标准格式且包含有效位的新的数值。
本实施例中,当缩放寄存器中的数值有效时,考虑到寄存器的多样性,不同寄存器的位数不同,造成数值的有效位的位置可能不统一。例如8位缩放寄存器中的数值为0x01,16位缩放寄存器中的数值为0x0100,32位缩放寄存器中的数值为0x010000,64位缩放寄存器中的数值为0x01000000,这使得一个缩放示意画面需要与多个数值匹配,容易出错。为了方便匹配,本实施例将缩放寄存器的数值按照标准格式进行统一转换,例如,8位缩放寄存器中的数值0x01不做转换,将16位缩放寄存器的数值0x0100向右移2位得到0x01,将32位缩放寄存器中的数值0x010000向右移4位0x01,将64位缩放寄存器中的数值0x01000000向右移6位0x01。如此一来,将不同位数的缩放寄存器中数值的格式进行统一,一个缩放示意画面只需要与一个数值进行匹配,避免了不同位数缩放寄存器无法与缩放示意画面匹配的问题,使缩放示意画面匹配更加方便、准确。
第三实施例中,包括第二实施例的步骤,其中的步骤S30包括:
步骤S31,根据缩放寄存器的位数和比例模式选项的个数设置预置数值范围;
步骤S32,当数值在预置数值范围内时,判定为数值有效;
步骤S33,当数值不在预置数值范围内时,判定为数值无效。
本实施例为了避免缩放示意画面与缩放寄存器不匹配,对缩放寄存器中的各数值的有效性进行判断,主要是判断缩放寄存器中的数值的个数是否超出了电视机的比例模式选项个数,还判断缩放寄存器中的数值是否按照数值大小顺序排列。缩放寄存器中数值的有效位通常是在固定位,例如8位缩放寄存器中的数值为0x01,有效位为0~3位,16位缩放寄存器中的数值为0x0100,有效位为8~11位。为了便于对缩放寄存器的数值有效性进行判断,根据缩放寄存器的位数和比例模式选项的个数设置预置数值范围。例如,比例模式选项的个数为3,则将8位缩放寄存器的预置数值范围设置为0x03,将16位缩放寄存器的预置数值范围设置为0x0300;又如,比例模式选项的个数为15,则将8位缩放寄存器的预置数值范围设置为0x0F,将16位缩放寄存器的预置数值范围设置为0x0F00。如果缩放寄存器中的数值超出了预置数值范围时,则说明缩放寄存器的数值个数超出了电视机的比例模式选项个数,或者虽然缩放寄存器的数值个数小于或等于电视机的比例模式选项个数,但可能缩放寄存器存在赋值错误的情况,则此时缩放寄存器中当前时段的数值无效,需对其进行修订。如果缩放寄存器中的数值属于预置数值范围内时,则判定缩放寄存器中当前时段的数值有效。本实施例通过对缩放寄存器中数值的有效性进行判断,避免了因缩放寄存器的数值出错造成缩放示意画面与缩放寄存器不匹配,有利于缩放示意画面正常切换。
如图2所示,图2为本发明缩放示意画面与缩放寄存器匹配的方法的第四实施例的流程图。本实施例包括第三实施例的步骤,在步骤S31之后还包括:
步骤S341,将预置数值范围与数值进行按位与操作;
步骤S342,当操作结果为真时,数值在预置数值范围内;
步骤S343,当操作结果为假时,数值不在预置数值范围内;
本实施例采用按位与的方式将缩放寄存器中的数值与预置数值范围进行比较。例如,8位缩放寄存器的预置数值范围设置为0x03,当8位缩放寄存器中的数值为0x01时,按位与后的结果为真,数值在预置数值范围内,数值有效;当8位缩放寄存器中的数值为0x04时,按位与后的结果为假,数值不在预置数值范围内,数值无效。本实施例通过对缩放寄存器中数值的有效性进行判断,避免了因缩放寄存器的数值出错造成缩放示意画面与缩放寄存器不匹配,有利于缩放示意画面正常切换。
如图3所示,图3为本发明缩放示意画面与缩放寄存器匹配的方法的第五实施例的流程图。本实施例包括图1所示实施例的步骤,在步骤S30之前还包括:
步骤S81,判断缩放寄存器的位数的奇偶性;
步骤S82,当缩放寄存器的位数为偶数时,判定缩放寄存器有效,并执行步骤S30;
步骤S83,当缩放寄存器的位数为奇数时,判定缩放寄存器无效。
本实施例为避免因缩放寄存器损坏造成缩放示意画面显示错误的情况,预先对缩放寄存器的位数奇偶性进行判断,正常的缩放寄存器的位数通常是偶数,因此,如果缩放寄存器的位数为偶数,则该缩放寄存器有效,如果缩放寄存器的位数为奇数,则该缩放寄存器可能已损坏,显示设备停止后续操作,并提示用户该缩放寄存器无效,避免因缩放寄存器损坏造成缩放示意画面显示错误。
如图4所示,图4为本发明缩放示意画面与缩放寄存器匹配的装置的第一实施例的模块示意图。本实施例提到的缩放示意画面与缩放寄存器匹配的装置,包括:
指令接收模块10,用于接收触发指令;
获取模块20,用于获取比例模式选项的个数、缩放寄存器的位数和缩放寄存器中各个时段对应的数值;
判断模块30,用于根据比例模式选项的个数判断各个时段对应的数值是否有效;
获取模块20还用于,当各个时段对应的数值中任一个无效时;
重置模块40,用于,当各个时段对应的数值中任一个无效时,根据比例模式选项的个数生成多个具有标准格式的新的数值,并将各个新的数值对应各个时段依次赋值给缩放寄存器;
对应模块50,用于将新的数值与比例模式选项和缩放示意画面一一对应;
获取模块20还用于,当接收到用户选择的比例模式选项时,在缩放寄存器中获取用户选择的比例模式选项对应的新的数值;
显示模块60,用于显示新的数值对应的缩放示意画面。
在具体实现过程中,缩放示意画面与缩放寄存器匹配的装置中的各个模块与图1中各个方法步骤中的操作相对应。有关这些操作步骤的具体内容已经在前文做了详细的描述,因此此处不再赘述。
本实施例在将缩放示意画面按照缩放寄存器的数值匹配显示前,预先对缩放寄存器中数值的有效性进行判断,在对缩放寄存器的数值中任一个无效时,重置缩放寄存器中的数值,使缩放寄存器中数值与比例模式选项和缩放示意画面匹配,避免了因缩放示意画面与缩放寄存器不匹配造成的缩放示意画面出错,有利于电视机比例缩放的正常切换。
如图5所示,图5为本发明缩放示意画面与缩放寄存器匹配的装置的第二实施例的模块示意图。本实施例包括图4所示实施例的模块,还包括移位模块70,用于当各个时段对应的数值都有效时,根据缩放寄存器的位数移位每一个数值,将每一个数值都转换为具有标准格式且包含有效位的新的数值。
在具体实现过程中,移位模块与步骤S70的操作相对应。有关这些操作步骤的具体内容已经在前文做了详细的描述,因此此处不再赘述。
本实施例中,当缩放寄存器中的数值有效时,考虑到寄存器的多样性,不同寄存器的位数不同,造成数值的有效位的位置可能不统一。将不同位数的缩放寄存器中数值的格式进行统一,一个缩放示意画面只需要与一个数值进行匹配,避免了不同位数缩放寄存器无法与缩放示意画面匹配的问题,使缩放示意画面匹配更加方便、准确。
如图6所示,图6为本发明缩放示意画面与缩放寄存器匹配的装置的第三实施例的模块示意图。本实施例包括图4所示实施例的模块,还包括预设模块80,用于根据缩放寄存器的位数和比例模式选项的个数设置预置数值范围;
判断模块30用于,当数值在预置数值范围内时,判定为数值有效;当数值不在预置数值范围内时,判定为数值无效。
在具体实现过程中,预设模块、判断模块与步骤S30的具体操作步骤S31、S32、S33相对应。有关这些操作步骤的具体内容已经在前文做了详细的描述,因此此处不再赘述。
本实施例通过对缩放寄存器中数值的有效性进行判断,避免了因缩放寄存器的数值出错造成缩放示意画面与缩放寄存器不匹配,有利于缩放示意画面正常切换。
如图7所示,图7为本发明缩放示意画面与缩放寄存器匹配的装置的第四实施例的模块示意图。本实施例包括图6所示实施例的模块,还包括计算模块90,用于将预置数值范围与数值进行按位与操作;
判断模块30还用于,当操作结果为真时,数值在预置数值范围内;当操作结果为假时,数值不在预置数值范围内;
本实施例采用按位与的方式将缩放寄存器中的数值与预置数值范围进行比较。例如,8位缩放寄存器的预置数值范围设置为0x03,当8位缩放寄存器中的数值为0x01时,按位与后的结果为真,数值在预置数值范围内,数值有效;当8位缩放寄存器中的数值为0x04时,按位与后的结果为假,数值不在预置数值范围内,数值无效。本实施例通过对缩放寄存器中数值的有效性进行判断,避免了因缩放寄存器的数值出错造成缩放示意画面与缩放寄存器不匹配,有利于缩放示意画面正常切换。
进一步的,判断模块30还用于:
判断缩放寄存器的位数的奇偶性;
当缩放寄存器的位数为偶数时,判定缩放寄存器有效;
当缩放寄存器的位数为奇数时,判定缩放寄存器无效。
本实施例为避免因缩放寄存器损坏造成缩放示意画面显示错误的情况,预先对缩放寄存器的位数奇偶性进行判断,正常的缩放寄存器的位数通常是偶数,因此,如果缩放寄存器的位数为偶数,则该缩放寄存器有效,如果缩放寄存器的位数为奇数,则该缩放寄存器可能已损坏,显示设备停止后续操作,并提示用户该缩放寄存器无效,避免因缩放寄存器损坏造成缩放示意画面显示错误。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (17)

  1. 一种缩放示意画面与缩放寄存器匹配的方法,其特征在于,包括步骤:
    接收触发指令,获取比例模式选项的个数、缩放寄存器的位数和所述缩放寄存器中各个时段对应的数值;
    判断所述缩放寄存器的位数的奇偶性;
    当所述缩放寄存器的位数为偶数时,判定所述缩放寄存器有效,并执行所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤;
    当所述缩放寄存器的位数为奇数时,判定所述缩放寄存器无效;
    根据所述比例模式选项的个数判断各个时段对应的数值是否有效;
    当各个时段对应的数值中任一个无效时,根据所述比例模式选项的个数生成多个具有标准格式的新的数值,并将各个所述新的数值对应各个时段依次赋值给所述缩放寄存器;
    将新的数值与比例模式选项和缩放示意画面一一对应;
    当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值,并显示所述新的数值对应的缩放示意画面;
    其中,所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤包括:
    根据所述缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围;
    当所述数值在所述预置数值范围内时,判定为所述数值有效;
    当所述数值不在所述预置数值范围内时,判定为所述数值无效。
  2. 如权利要求1所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤之后还包括:
    当各个时段对应的数值都有效时,根据所述缩放寄存器的位数移位每一个数值,将每一个数值都转换为具有标准格式且包含有效位的新的数值。
  3. 如权利要求1所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围的步骤之后还包括:
    将所述预置数值范围与所述数值进行按位与操作;
    当操作结果为真时,所述数值在所述预置数值范围内;
    当操作结果为假时,所述数值不在所述预置数值范围内。
  4. 如权利要求2所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围的步骤之后还包括:
    将所述预置数值范围与所述数值进行按位与操作;
    当操作结果为真时,所述数值在所述预置数值范围内;
    当操作结果为假时,所述数值不在所述预置数值范围内。
  5. 一种缩放示意画面与缩放寄存器匹配的方法,其特征在于,包括步骤:
    接收触发指令,获取比例模式选项的个数、缩放寄存器的位数和所述缩放寄存器中各个时段对应的数值;
    根据所述比例模式选项的个数判断各个时段对应的数值是否有效;
    当各个时段对应的数值中任一个无效时,根据所述比例模式选项的个数生成多个具有标准格式的新的数值,并将各个所述新的数值对应各个时段依次赋值给所述缩放寄存器;
    将新的数值与比例模式选项和缩放示意画面一一对应;
    当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值,并显示所述新的数值对应的缩放示意画面。
  6. 如权利要求5所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤之后还包括:
    当各个时段对应的数值都有效时,根据所述缩放寄存器的位数移位每一个数值,将每一个数值都转换为具有标准格式且包含有效位的新的数值。
  7. 如权利要求6所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤包括:
    根据所述缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围;
    当所述数值在所述预置数值范围内时,判定为所述数值有效;
    当所述数值不在所述预置数值范围内时,判定为所述数值无效。
  8. 如权利要求7所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围的步骤之后还包括:
    将所述预置数值范围与所述数值进行按位与操作;
    当操作结果为真时,所述数值在所述预置数值范围内;
    当操作结果为假时,所述数值不在所述预置数值范围内。
  9. 如权利要求6所述的缩放示意画面与缩放寄存器匹配的方法,其特征在于,所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤之前还包括:
    判断所述缩放寄存器的位数的奇偶性;
    当所述缩放寄存器的位数为偶数时,判定所述缩放寄存器有效,并执行所述根据比例模式选项的个数判断各个时段对应的数值是否有效的步骤;
    当所述缩放寄存器的位数为奇数时,判定所述缩放寄存器无效。
  10. 一种缩放示意画面与缩放寄存器匹配的装置,其特征在于,包括:
    指令接收模块,用于接收触发指令;
    获取模块,用于获取比例模式选项的个数、缩放寄存器的位数和所述缩放寄存器中各个时段对应的数值;
    判断模块,用于根据所述比例模式选项的个数判断各个时段对应的数值是否有效;
    重置模块,用于,当各个时段对应的数值中任一个无效时,根据所述比例模式选项的个数生成多个具有标准格式的新的数值,并将各个所述新的数值对应各个时段依次赋值给所述缩放寄存器;
    对应模块,用于将新的数值与比例模式选项和缩放示意画面一一对应;
    所述获取模块还用于,当接收到用户选择的比例模式选项时,在所述缩放寄存器中获取用户选择的比例模式选项对应的新的数值;
    显示模块,用于显示所述新的数值对应的缩放示意画面。
  11. 如权利要求10所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,还包括移位模块,用于当各个时段对应的数值都有效时,根据所述缩放寄存器的位数移位每一个数值,将每一个数值都转换为具有标准格式且包含有效位的新的数值。
  12. 如权利要求10所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,还包括预设模块,用于根据所述缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围;
    所述判断模块还用于,当所述数值在所述预置数值范围内时,判定为所述数值有效;当所述数值不在所述预置数值范围内时,判定为所述数值无效。
  13. 如权利要求11所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,还包括预设模块,用于根据所述缩放寄存器的位数和所述比例模式选项的个数设置预置数值范围;
    所述判断模块还用于,当所述数值在所述预置数值范围内时,判定为所述数值有效;当所述数值不在所述预置数值范围内时,判定为所述数值无效。
  14. 如权利要求12所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,还包括计算模块,用于将所述预置数值范围与所述数值进行按位与操作;
    所述判断模块还用于,当操作结果为真时,所述数值在所述预置数值范围内;当操作结果为假时,所述数值不在所述预置数值范围内。
  15. 如权利要求13所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,还包括计算模块,用于将所述预置数值范围与所述数值进行按位与操作;
    所述判断模块还用于,当操作结果为真时,所述数值在所述预置数值范围内;当操作结果为假时,所述数值不在所述预置数值范围内。
  16. 如权利要求10所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,所述判断模块还用于:
    判断所述缩放寄存器的位数的奇偶性;
    当所述缩放寄存器的位数为偶数时,判定所述缩放寄存器有效;
    当所述缩放寄存器的位数为奇数时,判定所述缩放寄存器无效。
  17. 如权利要求11所述的缩放示意画面与缩放寄存器匹配的装置,其特征在于,所述判断模块还用于:
    判断所述缩放寄存器的位数的奇偶性;
    当所述缩放寄存器的位数为偶数时,判定所述缩放寄存器有效;
    当所述缩放寄存器的位数为奇数时,判定所述缩放寄存器无效。
PCT/CN2016/084220 2015-08-24 2016-06-01 缩放示意画面与缩放寄存器匹配的方法和装置 WO2017032119A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510522745.9 2015-08-24
CN201510522745.9A CN105141874B (zh) 2015-08-24 2015-08-24 缩放示意画面与缩放寄存器匹配的方法和装置

Publications (1)

Publication Number Publication Date
WO2017032119A1 true WO2017032119A1 (zh) 2017-03-02

Family

ID=54727070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084220 WO2017032119A1 (zh) 2015-08-24 2016-06-01 缩放示意画面与缩放寄存器匹配的方法和装置

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797933A (zh) * 2020-07-10 2020-10-20 百度在线网络技术(北京)有限公司 模板匹配的方法、装置、电子设备和存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141874B (zh) * 2015-08-24 2018-09-04 深圳Tcl数字技术有限公司 缩放示意画面与缩放寄存器匹配的方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1132981A (zh) * 1994-12-06 1996-10-09 索尼公司 视频信号宽高比转换装置
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 (zh) * 2008-12-09 2010-06-23 深圳Tcl新技术有限公司 电视机显示比例模式调整的方法及电视机
CN103794169A (zh) * 2012-10-30 2014-05-14 瑞萨Sp驱动器公司 显示控制装置及数据处理系统
CN105141874A (zh) * 2015-08-24 2015-12-09 深圳Tcl数字技术有限公司 缩放示意画面与缩放寄存器匹配的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1132981A (zh) * 1994-12-06 1996-10-09 索尼公司 视频信号宽高比转换装置
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 (zh) * 2008-12-09 2010-06-23 深圳Tcl新技术有限公司 电视机显示比例模式调整的方法及电视机
CN103794169A (zh) * 2012-10-30 2014-05-14 瑞萨Sp驱动器公司 显示控制装置及数据处理系统
CN105141874A (zh) * 2015-08-24 2015-12-09 深圳Tcl数字技术有限公司 缩放示意画面与缩放寄存器匹配的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797933A (zh) * 2020-07-10 2020-10-20 百度在线网络技术(北京)有限公司 模板匹配的方法、装置、电子设备和存储介质
CN111797933B (zh) * 2020-07-10 2023-07-28 百度在线网络技术(北京)有限公司 模板匹配的方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN105141874B (zh) 2018-09-04
CN105141874A (zh) 2015-12-09

Similar Documents

Publication Publication Date Title
WO2018223418A1 (zh) 一种显示面板检测方法、装置及系统
WO2017016310A1 (zh) 遥控功能数据动态配置的方法和装置
WO2017041538A1 (zh) 终端用户界面的受控显示方法及装置
WO2018023926A1 (zh) 电视与移动终端的互动方法及系统
WO2018028124A1 (zh) 电视机及其信号源的切换方法
WO2017096769A1 (zh) 显示设备的色彩校准方法及色彩校准系统
WO2017084301A1 (zh) 音频数据播放方法、装置及智能电视机
WO2019051902A1 (zh) 终端控制方法、空调器及计算机可读存储介质
EP3850612A1 (en) Display apparatus and control method thereof
WO2017063366A1 (zh) 应用启动方法和系统
WO2018126888A1 (zh) 电视功能的快捷启动设置方法及装置
WO2017084305A1 (zh) 终端控制方法及系统
WO2017032119A1 (zh) 缩放示意画面与缩放寄存器匹配的方法和装置
WO2019051897A1 (zh) 终端运行参数调整方法、装置及计算机可读存储介质
WO2019051901A1 (zh) 终端控制方法、装置及计算机可读存储介质
WO2017071223A1 (zh) 电视应用的控制方法及装置
WO2017041546A1 (zh) 电视蓝牙连接方法及装置
WO2017016308A1 (zh) 菜单背景颜色处理方法及装置
WO2016029502A1 (zh) 信号源的切换方法及装置
WO2019080401A1 (zh) 脚本语句转换方法、装置及计算机可读存储介质
WO2017096764A1 (zh) 音频数据输出方法及装置
WO2017088429A1 (zh) 移动终端控制显示终端上触屏应用程序的方法及系统
WO2015192801A1 (en) Electronic device control method and system, and related device
WO2016179903A1 (zh) 网络医院平台、专家平台以及专家会诊请求方法
WO2016086462A1 (zh) 电视机及电视机馈电检测方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16838379

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.07.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16838379

Country of ref document: EP

Kind code of ref document: A1