WO2023000620A1 - Multi-screen display method and device - Google Patents

Multi-screen display method and device Download PDF

Info

Publication number
WO2023000620A1
WO2023000620A1 PCT/CN2021/143411 CN2021143411W WO2023000620A1 WO 2023000620 A1 WO2023000620 A1 WO 2023000620A1 CN 2021143411 W CN2021143411 W CN 2021143411W WO 2023000620 A1 WO2023000620 A1 WO 2023000620A1
Authority
WO
WIPO (PCT)
Prior art keywords
resolution
screen
picture
pictures
target
Prior art date
Application number
PCT/CN2021/143411
Other languages
French (fr)
Chinese (zh)
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 WO2023000620A1 publication Critical patent/WO2023000620A1/en

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 transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4092Image resolution transcoding, e.g. client/server architecture
    • 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.
  • the screen output of most application chips is usually a single mobile industry processor interface (Mobile Industry Processor Interface, MIPI) display serial interface (Display Serial Interface, DSI) interface, which can only connect to a single MIPI display screen.
  • MIPI Mobile Industry Processor Interface
  • DSI Display Serial Interface
  • the embodiment of the present application provides a multi-screen display method and device, which can effectively solve the problem of screen flicker caused by multiple screens with different resolutions, heights and widths, resulting in too much continuous blanking of a certain screen, resulting in uneven refresh.
  • the embodiment of the present application provides a multi-screen display method, which is applied to an AP chip, and the method includes:
  • the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
  • 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 adjust the resolution width of the plurality of screen pictures to the first resolution width and/or adjust the resolution width of the plurality of screen pictures if the first difference is greater than the preset difference.
  • the height is adjusted to the first resolution height to obtain multiple intermediate pictures, and the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
  • 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, and if the difference between the resolution height and/or resolution width of any two screen pictures in the multiple screen pictures is greater than the preset difference, multiple screen pictures Adjusting the resolution width of the picture to the first resolution width and/or adjusting the resolution height of multiple screen pictures to the first resolution height to obtain multiple intermediate pictures; splicing the multiple intermediate pictures to obtain the target picture.
  • the resolution width and/or resolution height of multiple screen pictures by adjusting the resolution width and/or resolution height of multiple screen pictures to the same value, it can effectively solve the problem that the resolution, height and width of multiple screens are different, so that too much continuous blanking of a certain display screen leads to uneven refresh. Screen flicker problem.
  • 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 block diagram of functional units of a multi-screen display device provided by an embodiment of the present application.
  • FIG. 8 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 MIPI DSI AP chip is designed according to the bandwidth requirements of a single LCD screen, when multiple (two or more) LCD screens are connected, if multiple (two or more) LCD screens are connected at the same time, if multiple (two or more) )
  • the resolution of the LCD screen is different in width and height, such as LCD_1: 1080 ⁇ 1920, LCD_2: 1080 ⁇ 960, then when the adapter chip or FPGA refreshes the two screens synchronously, LCD_2 may appear screen flicker due to uneven refresh Phenomenon.
  • this application proposes a multi-screen display method.
  • the AP chip generates multiple screen pictures. If the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures is greater than the preset difference, adjust the resolution width of multiple screen pictures to the first resolution width and/or adjust the resolution height of multiple screen pictures to the first resolution height to obtain multiple intermediate pictures, and then multiple intermediate pictures
  • the pictures are spliced and combined into one image, which is output to the adapter chip through the single-screen physical interface.
  • the adapter chip first demultiplexes the received spliced pictures into multiple screen pictures, then restores the screen pictures that have been adjusted in resolution, and outputs the processed multiple screen pictures synchronously to multiple screen pictures. Displaying on the screen can solve the problem of screen flicker caused by uneven refresh when multiple screen resolutions are different in height.
  • 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 first difference is the difference between the resolution height or the resolution width of any two screen pictures in the multiple screen pictures.
  • the single-screen physical interface may be a single MIPI DSI.
  • the AP chip can adjust the resolution height and/or resolution width of a screen picture to the same value.
  • the AP chip calculates the difference between the resolution heights of any two screen images among the multiple screen images, and if the difference is greater than the preset difference, then the resolution pixel of the multiple screen images can be calculated.
  • the width-to-height transformation makes the resolution heights of multiple screen images close to each other. Specifically: on the premise that the total number of pixels of each screen picture remains unchanged, the resolution pixels of the multiple screen pictures are converted to width and height, so that the resolution heights of the multiple screen pictures are all the first resolution width, the The first resolution height is less than or equal to the maximum resolution height of the MIPI of the single-screen physical interface.
  • the first resolution height is a
  • the resolution height of multiple screen pictures is adjusted to a
  • the resolution width of each screen picture is adjusted to Adjusted to c/a, where c is the total number of pixels of the screen picture, that is, the product of the resolution width and the resolution height.
  • the single MIPI DSI of the AP chip cannot simultaneously output the multiple screen pictures to the display screen for display
  • the AP chip can adjust the resolution height of the multiple screen pictures, so that a single MIPI DSI can transmit the adjusted screen pictures. Specifically, first determine whether the resolution height of multiple screen images is greater than the maximum resolution height of the single-screen physical interface. If the resolution height of the screen image is greater than the maximum resolution height of the single-screen physical interface, then the screen image will be used as the resolution The width and height of pixels are transformed so that the resolution height of the screen picture is less than or equal to the maximum resolution height of the single-screen physical interface.
  • the AP chip calculates the difference between the resolution widths of any two screen images among the multiple screen images, and if the difference is greater than a preset difference, the multiple screen images can be distinguished
  • the width and height transformation of high-speed pixels makes the resolution and width of multiple screen pictures close. Specifically: on the premise that the total number of pixels of each screen picture remains unchanged, the resolution pixels of the multiple screen pictures are converted to width and height, so that the resolution widths of the multiple screen pictures are all the first resolution width, The first resolution width is less than or equal to the maximum resolution width of the single-screen physical interface.
  • the first resolution width is b
  • the resolution width of multiple screen pictures is adjusted to b
  • the resolution height of each screen picture is adjusted to Adjusted to c/b, where c is the total number of pixels of the screen image, that is, the product of the resolution width and the resolution height.
  • the AP chip can adjust the resolution width of the multiple screen pictures, so that a single MIPI DSI can transmit the adjusted screen pictures. Specifically, first determine whether the resolution width of multiple screen images is greater than the maximum resolution width of the single-screen physical interface. If the resolution width of the screen image is greater than the maximum resolution width of the single-screen physical interface, the screen image will be used as the resolution The width and height of the pixels are transformed so that the resolution width of the screen picture is less than or equal to the maximum resolution width of the single-screen physical interface.
  • the AP chip can preset store the preset difference, such as 700, 200, 100, etc., and the AP chip can also set the preset difference according to actual application scenarios, which is not limited here.
  • the AP chip then divides the multiple intermediate pictures according to the row direction Stitching, that is, multiple intermediate pictures are spliced left and right to obtain the target picture. If the difference between the resolution heights of any two screen pictures in the multiple screen pictures is greater than the preset difference, after the width and height of the multiple screen pictures are transformed, the AP chip will then splice 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.
  • this application proposes a multi-screen display method.
  • the AP chip generates multiple screen pictures. If the first difference is greater than the preset difference, the resolution width of the multiple screen pictures is adjusted to the first resolution width. And/or adjust the resolution height of multiple screen pictures to the first resolution height to obtain multiple intermediate pictures, the first difference is the resolution height or resolution of any two screen pictures in the multiple screen pictures.
  • 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 first difference is greater than the preset difference, adjust the resolution heights of the plurality of screen pictures to the first resolution height to obtain a plurality of intermediate pictures, the first difference being the plurality of screens The difference between the resolution heights of any two screen images in the image.
  • the single-screen physical interface may be a single MIPI DSI.
  • the AP chip calculates the difference between the resolution heights of any two screen images among multiple screen images. If the difference is greater than the preset difference, then on the premise that the total number of pixels of each screen image remains unchanged, more than the The width and height of the resolution pixels of multiple screen pictures are converted, so that the resolution heights of the multiple screen pictures are close to each other.
  • the first resolution height is a
  • the resolution height of multiple screen pictures is adjusted to a
  • the resolution width of each screen picture is adjusted to Adjusted to c/a, where c is the total number of pixels of the screen picture, that is, the product of the resolution width and the resolution height.
  • the AP chip can also compare the resolution height of multiple screen pictures with the maximum resolution height of the single-screen physical interface. If the resolution height of the screen picture is greater than the maximum resolution height of the single-screen physical interface, the The width and height of the resolution pixels of the screen picture are converted, so that the resolution height of the screen picture is less than or equal to the maximum resolution height of the single-screen physical interface, so that a single MIPI DSI can output multiple screen pictures to the display screen at the same time. show.
  • the AP chip when the resolution width of multiple intermediate pictures obtained after the AP chip changes the width and height of multiple screen pictures exceeds the maximum resolution width supported by a single MIPI DSI, the AP chip can adjust the resolution of multiple screen pictures The width is compressed so that a single MIPI DSI can transmit resized screen images.
  • the AP chip can splice multiple intermediate pictures according to the row direction of the intermediate pictures, that is, to splice multiple intermediate pictures left and right to determine the sum of the resolution widths of multiple screen pictures. Whether it is greater than the maximum resolution width of the single-screen physical interface.
  • 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 AP chip can directly compress the spliced pictures or at least one intermediate picture with a higher resolution height along the row direction, and the AP chip can also directly compress the spliced pictures or at least one intermediate picture with a higher resolution height. Pigment compression is performed on the intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures and realize multi-screen display on the single-screen physical interface.
  • the pixel compression may be performing linear filtering and down-sampling of pixel RGB color components on the intermediate picture and the spliced picture, such as bilinear filtering and down-sampling.
  • the pixel compression is to compress the resolution width of the intermediate picture or the spliced picture.
  • Described chromaticity compression can be the RGB888 format that intermediate picture or mosaic picture is converted into the RGB565 format of 16bit or the YUV420 format of 12bit, and chromaticity compression can carry out to the resolution width and resolution height of intermediate picture, mosaic picture at the same time Compression, so that the resolution of the intermediate picture or the stitched picture can be reduced, and the data volume of the intermediate picture or the stitched picture can be reduced.
  • the AP chip after processing the multiple intermediate pictures according to the row direction, 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 1200 ⁇ 540 60FPS.
  • the AP chip first draws two screen pictures with the screen resolution of the two output display screens through the CPU or GPU, which are recorded as screen picture 1: 1920 ⁇ 1080 60FPS and screen picture 2: 1200 ⁇ 540 60FPS.
  • screen picture 1 1920 ⁇ 1080 60FPS
  • screen picture 2 1200 ⁇ 540 60FPS.
  • the sum of the resolution widths of screen 1 and screen 2 exceeds 1920, and the resolution and height of screen picture 1 and screen picture 2 are very different. Therefore, as shown in Figure 3a, the AP chip converts the width and height of screen picture 2 into pixels.
  • the resolution of screen picture 2 is changed from 1200 ⁇ 540 to 600 ⁇ 1080, and the pixels of screen picture 1 are compressed in the row direction, that is, each component of the three RGB color components of screen picture 1 is filtered by 1/2 of FIR
  • the down-sampling method realizes 1/2 compression, so that the resolution of screen picture 1 is compressed from 1920 ⁇ 1080 to 960 ⁇ 1080.
  • the total resolution of the processed screen picture 1 and screen picture 2 is 1560 ⁇ 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 .
  • the width and height of the screen pictures can be transformed to solve the problem of continuous blanking (Blanking) of a certain screen caused by different screen resolution widths. Too many screen flickering issues causing uneven refresh.
  • the embodiment of the present application compresses the resolution widths of multiple intermediate pictures to realize multi-screen display through a single-screen physical interface. Display, and can effectively solve the problem of limited bandwidth of the single-screen physical interface.
  • 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 first difference is greater than the preset difference, adjust the resolution widths of the multiple screen pictures to the first resolution width to obtain multiple intermediate pictures, the first difference being the multiple screens The difference between the resolution widths of any two screen images in the image.
  • the single-screen physical interface may be a single MIPI DSI.
  • the AP chip calculates the difference between the resolution widths of any two screen images among multiple screen images. If the difference is greater than the preset difference, then on the premise that the total number of pixels of each screen image remains unchanged, more than the The width and height of resolution pixels are transformed for multiple screen pictures, so that the resolution widths of multiple screen pictures are close to each other.
  • the first resolution width is b
  • the resolution width of multiple screen pictures is adjusted to b
  • the resolution height of each screen picture is adjusted to Adjusted to c/b, where c is the total number of pixels of the screen image, that is, the product of the resolution width and the resolution height.
  • the AP chip can also compare the resolution width of multiple screen pictures with the maximum resolution width of a single-screen physical interface. If the resolution width of a screen picture is greater than the maximum resolution width of a single-screen physical interface, the The width and height of the resolution pixels of the screen picture are transformed, so that the resolution width of the screen picture is less than or equal to the maximum resolution width of the single-screen physical interface, so that a single MIPI DSI can output multiple screen pictures to the display screen at the same time. show
  • S430 Stitch the multiple intermediate pictures according to a second direction to obtain a stitched picture, where the second direction is a column direction of the intermediate pictures.
  • the AP chip can adjust the resolution of multiple screen pictures Highly compressed so that single MIPI DSI can transmit resized screen images.
  • the AP chip can splice multiple intermediate pictures according to the column direction of the intermediate pictures, that is, to splice multiple intermediate pictures up and down to determine the sum of the resolution heights of multiple screen pictures. Whether it is greater than the maximum resolution height of the single-screen physical interface.
  • the AP chip can directly compress the pixels of the spliced pictures or at least one intermediate picture with a higher resolution along the column direction, and the AP chip can also directly compress the spliced pictures or at least one of the middle pictures with a higher resolution. Pigment compression is performed on the intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures and realize multi-screen display on the single-screen physical interface.
  • the pixel compression may be a linear filter downsampling of the RGB color components of the intermediate picture and the spliced picture, such as bilinear filter downsampling, etc., which is to compress the resolution width of the intermediate picture and the spliced picture.
  • Described chromaticity compression can be the RGB888 format that intermediate picture or mosaic picture is converted into the RGB565 format of 16bit or the YUV420 format of 12bit from 24bit RGB888 format, and it can compress the resolution width and the resolution height of intermediate picture, mosaic picture at the same time, Furthermore, the resolution of the intermediate picture or the spliced picture can be reduced, and the data volume of the intermediate picture or the spliced picture can be reduced.
  • the AP chip after processing the multiple intermediate pictures according to the column direction, the AP chip then stitches the multiple intermediate pictures according to the column direction, that is, stitches 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 1080 ⁇ 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 540 ⁇ 800 60FPS, the resolution of display screen 2 is 1080 ⁇ 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 down-sampling method realizes 1/2 compression, so that the resolution of screen image 1 is compressed from 1080 ⁇ 1200 to 1080 ⁇ 600.
  • the total resolution of the processed screen picture 1 and screen picture 2 is 1080 ⁇ 1000, and the frame rate is 60FPS, both of which are less than the maximum output bandwidth, so it can be output by the single MIPI of the AP chip to the SOC or FPGA chip for transfer .
  • the width and height of the screen pictures can be transformed to solve the problem of continuous blanking (Blanking) of a certain screen caused by different screen resolution widths. Too many screen flickering issues causing uneven refresh.
  • the resolution height of multiple screen images is greater than the maximum output bandwidth of a single-screen physical interface, by compressing the screen images, multiple screens can be displayed through a single-screen physical interface, and the single-screen physical interface can be effectively resolved. Bandwidth limited issues.
  • 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 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 600 pixels and output line by line with 1200 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 600 ⁇ 1080 to 1200 ⁇ 540. 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 corresponding display screens for display can solve the problem of uneven refresh of the display screens when the resolutions of multiple screens are different in height.
  • 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 system shown in FIG. 1 . As shown in Fig. 6, the method includes the following steps.
  • the AP chip adjusts the resolution width of the multiple screen pictures to the first resolution width and/or adjusts the resolution height of the multiple screen pictures To the first resolution height, multiple intermediate pictures are obtained, and the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
  • 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.
  • adjust the resolution width or resolution height of multiple screen images to the same value and output them to the adapter chip through the single-screen physical interface.
  • the adapter chip first demultiplexes the received spliced pictures into multiple screen pictures, then restores the screen pictures that have been adjusted in resolution width or resolution height, and then synchronously processes the processed multiple screen pictures one by one.
  • Line refresh output to multiple screens for display can realize multi-screen display through a single-screen physical interface, and can solve the problem of uneven display screen refresh when multiple screen resolutions are different in height.
  • 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. 7 is a block diagram of functional units of a multi-screen display device 700 provided by an embodiment of the present application.
  • the device 700 is applied to a chip, and the device 700 includes: a processing unit 710 and a transceiver unit 720 .
  • the apparatus 700 is configured to execute various processes and steps corresponding to the AP chip in the above indicating method.
  • the processing unit 710 is configured to generate multiple screen pictures
  • the processing unit 710 is further configured to adjust the resolution width of the multiple screen pictures to the first resolution width and/or adjust the resolution width of the multiple screen pictures if the first difference is greater than the preset difference.
  • the height of the screen is adjusted to the first resolution height to obtain multiple intermediate pictures, and the first difference is the difference between the resolution height or the resolution width of any two screen pictures in the multiple screen pictures;
  • the processing unit 710 is further configured to splice the multiple intermediate pictures to obtain a target picture
  • the transceiver unit 720 is configured to input the target picture to the adapter chip through the single-screen physical interface.
  • the processing unit 710 is further configured to: if the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, compress the multiple intermediate pictures.
  • the processing unit 710 is specifically configured to:
  • the processing unit 710 is specifically configured to:
  • the device 700 is configured to execute various processes and steps corresponding to the adapter chip in the above indication method.
  • the processing unit 710 is configured to segment the received target picture to obtain multiple intermediate pictures
  • the processing unit 710 is further configured to compare the resolutions of the multiple intermediate pictures with target resolutions respectively, where the target resolution is the screen resolution of the target screen corresponding to the intermediate pictures;
  • the processing unit 710 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 720 is configured to respectively send the multiple screen pictures to the multiple target screens.
  • the processing unit 710 is specifically configured to: if the resolution width of the intermediate picture is smaller than the target resolution width, adjust 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 apparatus 700 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 700 can specifically be the AP chip and the switch chip in the above-mentioned embodiment, and the device 700 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 700 in each of the above solutions has the function of realizing the corresponding steps performed by the AP chip and the adapter chip in the above method; the function can be realized by hardware, or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the transceiver unit 720 can be replaced by a transmitter and a receiver, and the processing unit 710 can be replaced by a processor, respectively performing the transceiver operations in each method embodiment and related processing operations.
  • FIG. 8 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 first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
  • 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 simultaneously, 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.

Abstract

A multi-screen display method, comprising: an AP chip generates a plurality of screen images (S210); if the difference between the resolution heights or the resolution widths of any two screen images in the plurality of screen images is greater than a preset difference, adjusting the resolution widths of the plurality of screen images to a first resolution width and/or adjusting the resolution heights of the plurality of screen images to a first resolution height, so as to obtain a plurality of intermediate images (S220); and splicing the plurality of intermediate images to obtain a target image (S230). By adjusting the resolution widths and/or the resolution heights of the plurality of screen images to the same value, it is possible to effectively solve the problem of screen flickering which occurs when different screen resolution heights or widths cause a certain display screen to blank continuously and lead to uneven refreshing. Further disclosed is a multi-screen display device.

Description

多屏显示方法及装置Multi-screen display method and device 技术领域technical field
本申请涉及通信技术领域,具体涉及一种多屏显示方法及装置。The present application relates to the technical field of communications, and in particular to a multi-screen display method and device.
背景技术Background technique
随着显示技术的蓬勃发展,双屏异显功能在消费、金融支付、商显市场的需求越来越大。目前大部分应用芯片(Application Processor,AP)的屏幕输出通常是单路移动产业处理器接口(Mobile Industry Processor Interface,MIPI)显示器串行接口(Display Serial Interface,DSI)接口,其只能连接单个MIPI显示屏幕。由于单路MIPI DSI的AP芯片的MIPI DSI输出带宽是根据连接单个显示屏幕带宽需求来设计的。因此,当连接的多个显示屏幕的分辨率宽度和/或分辨率高度的不同时,会造成显示屏幕刷新不均匀的问题。With the vigorous development of display technology, the demand for dual-screen different display functions in consumer, financial payment, and commercial display markets is increasing. At present, the screen output of most application chips (Application Processor, AP) is usually a single mobile industry processor interface (Mobile Industry Processor Interface, MIPI) display serial interface (Display Serial Interface, DSI) interface, which can only connect to a single MIPI display screen. Because 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 the resolution widths and/or resolution heights of the multiple connected display screens are different, the problem of uneven refreshing of the display screens will be caused.
发明内容Contents of the invention
本申请实施例提供了一种多屏显示方法及装置,可以有效解决多个屏幕分辨率高宽度不同使得某个屏幕连续消隐太多导致刷新不均匀出现的屏闪问题。The embodiment of the present application provides a multi-screen display method and device, which can effectively solve the problem of screen flicker caused by multiple screens with different resolutions, heights and widths, resulting in too much continuous blanking of a certain screen, resulting in uneven refresh.
第一方面,本申请实施例提供一种多屏显示方法,应用于AP芯片,所述方法包括:In the first aspect, the embodiment of the present application provides a multi-screen display method, which is applied to an AP chip, and the method includes:
生成多张屏幕图片;Generate multiple screen images;
若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;If the first difference is greater than the preset difference, adjust the resolution width of the multiple screen pictures to the first resolution width and/or adjust the resolution height of the multiple screen pictures to the first resolution height , to obtain multiple intermediate pictures, the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
将所述多张中间图片进行拼接,得到目标图片;Stitching the multiple intermediate pictures to obtain the target picture;
通过所述单屏物理接口将所述目标图片输入至转接芯片。The target picture is input to the adapter chip through the single-screen physical interface.
第二方面,本申请实施例提供一种多屏显示方法,应用于转接芯片,所述方法包括:In the second aspect, the embodiment of the present application provides a multi-screen display method, which is applied to an adapter chip, and the method includes:
对接收的目标图片进行分割,得到多张中间图片;Segment the received target image to obtain multiple intermediate images;
将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;Comparing the resolutions of the plurality of intermediate pictures with a plurality of target resolutions respectively, the target resolution being the screen resolution of the target screen corresponding to the intermediate pictures;
若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;If 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;
分别向多个所述目标屏幕发送所述多张屏幕图片。sending the multiple screen pictures to the multiple target screens respectively.
第三方面,本申请实施例提供一种多屏显示装置,应用于AP芯片,所述装置包括:In a third aspect, an embodiment of the present application provides a multi-screen display device, which is applied to an AP chip, and the device includes:
处理单元,用于生成多张屏幕图片;a processing unit for generating multiple screen pictures;
所述处理单元,还用于若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;The processing unit is further configured to adjust the resolution width of the plurality of screen pictures to the first resolution width and/or adjust the resolution width of the plurality of screen pictures if the first difference is greater than the preset difference. The height is adjusted to the first resolution height to obtain multiple intermediate pictures, and the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
所述处理单元,还用于将所述多张中间图片进行拼接,得到目标图片;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.
第四方面,本申请实施例提供一种多屏显示装置,应用于转接芯片,所述装置包括:In a fourth aspect, 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.
第五方面,本申请实施例提供一种芯片,所述芯片包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行上述第一方面或第二方面所述的方法中所描述的部分或全部步骤的指令。In the fifth aspect, 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.
第六方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行上述第一方面或第二方面所述的方法中所描述的部分或全部步骤。In the sixth 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.
第七方面,本申请实施例提供了一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第一方面或第二方面所述的方法。In the seventh 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 .
本申请提供的技术方案,AP芯片生成多张屏幕图片,若多张屏幕图片中任一两张屏幕图片的分辨率高度和/或分辨率宽度的差值大于预设差值,将多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片;将多张中间图片进行拼接,得到目标图片。本申请通过将多张屏幕图片的分辨率宽度和/或分辨率高度调整到相同值,可以有效解决多个屏幕分辨率高宽度不同使得某个显示屏幕连续消隐太多导致刷新不均匀出现的屏闪问题。In the technical solution provided by this application, the AP chip generates multiple screen pictures, and if the difference between the resolution height and/or resolution width of any two screen pictures in the multiple screen pictures is greater than the preset difference, multiple screen pictures Adjusting the resolution width of the picture to the first resolution width and/or adjusting the resolution height of multiple screen pictures to the first resolution height to obtain multiple intermediate pictures; splicing the multiple intermediate pictures to obtain the target picture. In this application, by adjusting the resolution width and/or resolution height of multiple screen pictures to the same value, it can effectively solve the problem that the resolution, height and width of multiple screens are different, so that too much continuous blanking of a certain display screen leads to uneven refresh. Screen flicker problem.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本申请实施例提供的一种多屏显示系统的示意图;FIG. 1 is a schematic diagram of a multi-screen display system provided by an embodiment of the present application;
图2是本申请实施例提供的一种多屏显示方法的流程示意图;FIG. 2 is a schematic flowchart of a multi-screen display method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种多屏显示方法的流程示意图;Fig. 3 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application;
图3a是本申请实施例提供的一种屏幕图片压缩与解压缩的示意图;Fig. 3a is a schematic diagram of screen picture compression and decompression provided by the embodiment of the present application;
图4是本申请实施例提供的另一种多屏显示方法的流程示意图;Fig. 4 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application;
图4a是本申请实施例提供的另一种屏幕图片压缩与解压缩的示意图;Fig. 4a is a schematic diagram of another screen picture compression and decompression provided by the embodiment of the present application;
图5是本申请实施例提供的另一种多屏显示方法的流程示意图;Fig. 5 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application;
图6是本申请实施例提供的另一种多屏显示方法的流程示意图;Fig. 6 is a schematic flowchart of another multi-screen display method provided by the embodiment of the present application;
图7是本申请实施例提供的一种多屏显示装置的功能单元组成框图;FIG. 7 is a block diagram of functional units of a multi-screen display device provided by an embodiment of the present application;
图8是本申请实施例提供的一种芯片的结构示意图。FIG. 8 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
其中,MIPI接口是MIPI联盟发起的为移动应用处理器制定的开放标准和一个规范,目的是把移动终端内部的接口如摄像头、显示屏接口、射频/基带接口等标准化,从而减少移动终端设计的复杂程度和增加设计灵活性。MIPI联盟下辖不同的工作组(Work  Group),以满足移动终端各个子系统的不同需求。不同的工作组负责制定具体的协议,并分别针对不同的硬件设备定义了一套移动设备内部接口标准,比如摄像头串行接口CSI、显示串行接口DSI、射频接口DigRF、麦克风/喇叭接口SLIMbus等。Among them, 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. .
目前,大部分AP芯片的屏幕输出通常是单屏物理接口,只能连接单个MIPI LCD屏幕,为了实现多屏异显,必须通过转接芯片或FPGA将AP芯片的单路MIPI DSI输出转换为多路MIPI DSI输出,以便连接多个屏幕。目前已有一些通过外接SOC或FPGA芯片扩展的多屏显示方案,但这些方案通常是AP芯片将多个屏幕图片进行简单的左、右或上、下拼接复用成一幅图片输出给外接扩展芯片,外接扩展芯片将整幅图片进行解复用后分别输出至多路输出至多个LCD屏幕。由于单路MIPI DSI的AP芯片的MIPI DSI输出带宽是按单个LCD屏幕带宽需求设计的,因此连接多个(两个或两个以上)LCD屏幕时,同时如果多个(两个或两个以上)LCD屏幕的分辨率宽、高不同,如LCD_1:1080×1920,LCD_2:1080×960,那么转接芯片或FPGA对两个屏幕同步进行刷新的时候,LCD_2可能会由于刷新不均匀出现屏闪现象。At present, 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. In order to achieve multi-screen display, the single MIPI DSI output of the AP chip must be converted to multiple One MIPI DSI output for connecting multiple screens. At present, there are some multi-screen display solutions that can be expanded by external SOC or FPGA chips, but these solutions usually use the AP chip to simply splicing multiple screen pictures left, right or up and down to form a picture and output it to an external expansion chip. , the external expansion chip demultiplexes the entire picture and then outputs it to multiple outputs to multiple LCD screens. Since the MIPI DSI output bandwidth of the single MIPI DSI AP chip is designed according to the bandwidth requirements of a single LCD screen, when multiple (two or more) LCD screens are connected, if multiple (two or more) LCD screens are connected at the same time, if multiple (two or more) ) The resolution of the LCD screen is different in width and height, such as LCD_1: 1080×1920, LCD_2: 1080×960, then when the adapter chip or FPGA refreshes the two screens synchronously, LCD_2 may appear screen flicker due to uneven refresh Phenomenon.
为了解决上述问题,本申请提出了一种多屏显示方法,AP芯片生成多张屏幕图片,若多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值大于预设差值,将多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,再将多个中间图片进行拼接合成为一张图像,通过单屏物理接口输出给转接芯片。转接芯片先将接收的拼接成的图片的解复用为多个屏幕图片,然后对做过分辨率调整的屏幕图片进行复原处理,将处理完的多个屏幕图片同步逐行刷新输出至多个屏幕进行显示,可以解决当多个屏幕分辨率高度不同时,刷新不均匀出现的屏闪问题。In order to solve the above problems, this application proposes a multi-screen display method. The AP chip generates multiple screen pictures. If the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures is greater than the preset difference, adjust the resolution width of multiple screen pictures to the first resolution width and/or adjust the resolution height of multiple screen pictures to the first resolution height to obtain multiple intermediate pictures, and then multiple intermediate pictures The pictures are spliced and combined into one image, which is output to the adapter chip through the single-screen physical interface. The adapter chip first demultiplexes the received spliced pictures into multiple screen pictures, then restores the screen pictures that have been adjusted in resolution, and outputs the processed multiple screen pictures synchronously to multiple screen pictures. Displaying on the screen can solve the problem of screen flicker caused by uneven refresh when multiple screen resolutions are different in height.
下面结合具体实施例,对本申请进行详细说明。The present application will be described in detail below in combination with specific embodiments.
请参阅图1,图1是本申请实施例提供的一种多屏显示系统的示意图,该多屏显示系统包括AP芯片10、转接芯片20和多个显示屏幕30。其中,AP芯片用于生成每个显示屏幕30显示的屏幕图片,并在对屏幕图片进行处理后通过单MIPI DSI传输至转接芯片20,转接芯片20用于对接收到的屏幕图片进行调整后按预先设置的帧率同时逐行发送至多个显示屏幕30,显示屏幕30与转接芯片20通信连接,能够接收AP芯片10通过转接芯片20传输的屏幕图片并进行显示,从而使得通过单MIPI DSI可实现多屏异显。Please refer to FIG. 1 . 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 . Among them, 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.
具体地,所述AP芯片可包括一个或多个处理器、存储器、WIFI模块、串/并行接口等。其中,串/并行接口可包括有通用输入/输出(General Purpose Input Output,GPIO)接口、高清多媒体接口(High Definition Multimedia Interface,HDMI)、通用系统接口CSI、单MIPI DSI等多种物理接口。其中,AP芯片10可通过单MIPI DSI与转接芯片20连接,处理器生成屏幕图片通过单MIPI DSI传输至转接芯片20。WiFi模块用于进行无线网络通信。Specifically, the AP chip may include one or more processors, memories, WIFI modules, serial/parallel interfaces, and the like. Among them, 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. Wherein, 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.
转接芯片20可包括多个DSI接口,每个DSI接口连接一个显示屏幕30。转接芯片20在对接收到的屏幕图片进行调整后通过DSI接口同时发送至对应的显示屏幕30进行显示。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.
请参阅图2,图2是本申请实施例提供的一种多屏显示方法流程示意图,应用于如图1中的AP芯片。如图2所示,该方法包括如下步骤。Please refer to FIG. 2 . 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.
S210、生成多张屏幕图片。S210. Generate multiple screen pictures.
其中,所述屏幕图片的分辨率与目标分辨率相同,所述目标分辨率为所述屏幕图片对应的目标屏幕的屏幕分辨率。在实际应用中,一个电子设备可能会连接多个显示屏幕来进行图片内容的显示。当需要在多个显示屏幕上同时进行显示时,AP芯片可先获取多个显示屏幕的屏幕分辨率,然后通过中央处理器(central processing unit,CPU)或图形处理器(Graphics Processing Unit,GPU)等方式生成与多个显示屏幕的屏幕分辨率相同的多张屏幕图片。Wherein, the resolution of the screen picture is the same as the target resolution, and the target resolution is the screen resolution of the target screen corresponding to the screen picture. In practical applications, an electronic device may be connected to multiple display screens to display image content. When it is necessary to display on multiple display screens at the same time, 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.
示例的,所述屏幕图片的分辨率也可与该屏幕图片对应的目标屏幕的屏幕分辨率不同。例如,在超市前台的主机同时连接了两个不同分辨率的显示屏进行显示时,主机中的AP芯片可生成两张相同分辨率的屏幕图片,然后由主机中的转接芯片将屏幕图片的分辨率调整成与目标屏幕的屏幕分辨率后发送至显示器进行显示或者由转接芯片直接将屏幕图片发送至显示器进行显示。For example, the resolution of the screen picture may also be different from the screen resolution of the target screen corresponding to the screen picture. For example, when the host at the front desk of a supermarket is connected to two display screens with different resolutions for display, 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.
S220、若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值。S220. If the first difference is greater than the preset difference, adjust the resolution width of the multiple screen pictures to the first resolution width and/or adjust the resolution height of the multiple screen pictures to the first resolution The first difference is the difference between the resolution height or the resolution width of any two screen pictures in the multiple screen pictures.
其中,所述单屏物理接口可以是单MIPI DSI。为了解决显示屏幕刷新不均匀出现的屏闪问题,AP芯片可以将张屏幕图片的分辨率高度和/或分辨率宽度调整值相同值。Wherein, the single-screen physical interface may be a single MIPI DSI. In order to solve the problem of screen flicker caused by uneven refresh of the display screen, the AP chip can adjust the resolution height and/or resolution width of a screen picture to the same value.
在一可能的示例中,AP芯片计算多张屏幕图像中任意两张屏幕图像的分辨率高度的差值,若该差值大于预设差值,则可对该多张屏幕图片做分辨率像素的宽高变换,使得多张屏幕图片的分辨率高度接近。具体为:在每张屏幕图片的像素总数不变的前提下,对该多张屏幕图片的分辨率像素进行宽高变换,使得多张屏幕图片的分辨率高度均为第一分辨率宽度,该第一分辨率高度小于或等于单屏物理接口的MIPI的最大分辨率高度。也就是说,若第一分辨率高度为a,则在对多张屏幕图片的分辨率像素进行宽高变换时,将多张屏幕图片的分辨率高度调整为a,将每张屏幕分辨率宽度调整为c/a,所述c为屏幕图片的像素总数,即分辨率宽度与分辨率高度的积。In a possible example, the AP chip calculates the difference between the resolution heights of any two screen images among the multiple screen images, and if the difference is greater than the preset difference, then the resolution pixel of the multiple screen images can be calculated. The width-to-height transformation makes the resolution heights of multiple screen images close to each other. Specifically: on the premise that the total number of pixels of each screen picture remains unchanged, the resolution pixels of the multiple screen pictures are converted to width and height, so that the resolution heights of the multiple screen pictures are all the first resolution width, the The first resolution height is less than or equal to the maximum resolution height of the MIPI of the single-screen physical interface. That is to say, if the first resolution height is a, when the resolution pixels of multiple screen pictures are converted to width and height, the resolution height of multiple screen pictures is adjusted to a, and the resolution width of each screen picture is adjusted to Adjusted to c/a, where c is the total number of pixels of the screen picture, that is, the product of the resolution width and the resolution height.
示例的,当多张屏幕图片中的任意屏幕图片的分辨率高度大于单MIPI DSI支持的最大分辨率高度,使得AP芯片的单MIPI DSI无法同时将该多张屏幕图片输出到显示屏幕上进行显示时,AP芯片可对该多张屏幕图片的分辨率高度进行调整,以使得单MIPI DSI可以传输调整后的屏幕图片。具体为先判断多张屏幕图片的分辨率高度是否大于单屏物理接口的最大分辨率高度,若屏幕图片的分辨率高度大于单屏物理接口的最大分辨率高度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率高度小于或等于单屏物理接口的最大分辨率高度。For example, when the resolution height of any screen picture in multiple screen pictures is greater than the maximum resolution height supported by a single MIPI DSI, the single MIPI DSI of the AP chip cannot simultaneously output the multiple screen pictures to the display screen for display At this time, the AP chip can adjust the resolution height of the multiple screen pictures, so that a single MIPI DSI can transmit the adjusted screen pictures. Specifically, first determine whether the resolution height of multiple screen images is greater than the maximum resolution height of the single-screen physical interface. If the resolution height of the screen image is greater than the maximum resolution height of the single-screen physical interface, then the screen image will be used as the resolution The width and height of pixels are transformed so that the resolution height of the screen picture is less than or equal to the maximum resolution height of the single-screen physical interface.
在另一可能的示例中,AP芯片计算多张屏幕图像中任意两张屏幕图像的分辨率宽度的差值,若该差值大于预设差值,则可将多该多张屏幕图片做分辨率像素的宽高变换,使得多张屏幕图片的分辨率宽度接近。具体为:在每张屏幕图片的像素总数不变的前提下,对该多张屏幕图片的分辨率像素进行宽高变换,使得该多张屏幕图片的分辨率宽度均为第一分辨率宽度,该第一分辨率宽度小于或等于单屏物理接口的最大分辨率宽度。也就是说,若第一分辨率宽度为b,则在对多张屏幕图片的分辨率像素进行宽高变换时,将多张屏幕图片的分辨率宽度调整为b,将每张屏幕分辨率高度调整为c/b,所述c为屏幕图片的像素总数,即分辨率宽度与分辨率高度的积。In another possible example, the AP chip calculates the difference between the resolution widths of any two screen images among the multiple screen images, and if the difference is greater than a preset difference, the multiple screen images can be distinguished The width and height transformation of high-speed pixels makes the resolution and width of multiple screen pictures close. Specifically: on the premise that the total number of pixels of each screen picture remains unchanged, the resolution pixels of the multiple screen pictures are converted to width and height, so that the resolution widths of the multiple screen pictures are all the first resolution width, The first resolution width is less than or equal to the maximum resolution width of the single-screen physical interface. That is to say, if the first resolution width is b, when the resolution pixels of multiple screen pictures are converted to width and height, the resolution width of multiple screen pictures is adjusted to b, and the resolution height of each screen picture is adjusted to Adjusted to c/b, where c is the total number of pixels of the screen image, that is, the product of the resolution width and the resolution height.
示例的,当多张屏幕图片中的任意屏幕图片的分辨率宽度大于单MIPI DSI支持的最大分辨率宽度,使得AP芯片的单MIPI DSI无法同时将该多张屏幕图片输出到显示屏幕上进行显示时,AP芯片可对该多张屏幕图片的分辨率宽度进行调整,以使得单MIPI DSI可以传输调整后的屏幕图片。具体为先判断多张屏幕图片的分辨率宽度是否大于单屏物理接口的最大分辨率宽度,若屏幕图片的分辨率宽度大于单屏物理接口的最大分辨率宽度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率宽度小于或等于单屏物理接口的最大分辨率宽度。For example, when the resolution width of any screen picture in multiple screen pictures is greater than the maximum resolution width supported by a single MIPI DSI, the single MIPI DSI of the AP chip cannot simultaneously output the multiple screen pictures to the display screen for display , the AP chip can adjust the resolution width of the multiple screen pictures, so that a single MIPI DSI can transmit the adjusted screen pictures. Specifically, first determine whether the resolution width of multiple screen images is greater than the maximum resolution width of the single-screen physical interface. If the resolution width of the screen image is greater than the maximum resolution width of the single-screen physical interface, the screen image will be used as the resolution The width and height of the pixels are transformed so that the resolution width of the screen picture is less than or equal to the maximum resolution width of the single-screen physical interface.
需要说明的是,AP芯片可以预设存储该预设差值,例如700、200、100等,AP芯片也可以根据实际应用场景设置该预设差值,在此不做限定。It should be noted that the AP chip can preset store the preset difference, such as 700, 200, 100, etc., and the AP chip can also set the preset difference according to actual application scenarios, which is not limited here.
S230、将所述多张中间图片进行拼接,得到目标图片。S230. Concatenate the multiple intermediate pictures to obtain a target picture.
其中,若是多张屏幕图片中任意两张屏幕图片的分辨率宽度的差值大于预设差值,则在对多张屏幕图片进行宽高变换后,AP芯片再按照行方向将多张中间图片进行拼接,即将多张中间图片进行左右拼接得到目标图片。若是多张屏幕图片中任意两张屏幕图片的分辨率高度的差值大于预设差值,则在对多张屏幕图片进行宽高变换后,AP芯片再按照列方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接得到目标图片。Among them, if the difference between the resolution widths of any two screen pictures in the multiple screen pictures is greater than the preset difference, then after the width and height of the multiple screen pictures are transformed, the AP chip then divides the multiple intermediate pictures according to the row direction Stitching, that is, multiple intermediate pictures are spliced left and right to obtain the target picture. If the difference between the resolution heights of any two screen pictures in the multiple screen pictures is greater than the preset difference, after the width and height of the multiple screen pictures are transformed, the AP chip will then splice the multiple intermediate pictures according to the column direction , that is, multiple intermediate pictures are spliced up and down to obtain the target picture.
S240、通过所述单屏物理接口将所述目标图片输入至转接芯片。S240. Input the target picture to the adapter chip through the single-screen physical interface.
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。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.
可以看出,本申请提出了一种多屏显示方法,AP芯片生成多张屏幕图片,若第一差值大于预设差值,将多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;将多张中间图片进行拼接得到目标图片;通过将多张屏幕图片的分辨率宽度和/或分辨率高度调整到相同值,可以有效解决多个屏幕分辨率高宽度不同使得某个显示屏幕连续消隐太多导致刷新不均匀出现的屏闪问题。It can be seen that this application proposes a multi-screen display method. The AP chip generates multiple screen pictures. If the first difference is greater than the preset difference, the resolution width of the multiple screen pictures is adjusted to the first resolution width. And/or adjust the resolution height of multiple screen pictures to the first resolution height to obtain multiple intermediate pictures, the first difference is the resolution height or resolution of any two screen pictures in the multiple screen pictures The difference between the width and width of multiple screens; multiple intermediate pictures are spliced to obtain the target picture; by adjusting the resolution width and/or resolution height of multiple screen pictures to the same value, it can effectively solve the problem of different screen resolution heights and widths. There is a screen flickering problem caused by uneven refresh due to too much continuous blanking of a certain display screen.
请参阅图3,图3是本申请实施例提供的另一种多屏显示方法流程示意图,应用于如图1中的AP芯片。如图3所示,该方法包括如下步骤。Please refer to FIG. 3 . 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.
S310、生成多张屏幕图片。S310. Generate multiple screen pictures.
S320、若第一差值大于预设差值,将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度的差值。S320. If the first difference is greater than the preset difference, adjust the resolution heights of the plurality of screen pictures to the first resolution height to obtain a plurality of intermediate pictures, the first difference being the plurality of screens The difference between the resolution heights of any two screen images in the image.
其中,所述单屏物理接口可以是单MIPI DSI。AP芯片计算多张屏幕图像中任意两张屏幕图像的分辨率高度的差值,若该差值大于预设差值,则在每张屏幕图片的像素总数不变的前提下,可将多该多张屏幕图片做分辨率像素的宽高变换,使得多张屏幕图片的分辨率高度接近。也就是说,若第一分辨率高度为a,则在对多张屏幕图片的分辨率像素进行宽高变换时,将多张屏幕图片的分辨率高度调整为a,将每张屏幕分辨率宽度调整为c/a,所述c为屏幕图片的像素总数,即分辨率宽度与分辨率高度的积。Wherein, the single-screen physical interface may be a single MIPI DSI. The AP chip calculates the difference between the resolution heights of any two screen images among multiple screen images. If the difference is greater than the preset difference, then on the premise that the total number of pixels of each screen image remains unchanged, more than the The width and height of the resolution pixels of multiple screen pictures are converted, so that the resolution heights of the multiple screen pictures are close to each other. That is to say, if the first resolution height is a, when the resolution pixels of multiple screen pictures are converted to width and height, the resolution height of multiple screen pictures is adjusted to a, and the resolution width of each screen picture is adjusted to Adjusted to c/a, where c is the total number of pixels of the screen picture, that is, the product of the resolution width and the resolution height.
示例的,AP芯片还可以将多张屏幕图片的分辨率高度与单屏物理接口的最大分辨率高度进行比较,若屏幕图片的分辨率高度大于单屏物理接口的最大分辨率高度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率高度小于或等于单屏物理接口的最大分辨率高度,从而实现单MIPI DSI同时将该多张屏幕图片输出到显示屏幕上进行显示。For example, the AP chip can also compare the resolution height of multiple screen pictures with the maximum resolution height of the single-screen physical interface. If the resolution height of the screen picture is greater than the maximum resolution height of the single-screen physical interface, the The width and height of the resolution pixels of the screen picture are converted, so that the resolution height of the screen picture is less than or equal to the maximum resolution height of the single-screen physical interface, so that a single MIPI DSI can output multiple screen pictures to the display screen at the same time. show.
S330、按照第一方向将所述多张中间图片进行拼接,得到拼接图片,所述第一方向为所述中间图片的行方向。S330. Stitch the multiple intermediate pictures according to a first direction to obtain a stitched picture, where the first direction is a row direction of the intermediate picture.
其中,当AP芯片对多张屏幕图片进行宽高变化后得到的多张中间图片的分辨率宽度超过了单MIPI DSI所支持的最大分辨率宽度时,AP芯片可对多张屏幕图片的分辨率宽度进行压缩,以使得单MIPI DSI可以传输调整后的屏幕图片。Among them, when the resolution width of multiple intermediate pictures obtained after the AP chip changes the width and height of multiple screen pictures exceeds the maximum resolution width supported by a single MIPI DSI, the AP chip can adjust the resolution of multiple screen pictures The width is compressed so that a single MIPI DSI can transmit resized screen images.
在本申请实施例中,在本申请中,AP芯片可以按照中间图片的行方向将多张中间图片进行拼接,即将多张中间图片进行左右拼接,以判断多张屏幕图片的分辨率宽度的和是否大于单屏物理接口的最大分辨率宽度。In the embodiment of this application, in this application, the AP chip can splice multiple intermediate pictures according to the row direction of the intermediate pictures, that is, to splice multiple intermediate pictures left and right to determine the sum of the resolution widths of multiple screen pictures. Whether it is greater than the maximum resolution width of the single-screen physical interface.
S340、若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张所述屏幕图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张屏幕图片进行色度压缩,得到所述多张中间图片。S340. If 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.
其中,若多张屏幕图片拼接得到的拼接图片的分辨率宽度×帧率大于所述单屏物理接口的最大输出带宽,和/或拼接图像的分辨率宽度大于单屏物理接口的最大分辨率宽度,则表明AP芯片的单屏物理接口无法传输该拼接图片。此时AP芯片可以直接将拼接图片或将分辨率高度较大的至少一张的中间图片沿行方向进行像素压缩,AP芯片也可以直接将拼接图片或将分辨率高度较大的至少一张的中间图片进行色素压缩,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。Wherein, if the resolution width of the spliced image obtained by splicing multiple screen images × frame rate 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 , it indicates that the single-screen physical interface of the AP chip cannot transmit the spliced picture. At this time, the AP chip can directly compress the spliced pictures or at least one intermediate picture with a higher resolution height along the row direction, and the AP chip can also directly compress the spliced pictures or at least one intermediate picture with a higher resolution height. Pigment compression is performed on the intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures and realize multi-screen display on the single-screen physical interface.
其中,所述像素压缩可以是对中间图片、拼接图片做像素RGB颜色分量的线性滤波下采样,比如双线性滤波下采样等方法。其中像素压缩是对中间图片、或拼接图片的分辨率宽度进行压缩。所述色度压缩可以是将中间图片或拼接图片从24bit的RGB888格式转换为16bit的RGB565格式或12bit的YUV420格式,色度压缩可以同时对中间图片、拼接图片的分辨率宽度和分辨率高度进行压缩,从而可以降低中间图片或拼接图片的分辨率,降低中间图片或拼接图片的数据量。Wherein, the pixel compression may be performing linear filtering and down-sampling of pixel RGB color components on the intermediate picture and the spliced picture, such as bilinear filtering and down-sampling. The pixel compression is to compress the resolution width of the intermediate picture or the spliced picture. Described chromaticity compression can be the RGB888 format that intermediate picture or mosaic picture is converted into the RGB565 format of 16bit or the YUV420 format of 12bit, and chromaticity compression can carry out to the resolution width and resolution height of intermediate picture, mosaic picture at the same time Compression, so that the resolution of the intermediate picture or the stitched picture can be reduced, and the data volume of the intermediate picture or the stitched picture can be reduced.
S350、将所述多张中间图片进行拼接,得到目标图片。S350. Concatenate the multiple intermediate pictures to obtain a target picture.
其中,在对多张中间图片按照行方向进行处理后,AP芯片再按照行方向将多张中间图片进行拼接,即将多张中间图片进行左右拼接得到目标图片。Wherein, after processing the multiple intermediate pictures according to the row direction, 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.
S360、通过所述单屏物理接口将所述目标图片输入至转接芯片。S360. Input the target picture to the adapter chip through the single-screen physical interface.
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。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.
举例说明,单MIPI AP芯片的最大输出带宽能支持单个1920×1080 60FPS屏幕,MIPI输出的图片行方向像素宽度限制为1920,即最大分辨率宽度为1920,显示屏幕1的分辨率为1920×1080 60FPS、显示屏幕2的分辨率为1200×540 60FPS。For example, 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, and the resolution of display screen 1 is 1920×1080 60FPS, the resolution of display screen 2 is 1200×540 60FPS.
其中,AP芯片先通过CPU或GPU等方式以输出的两个显示屏幕的屏幕分辨率绘制两张屏幕图片,记做屏幕图片1:1920×1080 60FPS和屏幕图片2:1200×540 60FPS,由于屏幕1和屏幕2的分辨率宽度总和超出1920,且屏幕图片1与屏幕图片2的分辨率高度相差很大,因此,如图3a所示,AP芯片将屏幕图片2做像素的宽高变换,将屏幕图片2的分辨率由1200×540变换为600×1080,并将屏幕图片1做行方向像素的像素压缩,即将屏幕图片1的RGB三个颜色分量的每个分量都使用FIR滤波1/2下采样的方法实现1/2压缩,使屏幕图片1的分辨率由1920×1080压缩为960×1080。最后将处理完的屏幕图片1和屏幕图片2的总分辨率为1560×1080,帧率为60FPS,其均小于最大输出带宽,因此可以由AP芯片单MIPI逐行输出至SOC或FPGA芯片转接。Among them, the AP chip first draws two screen pictures with the screen resolution of the two output display screens through the CPU or GPU, which are recorded as screen picture 1: 1920×1080 60FPS and screen picture 2: 1200×540 60FPS. The sum of the resolution widths of screen 1 and screen 2 exceeds 1920, and the resolution and height of screen picture 1 and screen picture 2 are very different. Therefore, as shown in Figure 3a, the AP chip converts the width and height of screen picture 2 into pixels. The resolution of screen picture 2 is changed from 1200×540 to 600×1080, and the pixels of screen picture 1 are compressed in the row direction, that is, each component of the three RGB color components of screen picture 1 is filtered by 1/2 of FIR The down-sampling method realizes 1/2 compression, so that the resolution of screen picture 1 is compressed from 1920×1080 to 960×1080. Finally, the total resolution of the processed screen picture 1 and screen picture 2 is 1560×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 .
在本申请中,在任意两张屏幕图片的分辨率高度的差值较大时,通过对屏幕图片进行宽高变换,可以解决多个屏幕分辨率宽度不同导致某个屏幕连续消隐(Blanking)太多导致刷新不均匀出现的屏闪问题。同时在多张屏幕图片的分辨率宽度的和大于单屏物理接口的最大输出带宽时,本申请实施例通过对多张中间图片的分辨率宽度进行压缩,可以实现通过单屏物理接口进行多屏显示,并且可以有效解决单屏物理接口带宽受限问题。In this application, when the difference between the resolution heights of any two screen pictures is large, the width and height of the screen pictures can be transformed to solve the problem of continuous blanking (Blanking) of a certain screen caused by different screen resolution widths. Too many screen flickering issues causing uneven refresh. At the same time, when the sum of the resolution widths of multiple screen pictures is greater than the maximum output bandwidth of a single-screen physical interface, the embodiment of the present application compresses the resolution widths of multiple intermediate pictures to realize multi-screen display through a single-screen physical interface. Display, and can effectively solve the problem of limited bandwidth of the single-screen physical interface.
请参阅图4,图4是本申请实施例提供的另一种多屏显示方法流程示意图,应用于如图1中的AP芯片。如图4所示,该方法包括如下步骤。Please refer to FIG. 4 . 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.
S410、生成多张屏幕图片。S410. Generate multiple screen pictures.
S420、若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率宽度的差值。S420. If the first difference is greater than the preset difference, adjust the resolution widths of the multiple screen pictures to the first resolution width to obtain multiple intermediate pictures, the first difference being the multiple screens The difference between the resolution widths of any two screen images in the image.
其中,所述单屏物理接口可以是单MIPI DSI。AP芯片计算多张屏幕图像中任意两张屏幕图像的分辨率宽度的差值,若该差值大于预设差值,则在每张屏幕图片的像素总数不变的前提下,可将多该多张屏幕图片做分辨率像素的宽高变换,使得多张屏幕图片的分辨 率宽度接近。也就是说,若第一分辨率宽度为b,则在对多张屏幕图片的分辨率像素进行宽高变换时,将多张屏幕图片的分辨率宽度调整为b,将每张屏幕分辨率高度调整为c/b,所述c为屏幕图片的像素总数,即分辨率宽度与分辨率高度的积。Wherein, the single-screen physical interface may be a single MIPI DSI. The AP chip calculates the difference between the resolution widths of any two screen images among multiple screen images. If the difference is greater than the preset difference, then on the premise that the total number of pixels of each screen image remains unchanged, more than the The width and height of resolution pixels are transformed for multiple screen pictures, so that the resolution widths of multiple screen pictures are close to each other. That is to say, if the first resolution width is b, when the resolution pixels of multiple screen pictures are converted to width and height, the resolution width of multiple screen pictures is adjusted to b, and the resolution height of each screen picture is adjusted to Adjusted to c/b, where c is the total number of pixels of the screen image, that is, the product of the resolution width and the resolution height.
示例的,AP芯片还可以将多张屏幕图片的分辨率宽度与单屏物理接口的最大分辨率宽度进行比较,若屏幕图片的分辨率宽度大于单屏物理接口的最大分辨率宽度,则将该屏幕图片做分辨率像素的宽高变换,使得该屏幕图片的分辨率宽度小于或等于单屏物理接口的最大分辨率宽度,从而实现单MIPI DSI同时将该多张屏幕图片输出到显示屏幕上进行显示For example, the AP chip can also compare the resolution width of multiple screen pictures with the maximum resolution width of a single-screen physical interface. If the resolution width of a screen picture is greater than the maximum resolution width of a single-screen physical interface, the The width and height of the resolution pixels of the screen picture are transformed, so that the resolution width of the screen picture is less than or equal to the maximum resolution width of the single-screen physical interface, so that a single MIPI DSI can output multiple screen pictures to the display screen at the same time. show
S430、按照第二方向将所述多张中间图片进行拼接,得到拼接图片,所述第二方向为所述中间图片的列方向。S430. Stitch the multiple intermediate pictures according to a second direction to obtain a stitched picture, where the second direction is a column direction of the intermediate pictures.
其中,当AP芯片对多张屏幕图片进行宽高变化后得到的多张中间图片的分辨率高度超过了单MIPI DSI所支持的最大分辨率高度时,AP芯片可对多张屏幕图片的分辨率高度进行压缩,以使得单MIPI DSI可以传输调整后的屏幕图片。Among them, when the resolution height of multiple intermediate pictures obtained after the AP chip changes the width and height of multiple screen pictures exceeds the maximum resolution height supported by a single MIPI DSI, the AP chip can adjust the resolution of multiple screen pictures Highly compressed so that single MIPI DSI can transmit resized screen images.
在本申请实施例中,在本申请中,AP芯片可以按照中间图片的列方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接,以判断多张屏幕图片的分辨率高度的和是否大于单屏物理接口的最大分辨率高度。In the embodiment of this application, in this application, the AP chip can splice multiple intermediate pictures according to the column direction of the intermediate pictures, that is, to splice multiple intermediate pictures up and down to determine the sum of the resolution heights of multiple screen pictures. Whether it is greater than the maximum resolution height of the single-screen physical interface.
S440、若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或至少一张中间图片沿所述第二方向进行像素压缩、或将所述拼接图片或至少一张中间图片进行色度压缩。S440. If 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 Perform pixel compression on the spliced picture or at least one intermediate picture along the second direction, or perform chroma compression on the spliced picture or at least one intermediate picture.
在本申请实施例中,若多张屏幕图片拼接得到的拼接图片的分辨率高度×帧率大于所述单屏物理接口的最大输出带宽,和/或拼接图像的分辨率高度大于单屏物理接口的最大分辨率高度,则表明AP芯片的单屏物理接口无法传输该拼接图片。此时AP芯片可以直接将拼接图片或将分辨率高度较大的至少一张的中间图片沿列方向进行像素压缩,AP芯片也可以直接将拼接图片或将分辨率高度较大的至少一张的中间图片进行色素压缩,从而使得单屏物理接口可以传输该多张中间图片,实现单屏物理接口的多屏显示。In this embodiment of the application, if the resolution height of the spliced image obtained by splicing multiple screen images × frame rate 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 single-screen physical interface The maximum resolution height of the AP chip indicates that the single-screen physical interface of the AP chip cannot transmit the spliced image. At this time, the AP chip can directly compress the pixels of the spliced pictures or at least one intermediate picture with a higher resolution along the column direction, and the AP chip can also directly compress the spliced pictures or at least one of the middle pictures with a higher resolution. Pigment compression is performed on the intermediate pictures, so that the single-screen physical interface can transmit the multiple intermediate pictures and realize multi-screen display on the single-screen physical interface.
其中,所述像素压缩可以是对中间图片、拼接图片做像素RGB颜色分量的线性滤波下采样,比如双线性滤波下采样等方法,其是对中间图片、拼接图片的分辨率宽度进行压缩。所述色度压缩可以是将中间图片或拼接图片从24bit的RGB888格式转换为16bit的RGB565格式或12bit的YUV420格式,其可以同时对中间图片、拼接图片的分辨率宽度和分辨率高度进行压缩,进而可以降低中间图片或拼接图片的分辨率,降低中间图片或拼接图片的数据量。Wherein, the pixel compression may be a linear filter downsampling of the RGB color components of the intermediate picture and the spliced picture, such as bilinear filter downsampling, etc., which is to compress the resolution width of the intermediate picture and the spliced picture. Described chromaticity compression can be the RGB888 format that intermediate picture or mosaic picture is converted into the RGB565 format of 16bit or the YUV420 format of 12bit from 24bit RGB888 format, and it can compress the resolution width and the resolution height of intermediate picture, mosaic picture at the same time, Furthermore, the resolution of the intermediate picture or the spliced picture can be reduced, and the data volume of the intermediate picture or the spliced picture can be reduced.
S450、按照所述第二方向将所述多张中间图片进行拼接,得到目标图片。S450. Concatenate the multiple intermediate pictures according to the second direction to obtain a target picture.
其中,在对多张中间图片按照列方向进行处理后,AP芯片再按照列方向将多张中间图片进行拼接,即将多张中间图片进行上下拼接得到目标图片。Wherein, after processing the multiple intermediate pictures according to the column direction, the AP chip then stitches the multiple intermediate pictures according to the column direction, that is, stitches the multiple intermediate pictures up and down to obtain the target picture.
S460、通过所述单屏物理接口将所述目标图片输入至转接芯片。S460. Input the target picture to the adapter chip through the single-screen physical interface.
在得到目标图片后,AP芯片通过单MIPI DSI将拼接图片输出至SOC或FPGA芯片转接。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.
举例说明,单MIPI AP芯片的最大输出带宽能支持单个1080×1200 60FPS屏幕,MIPI输出的图片列方向像素高度限制为1200,即最大分辨率高度为1200,显示屏幕1的分辨率为540×800 60FPS、显示屏幕2的分辨率为1080×1200 60FPS。For example, the maximum output bandwidth of a single MIPI AP chip can support a single 1080×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 540×800 60FPS, the resolution of display screen 2 is 1080×1200 60FPS.
其中,AP芯片先通过CPU或GPU等方式以输出的两个显示屏幕的屏幕分辨率绘制两张屏幕图片,记做屏幕图片1:540×800 60FPS和屏幕图片2:1080×1200 60FPS,由于屏幕1和屏幕2的分辨率高度的总和超出1200,且屏幕图片1与屏幕图片2的分辨率宽度相差很大,因此,如图4a所示,AP芯片将屏幕图片1做像素的宽高变换,将屏幕图片1的分 辨率由540×800变换为1080×400,并将屏幕图片2做列方向像素的像素压缩,即将屏幕图片2的RGB三个颜色分量的每个分量都使用FIR滤波1/2下采样的方法实现1/2压缩,使屏幕图片1的分辨率由1080×1200压缩为1080×600。最后将处理完的屏幕图片1和屏幕图片2的总分辨率为1080×1000,帧率为60FPS,其均小于最大输出带宽,因此可以由AP芯片单MIPI逐行输出至SOC或FPGA芯片转接。Among them, 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 and screen picture 2 is very different. Therefore, as shown in Figure 4a, the AP chip converts the pixel width and height of screen picture 1, Transform the resolution of screen picture 1 from 540×800 to 1080×400, and compress the pixels of screen picture 2 in the column direction, that is, use FIR filtering for each component of the three RGB color components of screen picture 2 1/ 2 The down-sampling method realizes 1/2 compression, so that the resolution of screen image 1 is compressed from 1080×1200 to 1080×600. Finally, the total resolution of the processed screen picture 1 and screen picture 2 is 1080×1000, and the frame rate is 60FPS, both of which are less than the maximum output bandwidth, so it can be output by the single MIPI of the AP chip to the SOC or FPGA chip for transfer .
在本申请中,在任意两张屏幕图片的分辨率宽度的差值较大时,通过对屏幕图片进行宽高变换,可以解决多个屏幕分辨率宽度不同导致某个屏幕连续消隐(Blanking)太多导致刷新不均匀出现的屏闪问题。同时在多张屏幕图片的分辨率高度的和大于单屏物理接口的最大输出带宽时,通过对屏幕图片进行压缩,可以实现通过单屏物理接口进行多屏显示,并且可以有效解决单屏物理接口带宽受限问题。In this application, when the difference between the resolution widths of any two screen pictures is large, the width and height of the screen pictures can be transformed to solve the problem of continuous blanking (Blanking) of a certain screen caused by different screen resolution widths. Too many screen flickering issues causing uneven refresh. At the same time, when the resolution height of multiple screen images is greater than the maximum output bandwidth of a single-screen physical interface, by compressing the screen images, multiple screens can be displayed through a single-screen physical interface, and the single-screen physical interface can be effectively resolved. Bandwidth limited issues.
请参阅图5,图5是本申请实施例提供的另一种多屏显示方法的流程示意图,应用于如图1中的转接芯片。如图6所述,该方法包括以下步骤。Please refer to FIG. 5 . 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 adapter chip shown in FIG. 1 . As shown in Fig. 6, the method includes the following steps.
S510、对接收的目标图片进行分割,得到多张中间图片。S510. Segment the received target picture to obtain multiple intermediate pictures.
其中,转接芯片通过DSI接口接收AP芯片传输的目标图片,然后对目标图片逐行读入,若AP芯片是按照行方向进行拼接得到拼接图像,则转接芯片按照行方向将目标图片解复用为多张中间图片;若AP芯片是按照列方向进行拼接得到拼接图像,则转接芯片按照列方向将目标图片解复用为多张中间图片。从而将中间图片进行分割,得到多张中间图片。其中中间图片的分割位置可由AP芯片通过发送控制信号来通知转接芯片。Among them, 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.
S520、将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率。S520. Compare the resolutions of the multiple intermediate pictures with multiple target resolutions respectively, where the target resolution is a screen resolution of a target screen corresponding to the intermediate pictures.
具体地,为了使显示屏幕能够正常显示屏幕图片,转接芯片可将中间图片的分辨率分别与多个目标分辨率进行比较,来判断中间图片是否进行过压缩处理和/或宽高变换处理等。Specifically, in order to enable the display screen to display the screen picture normally, 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. .
S530、若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同。S530. If the resolution of the intermediate picture is different from the target resolution, adjust the resolution of the intermediate picture to obtain multiple screen pictures, where the resolution of the screen pictures is the same as the target resolution.
其中,所述目标分辨率为显示屏幕的屏幕分辨率。通过将中间图片的分辨率与目标分辨率进行比较,可以确定需要进行分辨率调整的中间图片。Wherein, the target resolution is the screen resolution of the display screen. By comparing the resolution of the intermediate pictures with the target resolution, the intermediate pictures requiring resolution adjustment can be determined.
可选的,所述将所述中间图片的分辨率进行调整,包括:若所述中间图片的分辨率宽度小于所述目标分辨率的宽度,将所述中间图片的分辨率调整至所述目标分辨率的宽度;若所述中间图片的分辨率高度小于所述目标分辨率的高度,将所述中间图片的分辨率高度调整至所述目标分辨率的高度。Optionally, 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.
示例的,若AP芯片生成的屏幕图片的分辨率与对应显示屏幕的屏幕分辨率相同,则转接芯片可以对进行过压缩处理过的中间图片进行解压缩处理,对进行过宽高变换的中间图片进行宽高比例的恢复处理,从而直接得到对应显示屏幕的屏幕分辨率相同的屏幕图片。For example, if the resolution of the screen picture generated by the AP chip is the same as the screen resolution of the corresponding display screen, 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.
示例的,若AP芯片生成的屏幕图片的分辨率与对应显示屏幕的屏幕分辨率不相同,则转接芯片在进行解压缩处理和/或宽高比例的恢复处理后,可以再对屏幕图片的分辨率进行调整以使得最终的屏幕图片的分辨率与对应显示屏幕的屏幕分辨率相同,也可以直接将屏幕图片发送至显示屏进行显示。For example, if the resolution of the screen picture generated by the AP chip is not the same as the screen resolution of 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.
具体地,如果多张中间图片中的任一中间图片做过像素的线性压缩或色度压缩,则对做过像素压缩的中间图片逐行进行线性解滤波上采样完成分辨率的调整,对做过色度压缩的中间图片(如从RGB888转换为RGB565)进行色度转换(如从RGB565转换为RGB888)完成色度的调整。如果多张中间图片中的任一中间图片做过宽高比例变换,则将逐行读入的做过宽高比例变换的中间图片以正常的行宽逐行输出,实现宽高比例的恢复,从而得到多张屏幕图片。Specifically, if 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. If any of the multiple intermediate pictures has undergone aspect ratio transformation, 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.
举例说明,如图3a所示,转接芯片对由单屏物理接口的AP芯片输出的图片逐行读入,进行左、右解复用得到屏幕图片1和屏幕图片2的逐行像素。然后逐行对屏幕图片1的像素RGB三个颜色分量的每个分量都使用FIR滤波2倍上采样的方法实现2倍解压缩,逐行输出至屏幕1的MIPI接口,使屏幕图片1的分辨率由960×1080恢复为1920×1080。对屏幕图片2,以600像素每行逐行读入,以1200像素的逐行输出至屏幕2的MIPI接口,完成像素的宽高恢复,使屏幕图片2的分辨率由600×1080恢复为1200×540。最后将屏幕图片1和屏幕图片2同步以60FPS同步逐行向两个屏幕进行刷新显示。For example, as shown in Figure 3a, 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. For screen picture 2, read in line by line with 600 pixels and output line by line with 1200 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 600×1080 to 1200 ×540. Finally, screen picture 1 and screen picture 2 are refreshed and displayed on the two screens synchronously and progressively at 60FPS.
S540、分别向多个所述目标屏幕发送所述多张屏幕图片。S540. Send the multiple screen pictures to the multiple target screens respectively.
其中,在将目标图片进行调整,得到多张屏幕图片后,转接芯片可将多张屏幕图片按预先设置的帧率同时逐行向多个MIPI DSI、LVDS、EDp等接口的显示屏幕进行发送,以使在该多个显示屏幕上分别显示对应的屏幕图片。Among them, after adjusting the target picture and obtaining multiple screen pictures, 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.
可以看出,本申请提出的多屏显示方法,转接芯片对接收的目标图片进行分割,得到多张中间图片;将多张中间图片的分辨率分别与多个目标分辨率进行比较,目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;若中间图片的分辨率与目标分辨率不同,将中间图片的分辨率进行调整,得到多张屏幕图片,屏幕图片的分辨率与目标分辨率相同;分别向多个目标屏幕发送多张屏幕图片。本申请针对单屏物理接口输出的AP芯片,通过外接转接芯片实现将单屏物理接口输出转换为多路接口、连接多个显示屏幕的方法,同时通过将目标图片调整成多张屏幕图片,将多张屏幕分别发送到对应的显示屏幕上进行显示,可以解决当多个屏幕分辨率高度不同时,显示屏幕刷新不均匀的问题。It can be seen that in the multi-screen display method proposed by this application, 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. At the same time, by adjusting the target picture into multiple screen pictures, Sending multiple screens to corresponding display screens for display can solve the problem of uneven refresh of the display screens when the resolutions of multiple screens are different in height.
请参阅图6,图6是本申请实施例提供的另一种多屏显示方法的流程示意图,应用于图1所示的系统。如图6所示,该方法包括以下步骤。Please refer to FIG. 6 . 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 system shown in FIG. 1 . As shown in Fig. 6, the method includes the following steps.
S610、AP芯片生成多张屏幕图片;S610 and AP chips generate multiple screen pictures;
S620、若第一差值大于预设差值,所述AP芯片将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;S620. If the first difference is greater than the preset difference, the AP chip adjusts the resolution width of the multiple screen pictures to the first resolution width and/or adjusts the resolution height of the multiple screen pictures To the first resolution height, multiple intermediate pictures are obtained, and the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
S630、所述AP芯片将所述多张中间图片进行拼接,得到目标图片;S630. The AP chip splices the multiple intermediate pictures to obtain a target picture;
S640、所述AP芯片通过所述单屏物理接口将所述目标图片输入至转接芯片。S640. The AP chip inputs the target picture to the adapter chip through the single-screen physical interface.
其中,上述S610-S640的具体实现方式可参照上述图2-图4中的实现方式,在此不再赘述。Wherein, for the specific implementation manners of the foregoing S610-S640, reference may be made to the foregoing implementation manners in FIG. 2-FIG. 4, which will not be repeated here.
S650、所述转接芯片对接收的所述目标图片进行分割,得到所述多张中间图片;S650. The adapter chip divides the received target picture to obtain the multiple intermediate pictures;
S660、所述转接芯片将所述多张中间图片的分辨率分别与多个所述目标分辨率进行比较;S660. The adapter chip compares the resolutions of the plurality of intermediate pictures with the plurality of target resolutions respectively;
S670、若所述中间图片的分辨率与目标分辨率不同,所述转接芯片将所述中间图片的分辨率进行调整,得到所述多张屏幕图片;S670. If the resolution of the intermediate picture is different from the target resolution, the adapter chip adjusts the resolution of the intermediate picture to obtain the plurality of screen pictures;
S680、所述转接芯片分别向多个所述目标屏幕发送所述多张屏幕图片。S680. The adapter chip sends the multiple screen pictures to the multiple target screens respectively.
其中,上述S650-S680的具体实现方式可参照上述图5中的实现方式,在此不再赘述。Wherein, the specific implementation manner of the foregoing S650-S680 may refer to the foregoing implementation manner in FIG. 5 , which will not be repeated here.
可以看出,本申请实施例提出的多屏显示方法,针对单屏物理接口的AP芯片,AP芯片根据当前多个屏幕图片的分辨率,在多个屏幕图片中任意两张屏幕图片的分辨率宽度或分辨率高度的差值较大时,将多张屏幕图片的分辨率宽度或分辨率高度调整值相同值,通过单屏物理接口输出给转接芯片。转接芯片先将接收的拼接成的图片的解复用为多个屏幕图片,然后对做过分辨率宽度或分辨率高度调整的屏幕图片进行复原,然后将处理完的多个屏幕图片同步逐行刷新输出至多个屏幕进行显示,能够通过单屏物理接口实现多屏显示,并且可以解决当多个屏幕分辨率高度不同时,显示屏幕刷新不均匀的问题。It can be seen that 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. When the difference in width or resolution height is large, adjust the resolution width or resolution height of multiple screen images to the same value, and output them to the adapter chip through the single-screen physical interface. The adapter chip first demultiplexes the received spliced pictures into multiple screen pictures, then restores the screen pictures that have been adjusted in resolution width or resolution height, and then synchronously processes the processed multiple screen pictures one by one. Line refresh output to multiple screens for display, can realize multi-screen display through a single-screen physical interface, and can solve the problem of uneven display screen refresh when multiple screen resolutions are different in height.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,网络设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of executing the process on the method side. It can be understood that, in order to realize the above functions, the network device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, 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.
请参阅图7,图7是本申请实施例提供的一种多屏显示装置700的功能单元组成框图,该装置700应用于芯片,所述装置700包括:处理单元710和收发单元720。Please refer to FIG. 7 . FIG. 7 is a block diagram of functional units of a multi-screen display device 700 provided by an embodiment of the present application. The device 700 is applied to a chip, and the device 700 includes: a processing unit 710 and a transceiver unit 720 .
在一种可能的实现方式中,装置700用于执行上述指示方法中AP芯片对应的各个流程和步骤。In a possible implementation manner, the apparatus 700 is configured to execute various processes and steps corresponding to the AP chip in the above indicating method.
所述处理单元710,用于生成多张屏幕图片;The processing unit 710 is configured to generate multiple screen pictures;
所述处理单元710,还用于若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;The processing unit 710 is further configured to adjust the resolution width of the multiple screen pictures to the first resolution width and/or adjust the resolution width of the multiple screen pictures if the first difference is greater than the preset difference. The height of the screen is adjusted to the first resolution height to obtain multiple intermediate pictures, and the first difference is the difference between the resolution height or the resolution width of any two screen pictures in the multiple screen pictures;
所述处理单元710,还用于将所述多张中间图片进行拼接,得到目标图片;The processing unit 710 is further configured to splice the multiple intermediate pictures to obtain a target picture;
所述收发单元720,用于通过所述单屏物理接口将所述目标图片输入至转接芯片。The transceiver unit 720 is configured to input the target picture to the adapter chip through the single-screen physical interface.
可选的,所述处理单元710还用于:所述若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩。Optionally, the processing unit 710 is further configured to: if the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, compress the multiple intermediate pictures.
可选的,在若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩方面,所述处理单元710具体用于:Optionally, in terms of compressing the multiple intermediate pictures if the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, the processing unit 710 is specifically configured to:
按照第一方向将所述多张中间图片进行拼接,得到拼接图片,所述第一方向为所述中间图片的行方向;若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张中间图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张中间图片进行色度压缩。Stitching the multiple intermediate pictures according to the first direction to obtain a spliced picture, the first direction being the row direction of the intermediate pictures; if the resolution × frame rate of the spliced image is greater than 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, performing pixel compression on the spliced picture or at least one intermediate picture along the first direction, Or perform chroma compression on the spliced picture or the at least one intermediate picture.
可选的,在若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩方面,所述处理单元710具体用于:Optionally, in terms of compressing the multiple intermediate pictures if the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, the processing unit 710 is specifically configured to:
按照第二方向将所述多张中间图片进行拼接,得到拼接图片,所述第二方向为所述中间图片的列方向;若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述至少一张中间图片沿所述第二方向进行像素压缩、或者将所述拼接图片或所述至少一张中间图片进行色度压缩。Stitching the multiple intermediate pictures according to the second direction to obtain a spliced picture, the second direction being the column direction of the intermediate pictures; if the resolution × frame rate of the spliced image is greater than the single-screen physical interface The maximum output bandwidth, and/or the resolution height of the spliced image is greater than the maximum resolution height of the single-screen physical interface, and the pixel compression of the at least one intermediate picture is performed along the second direction, or the Perform chroma compression on the spliced picture or the at least one intermediate picture.
在另一种可能的实现方式中,装置700用于执行上述指示方法中转接芯片对应的各个流程和步骤。In another possible implementation manner, the device 700 is configured to execute various processes and steps corresponding to the adapter chip in the above indication method.
所述处理单元710,用于对接收的目标图片进行分割,得到多张中间图片;The processing unit 710 is configured to segment the received target picture to obtain multiple intermediate pictures;
所述处理单元710,还用于将所述多张中间图片的分辨率分别与目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;The processing unit 710 is further configured to compare the resolutions of the multiple intermediate pictures with target resolutions respectively, where the target resolution is the screen resolution of the target screen corresponding to the intermediate pictures;
所述处理单元710,还用于若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;The processing unit 710 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;
所述收发单元720,用于分别向多个所述目标屏幕发送所述多张屏幕图片。The transceiving unit 720 is configured to respectively send the multiple screen pictures to the multiple target screens.
可选的,在将所述中间图片的分辨率进行调整方面,所述处理单元710具体用于:若 所述中间图片的分辨率宽度小于目标分辨率宽度,将所述中间图片的分辨率调整至所述目标分辨率宽度;若所述中间图片的分辨率高度小于目标分辨率高度,将所述中间图片的分辨率高度调整至所述目标分辨率高度。Optionally, in terms of adjusting the resolution of the intermediate picture, the processing unit 710 is specifically configured to: if the resolution width of the intermediate picture is smaller than the target resolution width, adjust 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.
应理解,这里的装置700以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置700可以具体为上述实施例中的AP芯片和转接芯片,装置700可以用于执行上述方法实施例中与AP芯片和转接芯片对应的各个流程和/或步骤,为避免重复,在此不再赘述。It should be understood that the apparatus 700 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. In an optional example, those skilled in the art can understand that the device 700 can specifically be the AP chip and the switch chip in the above-mentioned embodiment, and the device 700 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.
上述各个方案的装置700具有实现上述方法中AP芯片和转接芯片执行的相应步骤的功能;所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块;例如收发单元720可以由发送机和接收机替代、处理单元710可以由处理器代替,分别执行各个方法实施例中的收发操作以及相关的处理操作。The device 700 in each of the above solutions has the function of realizing the corresponding steps performed by the AP chip and the adapter chip in the above method; the function can be realized by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the transceiver unit 720 can be replaced by a transmitter and a receiver, and the processing unit 710 can be replaced by a processor, respectively performing the transceiver operations in each method embodiment and related processing operations.
请参阅图8,图8是本申请实施例提供的一种芯片的结构示意图,该芯片包括:一个或多个处理器、一个或多个存储器、一个或多个通信接口,以及一个或多个程序;所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行。Please refer to FIG. 8. FIG. 8 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.
在一种可能的实现方式中,该芯片为AP芯片,上述程序包括用于执行以下步骤的指令:In a possible implementation, the chip is an AP chip, and the above program includes instructions for performing the following steps:
生成多张屏幕图片;Generate multiple screen images;
若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;If the first difference is greater than the preset difference, adjust the resolution width of the multiple screen pictures to the first resolution width and/or adjust the resolution height of the multiple screen pictures to the first resolution height , to obtain multiple intermediate pictures, the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
将所述多张中间图片进行拼接,得到目标图片;Stitching the multiple intermediate pictures to obtain the target picture;
通过所述单屏物理接口将所述目标图片输入至转接芯片。The target picture is input to the adapter chip through the single-screen physical interface.
在另一种可能的实现方式中,该芯片为转接,上述程序包括用于执行以下步骤的指令:In another possible implementation, the chip is a switch, and the above program includes instructions for performing the following steps:
对接收的目标图片进行分割,得到多张中间图片;Segment the received target image to obtain multiple intermediate images;
将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;Comparing the resolutions of the plurality of intermediate pictures with a plurality of target resolutions respectively, the target resolution being the screen resolution of the target screen corresponding to the intermediate pictures;
若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;If 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;
分别向多个所述目标屏幕发送所述多张屏幕图片。sending the multiple screen pictures to the multiple target screens respectively.
其中,上述方法实施例涉及的各场景的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant content of each scene involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here.
应理解,上述存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。It should be understood that the above-mentioned 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. For example, the memory may also store device type information.
在本申请实施例中,上述装置的处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。In the embodiment of the present application, 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. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
应理解,本申请实施例中涉及的“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,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可以是单个,也可以是多个。It should be understood that "at least one" referred to in the embodiments of the present application 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 simultaneously, 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. For example, 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 .
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一信息和第二信息,只是为了区分不同的信息,而并不是表示这两种信息的内容、优先级、发送顺序或者重要程度等的不同。And, unless otherwise stated, the ordinal numerals such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or priority of multiple objects. Importance. For example, the 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.
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件单元组合执行完成。软件单元可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器执行存储器中的指令,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, 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.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, 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. In another point, 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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, 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.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可 为个人计算机、服务器或者TRP等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned 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. Based on this understanding, 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.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , ROM, RAM, disk or CD, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Those skilled in the art will have changes in specific implementation methods and application ranges based on the ideas of the present application. In summary, the contents of this specification should not be construed as limiting the present application.

Claims (20)

  1. 一种多屏显示方法,其特征在于,应用于AP芯片,所述方法包括:A kind of multi-screen display method, is characterized in that, is applied to AP chip, and described method comprises:
    生成多张屏幕图片;Generate multiple screen images;
    若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至第一分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至第一分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;If the first difference is greater than the preset difference, adjust the resolution width of the multiple screen pictures to the first resolution width and/or adjust the resolution height of the multiple screen pictures to the first resolution height , to obtain multiple intermediate pictures, the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
    将所述多张中间图片进行拼接,得到目标图片;Stitching the multiple intermediate pictures to obtain the target picture;
    通过所述单屏物理接口将所述目标图片输入至转接芯片。The target picture is input to the adapter chip through the single-screen physical interface.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    所述若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩。If the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, compress the multiple intermediate pictures.
  3. 根据权利要求2所述的方法,其特征在于,所述若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩,包括:The method according to claim 2, wherein if the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, compressing the multiple intermediate pictures includes :
    按照第一方向将所述多张中间图片进行拼接,得到拼接图片,所述第一方向为所述中间图片的行方向;Stitching the plurality of intermediate pictures according to a first direction to obtain a stitched picture, the first direction being the row direction of the intermediate pictures;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张中间图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张中间图片进行色度压缩。If 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, the Performing pixel compression along the first direction on the spliced picture or at least one intermediate picture, or performing chroma compression on the spliced picture or the at least one intermediate picture.
  4. 根据权利要求2所述的方法,其特征在于,所述若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩,包括:The method according to claim 2, wherein if the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, compressing the multiple intermediate pictures includes :
    按照第二方向将所述多张中间图片进行拼接,得到拼接图片,所述第二方向为所述中间图片的列方向;Stitching the plurality of intermediate pictures according to a second direction to obtain a stitched picture, the second direction being the column direction of the intermediate pictures;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或至少一张中间图片沿所述第二方向进行像素压缩、或者将所述拼接图片或所述至少一张中间图片进行色度压缩。If 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, the Performing pixel compression along the second direction on the spliced picture or at least one intermediate picture, or performing chroma compression on the spliced picture or the at least one intermediate picture.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    分别将所述多张屏幕图片的分辨率宽度与单屏物理接口的最大分辨率宽度、所述多张屏幕图片的分辨率高度与单屏物理接口的最大分辨率高度进行比较,若第一屏幕图片的分辨率宽度大于所述单屏物理接口的最大分辨率宽度或所述第一屏幕图片的分辨率高度大于所述单屏物理接口的最大分辨率高度,则将所述第一屏幕图片做分辨率像素的宽高变换,所述多张屏幕图片包括所述第一屏幕图片。Comparing the resolution widths of the multiple screen pictures with the maximum resolution width of the single-screen physical interface, and the resolution heights of the multiple screen pictures with the maximum resolution height of the single-screen physical interface, if the first screen The resolution width of the picture is greater than the maximum resolution width of the single-screen physical interface or the resolution height of the first screen picture is greater than the maximum resolution height of the single-screen physical interface, then the first screen picture is made The width and height conversion of resolution pixels, the multiple screen pictures include the first screen picture.
  6. 一种多屏显示方法,其特征在于,应用于转接芯片,所述方法包括:A multi-screen display method is characterized in that it is applied to an adapter chip, and the method includes:
    对接收的目标图片进行分割,得到多张中间图片;Segment the received target image to obtain multiple intermediate images;
    将所述多张中间图片的分辨率分别与多个目标分辨率进行比较,所述目标分辨率为所述中间图片对应的目标屏幕的屏幕分辨率;Comparing the resolutions of the plurality of intermediate pictures with a plurality of target resolutions respectively, the target resolution being the screen resolution of the target screen corresponding to the intermediate pictures;
    若所述中间图片的分辨率与目标分辨率不同,将所述中间图片的分辨率进行调整,得到多张屏幕图片,所述屏幕图片的分辨率与所述目标分辨率相同;If 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;
    分别向多个所述目标屏幕发送所述多张屏幕图片。sending the multiple screen pictures to the multiple target screens respectively.
  7. 根据权利要求6所述的方法,其特征在于,所述将所述中间图片的分辨率进行调整,包括:The method according to claim 6, wherein the adjusting the resolution of the intermediate picture comprises:
    若所述中间图片的分辨率宽度小于目标分辨率宽度,将所述中间图片的分辨率宽度调 整至所述目标分辨率宽度;If the resolution width of the intermediate picture is less than the target resolution width, the resolution width of the intermediate picture is adjusted to the target resolution width;
    若所述中间图片的分辨率高度小于目标分辨率高度,将所述中间图片的分辨率高度调整至所述目标分辨率高度。If the resolution height of the intermediate picture is smaller than the target resolution height, adjusting the resolution height of the intermediate picture to the target resolution height.
  8. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, further comprising:
    若所述中间图片的分辨率与目标分辨率相同、或在将所述中间图片的分辨率进行调整之前,对所述中间图片进行解压缩处理和/或宽高比例恢复处理。If the resolution of the intermediate picture is the same as the target resolution, or before the resolution of the intermediate picture is adjusted, decompression processing and/or aspect ratio recovery processing are performed on the intermediate picture.
  9. 一种多屏显示装置,其特征在于,应用于AP芯片,所述装置包括:A multi-screen display device is characterized in that it is applied to an AP chip, and the device includes:
    处理单元,用于生成多张屏幕图片;a processing unit for generating multiple screen pictures;
    所述处理单元,还用于若第一差值大于预设差值,将所述多张屏幕图片的分辨率宽度调整至目标分辨率宽度和/或将所述多张屏幕图片的分辨率高度调整至目标分辨率高度,得到多张中间图片,所述第一差值为所述多张屏幕图片中任一两张屏幕图片的分辨率高度或分辨率宽度的差值;The processing unit is further configured to adjust the resolution width of the multiple screen pictures to the target resolution width and/or adjust the resolution height of the multiple screen pictures if the first difference is greater than the preset difference. Adjusting to the target resolution height to obtain multiple intermediate pictures, the first difference is the difference between the resolution height or resolution width of any two screen pictures in the multiple screen pictures;
    所述处理单元,还用于将所述多张中间图片进行拼接,得到目标图片;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.
  10. 根据权利要求9所述的装置,其特征在于,所述处理单元还用于:The device according to claim 9, wherein the processing unit is further used for:
    所述若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩。If the total bandwidth required for pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of a single-screen physical interface, compress the multiple intermediate pictures.
  11. 根据权利要求10所述的装置,其特征在于,在若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩方面,所述处理单元具体用于:The device according to claim 10, wherein if the total bandwidth required for the pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of the single-screen physical interface, compressing the multiple intermediate pictures, the The above processing unit is specifically used for:
    按照第一方向将所述多张中间图片进行拼接,得到拼接图片,所述第一方向为所述中间图片的行方向;Stitching the plurality of intermediate pictures according to a first direction to obtain a stitched picture, the first direction being the row direction of the intermediate pictures;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽、和/或所述拼接图像的分辨率宽度大于所述单屏物理接口的最大分辨率宽度,将所述拼接图片或至少一张中间图片沿所述第一方向进行像素压缩、或者将所述拼接图片或所述至少一张中间图片进行色度压缩。If 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, the Performing pixel compression along the first direction on the spliced picture or at least one intermediate picture, or performing chroma compression on the spliced picture or the at least one intermediate picture.
  12. 根据权利要求10所述的装置,其特征在于,在若所述多张中间图片的像素传输需要的总带宽大于单屏物理接口的最大输出带宽,对所述多张中间图片进行压缩方面,所述处理单元具体用于:The device according to claim 10, wherein if the total bandwidth required for the pixel transmission of the multiple intermediate pictures is greater than the maximum output bandwidth of the single-screen physical interface, compressing the multiple intermediate pictures, the The above processing unit is specifically used for:
    按照第二方向将所述多张中间图片进行拼接,得到拼接图片,所述第二方向为所述中间图片的列方向;Stitching the plurality of intermediate pictures according to a second direction to obtain a stitched picture, the second direction being the column direction of the intermediate pictures;
    若所述拼接图像的分辨率×帧率大于所述单屏物理接口的最大输出带宽,和/或所述拼接图像的分辨率高度大于所述单屏物理接口的最大分辨率高度,将所述拼接图片或至少一张中间图片沿所述第二方向进行像素压缩、或者将所述拼接图片或所述至少一张中间图片进行色度压缩。If 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, the Performing pixel compression along the second direction on the spliced picture or at least one intermediate picture, or performing chroma compression on the spliced picture or the at least one intermediate picture.
  13. 根据权利要求9-12任一项所述的装置,其特征在于,所述处理单元还用于:The device according to any one of claims 9-12, wherein the processing unit is further configured to:
    分别将所述多张屏幕图片的分辨率宽度与单屏物理接口的最大分辨率宽度、所述多张屏幕图片的分辨率高度与单屏物理接口的最大分辨率高度进行比较,若第一屏幕图片的分辨率宽度大于所述单屏物理接口的最大分辨率宽度或所述第一屏幕图片的分辨率高度大于所述单屏物理接口的最大分辨率高度,则将所述第一屏幕图片做分辨率像素的宽高变换,所述多张屏幕图片包括所述第一屏幕图片。Comparing the resolution widths of the multiple screen pictures with the maximum resolution width of the single-screen physical interface, and the resolution heights of the multiple screen pictures with the maximum resolution height of the single-screen physical interface, if the first screen The resolution width of the picture is greater than the maximum resolution width of the single-screen physical interface or the resolution height of the first screen picture is greater than the maximum resolution height of the single-screen physical interface, then the first screen picture is made The width and height conversion of resolution pixels, the multiple screen pictures include the first screen picture.
  14. 一种多屏显示装置,其特征在于,应用于转接芯片,所述装置包括:A multi-screen display device is characterized in that it 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 target resolutions respectively, and the target resolution is the screen resolution of the 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.
  15. 根据权利要求14所述的装置,其特征在于,在将所述中间图片的分辨率进行调整方面,所述处理单元具体用于:The device according to claim 14, wherein, in terms of adjusting the resolution of the intermediate picture, the processing unit is specifically configured to:
    若所述中间图片的分辨率宽度小于目标分辨率宽度,将所述中间图片的分辨率宽度调整至所述目标分辨率宽度;If the resolution width of the intermediate picture is smaller than the target resolution width, adjusting the resolution width of the intermediate picture to the target resolution width;
    若所述中间图片的分辨率高度小于目标分辨率高度,将所述中间图片的分辨率高度调整至所述目标分辨率高度。If the resolution height of the intermediate picture is smaller than the target resolution height, adjusting the resolution height of the intermediate picture to the target resolution height.
  16. 根据权利要求14所述的装置,其特征在于,所述处理单元还用于:The device according to claim 14, wherein the processing unit is further used for:
    若所述中间图片的分辨率与目标分辨率相同、或在将所述中间图片的分辨率进行调整之前,对所述中间图片进行解压缩处理和/或宽高比例恢复处理。If the resolution of the intermediate picture is the same as the target resolution, or before the resolution of the intermediate picture is adjusted, decompression processing and/or aspect ratio recovery processing are performed on the intermediate picture.
  17. 一种芯片,其特征在于,所述芯片包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-5任一项所述的方法中的步骤的指令或如权利要求6-8任一项所述的方法中的步骤的指令。A chip, characterized in that the chip includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured by the processor Execution, the program includes instructions for executing the steps in the method according to any one of claims 1-5 or the steps in the method according to any one of claims 6-8.
  18. 一种芯片模组,其特征在于,包括收发组件和芯片,所述芯片包括处理器、存储器以及存储在所述存储器上的计算机程序或指令,所述处理器执行所述计算机程序或指令以实现权利要求1-5任一项所述的方法中的步骤的指令或如权利要求6-8任一项所述的方法中的步骤的指令。A chip module, characterized in that it includes a transceiver component and a chip, the chip includes a processor, a memory, and a computer program or instruction stored on the memory, and the processor executes the computer program or instruction to realize Instructions for steps in the method of any one of claims 1-5 or instructions for steps in the method of any one of claims 6-8.
  19. 一种电子设备,其特征在于,所述电子设备包括如权利要求17所述的芯片或如权利要求18所述芯片模组。An electronic device, characterized in that the electronic device comprises the chip as claimed in claim 17 or the chip module as claimed in claim 18.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-5任一项所述的方法的步骤或如权利要求6-8任一项所述的方法的步骤。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the method according to any one of claims 1-5 A step of a method or a step of a method as claimed in any one of claims 6-8.
PCT/CN2021/143411 2021-07-21 2021-12-30 Multi-screen display method and device WO2023000620A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110828379.5 2021-07-21
CN202110828379.5A CN113625981A (en) 2021-07-21 2021-07-21 Multi-screen display method and device

Publications (1)

Publication Number Publication Date
WO2023000620A1 true WO2023000620A1 (en) 2023-01-26

Family

ID=78380472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143411 WO2023000620A1 (en) 2021-07-21 2021-12-30 Multi-screen display method and device

Country Status (2)

Country Link
CN (1) CN113625981A (en)
WO (1) WO2023000620A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625982A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN113625981A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN114760401A (en) * 2022-04-14 2022-07-15 上海富瀚微电子股份有限公司 Method for directly expanding output video resolution of parallel interface of image processing chip
CN115065848B (en) * 2022-06-10 2023-11-17 展讯半导体(成都)有限公司 Display data transmission method, electronic equipment and module equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501418A (en) * 2013-09-17 2014-01-08 广东威创视讯科技股份有限公司 Image resizing splicing method and system and image resizing splicing control device
CN105653224A (en) * 2015-12-31 2016-06-08 京东方科技集团股份有限公司 Tiled display system and display method thereof
CN105786431A (en) * 2016-03-04 2016-07-20 京东方科技集团股份有限公司 Jointing screen and method and device for achieving automatic distribution of display content of jointing screen
US20170270893A1 (en) * 2016-03-21 2017-09-21 I/O Interconnect, Ltd. Method for Divisionally Displaying Screen Pictures of Multiple Web Browser Pages of Handheld Computer on External Monitor
CN108008926A (en) * 2017-11-29 2018-05-08 上海龙旗科技股份有限公司 Double screen equipment epigraph information merges the method and apparatus of display
CN109656506A (en) * 2018-12-27 2019-04-19 大道网络(上海)股份有限公司 A kind of method that realizing adaptive resolution and its visualization system
CN111324320A (en) * 2018-12-14 2020-06-23 深圳市智车联技术有限公司 Multi-screen display method and device and SOC system
CN113625981A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN113625982A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815180A (en) * 2009-02-20 2010-08-25 东杰电气(上海)有限公司 Signal self-adaptive adapter plate of display screen interface
CN105739934B (en) * 2014-12-11 2018-09-21 华为终端(东莞)有限公司 Multi-screen splicing display processing method and equipment
CN111273875A (en) * 2018-12-05 2020-06-12 舜宇光学(浙江)研究院有限公司 Multi-screen display method and system, split screen device and electronic equipment
CN112423046A (en) * 2020-10-22 2021-02-26 深圳Tcl新技术有限公司 Method, device and equipment for transmitting video data and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501418A (en) * 2013-09-17 2014-01-08 广东威创视讯科技股份有限公司 Image resizing splicing method and system and image resizing splicing control device
CN105653224A (en) * 2015-12-31 2016-06-08 京东方科技集团股份有限公司 Tiled display system and display method thereof
CN105786431A (en) * 2016-03-04 2016-07-20 京东方科技集团股份有限公司 Jointing screen and method and device for achieving automatic distribution of display content of jointing screen
US20170270893A1 (en) * 2016-03-21 2017-09-21 I/O Interconnect, Ltd. Method for Divisionally Displaying Screen Pictures of Multiple Web Browser Pages of Handheld Computer on External Monitor
CN108008926A (en) * 2017-11-29 2018-05-08 上海龙旗科技股份有限公司 Double screen equipment epigraph information merges the method and apparatus of display
CN111324320A (en) * 2018-12-14 2020-06-23 深圳市智车联技术有限公司 Multi-screen display method and device and SOC system
CN109656506A (en) * 2018-12-27 2019-04-19 大道网络(上海)股份有限公司 A kind of method that realizing adaptive resolution and its visualization system
CN113625981A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN113625982A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device

Also Published As

Publication number Publication date
CN113625981A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
WO2023000620A1 (en) Multi-screen display method and device
WO2023000621A1 (en) Multi-screen display method and apparatus
US10402940B2 (en) Method and system for accelerating video preview digital camera
WO2017113951A1 (en) Spliced display system and display method therefor
US20130057567A1 (en) Color Space Conversion for Mirror Mode
US11463715B2 (en) Image scaling
CN105657485A (en) Audio/video playing equipment
US20120314777A1 (en) Method and apparatus for generating a display data stream for transmission to a remote display
US20200327863A1 (en) Video frame interfaces for logically-defined pixels
WO2020248838A1 (en) Display apparatus and method for driving same
US20090153434A1 (en) Display assistant system
CN114020228A (en) Screen display method and device
CN108345559B (en) Virtual reality data input device and virtual reality equipment
CN110121887B (en) Video stream branching apparatus for bandwidth management and method of bandwidth management
US9239697B2 (en) Display multiplier providing independent pixel resolutions
CN111554248A (en) Liquid crystal display chip
CN104717397A (en) Image data processing method and electronic device
US10049002B2 (en) Display interface bandwidth modulation
KR20210032857A (en) Display apparatus and control method thereof
CN113377313B (en) Multi-screen multiplexing display device and method
TWI486055B (en) An image signal send device, receive device, transmission system, and method thereof
WO2019111815A1 (en) Image processing apparatus and display apparatus
CN212461112U (en) Liquid crystal display chip
CN105407311A (en) Television receiving signal processing method and device
TW201941593A (en) Projection display apparatus and display method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE