WO2018166132A1 - 降低带宽消耗的方法及装置、显示控制器和存储介质 - Google Patents

降低带宽消耗的方法及装置、显示控制器和存储介质 Download PDF

Info

Publication number
WO2018166132A1
WO2018166132A1 PCT/CN2017/094270 CN2017094270W WO2018166132A1 WO 2018166132 A1 WO2018166132 A1 WO 2018166132A1 CN 2017094270 W CN2017094270 W CN 2017094270W WO 2018166132 A1 WO2018166132 A1 WO 2018166132A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
image data
displayed
transparent
area
Prior art date
Application number
PCT/CN2017/094270
Other languages
English (en)
French (fr)
Inventor
谢敏华
官华伯
艾万勇
李仲林
Original Assignee
深圳市中兴微电子技术有限公司
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 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Priority to EP17901294.3A priority Critical patent/EP3582097A4/en
Priority to US16/491,579 priority patent/US10796670B1/en
Publication of WO2018166132A1 publication Critical patent/WO2018166132A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/363Graphics controllers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • G09G5/377Details of the operation on graphic patterns for mixing or overlaying two or more graphic patterns
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • G09G5/397Arrangements specially adapted for transferring the contents of two or more bit-mapped memories to the screen simultaneously, e.g. for mixing or overlay
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/04Partial updating of the display screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/10Mixing of images, i.e. displayed pixel being the result of an operation, e.g. adding, on the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
    • G09G2340/125Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels wherein one of the images is motion video
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2350/00Solving problems of bandwidth in display systems
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • G09G2360/128Frame memory using a Synchronous Dynamic RAM [SDRAM]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/18Use of a frame buffer in a display terminal, inclusive of the display panel
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/12Use of DVI or HDMI protocol in interfaces along the display data pipeline
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/20Details of the management of multiple sources of image data

Definitions

  • the present invention relates to the field of media playback, and in particular, to a method and apparatus for reducing bandwidth consumption of a display controller, a display controller, and a computer storage medium.
  • set-top boxes for example, Android (Android) smart set-top boxes support video resolution has risen to 4K, that is, 3840 ⁇ 2160 physical resolution, frame rate increased to 60 frames / second (FPS, Frame Per Second).
  • FPS Frame Per Second
  • DDR SDRAM double data rate Synchronous Dynamic Random Access Memory
  • Embodiments of the present invention are expected to provide a method and apparatus for reducing bandwidth consumption of a display controller, a display controller, and a computer storage medium, and it is desirable to solve the problem of large bandwidth consumption of display.
  • an embodiment of the present invention provides a method for reducing bandwidth consumption of a display controller, where the method includes:
  • the image data of the current UI frame to be displayed is the same as the image data of the previous UI frame, the image data of the non-transparent area except the transparent area in the previous UI frame is read;
  • the transparent area of the current UI frame to be displayed is determined according to a preset policy.
  • an embodiment of the present invention provides a device for reducing bandwidth consumption of a display controller, where the device includes: a determining module, a data reading module, and a transparent area determining module;
  • the determining module is configured to determine whether the image data of the user interface UI frame to be displayed is the same as the image data of the previous UI frame;
  • the data reading module is configured to read image data of a non-transparent area other than the transparent area in the previous UI frame;
  • the transparent area determining module is configured to determine a transparent area of the current UI frame to be displayed according to a preset policy.
  • an embodiment of the present invention provides a method for reducing bandwidth consumption of a display controller, which is applied to a display controller, where the method includes:
  • the image data of the user interface UI is updated during the nth screen refresh period, the image data of the entire frame of the cached UI frame is read from the UI buffer;
  • the image data of the non-transparent area is read from the UI buffer according to the determined result, wherein the n is 0 or a positive integer.
  • an embodiment of the present invention provides a display controller, including:
  • a memory configured to store information
  • a processor configured to be coupled to the memory, configured to implement a method of reducing bandwidth consumption of a display controller provided by one or more of the foregoing technical solutions by executing computationally executable code stored in the memory.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to reduce display controller bandwidth provided by one or more of the foregoing technical solutions.
  • the method of consumption is not limited to:
  • Embodiments of the present invention provide a method and apparatus for reducing bandwidth consumption of a display controller, a display controller, and a computer storage medium.
  • the method determines whether the image data of the UI frame to be displayed is the same as the image data of the previous UI frame, and when the image data of the current UI frame to be displayed is the same as the image data of the previous UI frame, only the image is read.
  • the image data of the non-transparent area except the transparent area in the previous UI frame that is, the image data of the transparent area in the previous UI frame is not read, thereby reducing the amount of data read by the display controller from the UI buffer through the bus. , which greatly reduces the bandwidth consumption of the display controller.
  • FIG. 1 is a schematic diagram of a general display principle of a display device according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for reducing bandwidth consumption of a display controller according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for reading data according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another method for data reading according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an interface display of a UI frame according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a preferred implementation process for reducing bandwidth consumption of a display controller according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of an interface display of another UI frame according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of an apparatus structure for reducing bandwidth consumption of a display controller according to an embodiment of the present invention. schematic diagram;
  • FIG. 9 is a schematic structural diagram of another apparatus for reducing bandwidth consumption of a display controller according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of an apparatus for reducing bandwidth consumption of a display controller according to an embodiment of the present invention.
  • the User Interface (UI) interface is required only for subtitle display and human-computer interaction. All or most of the UI interface is transparent during media playback and playback interaction.
  • an application for example, an Android application
  • the UI interface has content. That is to say, the content of the UI interface in DDR SDRAM is dynamically changed.
  • the display controller uniformly uses the frame rate of 60 frames/second to read the image data to be displayed line by line from the DDR SDRAM through the internal bus of the chip, and performs layer mixing and the like, and then sends the high-definition multimedia interface (HDMI, High).
  • the figure shows the general display principle of the display device.
  • the display controller follows the specific screen refresh rate through the chip internal bus (such as Bus/Matrix bus).
  • the UI frame buffer and the video frame buffer in the DDR SDRAM read the corresponding image data of the UI frame to be displayed and the video frame to be played, and after being processed by layer mixing, etc., are sent to the HDMI or CVBS interface for display.
  • the CPU Central Processing Unit
  • the GPU Graphics Processing Unit
  • VPU Video Processing Unit
  • the bus bandwidth is extremely tight, and most of the time, the UI frame is a fully transparent frame, but since the DDR SDRAM is always on, the display of the UI interface still consumes the bandwidth calculated as above.
  • the embodiment of the present invention provides a method for reducing the bandwidth consumption of the display controller.
  • the method may include: if the image data of the UI is not changed during the period of performing the screen refresh. , in the corresponding period, according to the previously determined transparent area and/or non-transparent area, only the data of the non-transparent area of the UI frame is read from the UI buffer, the useless data of the transparent area is read, and the bus data is reduced.
  • the amount of transmission reduces the occupation of bandwidth and the occupation of read resources.
  • the figure shows a method for reducing bandwidth consumption of a display controller according to an embodiment of the present invention.
  • the method may include:
  • the image data of the UI frame to be displayed is stored in the UI frame buffer in the DDR SDRAM, and the CPU/GPU controls the update of the image data of the UI frame to be displayed in the UI frame buffer.
  • the display controller can access (ie, read) the image data of the UI frame to be displayed in the UI frame buffer through the bus.
  • the “previous UI frame” and the “current UI frame to be displayed” described in FIG. 2 above are a relative statement, for example, the “previous UI frame” is referred to as the ith frame.
  • the "current UI frame to be displayed” is recorded as the i+1th frame, and after the display controller completes reading and displaying the image data of the ith frame, the data of the i+1th frame is read and displayed.
  • the i-th frame is referred to as the "previous UI frame” relative to the i+1th frame, and the i+1th frame to be displayed is referred to as the "current UI frame to be displayed".
  • Such a naming method is only for convenience of the implementation scheme. description.
  • determining the transparent area of the current UI frame to be displayed according to the preset policy includes:
  • S2302 Detect image data of the currently read UI frame to be displayed according to a preset detection rule, and determine a transparent area of the current UI frame to be displayed.
  • the reading the image data of the current UI frame to be displayed according to the preset data reading rule may include:
  • the image data of the current UI frame to be displayed is read in units of preset rectangular areas and in a preset rectangular reading order.
  • the display controller may also read the UI frame data in the UI frame buffer in a block manner, and read which data reading mode is used, here Do not make any restrictions.
  • the display controller can read the image data of the current UI frame to be displayed in a preset line reading order (eg, from top to bottom or from bottom to top).
  • the display controller may also read the current UI to be displayed according to a preset rectangular reading order (eg, from left to right or from right to left). Image data of the frame.
  • the order in which the image data is read is not specifically limited.
  • the step S2302 detects that the currently read candidate is to be displayed according to the preset detection rule.
  • the image data of the UI frame is determined by the transparent area of the UI frame to be displayed.
  • a display interface such as HDMI performs reading of image data of a UI frame to be displayed in units of rows. Therefore, in practical applications, the transparent area detection method in units of rows is relatively easy to implement.
  • step S2302 when the image data of the current UI frame to be displayed is read in a preset rectangular area and in a preset rectangular reading order, the current read is detected according to a preset detection rule. Determining the image data of the UI frame to be displayed, and determining the transparent area of the current UI frame to be displayed, including:
  • the UI interaction area is a vertical stripe shape, as shown in FIG. 5, if the UI interaction area still uses the detection of the transparent area in units of rows, a valid transparent area will not be found. However, if the detection of the transparent area is performed in units of a preset rectangular area, it can be detected that the left half of the UI frame shown in FIG. 5 is a transparent area, that is, the shaded area shown in FIG. 5, and the right UI interactive area is located. The area is a non-transparent area.
  • each transparent row area or transparent may be determined while determining the transparent line area or the transparent rectangular area.
  • the rectangular area is marked so that at the beginning of the current UI frame, the display controller can determine whether to read the image data in the line or the rectangular area based on the mark value of each line or each rectangular area.
  • a transparent row area or a transparent rectangular area is marked with "1”
  • a non-transparent line area or a non-transparent rectangular area is marked with "0"
  • the non-transparent line area or the non-transparent rectangular area refers to an area in which the image data in the entire line or the image data in the rectangular area has at least one image data whose transparency is not zero. Therefore, when the image data of the UI frame to be displayed is read by the display controller, once the transparency of any image data in a certain row area or a rectangular area is not 0, the area is marked as a non-transparent line area or non-transparent. Transparent rectangular area.
  • the display controller reads the image data of the current UI frame to be displayed, if all the image data in a certain row area or a rectangular area is detected If the transparency is 0, the area is marked as a transparent line area or a transparent rectangular area, and is not a transparent area for the area that is not marked in the current UI frame to be displayed; similarly, the display controller reads the current UI to be displayed.
  • the area is marked as a non-transparent line area or a non-transparent rectangular area, and for the current UI to be displayed Areas that are not marked in the frame are transparent areas.
  • marking method of several transparent regions is given, and there is no limitation on which marking method is specifically adopted.
  • the display controller is cleared.
  • the configuration parameters of the display controller mainly include the current Displays the address of the frame and the address of the frame to be displayed.
  • the embodiment of the invention provides a method for reducing the bandwidth consumption of the display controller.
  • the method can read only the previous UI frame when the image data of the current UI frame to be displayed is the same as the image data of the previous UI frame. Image data of non-transparent areas other than the transparent area, thereby greatly reducing the bandwidth consumption of the display controller.
  • the image data of the current UI frame to be displayed is read in a preset row order, and the figure shows a reduced display provided by the embodiment of the present invention.
  • a preferred implementation process of controller bandwidth consumption as can be seen from the figure, the process may include the following implementation steps:
  • the display controller sets all the line transparent flags to be invalid before starting the display
  • the display controller when the CPU/GPU updates the UI frame to be displayed in the UI frame buffer and notifies the display controller to switch to use the updated UI frame to be displayed, the display controller also needs to set all the row transparent flags to be invalid. . Or, after turning off the CPU or turning on the CPU or updating the configuration parameters of the display controller, the display controller needs to set all the line transparency flags to be invalid.
  • step S620 the display controller after the frame synchronization (VSync, Vertical Synchronization), determine whether the current row transparent flag corresponding to the UI frame is valid; if yes, proceed to step S630; otherwise, perform step S640;
  • VSync Vertical Synchronization
  • the display controller reads a tag value corresponding to a current row to be read in the current UI frame to be displayed.
  • step S631 the display controller determines, according to the mark value corresponding to the current line to be read, whether the current line to be read is a transparent line; if yes, step S632 is performed; otherwise, step S633 is performed;
  • step S632. The display controller does not read image data corresponding to the current row to be read. And returning to step S630;
  • the display controller reads the image data corresponding to the current line to be read, and returns to step S630;
  • the display controller reads the image data corresponding to the current to-be-readed row in the current UI frame to be displayed, and detects whether the transparency of all the image data corresponding to the current to-be-readed row is 0; If yes, go to step S641; otherwise, go to step S642;
  • step S641 the display controller marks the current line to be read as a transparent line area, and returns to step S640;
  • the display controller marks the current line to be read as a non-transparent line area, and returns to step S640.
  • the top of the UI frame to be displayed is used to display the logo information and other prompt information provided by the App, and the bottom is used to display the subtitle information currently needed to be played, by using the method shown in FIG. 6 above.
  • the middle portion of the UI frame shown in Fig. 7(a) is a transparent area, that is, a shaded area in Fig. 7(a).
  • FIG. 7(b) it is easy to detect the bottom of the UI frame shown in FIG. 7(b) at this time.
  • the other areas are transparent areas, that is, the shaded areas shown in Fig. 7(b).
  • FIG. 7(c) shows the case where the transparent areas are respectively at the top and bottom of the currently displayed UI frame.
  • the current UI frame to be displayed As can be seen from FIG. 7(c), the current UI frame to be displayed.
  • the middle portion is used to display the UI interaction area during video playback, and therefore, the transparent area of the UI frame can still be detected relatively easily by the above method.
  • the display controller does not need to read the UI frame of the UI frame buffer to be displayed through the bus.
  • the image data corresponding to the transparent area that is, the display controller only needs to read the image data corresponding to the non-transparent area of the UI frame to be displayed through the bus to satisfy the interface display. Therefore, it will be able to effectively reduce the bandwidth consumption of the display controller.
  • the bandwidth saving effect of the method is more obvious, because the display controller does not need to access the UI frame buffer through the bus at all, to read the current Image data of the UI frame to be displayed.
  • the resolution of the UI interface is 1920 ⁇ 1080 as an example to illustrate the effects obtained by the above method: (1) When the video is played in full screen, the bus bandwidth consumed by the UI interface is decreased from 3.84 Gbps. 0; if the resolution of the video played at this time is 1920 ⁇ 1080, the total bandwidth consumption of the display controller can be reduced by 72%; if the resolution of the video played at this time is 4K, the total bandwidth of the controller is displayed. Consumption can be reduced by 40%; (2) When subtitles need to be displayed through the UI, the total bandwidth consumed depends on the number of lines occupied by the subtitles.
  • the bus bandwidth consumed by the UI interface can be reduced by 90% to 95%; (3)
  • the bus bandwidth consumed by the UI interface also depends on the number of lines of the interface display content. Generally, the bus bandwidth consumed by the UI interface can be reduced by 70%. To 90%.
  • a method for reducing the bandwidth consumption of the display controller provided by the embodiment of the present invention can determine the transparent area of the UI frame to be displayed while reading the image data of the UI frame to be displayed, and start at the next frame.
  • the image data of the UI frame to be displayed is unchanged, only the image data of the non-transparent area in the UI frame to be displayed is read, that is, the image data of the transparent area of the UI frame to be displayed is not read, thereby greatly reducing the display controller.
  • the figure shows an apparatus 80 for reducing bandwidth consumption of a display controller according to an embodiment of the present invention.
  • the apparatus 80 may include: transparent a region determining module 810, a determining module 820, and a data reading module 830; wherein
  • the determining module 820 is configured to determine whether the image data of the user interface UI frame to be displayed is the same as the image data of the previous UI frame;
  • the data reading module 830 is configured to read image data of a non-transparent area other than the transparent area in the previous UI frame;
  • the transparent area determining module 810 is configured to determine a transparent area of the current UI frame to be displayed according to a preset policy.
  • the transparent area determining module 810 includes a data reading sub-module 8101 and a transparent area determining sub-module 8102;
  • the data reading sub-module 8101 is configured to read image data of the current UI frame to be displayed according to a preset data reading rule
  • the transparent area determining sub-module 8102 is configured to detect image data of the currently read UI frame to be displayed according to a preset detection rule, and determine a transparent area of the current UI frame to be displayed.
  • the data reading submodule 8101 is configured to:
  • the image data of the current UI frame to be displayed is read in units of preset rectangular areas and in a preset rectangular reading order.
  • the transparent area determining submodule 8102 is configured to:
  • the transparent area determining submodule module 8102 is configured to:
  • each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software function module.
  • the integrated unit may be stored in a computer readable storage medium if it is implemented in the form of a software function module and is not sold or used as a stand-alone product.
  • the technical solution of the embodiment is essentially Said that the part contributing to the prior art or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium, comprising a plurality of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc. or a processor that performs all or part of the steps of the method described in this embodiment.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the computer program instruction corresponding to the method for reducing the bandwidth consumption of the display controller in the embodiment may be stored on a storage medium such as an optical disk, a hard disk, a USB disk, or the like, and a display control is reduced in the storage medium.
  • a storage medium such as an optical disk, a hard disk, a USB disk, or the like
  • the computer program instructions corresponding to the method of bandwidth consumption are read or executed by an electronic device, the following steps are included:
  • the image data of the current UI frame to be displayed is the same as the image data of the previous UI frame, the image data of the non-transparent area except the transparent area in the previous UI frame is read;
  • the transparent area of the current UI frame to be displayed is determined according to a preset policy.
  • the step of storing in the storage medium is: determining the transparent area of the current UI frame to be displayed according to the preset policy, including:
  • the image data of the currently read UI frame to be displayed is detected according to a preset detection rule, and the transparent area of the current UI frame to be displayed is determined.
  • the step of storing the image data of the current UI frame to be displayed according to the preset data reading rule includes:
  • the image data of the current UI frame to be displayed is read in units of preset rectangular areas and in a preset rectangular reading order.
  • the step of storing in the storage medium is: when the image data of the current UI frame to be displayed is read in a row and in a preset row reading order, the detecting the current detection according to the preset detection rule The image data of the UI frame to be displayed is read, and the transparent area of the current UI frame to be displayed is determined, including:
  • the step of storing in the storage medium is: when the image data of the current UI frame to be displayed is read in a preset rectangular area and in a preset rectangular reading order, according to the preset
  • the detection rule detects the image data of the currently displayed UI frame to be displayed, and determines the transparent area of the current UI frame to be displayed, including:
  • an apparatus 90 for reducing bandwidth consumption of a display controller may be provided, which may include: a first communication interface 910, a first memory 920, and a first a processor 930 and a first bus 940; wherein
  • the first bus 940 is configured to connect the first communication interface 910, the first processor 930, and the first memory 920 and mutual communication between the devices;
  • the first communication interface 910 is configured to perform data transmission with an external network element
  • the first memory 920 is configured to store instructions and data
  • the first processor 930 executes the finger configuration to determine whether the image data of the current user interface UI frame to be displayed is the same as the image data of the previous UI frame;
  • the transparent area of the current UI frame to be displayed is determined according to a preset policy.
  • the first memory 920 may be a volatile first memory (RAM), such as a random access first memory (RAM), or a non-volatile first memory (non- Volatile memory), such as read-only memory (ROM), flash first memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid state drive (SSD, Solid-State Drive); or A combination of the first types of memories of the above kind and provides instructions and data to the first processor 930.
  • RAM volatile first memory
  • RAM random access first memory
  • non-Volatile memory such as read-only memory (ROM), flash first memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid state drive (SSD, Solid-State Drive
  • ROM read-only memory
  • flash memory flash memory
  • HDD Hard Disk Drive
  • SSD Solid-State Drive
  • the first processor 930 may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), or a programmable logic device.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • CPU central processing unit
  • controller controller
  • microcontroller microcontroller
  • the first processor 930 can be configured to:
  • the image data of the currently read UI frame to be displayed is detected according to a preset detection rule, and the transparent area of the current UI frame to be displayed is determined.
  • the first processor 930 can be configured to:
  • the image data of the current UI frame to be displayed is read in units of preset rectangular areas and in a preset rectangular reading order.
  • the first processor 930 can be configured to:
  • the first processor 930 can be configured to:
  • the embodiment of the invention further provides a method for reducing bandwidth consumption of a display controller, which is applied to a display controller, and the method includes:
  • the image data of the user interface UI is updated during the nth screen refresh period, the image data of the entire frame of the cached UI frame is read from the UI buffer;
  • the image data of the non-transparent area is read from the UI buffer according to the determined result, wherein the n is 0 or a positive integer.
  • the display controller may be a controller that is directly connected to the display screen.
  • the display refresh is based on the screen refresh cycle.
  • the image data of the UI frame may include information such as a logo of a smart television. Or, information such as the displayed station number and the switching of the smart TV.
  • the display controller only reads the image data of the entire frame of the UI frame buffered by the single-box UI buffer when the image data of the UI is updated, that is, whether it is a transparent area or a non-transparent area.
  • the transparent area in the UI frame is an area that has no data to be output to the user, and the non-transparent area is displayed to display data that needs to be viewed by the user, for example, a station logo, a station number, or a remote control for the user to use.
  • User controls for operations such as mobile phones or wireless mice.
  • the image data of the UI will change, so the application driver of the smart TV can know what The image data of the UI changes.
  • an application driver can inform the display controller, so that the display controller can know from the smart set top box when the image data update of the UI occurs. Therefore, the display controller can determine whether there is a difference in image data between the current UI frame to be displayed and the previous UI frame to be displayed by interacting with an application driver of the smart set top box.
  • the display controller will have the entire UI from the cache.
  • the UI buffer of the image data of the entire frame of the frame reads all the image data of the entire UI frame.
  • the display controller can parse the pixel value of each pixel during the reading process. For example, the current pixel value is 0, which can be determined as a transparent pixel; therefore, the transparent image can be determined by analyzing the read image data. region.
  • the transparent area and the non-transparent area are distinguished by the transparent mark.
  • the display controller defaults to the data of the unread area. It is a transparent area; therefore, when the image data of the UI is not updated, it is apparent that only the image data of the non-transparent area is read only during any one of the screen refresh periods, and the bus between the UI buffer and the display controller only needs to transmit the non-transparent area. Image data obviously can greatly reduce the amount of data transmission, reduce the bandwidth consumption of the bus, and reduce the read resources consumed by the display controller due to data reading.
  • determining a transparent area of the read UI frame includes:
  • the area where the transparent pixels are equal to the preset number is determined to be a transparent area.
  • Some transparent pixels are scattered, and one or several transparent pixels may form a small transparent area, but this transparent area is too small for inconvenient marking. Therefore, in the embodiment, when only the centrally distributed transparent pixels reach a preset number, the area where the transparent pixels are located is marked as a transparent area.
  • the parsing the image data of the entire frame of the read UI frame to determine the area where the transparent pixel is located includes:
  • the area where the transparent pixel is equal to the preset number is determined to be a transparent area, and includes:
  • the transparent region includes: a transparent row.
  • the parsing the image data of the entire frame of the read UI frame to determine the area where the transparent pixel is located includes:
  • Reading image data of the current UI frame to be displayed in units of preset rectangular areas and in a preset rectangular reading order;
  • the area where the transparent pixels are equal to the preset number is determined to be a transparent area, and includes:
  • the corresponding behavior transparent rectangular area is determined.
  • the transparent area in this embodiment includes: a transparent rectangular area.
  • the transparent region may further comprise: a transparent column.
  • the transparent area, the transparent rectangular area and the transparent column are used, and the transparent areas are all regular areas, which is convenient for displaying the controller mark, that is, the area to be processed later.
  • a device for reducing bandwidth consumption of a display controller, applied to a display controller includes:
  • a reading unit configured to read image data of an entire frame of the cached UI frame from the UI buffer area if image data of the user interface UI is updated during the nth screen refresh period
  • Determining a unit configured to determine a transparent area of the read UI frame according to a preset policy
  • the reading unit is further configured to: if there is no UI in the n+1th screen refresh period Like the data update, the image data of the non-transparent area is read from the UI buffer according to the determined result, wherein the n is 0 or a positive integer.
  • the reading unit and the determining unit may correspond to a processor or a processing circuit.
  • the processor may be an application processor (AP), a digital signal processor (DSP), or a Field Programmable Gate Array (FPGA).
  • the processing circuit can be an application specific integrated circuit.
  • the determining unit includes: a parsing module configured to parse the image data of the entire frame of the read UI frame to determine an area where the transparent pixel is located; and the determining module is configured to be not less than a preset When the number of the transparent pixels is collectively distributed, it is determined that the area where the transparent pixel is equal to the preset number is a transparent area.
  • the parsing module is configured to parse the image data of the current UI frame to be displayed in units of rows and in a preset row reading order;
  • the determining module is configured to determine that the corresponding behavior is transparent when a row of the pixels is the transparent pixel.
  • the transparent region includes: a transparent row.
  • the parsing module is configured to read the image data of the current UI frame to be displayed in a preset rectangular area and in a preset rectangular reading order;
  • the determining module is configured to determine a corresponding transparent rectangular area when the pixels of a rectangular area are all the transparent pixels.
  • the embodiment of the invention further provides a display controller, comprising:
  • a memory configured to store information
  • a processor configured to be coupled to the memory, configured to implement a method of reducing bandwidth consumption of a display controller provided by the one or more prior art solutions by executing computationally executable code stored in the memory.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to reduce bandwidth consumption of the display controller provided by one or more technical solutions.
  • the computer storage medium herein may be a random storage medium, a read-only storage medium, a flash memory or a mobile hard disk, etc., and may be a non-transitory storage medium.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
  • the display controller finds that the image data of the UI frame to be read in the current frequency refresh period is the same as the image data of the previous UI frame, only the data of the non-transparent area is read, thereby reducing the transparent area.
  • the data is read, thereby reducing the amount of data transmitted by the bus, thereby reducing the bandwidth occupation and having a positive industrial effect.
  • the display controller finds that the two UI frames are different, it will read all the data and parse out which are transparent areas. If the image data of the UI is not updated in the next frequency refresh period, it only needs to be based on the transparent area of the current time. It is determined that reading the data of the transparent area has the characteristics of being achievable.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

本发明实施例公开了一种降低显示控制器带宽消耗的方法及装置,该方法包括:判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;当所述当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;当所述当前待显示UI帧的图像数据与前一UI帧的图像数据不同时,按照预设的策略确定所述当前待显示UI帧的透明区域。本发明实施例还公开了一种显示控制器及计算机存储介质。

Description

降低带宽消耗的方法及装置、显示控制器和存储介质
本申请基于申请号为2017 1014 8694.7、申请日为2017年03月14日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及媒体播放领域,尤其涉及一种降低显示控制器带宽消耗的方法及装置、显示控制器和计算机存储介质。
背景技术
目前机顶盒,例如,安卓(Android)智能机顶盒所支持的视频分辨率已经上升到4K,即3840×2160的物理分辨率,帧频提升到60帧/秒(FPS,Frame Per Second)。但是,较高的视频分辨率和帧频所凸现的问题是:视频播放时,所消耗的双倍速率同步动态随机存储器(DDR SDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)及总线带宽极高。故如何缓解高帧频和高分辨率导致的带宽消耗大是现有技术亟待解决的问题之一。
发明内容
本发明实施例期望提供一种降低显示控制器带宽消耗的方法及装置、显示控制器和计算机存储介质,期望能够解决显示的带宽消耗大的问题。
本发明的技术方案是这样实现的:
第一方面,本发明实施例提供了一种降低显示控制器带宽消耗的方法,该方法包括:
判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
当所述当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
当所述当前待显示UI帧的图像数据与前一UI帧的图像数据不同时,按照预设的策略确定所述当前待显示UI帧的透明区域。
第二方面,本发明实施例提供了一种降低显示控制器带宽消耗的装置,所述装置包括:判断模块、数据读取模块和透明区域确定模块;其中,
所述判断模块,配置为判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
所述数据读取模块,配置为读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
所述透明区域确定模块,配置为按照预设的策略确定所述当前待显示UI帧的透明区域。
第三方面,本发明实施例提供一种降低显示控制器带宽消耗的方法,应用于显示控制器中,所述方法包括:
若在第n个屏幕刷新周期内存在用户界面UI的图像数据更新,从UI缓存区读取缓存的UI帧的整个帧的图像数据;
按照预设的策略,确定出所读取的UI帧的透明区域;
若在第n+1个屏幕刷新周期内不存在UI的图像数据更新,根据确定的结果从所述UI缓冲区读取非透明区域的图像数据,其中,所述n为0或正整数。
第四方面,本发明实施例提供一种显示控制器,包括:
存储器,配置为存储信息;
处理器,配置为与所述存储器连接,配置为通过执行所述存储器中存储的计算可执行代码,能够实现前述一个或多个技术方案提供的降低显示控制器带宽消耗的方法。
第五方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于前述一个或多个技术方案提供的降低显示控制器带宽消耗的方法。
本发明实施例提供了一种降低显示控制器带宽消耗的方法及装置、显示控制器及计算机存储介质。该方法通过判断当前待显示UI帧的图像数据是否与前一UI帧的图像数据相同,并当所述当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,只读取所述前一UI帧中除透明区域以外的非透明区域的图像数据,即不读取前一UI帧中透明区域的图像数据,从减少了显示控制器通过总线从UI缓冲区读取的数据量,从而大大降低了显示控制器的带宽消耗。
附图说明
图1为本发明实施例提供的一种显示设备的一般显示原理示意图;
图2为本发明实施例提供的一种降低显示控制器带宽消耗的方法示意图;
图3为本发明实施例提供的一种数据读取的方法示意图;
图4为本发明实施例提供的另一种数据读取的方法示意图;
图5为本发明实施例提供的一种UI帧的界面显示示意图;
图6为本发明实施例提供的一种降低显示控制器带宽消耗的优选实施过程示意图;
图7为本发明实施例提供的另一种UI帧的界面显示示意图;
图8为本发明实施例提供的一种降低显示控制器带宽消耗的装置结构 示意图;
图9为本发明实施例提供的另一种降低显示控制器带宽消耗的装置结构示意图;
图10为本发明实施例提供的一种降低显示控制器带宽消耗的设备结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
研究发现,智能机顶盒的主要应用场景是媒体播放,特别是全屏播放。只有在字幕显示和人机交互时需要使用用户接口(UI,User Interface)界面。在媒体播放及播放交互时,UI界面全部或者大部分是透明的。而在应用(例如,Android应用)与用户交互时,UI界面才是有内容的。也就是说,DDR SDRAM中的UI界面的内容是动态变化的。显示控制器统一以60帧/秒的帧频,通过芯片内部总线,从DDR SDRAM中逐行读取待显示的图像数据,进行层混合等处理后,送入高清晰度多媒体接口(HDMI,High Definition Multimedia Interface)或复合同步视频广播信号接口(CVBS,Composite Video Broadcast Signal)进行显示。如图1所示,该图给出了显示设备的一般显示原理,从图1中可以看出,显示控制器按照一定的屏幕刷新率,通过芯片内部总线(如Bus/Matrix总线),分别从DDR SDRAM中的UI帧缓冲区和视频帧缓冲区读取对应的待显示UI帧和待播放视频帧的图像数据,在进行层混合等处理后,送入HDMI或CVBS接口进行显示。其中,中央处理器(CPU,Central Processing Unit)和图像处理器(GPU,Graphics Processing Unit)用于动态产生UI帧缓冲区数据,CPU还用于控制显示控 制器的配置参数的更新;视频处理单元(VPU,Video Processing Unit)用于周期性地产生视频帧缓冲区数据。这里,假设UI界面采用1080的分辨率,即UI界面的物理分辨率为1920×1080,则显示控制器显示UI界面所消耗的带宽为:(1920×1080×32Bits/Pixel)×60FPS=3840M bps。
然而,在进行视频播放时,总线带宽本来就极为紧张,而且大部分时间,UI帧为全透明帧,但是由于DDR SDRAM一直处于打开状态,UI界面的显示仍然会消耗如上计算的带宽。
有鉴于此,本发明实施例提供了一种降低显示控制器带宽消耗的方法,从图中可以看出,该方法可以包括:在进行屏幕刷新的周期内,若发现UI的图像数据未发生变化,则对应的周期内根据之前确定的透明区域和/或非透明区域,仅从UI缓冲区读取UI帧的非透明区域的数据,减少了透明区域的无用数据的读取,减少了总线数据量的传输,减少了带宽的占用和读取资源的占用。以下结合具体实施例及附图对方案进行详细的描述说明。
实施例一
如图2所示,该图给出了本发明实施例提供的一种降低显示控制器带宽消耗的方法,从图中可以看出,该方法可以包括:
S210、判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;如果是,执行步骤S220;否则,执行步骤S230;
S220、读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
S230、按照预设的策略确定所述当前待显示UI帧的透明区域。
通常情况下,待显示UI帧的图像数据被存储在DDR SDRAM中的UI帧缓冲区,并由CPU/GPU来控制UI帧缓冲区中待显示UI帧的图像数据的更新。显示控制器可以通过总线来访问(即读取)UI帧缓冲区中待显示UI帧的图像数据。
这里,还需要说明的是,上述图2中所描述的“前一UI帧”与“当前待显示UI帧”是一种相对的说法,例如,将“前一UI帧”记作第i帧,“当前待显示UI帧”记作第i+1帧,那么在显示控制器完成第i帧图像数据的读取和显示之后,将读取并显示第i+1帧的数据,此时,第i帧相对于第i+1帧称之为“前一UI帧”,而将要显示的第i+1帧称之为“当前待显示UI帧”,这样的命名方法只是为了方便实施方案的描述。
示例性地,对于步骤S230,所述按照预设的策略确定所述当前待显示UI帧的透明区域,包括:
S2301、按照预设的数据读取规则读取所述当前待显示UI帧的图像数据;
S2302、按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域。
具体地,对于步骤S2301,所述按照预设的数据读取规则读取所述当前待显示UI帧的图像数据,可以包括:
以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据;
或,以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据。
这里,需要说明的是,除了上述两种数据读取方式,显示控制器还可以以块的方式读取UI帧缓冲区中的UI帧数据,对于采用哪种数据读取方式进行读取,这里不做任何限制。对于数据读取的顺序,如图3所示,显示控制器可以按照预设的行读取顺序(如从上至下或由下向上)读取所述当前待显示UI帧的图像数据。类似地,如图4所示,显示控制器也可以按照预设的矩形读取顺序(如从左至右或从右至左)读取所述当前待显示UI 帧的图像数据。这里,对于图像数据的读取顺序也不做具体限制。
相应地,当以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据时,对于步骤S2302,所述按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域,具体可以包括:
以行为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明行区域;其中,所述透明行区域是指所述当前待显示UI帧中整行图像数据的透明度均为0的区域。
这里,需要说明的是,通常情况下,HDMI等显示接口都是以行为单位进行待显示UI帧的图像数据的读取的。因此,在实际应用中,以行为单位的透明区域检测方法比较容易实现。
另外,对于步骤S2302,当以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据时,所述按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域,包括:
以预设的矩形区域为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明矩形区域;其中,所述透明矩形区域是指所述当前待显示UI帧中整个矩形区域内的图像数据的透明度均为0的区域。
这里,需要说明的是,当UI交互区是垂直条纹形状时,如图5所示,UI交互区此时如果仍然采用以行为单位进行透明区的检测,将找不到有效的透明区。但是,如果以预设的矩形区域为单位进行透明区的检测,则可以检测出图5所示的UI帧的左半边为透明区域,即图5所示的阴影区域,右边UI交互区所在的区域为非透明区。
还需要说明的是,在前一UI帧开始时,为了方便所述前一UI帧的透明区域的快速识别,可以在确定透明行区域或透明矩形区域的同时,对每个透明行区域或透明矩形区域进行标记,进而在当前UI帧开始时,显示控制器能够根据每行或每个矩形区域的标记值,来确定是否读取该行或该矩形区域内的图像数据。
在实际应用中,例如,以“1”标记透明行区域或透明矩形区域,以“0”标记非透明行区域或非透明矩形区域。可以理解地,所述非透明行区域或非透明矩形区域是指整行图像数据或矩形区域内的图像数据至少有一个图像数据的透明度不为0的区域。因此,显示控制器在读取待显示UI帧的图像数据时,一旦检测到某行区域或某矩形区域内的任一图像数据的透明度不为0,则标记该区域为非透明行区域或非透明矩形区域。另外,还可以只标记透明区域,或只标记非透明区域;例如,显示控制器在读取当前待显示UI帧的图像数据时,如果检测到某行区域或某矩形区域内的所有图像数据的透明度均为0,则标记该区域为透明行区域或透明矩形区域,而对于当前待显示UI帧中没有被标记的区域则为非透明区域;类似地,显示控制器在读取当前待显示UI帧的图像数据时,如果一旦检测到某行区域或某矩形区域内的任一图像数据的透明度不为0,则标记该区域为非透明行区域或非透明矩形区域,而对于当前待显示UI帧中没有被标记的区域则为透明区域。这里,仅仅是给出了几种透明区域的标记方法,对于具体采用哪种标记方法此处不做限制。
另外,在实际应用中,在CPU/GPU更新UI帧缓冲区的待显示UI帧的图像数据后,或者,在关闭CPU或打开CPU或更新显示控制器的配置参数后,显示控制器都要清空前一帧的透明行区域(和/或非透明行区域)或透明矩形区域(和/或非透明矩形区域)的标记,并重新确定待显示UI帧中的透明行区域或透明矩形区域。这里,显示控制器的配置参数主要包括当前 显示帧的地址和待显示帧的地址。
本发明实施例提供了一种降低显示控制器带宽消耗的方法,该方法能够在当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,只读取所述前一UI帧中除透明区域以外的非透明区域的图像数据,从而大大降低了显示控制器的带宽消耗。
实施例二
为了方便对上述技术方案的理解,如图6所示,以按照预设的行顺序读取当前待显示UI帧的图像数据为例,该图给出了本发明实施例提供的一种降低显示控制器带宽消耗的优选实施过程,从图中可以看出,该过程可以包括如下实施步骤:
S610、显示控制器在启动显示之前,设置所有的行透明标志无效;
这里,需要说明的是,当CPU/GPU更新UI帧缓冲区的待显示UI帧,并通知显示控制器切换使用更新后的待显示UI帧时,显示控制器也需要设置所有的行透明标志无效。或者,在关闭CPU或打开CPU或更新显示控制器的配置参数后,显示控制器均需要设置所有的行透明标志无效。
S620、所述显示控制器在帧同步(VSync,Vertical Synchronization)之后,判断当前待显示UI帧对应的行透明标志是否有效;如果是,则执行步骤S630;否则,执行步骤S640;
S630、所述显示控制器读取所述当前待显示UI帧中当前待读取行所对应的标记值;
S631、所述显示控制器根据所述当前待读取行所对应的标记值,判断所述当前待读取行是否为透明行;如果是,则执行步骤S632;否则,执行步骤S633;
S632、所述显示控制器不读取所述当前待读取行所对应的图像数据, 并返回执行步骤S630;
S633、所述显示控制器读取所述当前待读取行所对应的图像数据,并返回执行步骤S630;
S640、所述显示控制器读取所述当前待显示UI帧中当前待读取行所对应的图像数据,并检测所述当前待读取行所对应的所有图像数据的透明度是否均为0;如果是,执行步骤S641;否则,执行步骤S642;
S641、所述显示控制器将所述当前待读取行标记为透明行区域,并返回执行步骤S640;
S642、所述显示控制器将所述当前待读取行标记为非透明行区域,并返回执行步骤S640。
通过上述图6所示的实施方法,可以检测出水平方法由多个透明行区域组成的一个或两个及其以上的透明区。例如,如图7(a)所示,当前待显示UI帧的顶部用于显示台标和App提供的其它提示信息,底部用于显示当前需要播放的字幕信息,通过上述图6所示的方法,容易检测到该图7(a)所示的UI帧的中间部分为透明区,即图7(a)中的阴影区域。当只需要当前待显示UI帧的底部用于显示当前播放所需的字幕信息时,如图7(b)所示,此时容易检测到该图7(b)所示的UI帧中除底部以外其它区域均为透明区,即图7(b)所示的阴影区域。如图7(c)所示,该图7(c)示出了透明区分别在当前待显示UI帧的顶部和底部的情况,从图7(c)中可以看出,当前待显示UI帧的中间部分用于显示视频播放时的UI交互区,因此,通过上述方法仍然可以较容易地检测出该UI帧的透明区。
对于图7所示的待显示UI帧的几种形式,在下一帧开始且待显示UI帧的图像数据不变时,显示控制器均不需要通过总线读取UI帧缓冲区的待显示UI帧的透明区域对应的图像数据,也就是说,显示控制器只需要通过总线读取待显示UI帧的非透明区域对应的图像数据即可满足界面显示的要 求;如此,将能够有效地降低显示控制器的带宽消耗。尤其是当当前待显示UI帧的整个区域均为透明区域时,该方法实现节省带宽的效果更为明显,原因在于此时显示控制器完全不需要通过总线访问UI帧缓冲区,来读取当前待显示UI帧的图像数据。
具体地,在实际工程应用中,以UI界面的分辨率是1920×1080为例,说明上述方法所取得的效果:(1)当全屏播放视频时,UI界面消耗的总线带宽,从3.84Gbps降为0;如果此时播放的视频的分辨率为1920×1080,则显示控制器的总带宽消耗可以被降低72%;如果此时播放的视频的分辨率为4K,则显示控制器的总带宽消耗可以被降低40%;(2)当需要通过UI显示字幕时,其消耗的总带宽取决于字幕所占的行数,通常情况下,UI界面消耗的总线带宽可以降低90%到95%;(3)当视频播放的同时需要短时间的UI界面交互时,此时,UI界面消耗的总线带宽同样取决于界面显示内容的行数,通常情况下,UI界面消耗的总线带宽可以降低70%到90%。
综合上述描述可知,本发明实施例提供的一种降低显示控制器带宽消耗的方法,能够在读取待显示UI帧的图像数据的同时,确定待显示UI帧的透明区域,并在下一帧开始且待显示UI帧的图像数据不变时,只读取待显示UI帧中非透明区域的图像数据,即不读取待显示UI帧的透明区域的图像数据,从而大大降低了显示控制器的带宽消耗。
实施例三
基于前述相同的技术构思,如图8所示,该图给出了本发明实施例提供的一种降低显示控制器带宽消耗的装置80,从图中可以看出,该装置80可以包括:透明区域确定模块810、判断模块820和数据读取模块830;其中,
所述判断模块820,配置为判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
所述数据读取模块830,配置为读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
所述透明区域确定模块810,配置为按照预设的策略确定所述当前待显示UI帧的透明区域。
在上述方案中,所述透明区域确定模块810,如图9所示,包括数据读取子模块8101和透明区域确定子模块8102;其中,
所述数据读取子模块8101,配置为按照预设的数据读取规则读取所述当前待显示UI帧的图像数据;
所述透明区域确定子模块8102,配置为按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域。
在上述方案中,所述数据读取子模块8101,配置为:
以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据;
或,以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据。
在上述方案中,所述透明区域确定子模块8102,配置为:
以行为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明行区域;其中,所述透明行区域是指所述当前待显示UI帧中整行图像数据的透明度均为0的区域。
在上述方案中,所述透明区域确定子模块模块8102,配置为:
以预设的矩形区域为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明矩形区域;其中,所述透明矩形区域是指所述当前待显示UI帧中整个矩形区域内的图像数据的透明度均为0的区域。
另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
所述集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的一种降低显示控制器带宽消耗的方法对应的计算机程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种降低显示控制器带宽消耗的方法对应的计算机程序指令被一电子设备读取或被执行时,包括如下步骤:
判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
当所述当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
当所述当前待显示UI帧的图像数据与前一UI帧的图像数据不同时,按照预设的策略确定所述当前待显示UI帧的透明区域。
可选的,存储介质中存储的与步骤:所述按照预设的策略确定当前待显示UI帧的透明区域,包括:
按照预设的数据读取规则读取所述当前待显示UI帧的图像数据;
按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域。
可选的,存储介质中存储的与步骤:所述按照预设的数据读取规则读取所述当前待显示UI帧的图像数据,包括:
以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据;
或,以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据。
可选的,存储介质中存储的与步骤:当以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据时,所述按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域,包括:
以行为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明行区域;其中,所述透明行区域是指所述当前待显示UI帧中整行图像数据的透明度均为0的区域。
可选的,存储介质中存储的与步骤:当以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据时,所述按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域,包括:
以预设的矩形区域为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明矩形区域;其中,所述透明矩形区域是指所述当前待显示UI帧中整个矩形区域内的图像数据的透明度均为0的区域。
实施例四
基于前述实施例相同的技术构思,参见图10,其示出了本发明实施例提供的一种降低显示控制器带宽消耗的设备90,可以包括:第一通信接口910、第一存储器920、第一处理器930和第一总线940;其中,
所述第一总线940配置为连接所述第一通信接口910、所述第一处理器930和所述第一存储器920以及这些器件之间的相互通信;
所述第一通信接口910,配置为与外部网元进行数据传输;
所述第一存储器920,配置为存储指令和数据;
所述第一处理器930执行所述指配置为判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
以及,当所述当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
以及,当所述当前待显示UI帧的图像数据与前一UI帧的图像数据不同时,按照预设的策略确定所述当前待显示UI帧的透明区域。
在实际应用中,上述第一存储器920可以是易失性第一存储器(volatile memory),例如随机存取第一存储器(RAM,Random-Access Memory);或者非易失性第一存储器(non-volatile memory),例如只读第一存储器(ROM,Read-Only Memory),快闪第一存储器(flash memory),硬盘(HDD,Hard Disk Drive)或固态硬盘(SSD,Solid-State Drive);或者上述种类的第一存储器的组合,并向第一处理器930提供指令和数据。
上述第一处理器930可以为特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理装置(DSPD,Digital Signal Processing Device)、可编程逻辑装置(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field  Programmable Gate Array)、中央处理器(CPU,Central Processing Unit)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述第一处理器功能的电子器件还可以为其它,本发明实施例不作具体限定。
示例性地,所述第一处理器930,可配置为:
按照预设的数据读取规则读取所述当前待显示UI帧的图像数据;
按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域。
示例性地,所述第一处理器930,可配置为:
以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据;
或,以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据。
示例性地,所述第一处理器930,可配置为:
以行为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明行区域;其中,所述透明行区域是指所述当前待显示UI帧中整行图像数据的透明度均为0的区域。
示例性地,所述第一处理器930,可配置为:
以预设的矩形区域为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明矩形区域;其中,所述透明矩形区域是指所述当前待显示UI帧中整个矩形区域内的图像数据的透明度均为0的区域。
本发明实施例还提供一种降低显示控制器带宽消耗的方法,应用于显示控制器中,所述方法包括:
若在第n个屏幕刷新周期内存在用户界面UI的图像数据更新,从UI缓存区读取缓存的UI帧的整个帧的图像数据;
按照预设的策略,确定出所读取的UI帧的透明区域;
若在第n+1个屏幕刷新周期内不存在UI的图像数据更新,根据确定的结果从所述UI缓冲区读取非透明区域的图像数据,其中,所述n为0或正整数。
在本实施例中,所述显示控制器可为直接于显示屏连接的控制器。
显示屏的刷新是按照屏幕刷新周期来的。所述UI帧的图像数据可包括:智能电视的显示的台标等信息。或者,显示的台号等与智能电视切换相关的信息。
在本实施例中,显示控制器仅会在UI的图像数据更新时,读取单签UI缓存区缓存的UI帧的整帧的图像数据,即不区分是透明区域还是非透明区域。在本实施例中,UI帧中的透明区为没有数据需要输出给用户看的区域,而非透明区域是显示有需要用户观看的数据,例如,台标、台号或者是可供用户利用遥控、手机或无线鼠标等操作的用户控件。
通常情况下,若发生了换台事件、或者,检测到了遥控、鼠标或手机等控制智能机顶盒执行对应操作的事件之后,UI的图像数据才会有变化,故智能电视的应用驱动是可以知道何时UI的图像数据会发生变化的,当发生了变化时,可以有应用驱动告知显示控制器,从而显示控制器是可以从智能机顶盒处了解到何时有发生UI的图像数据更新。故显示控制器可以通过与智能机顶盒的应用驱动等设备交互,判断出当前待显示的UI帧与前一个待显示的UI帧是否有图像数据的差异。
在本实施例中若发现UI数据有更新,即当前待显示的UI帧的图像数据与前一个UI帧的图像数据不同时,所述显示控制器会从缓存有整个UI 帧的整个帧的图像数据的UI缓冲区,读取整个UI帧的所有图像数据。
所述显示控制器在读取的过程中,可以解析每一个像素的像素值,例如,当前像素值为0,可以确定为透明像素;故可以通过对读取的图像数据的解析,确定出透明区域。
在确定出透明区域之后,通过透明标记,区分透明区域和非透明区域。
若在下一个屏幕刷新周期读取UI数据时,仅需要读取非透明区域的图像数据即可,而不用读取透明区域的图像数据,所述显示控制器对于未读取的区域的数据,默认为透明区域;故UI的图像数据不更新时,显然在任意一个屏幕刷新周期内都仅只读非透明区域的图像数据,UI缓冲区与显示控制器之间的总线也仅需要传输非透明区域的图像数据,显然可以大大的减少数据传输量,降低总线的带宽消耗,降低显示控制器因为数据读取所消耗的读取资源等。
可选地,确定出所读取的UI帧的透明区域,包括:
解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域;
当有不小于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域。
有些透明像素是零散分布,一个或几个透明像素可能会构成一个较小的透明区域,但是这种透明区域太小,不方便标记。故在本实施例中仅有集中分布的透明像素达到预设个数时,该透明像素所在的区域才被标记为透明区域。
例如,所述解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域,包括:
以行为单位并按照预设的行读取顺序,解析所述当前待显示UI帧的图 像数据;
所述当有不小于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域,包括:
当一行所述像素都为所述透明像素是时,确定对应行为透明行。
故在本实施例中所述透明区域包括:透明行。
又例如,所述解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域,包括:
以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据;
所述当有等于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域,包括:
当一个矩形区域的所述像素都为所述透明像素是时,确定对应行为透明矩形区域。
本实施例所述透明区域包括:透明矩形区域。
在还有一些实施例中,所述透明区域还可包括:透明列。
采用透明行、透明矩形区域及透明列的形式,给出的透明区域都是规则的区域,方便显示控制器标记即后续处理的区域。
在一些实施例中,一种降低显示控制器带宽消耗的装置,应用于显示控制器中包括:
读取单元,配置为若在第n个屏幕刷新周期内存在用户界面UI的图像数据更新,从UI缓存区读取缓存的UI帧的整个帧的图像数据;
确定单元,配置为按照预设的策略,确定出所读取的UI帧的透明区域;
所述读取单元,还配置为若在第n+1个屏幕刷新周期内不存在UI的图 像数据更新,根据确定的结果从所述UI缓冲区读取非透明区域的图像数据,其中,所述n为0或正整数。
所述读取单元及确定单元,可对应于处理器或处理电路。所述处理器可为应用处理器AP(AP,Application Processor)、数字信号处理器(DSP,Digital Signal Processor)或可编程门阵列(FPGA,Field Programmable Gate Array)。所述处理电路可为专用集成电路。
可选地,所述确定单元,包括:解析模块,配置为解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域;确定模块,配置为当有不小于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域。
例如,所述解析模块,配置为以行为单位并按照预设的行读取顺序,解析所述当前待显示UI帧的图像数据;
所述确定模块,配置为当一行所述像素都为所述透明像素是时,确定对应行为透明行。
故在本实施例中所述透明区域包括:透明行。
又例如,所述解析模块,配置为以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据;
所述确定模块,配置为当一个矩形区域的所述像素都为所述透明像素是时,确定对应行为透明矩形区域。
本发明实施例还提供一种显示控制器,包括:
存储器,配置为存储信息;
处理器,配置为与所述存储器连接,配置为通过执行所述存储器中存储的计算可执行代码,能够实现前一个或多个技术方案提供的降低显示控制器的带宽消耗的方法。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于现前一个或多个技术方案提供的降低显示控制器的带宽消耗的方法。
这里的计算机存储介质可为随机存储介质、只读存储介质、闪存或移动硬盘等,可选为非瞬间存储介质。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。
工业实用性
本发明实施例中,显示控制器发现本频率刷新周期要读取的UI帧的图像数据与前一个UI帧的图像数据相同时,仅会读取非透明区域的数据,从而可以减少透明区域的数据读取,从而减少总线传输的数据量,从而减少带宽的占用,具有积极的工业效果。同时,显示控制器当发现两个UI帧不同时,会读取全部数据并解析出哪些是透明区域,下一个频率刷新周期若UI的图像数据未更新,则仅需根据本次的透明区域的确定,读取透明区域的数据,具有可实现性强的特点。

Claims (18)

  1. 一种降低显示控制器带宽消耗的方法,所述方法包括,
    判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
    当所述当前待显示UI帧的图像数据与前一UI帧的图像数据相同时,读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
    当所述当前待显示UI帧的图像数据与前一UI帧的图像数据不同时,按照预设的策略确定所述当前待显示UI帧的透明区域。
  2. 根据权利要求1所述的方法,其中,所述按照预设的策略确定所述当前待显示UI帧的透明区域,包括:
    按照预设的数据读取规则读取所述当前待显示UI帧的图像数据;
    按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域。
  3. 根据权利要求2所述的方法,其中,所述按照预设的数据读取规则读取所述当前待显示UI帧的图像数据,包括:
    以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据;
    或,以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据。
  4. 根据权利要求3所述的方法,其中,当以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据时,所述按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域,包括:
    以行为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明行区域;其中,所述透明行区域是指所述当前待显示UI帧中整行图像数据的透明度均为0的区域。
  5. 根据权利要求3所述的方法,其中,当以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据时,所述按照预设的检测规则检测当前已读取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域,包括:
    以预设的矩形区域为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明矩形区域;其中,所述透明矩形区域是指所述当前待显示UI帧中整个矩形区域内的图像数据的透明度均为0的区域。
  6. 一种降低显示控制器带宽消耗的装置,其中,所述装置包括:判断模块、数据读取模块和透明区域确定模块;其中,
    所述判断模块,配置为判断当前待显示用户界面UI帧的图像数据是否与前一UI帧的图像数据相同;
    所述数据读取模块,配置为读取所述前一UI帧中除透明区域以外的非透明区域的图像数据;
    所述透明区域确定模块,配置为按照预设的策略确定所述当前待显示UI帧的透明区域。
  7. 根据权利要求6所述的装置,其中,所述透明区域确定模块,包括:数据读取子模块和透明区域确定子模块;其中,
    所述数据读取子模块,配置为按照预设的数据读取规则读取所述当前待显示UI帧的图像数据;
    所述透明区域确定子模块,配置为按照预设的检测规则检测当前已读 取的待显示UI帧的图像数据,确定所述当前待显示UI帧的透明区域。
  8. 根据权利要求7所述的装置,其中,所述数据读取子模块,配置为:以行为单位并按照预设的行读取顺序读取所述当前待显示UI帧的图像数据;或,以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据。
  9. 根据权利要求8所述的装置,其中,所述透明区域确定子模块,配置为:以行为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明行区域;其中,所述透明行区域是指所述当前待显示UI帧中整行图像数据的透明度均为0的区域。
  10. 根据权利要求8所述的装置,其中,所述透明区域确定子模块模块,配置为:以预设的矩形区域为单位检测当前已读取的待显示UI帧的图像数据的透明度,确定所述当前待显示UI帧的透明矩形区域;其中,所述透明矩形区域是指所述当前待显示UI帧中整个矩形区域内的图像数据的透明度均为0的区域。
  11. 一种降低显示控制器带宽消耗的方法,应用于显示控制器中,所述方法包括:
    若在第n个屏幕刷新周期内存在用户界面UI的图像数据更新,从UI缓存区读取缓存的UI帧的整个帧的图像数据;
    按照预设的策略,确定出所读取的UI帧的透明区域;
    若在第n+1个屏幕刷新周期内不存在UI的图像数据更新,根据确定的结果从所述UI缓冲区读取非透明区域的图像数据,其中,所述n为0或正整数。
  12. 根据权利要求11所述的方法,其中,所述按照预设的策略,确定出所读取的UI帧的透明区域,包括:
    解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域;
    当有不小于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域。
  13. 根据权利要求12所述的方法,其中,
    所述解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域,包括:
    以行为单位并按照预设的行读取顺序,解析所述当前待显示UI帧的图像数据;
    所述当有不小于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域,包括:
    当一行所述像素都为所述透明像素是时,确定对应行为透明行。
  14. 根据权利要求12所述的方法,其中,
    所述解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域,包括:
    以预设的矩形区域为单位并按照预设的矩形读取顺序读取所述当前待显示UI帧的图像数据;
    所述当有等于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域,包括:
    当一个矩形区域的所述像素都为所述透明像素是时,确定对应行为透明矩形区域。
  15. 一种降低显示控制器带宽消耗的装置,应用于显示控制器中包括:
    读取单元,-配置为若在第n个屏幕刷新周期内存在用户界面UI的图像 数据更新,从UI缓存区读取缓存的UI帧的整个帧的图像数据;
    确定单元,配置为按照预设的策略,确定出所读取的UI帧的透明区域;
    所述读取单元,还配置为若在第n+1个屏幕刷新周期内不存在UI的图像数据更新,根据确定的结果从所述UI缓冲区读取非透明区域的图像数据,其中,所述n为0或正整数。
  16. 根据权利要求15所述的装置,其中,
    所述确定单元,包括:
    解析模块,配置为解析读取的所述UI帧的整个帧的图像数据,确定出透明像素所在的区域;
    确定模块,配置为当有不小于预设个数的所述透明像素集中分布时,确定等于预所述设个数的所述透明像素所在的区域为透明区域。
  17. 一种显示控制器,包括:
    存储器,配置为存储信息;
    处理器,配置为与所述存储器连接,配置为通过执行所述存储器中存储的计算可执行代码,能够实现权利要求1至5及11至14任一项提供的方法。
  18. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于权利要求1至5及11至14任一项提供的方法。
PCT/CN2017/094270 2017-03-14 2017-07-25 降低带宽消耗的方法及装置、显示控制器和存储介质 WO2018166132A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP17901294.3A EP3582097A4 (en) 2017-03-14 2017-07-25 METHOD AND DEVICE FOR REDUCING BANDWIDTH CONSUMPTION, DISPLAY CONTROL UNIT AND STORAGE MEDIUM
US16/491,579 US10796670B1 (en) 2017-03-14 2017-07-25 Method and device for reducing bandwidth consumption, display controller, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710148694.7A CN108572807A (zh) 2017-03-14 2017-03-14 一种降低显示控制器带宽消耗的方法及装置
CN201710148694.7 2017-03-14

Publications (1)

Publication Number Publication Date
WO2018166132A1 true WO2018166132A1 (zh) 2018-09-20

Family

ID=63522792

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094270 WO2018166132A1 (zh) 2017-03-14 2017-07-25 降低带宽消耗的方法及装置、显示控制器和存储介质

Country Status (4)

Country Link
US (1) US10796670B1 (zh)
EP (1) EP3582097A4 (zh)
CN (1) CN108572807A (zh)
WO (1) WO2018166132A1 (zh)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267801A (zh) * 2014-10-20 2015-01-07 福州瑞芯微电子有限公司 一种降低功耗和带宽的方法及系统
CN106127721A (zh) * 2015-05-05 2016-11-16 联发科技股份有限公司 用于显示由叠加图像层合成的混合图像的图形系统及方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489052B (zh) * 2008-01-14 2010-12-01 中国网通集团宽带业务应用国家工程实验室有限公司 字幕数据的处理方法及装置
KR20110110433A (ko) * 2010-04-01 2011-10-07 삼성전자주식회사 영상 표시 장치 및 영상 표시 방법
JP5740149B2 (ja) * 2010-12-22 2015-06-24 クラリオン株式会社 表示制御装置、表示レイヤ合成プログラム
CN102103463B (zh) * 2011-02-17 2013-03-13 浙江宇视科技有限公司 一种带透明度用户界面信息的处理方法和设备
JP5620888B2 (ja) * 2011-07-26 2014-11-05 京セラ株式会社 無線基地局及び通信制御方法
CN102724582B (zh) * 2012-05-31 2014-09-24 福州瑞芯微电子有限公司 基于用户界面对关键色进行显示的方法
US10109260B2 (en) * 2013-02-12 2018-10-23 Nxp Usa, Inc. Display processor and method for display processing
US9142053B2 (en) * 2013-11-15 2015-09-22 Ncomputing, Inc. Systems and methods for compositing a display image from display planes using enhanced bit-level block transfer hardware
GB2528265B (en) * 2014-07-15 2021-03-10 Advanced Risc Mach Ltd Method of and apparatus for generating an output frame
CN105895029A (zh) * 2014-11-04 2016-08-24 飞思卡尔半导体公司 用于永久性显示面板的显示器控制器

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267801A (zh) * 2014-10-20 2015-01-07 福州瑞芯微电子有限公司 一种降低功耗和带宽的方法及系统
CN106127721A (zh) * 2015-05-05 2016-11-16 联发科技股份有限公司 用于显示由叠加图像层合成的混合图像的图形系统及方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3582097A4

Also Published As

Publication number Publication date
US10796670B1 (en) 2020-10-06
US20200294475A1 (en) 2020-09-17
CN108572807A (zh) 2018-09-25
EP3582097A1 (en) 2019-12-18
EP3582097A4 (en) 2020-02-26

Similar Documents

Publication Publication Date Title
JP5290162B2 (ja) 複数の表示層の調合
WO2020207250A1 (zh) 垂直同步方法、装置、终端及存储介质
US9030481B2 (en) Method and apparatus for reducing power usage during video presentation on a display
US11350069B2 (en) Source device and control method thereof, and sink device and image quality improvement processing method thereof
WO2019041863A1 (zh) 图像处理系统、图像显示方法及显示装置、存储介质
US20170148422A1 (en) Refresh control method and apparatus of display device
TW201913375A (zh) 電子裝置及螢幕刷新頻率的調整方法
CA2936373C (en) Data processing method and device for led television, and led television
WO2021244666A1 (zh) 视频播放的控制方法、装置、计算机设备和存储介质
WO2021136158A1 (zh) 一种视频窗口画面显示方法及装置
US20130083047A1 (en) System and method for buffering a video signal
US20190089927A1 (en) Block-based power efficient timing engine for smart display panels
CN104268113A (zh) Dpi接口的lcd控制器以及其自适应带宽的方法
US10446071B2 (en) Device and method of using slice update map
CN110750966B (zh) 一种批注的处理方法、装置、设备及存储介质
KR102619668B1 (ko) 슬라이스 업데이트 맵을 이용하는 장치 및 방법
WO2022227974A1 (zh) 字幕处理方法、装置、设备及存储介质
US20190087144A1 (en) Frame-based power efficient timing engine for smart display panels
US10078999B2 (en) Dynamic bandwidth usage reduction for displays
WO2018166132A1 (zh) 降低带宽消耗的方法及装置、显示控制器和存储介质
US9691355B2 (en) Method of reading data, method of transmitting data and mobile device thereof
KR20110110433A (ko) 영상 표시 장치 및 영상 표시 방법
US11070867B2 (en) Method, device, and computing apparatus for acquiring broadcasting content
CN105022589A (zh) 电子装置及其操作方法
JP4825910B2 (ja) 記憶制御装置、電子機器、および記憶制御方法

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: 17901294

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017901294

Country of ref document: EP

Effective date: 20190910

NENP Non-entry into the national phase

Ref country code: DE