The invention content is as follows:
the invention aims to provide a method and a system for simultaneously displaying a main picture and a sub picture in a PIP picture in a vertical screen mode so as to overcome the defects of the prior art.
The invention is implemented by the following technical scheme: the method for simultaneously displaying the main picture and the sub picture in the PIP picture in a vertical screen mode comprises the following steps:
initializing a screen projection chip, and waiting for connection of external equipment;
the display main control chip collects the gravity sensing chip signal to obtain the current rotation state;
after the external equipment is connected to the screen projecting chip, the screen projecting chip adjusts whether the screen projecting chip rotates the input signal and outputs the signal to the display main control chip in the form of an HDMI (high definition multimedia interface) signal according to the rotation state signal obtained by the display main control chip;
when the display main control chip and the screen projection chip are in the current rotating state, the display main control chip rotates the main picture, the screen projection chip rotates the sub-picture, and the display main control chip adjusts the size of the sub-picture and outputs the sub-picture to the display screen end for displaying.
Preferably, the screen projecting chip is connected with an external device through a USB wire or a WiFi wireless connection.
Preferably, the sub-frame is included in the main frame, and the sub-frame and the main frame rotate simultaneously or do not rotate simultaneously, and the outlines of the sub-frame and the main frame are in the same horizontal and vertical directions.
Preferably, the number of the sub-pictures is one or more.
The invention also provides a system for simultaneously displaying the main picture and the sub-picture in the PIP picture on the vertical screen, which comprises a screen projecting chip, a display main control chip, a display screen and an external device signal interface, wherein the input end of the external device signal interface is connected with an external device, the output end of the external device signal interface is connected with the screen projecting chip, the output end of the screen projecting chip is connected with the display main control chip, and the display main control chip is connected with the display screen.
Preferably, the display main control chip is further connected with an HDMI interface and a TypeC interface, and the HDMI interface and the TypeC interface are connected with a main picture video signal source.
Preferably, the screen projection chip is an 8269D chip.
Preferably, the display main control chip is an RTD2797 chip.
Preferably, the external device signal interface is a WiFi chip or a USB interface.
The invention has the advantages that:
the invention realizes the vertical screen application of double pictures in a PIP mode, can transmit video signals of different external devices to a screen projecting chip of the host device in a wired or wireless mode, and simultaneously displays the pictures on the host device in a main picture mode and a sub-picture mode in a vertical screen mode by the video signals of the external devices and the video signals of the host device. In the using process of the user, one picture can be taken as a main picture, the other picture can be taken as an auxiliary picture, and meanwhile, more information and feedback can be considered.
The specific implementation mode is as follows:
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
As shown in fig. 3, the present invention provides a method for displaying a main picture and a sub-picture in a PIP picture simultaneously in a vertical screen, comprising:
initializing a screen projection chip, and waiting for connection of external equipment;
the display main control chip collects the gravity sensing chip signal to obtain the current rotation state;
after the external equipment is connected to the screen projecting chip, the screen projecting chip adjusts whether the screen projecting chip rotates the input signal and outputs the signal to the display main control chip in the form of an HDMI (high definition multimedia interface) signal according to the rotation state signal obtained by the display main control chip;
when the display main control chip and the screen projection chip are in the current rotating state, the display main control chip rotates the main picture, the screen projection chip rotates the sub-picture, and the display main control chip adjusts the size of the sub-picture and outputs the sub-picture to the display screen end for displaying.
In this embodiment, the screen projection chip is an 8269D chip. The 8269D chip can convert the video signal transmitted by the device terminal in the USB mode or the video signal transmitted by the Wifi mode (both mobile phones and computers support this function) into an HDMI signal, and output the HDMI signal to the receiving terminal. Meanwhile, 8269D can realize 90-degree rotation of the picture, the rotation can be controlled by a common IO port, the 8269D is given high and low level in a hardware mode in the example, and normal output of the picture or output after 90-degree rotation is realized.
In this embodiment, the display main control chip is an RTD2797 chip. The display main control chip RTD2797 can support the display of multiple pictures, and when the multiple pictures are displayed, the main picture can support 90-degree rotation and can receive HDMI type C signals. The RTD2797 can adjust the position, size, and scaling parameters of the sub-screen display, and can output the dot screen signal.
The working process of the method for simultaneously displaying the main picture and the sub picture in the PIP picture in the embodiment is as follows:
the display device displays the mode of the PIP after power-on. The screen projecting chip 8269D is initialized, and waits for a user to connect an external device (a mobile phone, a tablet or a notebook computer), and the screen projecting chip and the external device are in wired connection through a USB (universal serial bus) or in wireless connection through WiFi (wireless fidelity), wherein the wireless WiFi is connected in figure 1, and the USB is connected in figure 2. The RTD2797 can inform 8269D whether the current rotation state is in 8269D through 8269D rotation control pin. When the user connects the external device to 8269D, 8269D adjusts 8269D according to the obtained rotation state to output the input signal in HDMI signal form after rotating 8269D. When RTD2797 and 8269D have all obtained current rotation state, main picture can be rotated to RTD2797, and the sprite can be rotated to 8269D, and the size of sprite can be adjusted to RTD2797 simultaneously, then exports the display screen end and shows again.
As shown in fig. 4, the sub-frame is included in the main frame, and the sub-frame and the main frame rotate simultaneously or do not rotate simultaneously, and the outlines of the sub-frame and the main frame are in the same horizontal and vertical directions. In addition, fig. 4 shows one sub-screen in the present embodiment, but a plurality of sub-screens may be provided in other cases.
Example 2
The invention also provides a system for simultaneously displaying a main picture and a sub-picture in a PIP picture on a vertical screen, which comprises a screen projecting chip, a display main control chip, a display screen and an external device signal interface, wherein the input end of the external device signal interface is connected with an external device, the output end of the external device signal interface is connected with the screen projecting chip, the output end of the screen projecting chip is connected with the display main control chip, and the display main control chip is connected with the display screen.
The display main control chip is further connected with an HDMI (high-definition multimedia interface) and a TypeC (type C) interface, and the HDMI interface and the TypeC interface are connected with a main picture video signal source.
Wherein, the screen projection chip is an 8269D chip. The 8269D chip can convert the video signal transmitted by the device terminal in the USB mode or the video signal transmitted by the Wifi mode (both mobile phones and computers support this function) into an HDMI signal, and output the HDMI signal to the receiving terminal. Meanwhile, 8269D can realize 90-degree rotation of the picture, the rotation can be controlled by a common IO port, the 8269D is given high and low level in a hardware mode in the example, and normal output of the picture or output after 90-degree rotation is realized.
Wherein, the display main control chip is an RTD2797 chip. The display main control chip RTD2797 can support the display of multiple pictures, and when the multiple pictures are displayed, the main picture can support 90-degree rotation and can receive HDMI type C signals. The RTD2797 can adjust the position, size, and scaling parameters of the sub-screen display, and can output the dot screen signal.
The external equipment signal interface is a WiFi chip or a USB interface, and wireless screen projection or wired screen projection can be achieved through the WiFi chip or the USB interface. The wired screen projection is that the equipment transmits signals to a receiving end in a signal line mode, and the wireless screen projection means that the equipment transmits signals to the equipment receiving end in a wireless mode. For example, the external device (such as a mobile phone or a tablet) transmits a video signal to the screen projection chip 8269D in a wireless WiFi manner, the screen projection chip 8269D decodes the video signal and converts the decoded video signal into an HDMI signal, and the external device is connected to the screen projection chip 8269D through WiFi, that is, in a wireless screen projection manner.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.