WO2023000621A1 - 多屏显示方法及装置 - Google Patents

多屏显示方法及装置 Download PDF

Info

Publication number
WO2023000621A1
WO2023000621A1 PCT/CN2021/143413 CN2021143413W WO2023000621A1 WO 2023000621 A1 WO2023000621 A1 WO 2023000621A1 CN 2021143413 W CN2021143413 W CN 2021143413W WO 2023000621 A1 WO2023000621 A1 WO 2023000621A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
resolution
pictures
picture
physical interface
Prior art date
Application number
PCT/CN2021/143413
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 展讯通信(上海)有限公司
Publication of WO2023000621A1 publication Critical patent/WO2023000621A1/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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4092Image resolution transcoding, e.g. by using client-server architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Definitions

  • the present application relates to the technical field of communications, and in particular to a multi-screen display method and device.
  • AP Application Processor
  • MIPI Mobile Industry Processor Interface
  • DSI Display Serial Interface
  • the MIPI DSI output bandwidth of the single-channel MIPI DSI AP chip is designed according to the bandwidth requirements of connecting a single display screen. Therefore, when multiple display screens are connected, a single MIPI DSI cannot simultaneously output the multiple screen images to multiple display screens for display.
  • the embodiment of the present application provides a multi-screen display method and device, which can combine pictures of multiple screens with different resolutions into one screen picture, and solve the problem of insufficient output bandwidth of a single-screen physical interface when multiple high-resolution screens are connected, thereby Realize multi-screen display through a single-screen physical interface.
  • the embodiment of the present application provides a multi-screen display method, which is applied to an AP chip, and the method includes:
  • the multiple screen pictures are compressed to obtain multiple intermediate pictures, and the pixel transmission of the multiple intermediate pictures requires The total bandwidth is less than or equal to the maximum output bandwidth of the single-screen physical interface;
  • the target picture is input to the adapter chip through the single-screen physical interface.
  • the embodiment of the present application provides a multi-screen display method, which is applied to an adapter chip, and the method includes:
  • the target resolution being the screen resolution of the target screen corresponding to the intermediate pictures
  • the resolution of the intermediate picture is different from the target resolution, the resolution of the intermediate picture is adjusted to obtain multiple screen pictures, and the resolution of the screen picture is the same as the target resolution;
  • an embodiment of the present application provides a multi-screen display device, which is applied to an AP chip, and the device includes:
  • the processing unit is further configured to compress the multiple screen pictures to obtain multiple intermediate pictures if the total bandwidth required for the pixel transmission of the multiple screen pictures is greater than the maximum output bandwidth of the single-screen physical interface.
  • the total bandwidth required for pixel transmission of multiple intermediate pictures is less than or equal to the maximum output bandwidth of the single-screen physical interface;
  • the processing unit is further configured to splice the multiple intermediate pictures to obtain a target picture
  • a transceiver unit configured to input the target picture to the adapter chip through the single-screen physical interface.
  • the embodiment of the present application provides a multi-screen display device, which is applied to an adapter chip, and the device includes:
  • a processing unit configured to segment the received target picture to obtain multiple intermediate pictures
  • the processing unit is further configured to compare the resolutions of the plurality of intermediate pictures with a target resolution respectively, and the target resolution is a screen resolution of a target screen corresponding to the intermediate pictures;
  • the processing unit is further configured to adjust the resolution of the intermediate picture to obtain multiple screen pictures if the resolution of the intermediate picture is different from the target resolution, and the resolution of the screen picture is the same as the target resolution. same resolution;
  • a transceiver unit configured to respectively send the multiple screen pictures to the multiple target screens.
  • the embodiment of the present application provides a chip, the chip includes a processor, a memory, a communication interface, and one or more programs, and the one or more programs are stored in the memory and configured Executed by the processor, the program includes instructions for executing some or all of the steps described in the method described in the first aspect or the second aspect.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables the computer to execute the above-mentioned first aspect or the second aspect. Part or all of the steps described in the method described in the aspect.
  • the embodiment of the present application provides a computer program product containing instructions, and when the computer program product is run on an electronic device, the electronic device executes the method described in the first aspect or the second aspect above .
  • the AP chip generates multiple screen pictures. If the total bandwidth required for pixel transmission of multiple screen pictures is greater than the maximum output bandwidth of a single-screen physical interface, multiple screen pictures are compressed to obtain multiple intermediate pictures. , the total bandwidth required for pixel transmission of multiple intermediate pictures is less than or equal to the maximum output bandwidth of the single-screen physical interface; the multiple intermediate pictures are spliced to obtain the target picture; the target picture is input to the adapter chip through the single-screen physical interface, It can solve the problem of insufficient output bandwidth of a single-screen physical interface when multiple high-resolution screens are connected, thereby realizing multi-screen display through a single-screen physical interface.
  • FIG. 1 is a schematic diagram of a multi-screen display system provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a multi-screen display method provided by an embodiment of the present application
  • Fig. 3 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application.
  • Fig. 3a is a schematic diagram of screen picture compression and decompression provided by the embodiment of the present application.
  • Fig. 4 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application.
  • Fig. 4a is a schematic diagram of another screen picture compression and decompression provided by the embodiment of the present application.
  • Fig. 5 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application.
  • Fig. 6 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application.
  • Fig. 7 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application.
  • Fig. 8 is a block diagram of functional units of a multi-screen display device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • the MIPI interface is an open standard and a specification for mobile application processors initiated by the MIPI Alliance. complexity and increased design flexibility.
  • the MIPI Alliance has different working groups (Work Group) to meet the different needs of each subsystem of the mobile terminal. Different working groups are responsible for formulating specific protocols, and define a set of internal interface standards for mobile devices for different hardware devices, such as camera serial interface CSI, display serial interface DSI, radio frequency interface DigRF, microphone/speaker interface SLIMbus, etc. .
  • the screen output of most AP chips is usually a single-screen physical interface, which can only be connected to a single MIPI LCD screen.
  • the single MIPI DSI output of the AP chip must be converted to multiple One MIPI DSI output for connecting multiple screens.
  • the MIPI DSI output bandwidth of the single-channel MIPI DSI AP chip is designed according to the bandwidth requirements of a single LCD screen, when connecting multiple (two or more) LCD screens, it may be necessary to reduce the maximum resolution of each LCD screen Or the refresh rate can meet the MIPI DSI bandwidth requirements.
  • multiple (two or more) LCD screens have different resolution widths and heights, such as LCD_1: 1080 ⁇ 1920, LCD_2: 1080 ⁇ 960, then the adapter chip Or when the FPGA refreshes the two screens synchronously, LCD_2 may experience screen flicker due to uneven refresh.
  • this application proposes a multi-screen display method.
  • the AP chip will display one of the screens.
  • Pixel compression is performed on pictures or multiple screen pictures to reduce resolution or overall chroma compression, and then multiple screen pictures are spliced into one image, which is output to the adapter chip through a single-screen physical interface.
  • the adapter chip first demultiplexes the received spliced pictures into multiple screen pictures, and then adjusts the resolution of the screen pictures that have undergone pixel compression processing or performs chromaticity adjustment on the screen pictures that have undergone chroma compression.
  • the processed multiple screen pictures are synchronously refreshed and output to multiple screens for display. It can solve the problem of insufficient bandwidth of a single-screen physical interface when multiple high-resolution screens are connected, and can also solve the problem of uneven refresh when multiple screens have different resolution heights, so as to realize multi-screen display through a single-screen physical interface.
  • FIG. 1 is a schematic diagram of a multi-screen display system provided by an embodiment of the present application.
  • the multi-screen display system includes an AP chip 10 , an adapter chip 20 and multiple display screens 30 .
  • the AP chip is used to generate the screen picture displayed on each display screen 30, and after the screen picture is processed, it is transmitted to the adapter chip 20 through a single MIPI DSI, and the adapter chip 20 is used to adjust the received screen picture Afterwards, it is sent to a plurality of display screens 30 line by line at the same time according to the preset frame rate, and the display screen 30 is connected to the adapter chip 20 in communication, and can receive and display the screen pictures transmitted by the AP chip 10 through the adapter chip 20, so that through a single MIPI DSI can realize multi-screen different display.
  • the AP chip may include one or more processors, memories, WIFI modules, serial/parallel interfaces, and the like.
  • the serial/parallel interface may include general purpose input/output (General Purpose Input Output, GPIO) interface, high-definition multimedia interface (High Definition Multimedia Interface, HDMI), general system interface CSI, single MIPI DSI and other physical interfaces.
  • the AP chip 10 can be connected with the adapter chip 20 through a single MIPI DSI, and the screen picture generated by the processor is transmitted to the adapter chip 20 through a single MIPI DSI.
  • the WiFi module is used for wireless network communication.
  • the adapter chip 20 may include multiple DSI interfaces, and each DSI interface is connected to a display screen 30 . After the adapter chip 20 adjusts the received screen picture, it simultaneously sends it to the corresponding display screen 30 for display through the DSI interface.
  • FIG. 2 is a schematic flowchart of a multi-screen display method provided by an embodiment of the present application, which is applied to the AP chip shown in FIG. 1 . As shown in Figure 2, the method includes the following steps.
  • the resolution of the screen picture is the same as the target resolution
  • the target resolution is the screen resolution of the target screen corresponding to the screen picture.
  • an electronic device may be connected to multiple display screens to display image content.
  • the AP chip can first obtain the screen resolutions of multiple display screens, and then through the central processing unit (central processing unit, CPU) or graphics processing unit (Graphics Processing Unit, GPU) A plurality of screen pictures having the same screen resolution as the plurality of display screens are generated in the same manner.
  • the resolution of the screen picture may also be different from the screen resolution of the target screen corresponding to the screen picture.
  • the AP chip in the host can generate two screen pictures with the same resolution, and then the adapter chip in the host converts the screen pictures to The resolution is adjusted to match the screen resolution of the target screen and then sent to the monitor for display, or the adapter chip directly sends the screen picture to the monitor for display.
  • the single-screen physical interface may be a single MIPI DSI.
  • the AP chip can adjust the resolution of the multiple screen pictures so that the single MIPI DSI can transmit the adjusted screen picture .
  • the multiple screen pictures are compressed to obtain multiple intermediate pictures, It includes: splicing the multiple screen pictures according to a first direction to obtain a spliced picture, the first direction being the row direction of the screen picture; if the resolution ⁇ frame rate of the spliced image is greater than that of the single screen.
  • the maximum output bandwidth of the physical interface and/or the resolution width of the spliced image is greater than the maximum resolution width of the single-screen physical interface, and the spliced picture or at least one screen picture is pixelated along the first direction compressing, or performing chroma compression on the spliced picture or the at least one screen picture to obtain the multiple intermediate pictures.
  • the AP chip can splice multiple screen pictures according to the row direction of the screen pictures to determine whether the sum of the resolution widths of the multiple screen pictures is greater than the maximum resolution width of a single-screen physical interface. If the resolution width ⁇ frame rate of the spliced image obtained by splicing multiple screen images is greater than the maximum output bandwidth of the single-screen physical interface, and/or the resolution width of the spliced image is greater than the maximum resolution width of the single-screen physical interface, then It indicates that the single-screen physical interface of the AP chip cannot transmit the spliced picture.
  • the AP chip can directly perform pixel compression on the mosaic picture or at least one screen picture with a higher resolution height along the row direction, and the AP chip can also perform pigment compression on at least one screen picture with a higher resolution height to obtain Multiple intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures, and realize multi-screen display of the single-screen physical interface.
  • the pixel compression can be the linear filtering and downsampling of pixel RGB color components on the screen picture and the spliced picture, such as methods such as bilinear filtering and downsampling, which is the resolution width or resolution of the screen picture and the spliced picture.
  • the chromaticity compression can be to convert the screen picture or the spliced picture from the RGB888 format of 24bit to the RGB565 format of 16bit or the YUV420 format of 12bit, which can simultaneously compress the resolution width and the resolution height of the screen picture and the spliced picture to compress,
  • the resolution of the screen picture or the spliced picture can be reduced, and the data volume of the screen picture or the spliced picture can be reduced.
  • the multiple screen pictures are compressed to obtain multiple intermediate pictures , including: splicing the plurality of screen pictures according to a second direction to obtain a spliced picture, the second direction being the column direction of the screen picture; if the resolution ⁇ frame rate of the spliced image is greater than the single The maximum output bandwidth of the screen physical interface, and/or the resolution height of the spliced image is greater than the maximum resolution height of the single-screen physical interface, and the spliced picture or at least one screen picture is processed along the second direction Pixel compression, or performing chroma compression on the spliced picture or the at least one screen picture to obtain the multiple intermediate pictures.
  • the AP chip can splice multiple screen pictures according to the height direction of the screen pictures to determine whether the sum of the resolution heights of the multiple screen pictures is greater than the maximum resolution height of a single-screen physical interface. If the resolution ⁇ frame rate of the spliced picture obtained by splicing multiple screen pictures is greater than the maximum output bandwidth of the single-screen physical interface, and/or the resolution height of the spliced image is greater than the maximum resolution height of the single-screen physical interface, it indicates The single-screen physical interface of the AP chip cannot transmit the spliced picture.
  • the AP chip can directly compress the pixels of the spliced picture or at least one screen picture with a large resolution height along the column direction, and the AP chip can also directly perform pixel compression on the spliced picture or at least one screen picture with a high resolution height Compress to obtain multiple intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures, and realize multi-screen display of the single-screen physical interface.
  • the AP chip after processing multiple screen pictures according to the row direction to obtain multiple intermediate pictures, the AP chip then stitches the multiple intermediate pictures according to the row direction, that is, stitching the multiple intermediate pictures left and right to obtain the target picture;
  • the screen picture is processed according to the column direction to obtain multiple intermediate pictures, and the AP chip then stitches the multiple intermediate pictures according to the column direction, that is, multiple intermediate pictures are spliced up and down to obtain the target picture.
  • the AP chip After obtaining the target picture, the AP chip outputs the stitched picture to the SOC or FPGA chip through a single MIPI DSI for transfer.
  • the application proposes a multi-screen display method.
  • the AP chip generates multiple screen pictures. If the total bandwidth required for the pixel transmission of multiple screen pictures is greater than the maximum output bandwidth of a single-screen physical interface, multiple screen pictures Perform compression to obtain multiple intermediate pictures. The total bandwidth required for pixel transmission of multiple intermediate pictures is less than or equal to the maximum output bandwidth of the single-screen physical interface; multiple intermediate pictures are spliced to obtain the target picture; the target picture is obtained through the single-screen physical interface The picture is input to the adapter chip, which can solve the problem of insufficient output bandwidth of the single-screen physical interface when connecting multiple high-resolution screens, so as to realize multi-screen display through the single-screen physical interface.
  • FIG. 3 is a schematic flowchart of another multi-screen display method provided by an embodiment of the present application, which is applied to the AP chip as shown in FIG. 1 . As shown in Figure 3, the method includes the following steps.
  • the resolution height of the first screen picture is greater than the resolution height corresponding to the maximum output bandwidth of the single-screen physical interface, perform aspect ratio conversion on the first screen picture, and the multiple screen pictures include the first screen image.
  • the resolution height of the multiple screen pictures is greater than the maximum resolution height of the single-screen physical interface, if the resolution height of the screen picture is greater than the maximum resolution of the single-screen physical interface If the resolution height is higher than the maximum resolution height, then the screen image is converted to the width and height of the resolution pixels, so that the resolution height of the screen image is less than or equal to the maximum resolution height.
  • S330 Splice the multiple screen pictures according to a first direction to obtain a spliced picture, where the first direction is a row direction of the screen pictures.
  • the resolution ⁇ frame rate of the stitched image is greater than the maximum output bandwidth of the single-screen physical interface, and/or the resolution width of the stitched image is greater than the maximum resolution width of the single-screen physical interface, send The spliced picture or at least one screen picture is subjected to pixel compression along the first direction, or the spliced picture or the at least one screen picture is subjected to chroma compression to obtain the plurality of intermediate pictures.
  • the single-screen physical interface may be a single MIPI DSI.
  • the AP chip can adjust the resolution of the multiple screen pictures so that the single MIPI DSI can transmit the adjusted screen pictures.
  • the AP chip can splice multiple screen pictures according to the row direction of the screen pictures to determine whether the sum of the resolution widths of the multiple screen pictures is greater than the maximum resolution width of a single-screen physical interface. If the resolution width ⁇ frame rate of the spliced image obtained by splicing multiple screen images is greater than the maximum output bandwidth of the single-screen physical interface, and/or the resolution width of the spliced image is greater than the maximum resolution width of the single-screen physical interface, then It indicates that the single-screen physical interface of the AP chip cannot transmit the spliced picture.
  • the AP chip can directly perform pixel compression on the mosaic picture or at least one screen picture with a higher resolution height along the row direction, and the AP chip can also perform pigment compression on at least one screen picture with a higher resolution height to obtain Multiple intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures, and realize multi-screen display of the single-screen physical interface.
  • the pixel compression can be the linear filtering and downsampling of pixel RGB color components on the screen picture and the spliced picture, such as methods such as bilinear filtering and downsampling, which compress the resolution width of the screen picture or the spliced picture .
  • the chromaticity compression can be to convert the screen picture or the spliced picture from the RGB888 format of 24bit to the RGB565 format of 16bit or the YUV420 format of 12bit, which can simultaneously compress the resolution width and the resolution height of the screen picture and the spliced picture to compress, Furthermore, the resolution of the screen picture or the spliced picture can be reduced, and the data volume of the screen picture or the spliced picture can be reduced.
  • the AP chip after processing multiple screen pictures according to the row direction to obtain multiple intermediate pictures, the AP chip then stitches the multiple intermediate pictures according to the row direction, that is, stitches the multiple intermediate pictures left and right to obtain the target picture.
  • the AP chip After obtaining the target picture, the AP chip outputs the stitched picture to the SOC or FPGA chip through a single MIPI DSI for transfer.
  • the maximum output bandwidth of a single MIPI AP chip can support a single 1920 ⁇ 1080 60FPS screen
  • the pixel width of the image output by MIPI is limited to 1920 in the row direction, that is, the maximum resolution width is 1920
  • the resolution of display screen 1 is 1920 ⁇ 1080 60FPS
  • the resolution of display screen 2 is 360 ⁇ 1200 60FPS.
  • the AP chip first draws two screen pictures with the screen resolution of the two output display screens through the CPU or GPU.
  • the resolution is converted from 360 ⁇ 1200 to 720 ⁇ 600, and the pixel compression of the screen image 1 in the row direction is performed, that is, each component of the RGB three color components of the screen image 1 is down-sampled by FIR filtering by 1/2 Realize 1/2 compression, so that the resolution of screen image 1 is compressed from 1920 ⁇ 1080 to 960 ⁇ 1080.
  • the total resolution of the processed screen picture 1 and screen picture 2 is 1680 ⁇ 1080, and the frame rate is 60FPS, both of which are less than the maximum output bandwidth, so it can be output from the AP chip single MIPI line by line to the SOC or FPGA chip for transfer .
  • FIG. 4 is a schematic flowchart of another multi-screen display method provided by an embodiment of the present application, which is applied to the AP chip as shown in FIG. 1 . As shown in Figure 4, the method includes the following steps.
  • the resolution width of the second screen picture is larger than the resolution width corresponding to the maximum output bandwidth of the single-screen physical interface, perform aspect ratio conversion on the second screen picture, and the multiple screen pictures include the Second screen picture.
  • the resolution width of the multiple screen pictures is greater than the maximum resolution width of the single-screen physical interface, if the resolution width of the screen picture is greater than the maximum resolution of the single-screen physical interface
  • the resolution width of the screen image is converted to the width and height of the resolution pixels, so that the resolution width of the screen image is less than or equal to the maximum resolution width.
  • S430 Splice the multiple screen pictures according to a second direction to obtain a spliced picture, where the second direction is a column direction of the screen pictures.
  • the resolution ⁇ frame rate of the stitched image is greater than the maximum output bandwidth of the single-screen physical interface, and/or the resolution height of the stitched image is greater than the maximum resolution height of the single-screen physical interface, set The spliced picture or at least one screen picture is subjected to pixel compression along the second direction, or the spliced picture or the at least one screen picture is subjected to chroma compression to obtain the plurality of intermediate pictures.
  • the AP chip can splice multiple screen pictures according to the column direction of the screen pictures to determine whether the sum of the resolution heights of the multiple screen pictures is greater than the maximum resolution height of a single-screen physical interface. If the resolution height ⁇ frame rate of the spliced picture obtained by splicing multiple screen pictures is greater than the maximum output bandwidth of the single-screen physical interface, and/or the resolution height of the spliced image is greater than the maximum resolution height of the single-screen physical interface, then It indicates that the single-screen physical interface of the AP chip cannot transmit the spliced picture.
  • the AP chip can directly compress the spliced picture or at least one screen picture with a large resolution and width along the column direction, and the AP chip can also perform pixel compression on the spliced picture or at least one screen picture with a large resolution and width. , to obtain multiple intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures, and realize multi-screen display of the single-screen physical interface.
  • the pixel compression may be a linear filter downsampling of pixel RGB color components on the screen picture and the spliced picture, such as bilinear filter downsampling, etc., which is to compress the resolution width of the screen picture and the spliced picture.
  • the chromaticity compression can be to convert the screen picture or the spliced picture from the RGB888 format of 24bit to the RGB565 format of 16bit or the YUV420 format of 12bit, which can simultaneously compress the resolution width and the resolution height of the screen picture and the spliced picture to compress, Furthermore, the resolution of the screen picture or the spliced picture can be reduced, and the data volume of the screen picture or the spliced picture can be reduced.
  • the AP chip after processing the multiple screen pictures according to the column direction to obtain multiple intermediate pictures, the AP chip then splices the multiple intermediate pictures according to the column direction, that is, splicing the multiple intermediate pictures up and down to obtain the target picture.
  • the AP chip After obtaining the target picture, the AP chip outputs the stitched picture to the SOC or FPGA chip through a single MIPI DSI for transfer.
  • the maximum output bandwidth of a single MIPI AP chip can support a single 540 ⁇ 1200 60FPS screen, the pixel height of the MIPI output image column direction is limited to 1200, that is, the maximum resolution height is 1200, and the resolution of display screen 1 is 1080 ⁇ 270 60FPS, the resolution of display screen 2 is 540 ⁇ 1200 60FPS.
  • the AP chip first draws two screen pictures with the screen resolution of the two output display screens through the CPU or GPU.
  • the sum of the resolution heights of screen 1 and screen 2 exceeds 1200, and the resolution width of screen picture 1 is greater than 540. Therefore, as shown in Figure 4a, the AP chip converts the width and height of screen picture 1 to the resolution of screen picture 1.
  • the rate is converted from 1080 ⁇ 270 to 540 ⁇ 540, and the pixel compression of the screen picture 2 is performed in the column direction, that is, each component of the RGB three color components of the screen picture 2 is realized by FIR filtering 1/2 downsampling method 1/2 compression, so that the resolution of screen picture 1 is compressed from 540 ⁇ 1200 to 540 ⁇ 600.
  • the total resolution of the processed screen picture 1 and screen picture 2 is 540 ⁇ 1140, and the frame rate is 60FPS, both of which are less than the maximum output bandwidth, so it can be output from the AP chip single MIPI to the SOC or FPGA chip for transfer .
  • FIG. 5 is a schematic flowchart of another multi-screen display method provided by an embodiment of the present application, which is applied to the AP chip as shown in FIG. 1 . As shown in Fig. 5, the method includes the following steps.
  • the single-screen physical interface of the AP chip may not be able to output the multiple screen pictures to the display screen for display at the same time.
  • the sum of the resolutions of multiple screen pictures that is, the sum of the resolution width and/or resolution height of multiple screen pictures
  • the The resolutions of the multiple screen pictures are adjusted so that the sum of the adjusted screen picture resolutions is less than or equal to the maximum output bandwidth of the single-screen physical interface, thereby realizing multi-screen display through the single-screen physical interface.
  • the AP chip when the AP chip stitches and sends multiple screen pictures to the adapter chip in the row direction, before splicing, the AP chip needs to determine whether the sum of the resolution widths of the multiple screen pictures is greater than the physical width of a single screen.
  • the maximum resolution width of the interface If the sum of the resolution widths of multiple screen pictures is greater than the maximum resolution width of the single-screen physical interface, the single-screen physical interface of the AP chip cannot simultaneously transmit the multiple screen pictures.
  • the AP chip can perform pigment compression on at least one screen picture in multiple screen pictures or perform pixel compression along the row direction to obtain multiple intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures to realize single-screen physical Multi-screen display of the interface.
  • the method further includes: separately calculating the difference between the resolution heights of any two screen pictures among the plurality of screen pictures to obtain at least one first difference, if the first difference is greater than the first
  • the preset difference is used to adjust the resolution heights of the plurality of screen images to the first resolution height.
  • the AP chip can first judge whether the resolution height of multiple screen pictures is greater than the maximum resolution height of the single-screen physical interface, if the resolution height of the screen picture is greater than the single-screen physical interface If the maximum resolution height of the interface is specified, then the screen image is converted to the width and height of the resolution pixels, so that the resolution height of the screen image is less than or equal to the maximum resolution height. Then calculate the difference between the resolution heights of any two screen pictures among the multiple screen pictures. If the first difference is greater than the first preset difference, then the width and height of the resolution pixels of the multiple screen pictures can be transformed , so that the resolutions of multiple screen images are highly similar. Specifically, the resolution width of the plurality of screen pictures is set to a first resolution width to perform aspect conversion, and the first resolution height is less than or equal to the maximum resolution height of MIPI of a single-screen physical interface.
  • the AP chip when the AP chip splices multiple screen pictures along the column direction and sends them to the adapter chip, before splicing, the AP chip needs to determine whether the sum of the resolution heights of the multiple screen pictures is greater than that of a single screen. The maximum resolution height of the physical interface. If the sum of the resolution heights of multiple screen pictures is greater than the maximum resolution height of the single-screen physical interface, the single-screen physical interface of the AP chip cannot simultaneously transmit the multiple screen pictures.
  • the AP chip can perform pigment compression on at least one screen picture among multiple screen pictures or perform pixel compression along the column direction to obtain multiple intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures to realize single-screen physical Multi-screen display of the interface.
  • the method further includes: separately calculating the difference between the resolution widths of any two screen pictures among the plurality of screen pictures to obtain at least one second difference, if the first difference is greater than the second
  • the preset difference value is used to adjust the resolution widths of the plurality of screen images to the first resolution width.
  • the resolution width of multiple screen pictures is greater than the maximum resolution width of the single-screen physical interface, if the resolution width of the screen picture is greater than the maximum resolution width of the single-screen physical interface resolution width, the screen picture is converted to the width and height of the resolution pixels, so that the resolution width of the screen picture is less than or equal to the maximum resolution width. Then calculate the difference between the resolution widths of any two screen pictures in the plurality of screen pictures, if the second difference is greater than the second preset difference, then the multiple screen pictures can be used as the width and height of the resolution pixels Transform so that the resolution widths of multiple screen images are close to each other.
  • the resolution width of the plurality of screen images is set to a first resolution width to perform aspect conversion, and the first resolution width is less than or equal to the maximum resolution width of a single-screen physical interface.
  • the AP chip after processing multiple screen pictures according to the row direction to obtain multiple intermediate pictures, the AP chip then splices the multiple intermediate pictures according to the row direction, that is, splicing the multiple intermediate pictures up and down to obtain the target picture. If multiple screen pictures are processed according to the column direction to obtain multiple intermediate pictures, the AP chip will then splice the multiple intermediate pictures according to the column direction, that is, to splice the multiple intermediate pictures up and down to obtain the target picture.
  • the AP chip After obtaining the target picture, the AP chip outputs the stitched picture to the SOC or FPGA chip through a single MIPI DSI for transfer.
  • the physical interface performs multi-screen display, and can effectively solve the limited bandwidth of the single-screen physical interface and the screen flicker due to the continuous blanking (Blanking) of a certain screen due to the different resolution heights and/or widths of multiple screens, resulting in uneven refresh. question.
  • FIG. 6 is a schematic flowchart of another multi-screen display method provided by an embodiment of the present application, which is applied to the adapter chip shown in FIG. 1 . As shown in Fig. 6, the method includes the following steps.
  • the adapter chip receives the target picture transmitted by the AP chip through the DSI interface, and then reads the target picture line by line. If the AP chip is spliced according to the row direction to obtain the spliced image, the adapter chip decomposes the target picture according to the row direction. It is used as multiple intermediate pictures; if the AP chip is spliced according to the column direction to obtain the spliced image, the adapter chip demultiplexes the target picture into multiple intermediate pictures according to the column direction. In this way, the intermediate picture is divided to obtain multiple intermediate pictures. The split position of the middle picture can be notified by the AP chip to the switch chip by sending a control signal.
  • the adapter chip can compare the resolution of the intermediate picture with multiple target resolutions to determine whether the intermediate picture has undergone compression processing and/or aspect conversion processing, etc. .
  • the target resolution is the screen resolution of the display screen.
  • the adjusting the resolution of the intermediate picture includes: if the resolution width of the intermediate picture is smaller than the width of the target resolution, adjusting the resolution of the intermediate picture to the target Resolution width; if the resolution height of the intermediate picture is smaller than the target resolution height, adjust the resolution height of the intermediate picture to the target resolution height.
  • the adapter chip can decompress the compressed intermediate picture, and the intermediate picture that has undergone width-height conversion The aspect ratio of the picture is restored, so as to directly obtain a screen picture with the same screen resolution as the corresponding display screen.
  • the adapter chip can re-decompress the screen picture after decompression processing and/or restoration of the aspect ratio.
  • the resolution is adjusted so that the resolution of the final screen picture is the same as the screen resolution of the corresponding display screen, and the screen picture can also be directly sent to the display screen for display.
  • any one of the multiple intermediate pictures has undergone pixel linear compression or chroma compression
  • linear de-filtering and upsampling is performed on the pixel-compressed intermediate pictures line by line to complete resolution adjustment, and Perform chroma conversion (eg convert from RGB565 to RGB888) on the chroma-compressed intermediate image (such as converting from RGB888 to RGB565) to complete the chroma adjustment.
  • chroma conversion eg convert from RGB565 to RGB888
  • the intermediary images that have undergone aspect ratio transformation and have been read in line by line will be output line by line with the normal line width, so as to restore the aspect ratio. To get multiple screen pictures.
  • the adapter chip reads in the pictures output by the AP chip of the single-screen physical interface line by line, and performs left and right demultiplexing to obtain the line-by-line pixels of screen picture 1 and screen picture 2. Then, each of the three RGB color components of the pixel RGB of the screen picture 1 is decompressed line by line by using FIR filtering 2 times upsampling method, and output to the MIPI interface of the screen 1 line by line, so that the resolution of the screen picture 1 The resolution is restored from 960 ⁇ 1080 to 1920 ⁇ 1080.
  • screen picture 2 For screen picture 2, read in line by line with 720 pixels, and output line by line with 360 pixels to the MIPI interface of screen 2, complete the restoration of pixel width and height, and restore the resolution of screen picture 2 from 720 ⁇ 600 to 360 ⁇ 1200. Finally, screen picture 1 and screen picture 2 are refreshed and displayed on the two screens synchronously and progressively at 60FPS.
  • the adapter chip can simultaneously send multiple screen pictures to multiple MIPI DSI, LVDS, EDp and other display screens at the same time at a preset frame rate. , so that corresponding screen pictures are respectively displayed on the plurality of display screens.
  • the adapter chip divides the received target picture to obtain multiple intermediate pictures; the resolutions of the multiple intermediate pictures are compared with multiple target resolutions respectively, and the target resolution
  • the rate is the screen resolution of the target screen corresponding to the middle picture; if the resolution of the middle picture is different from the target resolution, adjust the resolution of the middle picture to obtain multiple screen pictures, and the resolution of the screen picture is the same as the target resolution The rate is the same; send multiple screen pictures to multiple target screens respectively.
  • This application is aimed at the AP chip output by the single-screen physical interface, and realizes the method of converting the output of the single-screen physical interface into multiple interfaces and connecting multiple display screens through an external adapter chip.
  • Sending multiple screens to the corresponding display screens for display can solve the problem of insufficient bandwidth of a single-screen physical interface when connecting multiple high-resolution screens, and realize multi-screen display through a single-screen physical interface.
  • FIG. 7 is a schematic flowchart of another multi-screen display method provided by an embodiment of the present application, which is applied to the system shown in FIG. 1 . As shown in Fig. 7, the method includes the following steps.
  • the AP chip compresses the multiple screen pictures to obtain multiple intermediate pictures, and the multiple The total bandwidth required for pixel transmission of the intermediate picture is less than or equal to the maximum output bandwidth of the single-screen physical interface;
  • the AP chip splices the multiple intermediate pictures to obtain a target picture
  • the AP chip inputs the target picture to the adapter chip through the single-screen physical interface.
  • the adapter chip divides the received target picture to obtain the multiple intermediate pictures
  • the adapter chip compares the resolutions of the plurality of intermediate pictures with the plurality of target resolutions respectively;
  • the adapter chip adjusts the resolution of the intermediate picture to obtain the plurality of screen pictures
  • the adapter chip sends the multiple screen pictures to the multiple target screens respectively.
  • the multi-screen display method proposed in the embodiment of the present application is aimed at the AP chip with a single-screen physical interface.
  • Output bandwidth one of the screen pictures or multiple screen pictures is compressed to reduce the resolution or the overall chroma is compressed, and then the multiple screen pictures are spliced into one image, which is output to the converter through the single-screen physical interface.
  • the adapter chip first demultiplexes the received spliced pictures into multiple screen pictures, and then adjusts the resolution of the screen pictures that have undergone pixel compression processing or performs chromaticity adjustment on the screen pictures that have undergone chroma compression. Then, the processed multiple screen pictures are synchronously refreshed and output to multiple screens for display. It can solve the problem of insufficient bandwidth of a single-screen physical interface when multiple high-resolution screens are connected, and realize multi-screen display through a single-screen physical interface.
  • the network device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • FIG. 8 is a block diagram of functional units of a multi-screen display device 800 provided by an embodiment of the present application.
  • the device 800 is applied to a chip, and the device 800 includes: a processing unit 810 and a transceiver unit 820 .
  • the apparatus 800 is configured to execute various processes and steps corresponding to the AP chip in the above indication method.
  • the processing unit 810 is configured to generate multiple screen pictures
  • the processing unit 810 is further configured to compress the multiple screen pictures to obtain multiple intermediate pictures if the total bandwidth required for the pixel transmission of the multiple screen pictures is greater than the maximum output bandwidth of the single-screen physical interface.
  • the total bandwidth required for the pixel transmission of the multiple intermediate pictures is less than or equal to the maximum output bandwidth of the single-screen physical interface;
  • the processing unit 810 is further configured to splice the multiple intermediate pictures to obtain a target picture
  • the transceiver unit 820 is configured to input the target picture to the adapter chip through the single-screen physical interface.
  • the processing unit 810 is specifically used for:
  • the processing unit 810 is specifically used for:
  • the sum of the resolution widths of the multiple screen pictures is greater than the resolution width corresponding to the maximum output bandwidth of the single-screen physical interface, or if the sum of the resolution heights of the multiple screen pictures is greater than the maximum output of the single-screen physical interface
  • For the resolution height corresponding to the bandwidth perform pixel compression or chroma compression on at least one of the screen pictures to obtain the multiple intermediate pictures.
  • the processing unit 810 is further configured to: if the resolution height of the first screen picture is greater than the resolution height corresponding to the maximum output bandwidth of the single-screen physical interface, perform aspect ratio on the first screen picture In other words, the multiple screen pictures include the first screen picture.
  • the aspect ratio conversion is performed on the second screen picture, and the multiple screen pictures include The second screen picture.
  • the processing unit 810 is specifically used: if the sum of the resolution widths of the multiple screen pictures is greater than the resolution width corresponding to the maximum output bandwidth of the single-screen physical interface, or if the sum of the resolution heights of the multiple screen pictures is greater than the single-screen At the resolution height corresponding to the maximum output bandwidth of the physical interface, perform pixel compression or chroma compression on at least one of the screen pictures to obtain the multiple intermediate pictures
  • the device 800 is configured to execute various processes and steps corresponding to the adapter chip in the above indication method.
  • the processing unit 810 is configured to segment the received target picture to obtain multiple intermediate pictures
  • the processing unit 810 is further configured to compare the resolutions of the multiple intermediate pictures with target resolutions respectively, where the target resolution is a screen resolution of a target screen corresponding to the intermediate pictures;
  • the processing unit 810 is further configured to adjust the resolution of the intermediate picture to obtain multiple screen pictures if the resolution of the intermediate picture is different from the target resolution, and the resolution of the screen picture is the same as the target resolution.
  • the target resolution is the same;
  • the transceiving unit 820 is configured to respectively send the multiple screen pictures to the multiple target screens.
  • the processing unit 810 is specifically configured to: if the resolution width of the intermediate picture is smaller than the width of the target resolution, adjust the resolution width of the intermediate picture adjusting the resolution to the width of the target resolution; if the resolution height of the intermediate picture is smaller than the height of the target resolution, adjusting the resolution height of the intermediate picture to the height of the target resolution.
  • the device 800 here is embodied in the form of functional units.
  • the term "unit” here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory, incorporated logic, and/or other suitable components to support the described functionality.
  • ASIC application specific integrated circuit
  • the device 800 can specifically be the AP chip and the switch chip in the above-mentioned embodiment, and the device 800 can be used to execute the method corresponding to the AP chip and the switch chip in the above-mentioned embodiment. In order to avoid repetition, the various processes and/or steps are not repeated here.
  • the device 800 in each of the above solutions has the function of implementing the corresponding steps performed by the AP chip and the adapter chip in the above method; the functions can be realized by hardware, or by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the transceiver unit 820 can be replaced by a transmitter and a receiver, and the processing unit 810 can be replaced by a processor, respectively performing the transceiver operations in each method embodiment and related processing operations.
  • FIG. 9 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • the chip includes: one or more processors, one or more memories, one or more communication interfaces, and one or more Programs; said one or more programs are stored in said memory and configured to be executed by said one or more processors.
  • the chip is an AP chip
  • the above program includes instructions for performing the following steps:
  • the multiple screen pictures are compressed to obtain multiple intermediate pictures, and the pixel transmission of the multiple intermediate pictures requires The total bandwidth is less than or equal to the maximum output bandwidth of the single-screen physical interface;
  • the target picture is input to the adapter chip through the single-screen physical interface.
  • the chip is a switch
  • the above program includes instructions for performing the following steps:
  • the target resolution being the screen resolution of the target screen corresponding to the intermediate pictures
  • the resolution of the intermediate picture is different from the target resolution, the resolution of the intermediate picture is adjusted to obtain multiple screen pictures, and the resolution of the screen picture is the same as the target resolution;
  • memory may include read-only memory and random-access memory, and provide instructions and data to the processor.
  • a portion of the memory may also include non-volatile random access memory.
  • the memory may also store device type information.
  • the processor of the above-mentioned device may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC) , Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • CPU Central Processing Unit
  • DSP digital signal processors
  • ASIC application-specific integrated circuits
  • FPGA Field Programmable Gate Array
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • “At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
  • first and second are used to distinguish multiple objects, and are not used to limit the order, timing, priority or priority of multiple objects. Importance.
  • first information and the second information are only for distinguishing different information, and do not indicate the difference in content, priority, sending order, or degree of importance of the two kinds of information.
  • each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software.
  • the steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software units in the processor.
  • the software unit may be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
  • the storage medium is located in the memory, and the processor executes the instructions in the memory, and completes the steps of the above method in combination with its hardware. To avoid repetition, no detailed description is given here.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments .
  • An embodiment of the present application further provides a computer program product including instructions, and when the computer program product is run on an electronic device, the electronic device is made to execute the method described in any one of the foregoing embodiments.
  • the disclosed device can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above units is only a logical function division.
  • there may be other division methods for example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present application.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory.
  • the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory.
  • Several instructions are included to make a computer device (which may be a personal computer, server, or TRP, etc.) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned memory includes: various media that can store program codes such as U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请实施例提供了一种多屏显示方法及装置,该方法包括:AP芯片生成多张屏幕图片,若多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对多张屏幕图片进行压缩,得到多张中间图片,多张中间图片的像素传输需要的总带宽小于或等于单屏物理接口的最大输出带宽;将多张中间图片进行拼接,得到目标图片;通过单屏物理接口将目标图片输入至转接芯片,能够解决连接多个高分辨率屏幕时单屏物理接口输出带宽不足的问题,从而实现通过单屏物理接口实现多屏显示。

Description

多屏显示方法及装置 技术领域
本申请涉及通信技术领域,具体涉及一种多屏显示方法及装置。
背景技术
随着显示技术的蓬勃发展,双屏异显功能在消费、金融支付、商显市场的需求越来越大。目前大部分应用芯片(Application Processor,AP)的屏幕输出通常是单路移动产业处理器接口(Mobile Industry Processor Interface,MIPI)显示器串行接口(Display Serial Interface,DSI),其只能连接单个MIPI显示屏幕。
由于单路MIPI DSI的AP芯片的MIPI DSI输出带宽是根据连接单个显示屏幕带宽需求来设计的。因此当连接多个显示屏幕时,单MIPI DSI无法同时将该多张屏幕图片输出到多个显示屏幕上进行显示。
发明内容
本申请实施例提供了一种多屏显示方法及装置,能够将多个不同分辨率屏幕的图片合成一个屏幕图片,解决连接多个高分辨率屏幕时单屏物理接口输出带宽不足的问题,从而实现通过单屏物理接口实现多屏显示。
第一方面,本申请实施例提供一种多屏显示方法,应用于AP芯片,所述方法包括:
生成多张屏幕图片;
若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
将所述多张中间图片进行拼接,得到目标图片;
通过所述单屏物理接口将所述目标图片输入至转接芯片。
第二方面,本申请实施例提供一种多屏显示方法,应用于转接芯片,所述方法包括:
对接收的目标图片进行分割,得到多张中间图片;
将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;
若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;
分别向多个所述目标屏幕发送所述多张屏幕图片。
第三方面,本申请实施例提供一种多屏显示装置,应用于AP芯片,所述装置包括:
处理单元,用于生成多张屏幕图片;
所述处理单元,还用于若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
所述处理单元,还用于将所述多张中间图片进行拼接,得到目标图片;
收发单元,用于通过所述单屏物理接口将所述目标图片输入至转接芯片。
第四方面,本申请实施例提供一种多屏显示装置,应用于转接芯片,所述装置包括:
处理单元,用于对接收的目标图片进行分割,得到多张中间图片;
所述处理单元,还用于将所述多张中间图片的分辨率分别与目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;
所述处理单元,还用于若所述中间图片的分辨率与目标分辨率不同,将所述中间图片 的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;
收发单元,用于分别向多个所述目标屏幕发送所述多张屏幕图片。
第五方面,本申请实施例提供一种芯片,所述芯片包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行上述第一方面或第二方面所述的方法中所描述的部分或全部步骤的指令。
第六方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行上述第一方面或第二方面所述的方法中所描述的部分或全部步骤。
第七方面,本申请实施例提供了一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第一方面或第二方面所述的方法。
本申请提供的技术方案,AP芯片生成多张屏幕图片,若多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对多张屏幕图片进行压缩,得到多张中间图片,多张中间图片的像素传输需要的总带宽小于或等于单屏物理接口的最大输出带宽;将多张中间图片进行拼接,得到目标图片;通过单屏物理接口将目标图片输入至转接芯片,能够解决连接多个高分辨率屏幕时单屏物理接口输出带宽不足的问题,从而实现通过单屏物理接口实现多屏显示。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种多屏显示系统的示意图;
图2是本申请实施例提供的一种多屏显示方法的流程示意图;
图3是本申请实施例提供的另一种多屏显示方法的流程示意图;
图3a是本申请实施例提供的一种屏幕图片压缩与解压缩的示意图;
图4是本申请实施例提供的另一种多屏显示方法的流程示意图;
图4a是本申请实施例提供的另一种屏幕图片压缩与解压缩的示意图;
图5是本申请实施例提供的另一种多屏显示方法的流程示意图;
图6是本申请实施例提供的另一种多屏显示方法的流程示意图;
图7是本申请实施例提供的另一种多屏显示方法的流程示意图;
图8是本申请实施例提供的一种多屏显示装置的功能单元组成框图;
图9是本申请实施例提供的一种芯片的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
其中,MIPI接口是MIPI联盟发起的为移动应用处理器制定的开放标准和一个规范,目的是把移动终端内部的接口如摄像头、显示屏接口、射频/基带接口等标准化,从而减 少移动终端设计的复杂程度和增加设计灵活性。MIPI联盟下辖不同的工作组(Work Group),以满足移动终端各个子系统的不同需求。不同的工作组负责制定具体的协议,并分别针对不同的硬件设备定义了一套移动设备内部接口标准,比如摄像头串行接口CSI、显示串行接口DSI、射频接口DigRF、麦克风/喇叭接口SLIMbus等。
目前,大部分AP芯片的屏幕输出通常是单屏物理接口,只能连接单个MIPI LCD屏幕,为了实现多屏异显,必须通过转接芯片或FPGA将AP芯片的单路MIPI DSI输出转换为多路MIPI DSI输出,以便连接多个屏幕。目前已有一些通过外接SOC或FPGA芯片扩展的多屏显示方案,但这些方案通常是AP芯片将多个屏幕图片进行简单的左、右或上、下拼接复用成一幅图片输出给外接扩展芯片,外接扩展芯片将整幅图片进行解复用后分别输出至多路输出至多个LCD屏幕。由于单路MIPI DSI的AP芯片的MIPI DSI输出带宽是按单个LCD屏幕带宽需求设计的,因此连接多个(两个或两个以上)LCD屏幕时,可能需要降低每个LCD屏幕的最大分辨率或刷新率才能满足需求MIPI DSI带宽需求,同时如果多个(两个或两个以上)LCD屏幕的分辨率宽、高不同,如LCD_1:1080×1920,LCD_2:1080×960,那么转接芯片或FPGA对两个屏幕同步进行刷新的时候,LCD_2可能会由于刷新不均匀出现屏闪现象。
为了解决上述问题,本申请提出了一种多屏显示方法,AP芯片根据当前多个屏幕图片的分辨率,如果多个屏幕图片的总分辨率大于AP芯片单最大输出带宽,则将其中一个屏幕图片或多个屏幕图片进行像素压缩来降低分辨率或者进行整体色度压缩,再将多个屏幕图片进行拼接合成为一张图像,通过单屏物理接口输出给转接芯片。转接芯片先将接收的拼接成的图片的解复用为多个屏幕图片,然后对做过像素压缩处理的屏幕图片进行分辨率调整或者对做过色度压缩的屏幕图片进行色度调整,然后将处理完的多个屏幕图片同步逐行刷新输出至多个屏幕进行显示。可以解决连接多个高分辨屏幕时单屏物理接口带宽不足问题,也可以解决当多个屏幕分辨率高度不同时,刷新不均匀的问题,从而实现通过单屏物理接口实现多屏显示。
下面结合具体实施例,对本申请进行详细说明。
请参阅图1,图1是本申请实施例提供的一种多屏显示系统的示意图,该多屏显示系统包括AP芯片10、转接芯片20和多个显示屏幕30。其中,AP芯片用于生成每个显示屏幕30显示的屏幕图片,并在对屏幕图片进行处理后通过单MIPI DSI传输至转接芯片20,转接芯片20用于对接收到的屏幕图片进行调整后按预先设置的帧率同时逐行发送至多个显示屏幕30,显示屏幕30与转接芯片20通信连接,能够接收AP芯片10通过转接芯片20传输的屏幕图片并进行显示,从而使得通过单MIPI DSI可实现多屏异显。
具体地,所述AP芯片可包括一个或多个处理器、存储器、WIFI模块、串/并行接口等。其中,串/并行接口可包括有通用输入/输出(General Purpose Input Output,GPIO)接口、高清多媒体接口(High Definition Multimedia Interface,HDMI)、通用系统接口CSI、单MIPI DSI等多种物理接口。其中,AP芯片10可通过单MIPI DSI与转接芯片20连接,处理器生成屏幕图片通过单MIPI DSI传输至转接芯片20。WiFi模块用于进行无线网络通信。
转接芯片20可包括多个DSI接口,每个DSI接口连接一个显示屏幕30。转接芯片20在对接收到的屏幕图片进行调整后通过DSI接口同时发送至对应的显示屏幕30进行显示。
请参阅图2,图2是本申请实施例提供的一种多屏显示方法流程示意图,应用于如图1中的AP芯片。如图2所示,该方法包括如下步骤。
S210、生成多张屏幕图片。
其中,所述屏幕图片的分辨率与目标分辨率相同,所述目标分辨率为所述屏幕图片对应的目标屏幕的屏幕分辨率。在实际应用中,一个电子设备可能会连接多个显示屏幕来进行图片内容的显示。当需要在多个显示屏幕上同时进行显示时,AP芯片可先获取多个显示 屏幕的屏幕分辨率,然后通过中央处理器(central processing unit,CPU)或图形处理器(Graphics Processing Unit,GPU)等方式生成与多个显示屏幕的屏幕分辨率相同的多张屏幕图片。
示例的,所述屏幕图片的分辨率也可与该屏幕图片对应的目标屏幕的屏幕分辨率不同。例如,在超市前台的主机同时连接了两个不同分辨率的显示屏进行显示时,主机中的AP芯片可生成两张相同分辨率的屏幕图片,然后由主机中的转接芯片将屏幕图片的分辨率调整成与目标屏幕的屏幕分辨率后发送至显示器进行显示或者由转接芯片直接将屏幕图片发送至显示器进行显示。
S220、若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽。
其中,所述单屏物理接口可以是单MIPI DSI。当AP芯片的单MIPI DSI无法同时将该多张屏幕图片输出到显示屏幕上进行显示时,AP芯片可对多张屏幕图片的分辨率进行调整,以使得单MIPI DSI可以传输调整后的屏幕图片。
在一种可能的示例中,所述若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,包括:按照第一方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第一方向为所述屏幕图片的行方向;若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张屏幕图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
在本申请中,AP芯片可以按照屏幕图片的行方向将多张屏幕图片进行拼接,以判断多张屏幕图片的分辨率宽度的和是否大于单屏物理接口的最大分辨率宽度。若多张屏幕图片拼接得到的拼接图片的分辨率宽度×帧率大于所述单屏物理接口的最大输出带宽,和/或拼接图像的分辨率宽度大于单屏物理接口的最大分辨率宽度,则表明AP芯片的单屏物理接口无法传输该拼接图片。此时AP芯片可以直接将拼接图片或分辨率高度较大的至少一张屏幕图片沿行方向进行像素压缩,AP芯片也可以将或分辨率高度较大的至少一张屏幕图片进行色素压缩,得到多张中间图片,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。
其中,所述像素压缩可以是对屏幕图片、拼接图片做像素RGB颜色分量的线性滤波下采样,比如双线性滤波下采样等方法,其是对屏幕图片、拼接图片的分辨率宽度或分辨率高度进行压缩。所述色度压缩可以是将屏幕图片或拼接图片从24bit的RGB888格式转换为16bit的RGB565格式或12bit的YUV420格式,其可以同时压缩屏幕图片、拼接图片的分辨率宽度和分辨率高度进行压缩,进而可以降低屏幕图片或拼接图片的分辨率,降低屏幕图片或拼接图片的数据量。
在另一种可能的示例中,所述若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,包括:按照第二方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第二方向为所述屏幕图片的列方向;若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或至少一张屏幕图片沿所述第二方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
在本申请实施例中,AP芯片可以按照屏幕图片的高度方向将多张屏幕图片进行拼接,以判断多张屏幕图片的分辨率高度的和是否大于单屏物理接口的最大分辨率高度。若多张 屏幕图片拼接得到的拼接图片的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或拼接图像的分辨率高度大于单屏物理接口的最大分辨率高度,则表明AP芯片的单屏物理接口无法传输该拼接图片。此时AP芯片可以直接将拼接图片或分辨率高度较大的至少一张屏幕图片沿列方向进行像素压缩,AP芯片也可以直接将拼接图片或分辨率高度较大的至少一张屏幕图片进行像素压缩,得到多张中间图片,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。
S230、将所述多张中间图片进行拼接,得到目标图片。
其中,在对多张屏幕图片按照行方向进行处理得到多张中间图片后,AP芯片再按照行方向将多张中间图片进行拼接,即将多张中间图片进行左右拼接得到目标图片;若对多张屏幕图片是按照列方向进行处理得到多张中间图片,AP芯片再按照列方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接得到目标图片。
S240、通过所述单屏物理接口将所述目标图片输入至转接芯片。
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。
可以看出,本申请提出了一种多屏显示方法,AP芯片生成多张屏幕图片,若多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对多张屏幕图片进行压缩,得到多张中间图片,多张中间图片的像素传输需要的总带宽小于或等于单屏物理接口的最大输出带宽;将多张中间图片进行拼接得到目标图片;通过单屏物理接口将目标图片输入至转接芯片,能够解决连接多个高分辨率屏幕时单屏物理接口输出带宽不足的问题,从而实现通过单屏物理接口实现多屏显示。
请参阅图3,图3是本申请实施例提供的另一种多屏显示方法流程示意图,应用于如图1中的AP芯片。如图3所示,该方法包括如下步骤。
S310、生成多张屏幕图片。
S320、若第一屏幕图片的分辨率高度大于单屏物理接口的最大输出带宽对应的分辨率高度,对所述第一屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第一屏幕图片。
其中,在将多张屏幕图片进行拼接之前,可先判断多张屏幕图片的分辨率高度是否大于单屏物理接口的最大分辨率高度,若屏幕图片的分辨率高度大于单屏物理接口的最大分辨率高度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率高度小于或等于最大分辨率高度。
S330、按照第一方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第一方向为所述屏幕图片的行方向。
S340、若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张屏幕图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
其中,所述单屏物理接口可以是单MIPI DSI。当AP芯片的单MIPI DSI无法将该多张屏幕图片输出到显示屏幕上进行显示时,AP芯片可对多张屏幕图片的分辨率进行调整,以使得单MIPI DSI可以传输调整后的屏幕图片。
在本申请实施例中,AP芯片可以按照屏幕图片的行方向将多张屏幕图片进行拼接,以判断多张屏幕图片的分辨率宽度的和是否大于单屏物理接口的最大分辨率宽度。若多张屏幕图片拼接得到的拼接图片的分辨率宽度×帧率大于所述单屏物理接口的最大输出带宽,和/或拼接图像的分辨率宽度大于单屏物理接口的最大分辨率宽度,则表明AP芯片的单屏物理接口无法传输该拼接图片。此时AP芯片可以直接将拼接图片或分辨率高度较大的至少一张屏幕图片沿行方向进行像素压缩,AP芯片也可以将或分辨率高度较大的至少一张屏 幕图片进行色素压缩,得到多张中间图片,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。
其中,所述像素压缩可以是对屏幕图片、拼接图片做像素RGB颜色分量的线性滤波下采样,比如双线性滤波下采样等方法,其是对屏幕图片、或拼接图片的分辨率宽度进行压缩。所述色度压缩可以是将屏幕图片或拼接图片从24bit的RGB888格式转换为16bit的RGB565格式或12bit的YUV420格式,其可以同时压缩屏幕图片、拼接图片的分辨率宽度和分辨率高度进行压缩,进而可以降低屏幕图片或拼接图片的分辨率,降低屏幕图片或拼接图片的数据量。
S350、将所述多张中间图片进行拼接,得到目标图片。
其中,在对多张屏幕图片按照行方向进行处理得到多张中间图片后,AP芯片再按照行方向将多张中间图片进行拼接,即将多张中间图片进行左右拼接得到目标图片。
S360、通过所述单屏物理接口将所述目标图片输入至转接芯片。
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。
举例说明,单MIPI AP芯片的最大输出带宽能支持单个1920×1080 60FPS屏幕,MIPI 输出的图片行方向像素宽度限制为1920,即最大分辨率宽度为1920,显示屏幕1的分辨率为1920×1080 60FPS、显示屏幕2的分辨率为360×1200 60FPS。
其中,AP芯片先通过CPU或GPU等方式以输出的两个显示屏幕的屏幕分辨率绘制两张屏幕图片,记做屏幕图片1:1920×1080 60FPS和屏幕图片2:360×1200 60FPS,由于屏幕1和屏幕2的分辨率宽度总和超出1920,且屏幕图片2的分辨率高度超出了1080,因此,如图3a所示,AP芯片将屏幕图片2做像素的宽高变换,将屏幕图片2的分辨率由360×1200变换为720×600,并将屏幕图片1做行方向像素的像素压缩,即将屏幕图片1的RGB三个颜色分量的每个分量都使用FIR滤波1/2下采样的方法实现1/2压缩,使屏幕图片1的分辨率由1920×1080压缩为960×1080。最后将处理完的屏幕图片1和屏幕图片2的总分辨率为1680×1080,帧率为60FPS,其均小于最大输出带宽,因此可以由AP芯片单MIPI逐行输出至SOC或FPGA芯片转接。
在本申请中,在多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽时,通过对屏幕图片进行压缩和宽高变换,可以实现通过单屏物理接口进行多屏显示,并且可以有效解决单屏物理接口带宽受限和由于多个屏幕分辨率宽度不同导致某个屏幕连续消隐(Blanking)太多导致刷新不均匀出现屏闪问题。
请参阅图4,图4是本申请实施例提供的另一种多屏显示方法流程示意图,应用于如图1中的AP芯片。如图4所示,该方法包括如下步骤。
S410、生成多张屏幕图片。
S420、若第二屏幕图片的分辨率宽度大于所述单屏物理接口的最大输出带宽对应的分辨率宽度,对所述第二屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第二屏幕图片。
其中,在将多张屏幕图片进行拼接之前,可先判断多张屏幕图片的分辨率宽度是否大于单屏物理接口的最大分辨率宽度,若屏幕图片的分辨率宽度大于单屏物理接口的最大分辨率宽度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率宽度小于或等于最大分辨率宽度。
S430、按照第二方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第二方向为所述屏幕图片的列方向。
S440、若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或 至少一张屏幕图片沿所述第二方向进行像素压缩、或将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
在本申请实施例中,AP芯片可以按照屏幕图片的列方向将多张屏幕图片进行拼接,以判断多张屏幕图片的分辨率高度的和是否大于单屏物理接口的最大分辨率高度。若多张屏幕图片拼接得到的拼接图片的分辨率高度×帧率大于所述单屏物理接口的最大输出带宽,和/或拼接图像的分辨率高度大于单屏物理接口的最大分辨率高度,则表明AP芯片的单屏物理接口无法传输该拼接图片。此时AP芯片可以直接将拼接图片或分辨率宽度较大的至少一张屏幕图片沿列方向进行像素压缩,AP芯片也可以将拼接图片或分辨率宽度较大的至少一张屏幕图片进行色素压缩,得到多张中间图片,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。
其中,所述像素压缩可以是对屏幕图片、拼接图片做像素RGB颜色分量的线性滤波下采样,比如双线性滤波下采样等方法,其是对屏幕图片、拼接图片的分辨率宽度进行压缩。所述色度压缩可以是将屏幕图片或拼接图片从24bit的RGB888格式转换为16bit的RGB565格式或12bit的YUV420格式,其可以同时压缩屏幕图片、拼接图片的分辨率宽度和分辨率高度进行压缩,进而可以降低屏幕图片或拼接图片的分辨率,降低屏幕图片或拼接图片的数据量。
S450、按照所述第二方向将所述多张中间图片进行拼接,得到目标图片。
其中,在对多张屏幕图片按照列方向进行处理得到多张中间图片后,AP芯片再按照列方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接得到目标图片。
S460、通过所述单屏物理接口将所述目标图片输入至转接芯片。
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。
举例说明,单MIPI AP芯片的最大输出带宽能支持单个540×1200 60FPS屏幕,MIPI输出的图片列方向像素高度限制为1200,即最大分辨率高度为1200,显示屏幕1的分辨率为1080×270 60FPS、显示屏幕2的分辨率为540×1200 60FPS。
其中,AP芯片先通过CPU或GPU等方式以输出的两个显示屏幕的屏幕分辨率绘制两张屏幕图片,记做屏幕图片1:1080×270 60FPS和屏幕图片2:540×1200 60FPS,由于屏幕1和屏幕2的分辨率高度的总和超出1200,且屏幕图片1分辨率宽度大于540,因此,如图4a所示,AP芯片将屏幕图片1做像素的宽高变换,将屏幕图片1的分辨率由1080×270变换为540×540,并将屏幕图片2做列方向像素的像素压缩,即将屏幕图片2的RGB三个颜色分量的每个分量都使用FIR滤波1/2下采样的方法实现1/2压缩,使屏幕图片1的分辨率由540×1200压缩为540×600。最后将处理完的屏幕图片1和屏幕图片2的总分辨率为540×1140,帧率为60FPS,其均小于最大输出带宽,因此可以由AP芯片单MIPI逐行输出至SOC或FPGA芯片转接。
在本申请中,在多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽时,通过对屏幕图片进行压缩和宽高变换,可以实现通过单屏物理接口进行多屏显示,并且可以有效解决单屏物理接口带宽受限和由于多个屏幕分辨率高度不同导致某个屏幕连续消隐(Blanking)太多导致刷新不均匀出现屏闪问题。
请参阅图5,图5是本申请实施例提供的另一种多屏显示方法的流程示意图,应用于如图1中的AP芯片。如图5所述,该方法包括以下步骤。
S510、生成多张屏幕图片。
S520、若所述多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽对应的分辨率宽度,或者若所述多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽对应的分辨率高度,将至少一张所述屏幕图片进行色度压缩或进行像素压缩,得到所 述多张中间图片。
在本申请中,当多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽对应的分辨率宽度时,或者当多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽对应的分辨率高度时,AP芯片的单屏物理接口可能无法同时将该多张屏幕图片输出到显示屏幕上进行显示。因此,在本申请中,当多张屏幕图片的分辨率的和(即多张屏幕图片的分辨率宽度的和/或分辨率高度的和)大于单屏物理接口的最大输出带宽时,则对所述多张屏幕图片的分辨率进行调整,以使得调整后的屏幕图片的分辨率的和小于或等于所述单屏物理接口的最大输出带宽,从而实现通过单屏物理接口进行多屏显示。
在一种可能的示例中,当AP芯片按照行方向将多张屏幕图片拼接发送给转接芯片时,在拼接之前,AP芯片需要判断多张屏幕图片的分辨率宽度之和是否大于单屏物理接口的最大分辨率宽度。若多张屏幕图片的分辨率宽度之和大于单屏物理接口的最大分辨率宽度,则AP芯片的单屏物理接口无法同时传输该多张屏幕图片。AP芯片可以将多张屏幕图片中的至少一张屏幕图片进行色素压缩或沿行方向进行像素压缩,得到多张中间图片,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。
可选的,所述方法还包括:分别计算所述多张屏幕图片中任意两张屏幕图片的分辨率高度的差值,得到至少一个第一差值,若所述第一差值大于第一预设差值,将所述多张屏幕图片的分辨率高度均调整至第一分辨率高度。
示例的,在对至少一张屏幕图片进行压缩之前,AP芯片可先判断多张屏幕图片的分辨率高度是否大于单屏物理接口的最大分辨率高度,若屏幕图片的分辨率高度大于单屏物理接口的最大分辨率高度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率高度小于或等于最大分辨率高度。然后再计算多张屏幕图片中任意两张屏幕图片的分辨率高度的差值,若第一差值大于第一预设差值,则可对该多张屏幕图片做分辨率像素的宽高变换,使得多张屏幕图片的分辨率高度接近。具体为对该多张屏幕图片的分辨率宽度设置为第一分辨率宽度进行宽高变换,该第一分辨率高度小于或等于单屏物理接口的MIPI的最大分辨率高度。
在另一种可能的示例中,当AP芯片沿列方向将多张屏幕图片拼接发送给转接芯片时,在拼接之前,AP芯片需要判断多张屏幕图片的分辨率高度之和是否大于单屏物理接口的最大分辨率高度。若多张屏幕图片的分辨率高度之和大于单屏物理接口的最大分辨率高度,则AP芯片的单屏物理接口无法同时传输该多张屏幕图片。AP芯片可以将多张屏幕图片中的至少一张屏幕图片进行色素压缩或沿列方向进行像素压缩,得到多张中间图片,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。
可选的,所述方法还包括:分别计算所述多张屏幕图片中任意两张屏幕图片的分辨率宽度的差值,得到至少一个第二差值,若所述第一差值大于第二预设差值,将所述多张屏幕图片的分辨率宽度均调整至第一分辨率宽度。
其中,在对至少一张屏幕图片进行压缩之前,可先判断多张屏幕图片的分辨率宽度是否大于单屏物理接口的最大分辨率宽度,若屏幕图片的分辨率宽度大于单屏物理接口的最大分辨率宽度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率宽度小于或等于最大分辨率宽度。然后再计算多张屏幕图片中任意两张屏幕图片的分辨率宽度的差值,若第二差值大于第二预设差值,则可将多该多张屏幕图片做分辨率像素的宽高变换,使得多张屏幕图片的分辨率宽度接近。具体为对该多张屏幕图片的分辨率宽度设置为第一分辨率宽度进行宽高变换,该第一分辨率宽度小于或等于单屏物理接口的最大分辨率宽度。
S530、将所述多张中间图片进行拼接,得到目标图片。
其中,在对多张屏幕图片按照行方向进行处理得到多张中间图片后,AP芯片再按照行 方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接得到目标图片。若对多张屏幕图片是按照列方向进行处理得到多张中间图片,AP芯片再按照列方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接得到目标图片。
S540、通过所述单屏物理接口将所述目标图片输入至转接芯片。
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。
在本申请中,在多张屏幕图片的分辨率宽度的和/或分辨率高度的和大于单屏物理接口的最大输出带宽时,通过对屏幕图片进行压缩和宽高变换,可以实现通过单屏物理接口进行多屏显示,并且可以有效解决单屏物理接口带宽受限和由于多个屏幕分辨率高度和/或宽度不同导致某个屏幕连续消隐(Blanking)太多导致刷新不均匀出现屏闪问题。
请参阅图6,图6是本申请实施例提供的另一种多屏显示方法的流程示意图,应用于如图1中的转接芯片。如图6所述,该方法包括以下步骤。
S610、对接收的目标图片进行分割,得到多张中间图片。
其中,转接芯片通过DSI接口接收AP芯片传输的目标图片,然后对目标图片逐行读入,若AP芯片是按照行方向进行拼接得到拼接图像,则转接芯片按照行方向将目标图片解复用为多张中间图片;若AP芯片是按照列方向进行拼接得到拼接图像,则转接芯片按照列方向将目标图片解复用为多张中间图片。从而将中间图片进行分割,得到多张中间图片。其中中间图片的分割位置可由AP芯片通过发送控制信号来通知转接芯片。
S620、将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率。
具体地,为了使显示屏幕能够正常显示屏幕图片,转接芯片可将中间图片的分辨率分别与多个目标分辨率进行比较,来判断中间图片是否进行过压缩处理和/或宽高变换处理等。
S630、若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同。
其中,所述目标分辨率为显示屏幕的屏幕分辨率。通过将中间图片的分辨率与目标分辨率进行比较,可以确定需要进行分辨率调整的中间图片。
可选的,所述将所述中间图片的分辨率进行调整,包括:若所述中间图片的分辨率宽度小于所述目标分辨率的宽度,将所述中间图片的分辨率调整至所述目标分辨率的宽度;若所述中间图片的分辨率高度小于所述目标分辨率的高度,将所述中间图片的分辨率高度调整至所述目标分辨率的高度。
示例的,若AP芯片生成的屏幕图片的分辨率与对应显示屏幕的屏幕分辨率相同,则转接芯片可以对进行过压缩处理过的中间图片进行解压缩处理,对进行过宽高变换的中间图片进行宽高比例的恢复处理,从而直接得到对应显示屏幕的屏幕分辨率相同的屏幕图片。
示例的,若AP芯片生成的屏幕图片的分辨率与对应显示屏幕的屏幕分辨率不相同,则转接芯片在进行解压缩处理和/或宽高比例的恢复处理后,可以再对屏幕图片的分辨率进行调整以使得最终的屏幕图片的分辨率与对应显示屏幕的屏幕分辨率相同,也可以直接将屏幕图片发送至显示屏进行显示。
具体地,如果多张中间图片中的任一中间图片做过像素的线性压缩或色度压缩,则对做过像素压缩的中间图片逐行进行线性解滤波上采样完成分辨率的调整,对做过色度压缩的中间图片(如从RGB888转换为RGB565)进行色度转换(如从RGB565转换为RGB888)完成色度的调整。如果多张中间图片中的任一中间图片做过宽高比例变换,则将逐行读入的做过宽高比例变换的中间图片以正常的行宽逐行输出,实现宽高比例的恢复,从而得到多张屏幕图片。
举例说明,如图3a所示,转接芯片对由单屏物理接口的AP芯片输出的图片逐行读入,进行左、右解复用得到屏幕图片1和屏幕图片2的逐行像素。然后逐行对屏幕图片1的像素RGB三个颜色分量的每个分量都使用FIR滤波2倍上采样的方法实现2倍解压缩,逐行输出至屏幕1的MIPI接口,使屏幕图片1的分辨率由960×1080恢复为1920×1080。对屏幕图片2,以720像素每行逐行读入,以360像素的逐行输出至屏幕2的MIPI接口,完成像素的宽高恢复,使屏幕图片2的分辨率由720×600恢复为360×1200。最后将屏幕图片1和屏幕图片2同步以60FPS同步逐行向两个屏幕进行刷新显示。
S640、分别向多个所述目标屏幕发送所述多张屏幕图片。
其中,在将目标图片进行调整,得到多张屏幕图片后,转接芯片可将多张屏幕图片按预先设置的帧率同时逐行向多个MIPI DSI、LVDS、EDp等接口的显示屏幕进行发送,以使在该多个显示屏幕上分别显示对应的屏幕图片。
可以看出,本申请提出的多屏显示方法,转接芯片对接收的目标图片进行分割,得到多张中间图片;将多张中间图片的分辨率分别与多个目标分辨率进行比较,目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;若中间图片的分辨率与目标分辨率不同,将中间图片的分辨率进行调整,得到多张屏幕图片,屏幕图片的分辨率与目标分辨率相同;分别向多个目标屏幕发送多张屏幕图片。本申请针对单屏物理接口输出的AP芯片,通过外接转接芯片实现将单屏物理接口输出转换为多路接口、连接多个显示屏幕的方法,同时通过将目标图片调整成多张屏幕图片,将多张屏幕分别发送到对应的显示屏幕上进行显示,可以解决连接多个高分辨屏幕时单屏物理接口带宽不足问题,实现通过单屏物理接口进行多屏显示。
请参阅图7,图7是本申请实施例提供的另一种多屏显示方法的流程示意图,应用于图1所示的系统。如图7所示,该方法包括以下步骤。
S710、AP芯片生成多张屏幕图片;
S720、若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,所述AP芯片对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
S730、所述AP芯片将所述多张中间图片进行拼接,得到目标图片;
S740、所述AP芯片通过所述单屏物理接口将所述目标图片输入至转接芯片。
其中,上述S710-S740的具体实现方式可参照上述图2-图5中的实现方式,在此不再赘述。
S750、所述转接芯片对接收的所述目标图片进行分割,得到所述多张中间图片;
S760、所述转接芯片将所述多张中间图片的分辨率分别与多个所述目标分辨率进行比较;
S770、若所述中间图片的分辨率与目标分辨率不同,所述转接芯片将所述中间图片的分辨率进行调整,得到所述多张屏幕图片;
S780、所述转接芯片分别向多个所述目标屏幕发送所述多张屏幕图片。
其中,上述S750-S780的具体实现方式可参照上述图6中的实现方式,在此不再赘述。
可以看出,本申请实施例提出的多屏显示方法,针对单屏物理接口的AP芯片,AP芯片根据当前多个屏幕图片的分辨率,如果多个屏幕图片的总分辨率大于AP芯片单最大输出带宽,则将其中一个屏幕图片或多个屏幕图片进行像素压缩来降低分辨率或者进行整体色度压缩,再将多个屏幕图片进行拼接合成为一张图像,通过单屏物理接口输出给转接芯片。转接芯片先将接收的拼接成的图片的解复用为多个屏幕图片,然后对做过像素压缩处理的屏幕图片进行分辨率调整或者对做过色度压缩的屏幕图片进行色度调整,然后将处理完的多个屏幕图片同步逐行刷新输出至多个屏幕进行显示。可以解决连接多个高分辨屏幕 时单屏物理接口带宽不足问题,实现通过单屏物理接口实现多屏显示。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,网络设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
请参阅图8,图8是本申请实施例提供的一种多屏显示装置800的功能单元组成框图,该装置800应用于芯片,所述装置800包括:处理单元810和收发单元820。
在一种可能的实现方式中,装置800用于执行上述指示方法中AP芯片对应的各个流程和步骤。
所述处理单元810,用于生成多张屏幕图片;
所述处理单元810,还用于若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
所述处理单元810,还用于将所述多张中间图片进行拼接,得到目标图片;
所述收发单元820,用于通过所述单屏物理接口将所述目标图片输入至转接芯片。
可选的,在若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片方面,所述处理单元810具体用于:
按照第一方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第一方向为所述屏幕图片的行方向;若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张所述屏幕图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
可选的,在若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片方面,所述处理单元810具体用于:
若所述多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽对应的分辨率宽度,或若所述多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽对应的分辨率高度,将至少一张所述屏幕图片进行像素压缩或色度压缩,得到所述多张中间图片。
可选的,所述处理单元810还用于:若第一屏幕图片的分辨率高度大于所述单屏物理接口的最大输出带宽对应的分辨率高度,对所述第一屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第一屏幕图片。
可选的,若第二屏幕图片的分辨率宽度大于所述单屏物理接口的最大输出带宽对应的分辨率宽度,对所述第二屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第二屏幕图片。
可选的,在若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片方面,所述处理单元810具体用于:若所述多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽对应的分辨率宽度,或者若所述多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽对应的分辨率高度,将至少一张所述屏幕图片进行像素压缩或色度压缩,得到所述多张中 间图片
在另一种可能的实现方式中,装置800用于执行上述指示方法中转接芯片对应的各个流程和步骤。
所述处理单元810,用于对接收的目标图片进行分割,得到多张中间图片;
所述处理单元810,还用于将所述多张中间图片的分辨率分别与目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;
所述处理单元810,还用于若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;
所述收发单元820,用于分别向多个所述目标屏幕发送所述多张屏幕图片。
可选的,在将所述中间图片的分辨率进行调整方面,所述处理单元810具体用于:若所述中间图片的分辨率宽度小于所述目标分辨率的宽度,将所述中间图片的分辨率调整至所述目标分辨率的宽度;若所述中间图片的分辨率高度小于所述目标分辨率的高度,将所述中间图片的分辨率高度调整至所述目标分辨率的高度。
应理解,这里的装置800以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置800可以具体为上述实施例中的AP芯片和转接芯片,装置800可以用于执行上述方法实施例中与AP芯片和转接芯片对应的各个流程和/或步骤,为避免重复,在此不再赘述。
上述各个方案的装置800具有实现上述方法中AP芯片和转接芯片执行的相应步骤的功能;所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块;例如收发单元820可以由发送机和接收机替代、处理单元810可以由处理器代替,分别执行各个方法实施例中的收发操作以及相关的处理操作。
请参阅图9,图9是本申请实施例提供的一种芯片的结构示意图,该芯片包括:一个或多个处理器、一个或多个存储器、一个或多个通信接口,以及一个或多个程序;所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行。
在一种可能的实现方式中,该芯片为AP芯片,上述程序包括用于执行以下步骤的指令:
生成多张屏幕图片;
若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
将所述多张中间图片进行拼接,得到目标图片;
通过所述单屏物理接口将所述目标图片输入至转接芯片。
在另一种可能的实现方式中,该芯片为转接,上述程序包括用于执行以下步骤的指令:
对接收的目标图片进行分割,得到多张中间图片;
将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;
若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;
分别向多个所述目标屏幕发送所述多张屏幕图片。
其中,上述方法实施例涉及的各场景的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
应理解,上述存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。
在本申请实施例中,上述装置的处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
应理解,本申请实施例中涉及的“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一信息和第二信息,只是为了区分不同的信息,而并不是表示这两种信息的内容、优先级、发送顺序或者重要程度等的不同。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件单元组合执行完成。软件单元可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器执行存储器中的指令,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。
本申请实施例还提供一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述任一实施例所述的方法。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者TRP等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种多屏显示方法,其特征在于,应用于AP芯片,所述方法包括:
    生成多张屏幕图片;
    若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
    将所述多张中间图片进行拼接,得到目标图片;
    通过所述单屏物理接口将所述目标图片输入至转接芯片。
  2. 根据权利要求1所述的方法,其特征在于,所述若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,包括:
    按照第一方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第一方向为所述屏幕图片的行方向;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张屏幕图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
  3. 根据权利要求1所述的方法,其特征在于,所述若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,包括:
    按照第二方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第二方向为所述屏幕图片的列方向;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或至少一张屏幕图片沿所述第二方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
  4. 根据权利要求1所述的方法,其特征在于,所述若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,包括:
    若所述多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽对应的分辨率宽度,或若所述多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽对应的分辨率高度,将至少一张所述屏幕图片进行像素压缩或色度压缩,得到所述多张中间图片。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    若第一屏幕图片的分辨率高度大于所述单屏物理接口的最大输出带宽对应的分辨率高度,对所述第一屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第一屏幕图片。
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    若第二屏幕图片的分辨率宽度大于所述单屏物理接口的最大输出带宽对应的分辨率宽度,对所述第二屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第二屏幕图片。
  7. 一种多屏显示方法,其特征在于,应用于转接芯片,所述方法包括:
    对接收的目标图片进行分割,得到多张中间图片;
    将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;
    若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;
    分别向多个所述目标屏幕发送所述多张屏幕图片。
  8. 根据权利要求7所述的方法,其特征在于,所述将所述中间图片的分辨率进行调整,包括:
    若所述中间图片的分辨率宽度小于目标分辨率宽度,将所述中间图片的分辨率宽度调整至所述目标分辨率宽度;
    若所述中间图片的分辨率高度小于所述目标分辨率高度,将所述中间图片的分辨率高度调整至所述目标分辨率高度。
  9. 一种多屏显示装置,其特征在于,应用于AP芯片,所述装置包括:
    处理单元,用于生成多张屏幕图片;
    所述处理单元,还用于若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片,所述多张中间图片的像素传输需要的总带宽小于或等于所述单屏物理接口的最大输出带宽;
    所述处理单元,还用于将所述多张中间图片进行拼接,得到目标图片;
    收发单元,用于通过所述单屏物理接口将所述目标图片输入至转接芯片。
  10. 根据权利要求9所述的装置,其特征在于,在若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片方面,所述处理单元具体用于:
    按照第一方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第一方向为所述屏幕图片的行方向;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张屏幕图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
  11. 根据权利要求9所述的装置,其特征在于,在若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片方面,所述处理单元具体用于:
    按照第二方向将所述多张屏幕图片进行拼接,得到拼接图片,所述第二方向为所述屏幕图片的列方向;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或至少一张屏幕图片沿所述第二方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。
  12. 根据权利要求9所述的装置,其特征在于,在若所述多张屏幕图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张屏幕图片进行压缩,得到多张中间图片方面,所述处理单元具体用于:
    若所述多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽对应的分辨率宽度,或若所述多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽对应的分辨率高度,将至少一张所述屏幕图片进行像素压缩或色度压缩,得到所述多张中间图片。
  13. 根据权利要求9-12任一项所述的装置,其特征在于,所述处理单元还用于:
    若第一屏幕图片的分辨率高度大于所述单屏物理接口的最大输出带宽对应的分辨率高度,对所述第一屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第一屏幕图片。
  14. 根据权利要求9-12任一项所述的装置,其特征在于,所述处理单元还用于:
    若第二屏幕图片的分辨率宽度大于所述单屏物理接口的最大输出带宽对应的分辨率宽度,对所述第二屏幕图片进行宽高比例变换,所述多张屏幕图片包括所述第二屏幕图片。
  15. 一种多屏显示装置,其特征在于,应用于转接芯片,所述装置包括:
    处理单元,用于对接收的目标图片进行分割,得到多张中间图片;
    所述处理单元,还用于将所述多张中间图片的分辨率分别与目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;
    所述处理单元,还用于若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;
    收发单元,用于分别向多个所述目标屏幕发送所述多张屏幕图片。
  16. 根据权利要求15所述的装置,其特征在于,在将所述中间图片的分辨率进行调整方面,所述处理单元具体用于:
    若所述中间图片的分辨率宽度小于目标分辨率宽度,将所述中间图片的分辨率宽度调整至所述目标分辨率宽度;
    若所述中间图片的分辨率高度小于所述目标分辨率高度,将所述中间图片的分辨率高度调整至所述目标分辨率高度。
  17. 一种芯片,其特征在于,所述芯片包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-6任一项所述的方法中的步骤的指令或如权利要求6或7所述的方法中的步骤的指令。
  18. 一种芯片模组,其特征在于,包括收发组件和芯片,所述芯片包括处理器、存储器以及存储在所述存储器上的计算机程序或指令,所述处理器执行所述计算机程序或指令以实现权利要求1-6任一项所述的方法中的步骤的指令或如权利要求6或7所述的方法中的步骤的指令。
  19. 一种电子设备,其特征在于,所述电子设备包括如权利要求17所述的芯片或如权利要求18所述芯片模组。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-6任一项所述的方法的步骤或如权利要求6或7所述的方法的步骤。
PCT/CN2021/143413 2021-07-21 2021-12-30 多屏显示方法及装置 WO2023000621A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110828380.8A CN113625982A (zh) 2021-07-21 2021-07-21 多屏显示方法及装置
CN202110828380.8 2021-07-21

Publications (1)

Publication Number Publication Date
WO2023000621A1 true WO2023000621A1 (zh) 2023-01-26

Family

ID=78380473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143413 WO2023000621A1 (zh) 2021-07-21 2021-12-30 多屏显示方法及装置

Country Status (2)

Country Link
CN (1) CN113625982A (zh)
WO (1) WO2023000621A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471216A (zh) * 2023-05-26 2023-07-21 南京国兆光电科技有限公司 一种用于mipi协议层验证的硬件平台及其验证方法
CN117412011A (zh) * 2023-11-21 2024-01-16 北京视睿讯科技有限公司 一种视频处理器分辨率控制方法、系统、终端及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625981A (zh) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 多屏显示方法及装置
CN113625982A (zh) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 多屏显示方法及装置
CN114138219A (zh) * 2021-12-01 2022-03-04 展讯通信(上海)有限公司 一种多屏显示方法、多屏显示系统及存储介质
CN114650372A (zh) * 2022-03-16 2022-06-21 展讯通信(上海)有限公司 一种动态适配多屏显示方法、装置及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090015513A1 (en) * 2007-07-10 2009-01-15 Lg Display Co., Ltd. Expandable multi-module display apparatus
CN101404151A (zh) * 2008-08-04 2009-04-08 广东威创视讯科技股份有限公司 一种多屏拼接装置和方法
CN111324320A (zh) * 2018-12-14 2020-06-23 深圳市智车联技术有限公司 多屏显示方法、装置以及soc系统
CN112423046A (zh) * 2020-10-22 2021-02-26 深圳Tcl新技术有限公司 视频数据传输的方法、装置、设备及可读存储介质
CN113625981A (zh) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 多屏显示方法及装置
CN113625982A (zh) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 多屏显示方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256762B (zh) * 2008-03-21 2010-08-11 广东威创视讯科技股份有限公司 多屏拼接方法及装置
CN105653224B (zh) * 2015-12-31 2019-02-19 京东方科技集团股份有限公司 一种拼接显示系统及其显示方法
CN107948578B (zh) * 2017-12-28 2019-01-04 深圳华望技术有限公司 视频会议系统传送带宽及分辨率的调整方法及调整装置
CN109992226B (zh) * 2017-12-29 2022-05-13 浙江宇视科技有限公司 图像显示方法、装置及拼接显示屏
WO2020062498A1 (zh) * 2018-09-25 2020-04-02 北京嗨动视觉科技有限公司 图像显示方法和视频处理设备
CN109168041B (zh) * 2018-09-26 2022-07-26 深圳壹账通智能科技有限公司 一种移动终端监控方法及系统
CN111581408A (zh) * 2020-04-27 2020-08-25 北京电信易通信息技术股份有限公司 一种基于超分辨率的图片存储方法及系统
CN112565627B (zh) * 2020-11-30 2023-02-03 天津津航计算技术研究所 一种基于位图叠加的多路视频集中显示设计方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090015513A1 (en) * 2007-07-10 2009-01-15 Lg Display Co., Ltd. Expandable multi-module display apparatus
CN101404151A (zh) * 2008-08-04 2009-04-08 广东威创视讯科技股份有限公司 一种多屏拼接装置和方法
CN111324320A (zh) * 2018-12-14 2020-06-23 深圳市智车联技术有限公司 多屏显示方法、装置以及soc系统
CN112423046A (zh) * 2020-10-22 2021-02-26 深圳Tcl新技术有限公司 视频数据传输的方法、装置、设备及可读存储介质
CN113625981A (zh) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 多屏显示方法及装置
CN113625982A (zh) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 多屏显示方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471216A (zh) * 2023-05-26 2023-07-21 南京国兆光电科技有限公司 一种用于mipi协议层验证的硬件平台及其验证方法
CN116471216B (zh) * 2023-05-26 2024-02-27 南京国兆光电科技有限公司 一种用于mipi协议层验证的硬件平台及其验证方法
CN117412011A (zh) * 2023-11-21 2024-01-16 北京视睿讯科技有限公司 一种视频处理器分辨率控制方法、系统、终端及存储介质
CN117412011B (zh) * 2023-11-21 2024-06-11 北京视睿讯科技有限公司 一种视频处理器分辨率控制方法、系统、终端及存储介质

Also Published As

Publication number Publication date
CN113625982A (zh) 2021-11-09

Similar Documents

Publication Publication Date Title
WO2023000621A1 (zh) 多屏显示方法及装置
WO2023000620A1 (zh) 多屏显示方法及装置
US10402940B2 (en) Method and system for accelerating video preview digital camera
US11463715B2 (en) Image scaling
WO2020063505A1 (zh) 图像处理方法、系统及计算机可读存储介质
US8717462B1 (en) Camera with color correction after luminance and chrominance separation
US20120314777A1 (en) Method and apparatus for generating a display data stream for transmission to a remote display
CN114020228A (zh) 屏幕显示方法及装置
JP7359521B2 (ja) 画像処理方法および装置
CN105657485A (zh) 一种音视频播放设备
US20090153434A1 (en) Display assistant system
US20110019156A1 (en) Projection system and method thereof
GB2484736A (en) Connecting a display device via USB interface
CN108345559B (zh) 虚拟现实数据输入装置和虚拟现实设备
CN111988552B (zh) 图像输出控制方法及装置和视频处理设备
CN111554248A (zh) 液晶显示芯片
TWI502957B (zh) 影像訊號傳送裝置、接收裝置、傳輸系統及其方法
CN104717397A (zh) 一种图像数据处理方法及电子设备
US10049002B2 (en) Display interface bandwidth modulation
US20090066840A1 (en) System and method for low bandwidth display information transport
CN212461112U (zh) 一种液晶显示芯片
TW201941593A (zh) 投影顯示設備及顯示方法
CN112073801B (zh) 一种图像处理方法、电子设备及连接器
CN210157308U (zh) 一种设置usb3.0模块的4k电视
CN117061789B (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: 21950859

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE