Resolution adaptive method and video playing device
Through collaborative work between the video processor and the sending card, filling the display area and sending video sources with standard resolution, the problem that video playback devices cannot perform point-to-point playback is solved, and high-quality video display is achieved.
Patent Information
- Application Number
- CN202411328005.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-10
AI Technical Summary
Existing video playback devices cannot perform point-to-point playback on display screens with different screen resolutions, resulting in distortion problems in video display.
By filling the display area in the video processor based on the resolution of the video source and the standard resolution of the video transmission interface, the target video source is generated, and a zoom-off instruction is sent to the sending card, so that the sending card can turn the target video source at a standard resolution Send to the display screen to realize point-to-point playback of the video source.
It ensures that the video source is free of distortion during transmission, realizes one-to-one mapping of pixels, maintains the sharpness and details of the image, and avoids the problem of image distortion.
Smart Images

Figure CN119299776A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display technology and relates to a resolution adaptive method and a video playback device. Background Art
[0002] The screen resolution of display screens in different application scenarios is different. For example, large screens in shopping malls, large outdoor advertising screens, billboards beside highways and other display screens are all composed of display modules with different numbers and spacings, and the screen resolution of the display screens is different.
[0003] Currently, the video playback device used to light up the display screen adopts the processing architecture of the system-on-chip (SOC) and the sending card. For the display screens with different screen resolutions mentioned above, it is usually impossible to perform point-to-point playback of the video. Summary of the invention
[0004] The present application provides a resolution adaptive method and a video playback device, which can solve the problem that current video playback devices cannot perform point-to-point playback of videos.
[0005] A first aspect of an embodiment of the present application provides a resolution adaptive method, the resolution adaptive method is applied to a video playback device, the video playback device includes a video processor and a sending card, the resolution adaptive method includes:
[0006] When playing the video source, the video processor fills the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area; the valid display area is an area filled with video content in the video source;
[0007] The video processor sends the target video source and a zoom-off instruction to the sending card;
[0008] The sending card sends the target video source to the display screen at the standard resolution according to the received zoom-off instruction, so that the display screen displays the effective display area in the target video source.
[0009] In a first aspect of the embodiment of the present application, a display screen displays only the effective display area in the target video source, thereby achieving point-to-point playback of the video source.
[0010] A second aspect of the embodiment of the present application further provides a video playback device, the video playback device comprising a video processor and a sending card;
[0011] When playing a video source, the video processor is used to fill the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area; the valid display area is an area filled with video content in the video source;
[0012] The video processor is also used to send the target video source and a zoom-off instruction to the sending card;
[0013] The sending card is used to send the target video source to the display screen at the standard resolution according to the received zoom-off instruction, so that the display screen displays the effective display area in the target video source.
[0014] In a second aspect of the embodiment of the present application, a display screen displays only the effective display area in the target video source, thereby achieving point-to-point playback of the video source.
[0015] In an embodiment of the present application, when playing a video source, the video processor fills the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, and obtains a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area, so that the resolution of the target video source is adapted to the video transmission interface, so that the video processor can send the video source (actually sending the target video source) to the sending card through the video transmission interface without scaling the video source, so that the video source is not distorted during the transmission process between the video processor and the sending card; then, the present application sends the target video source and the scaling off instruction to the sending card, and the sending card sends the target video source to the display screen at the standard resolution, that is, the sending card directly sends the target video source to the display screen without scaling it, so the video source is not distorted during the transmission process between the sending card and the display screen. In an embodiment of the present application, when the resolution of the display screen and the screen body is the same as the resolution of the video source, the effective display area in the target video source is displayed only by the display screen, so that the point-to-point playback of the video source is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of the structure of a video playback system provided in an embodiment of the present application;
[0017] Figure 2 A schematic diagram of a first implementation flow of the resolution adaptive method provided in an embodiment of the present application;
[0018] Figure 3A schematic diagram of the implementation flow of step 101 of the resolution adaptation method provided in an embodiment of the present application;
[0019] Figure 4 A schematic block diagram of a video screen for filling a display area of a video source provided in an embodiment of the present application;
[0020] Figure 5 A schematic diagram of the implementation process of displaying a user interaction interface provided in an embodiment of the present application;
[0021] Figure 6 A schematic diagram of a second implementation flow of the resolution adaptive method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0023] It should be understood that in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0024] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0025] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0026] like Figure 1As shown, it is a schematic diagram of the architecture of the video playback system provided by the embodiment of the present application, and the video playback system may include a video playback device 110 and a display screen 120, and the video playback device 110 adopts the architecture of a video processor 111+sending card 112, wherein the video processor 111 can be implemented using a system-level chip (SOC). In the related technical scheme, the SOC is used to complete the construction of the system software and decode the video source, and send the decoded video source to the sending card through the VBO (V-By-One) video transmission interface, and the sending card receives the complete picture and splits it to the display screen for display. Since the video transmission format of the VBO video transmission interface is fixed, 2K or 4K screen parameters are used for transmission. Therefore, when the resolution of the video source is not equal to the 2K or 4K screen parameters corresponding to the VBO video transmission interface, the SOC needs to scale the video source to 2K or 4K resolution. In addition, for display screens of different resolutions, it is also necessary to use the scaling technology of the sending card to realize screen display.
[0027] Since the video source is scaled twice by the SOC and the sending card during the intermediate transmission, and the scaling algorithms are different, even if the resolution of the video source is consistent with the screen resolution of the display, there will be a difference between the video source and the displayed image, and point-to-point display cannot be achieved, resulting in a poor display effect of the display.
[0028] For example, the display screen is a 540*960 advertising screen in a shopping mall, and the promotional film played is a 540*960 advertising source provided by the merchant. When playing the advertising source, the SOC will decode the advertising source, enlarge the advertising source, and send it to the sending card with a resolution of 2K or 4K. The sending card will then reduce the advertising source according to the resolution of the display screen and send it to the display screen for display. Since the advertising source has been enlarged for the first time and then reduced by the sending card before being sent to the display screen for display, and the algorithms for the two scalings are different, the advertising source will be distorted on the display screen and cannot be played point-to-point.
[0029] In the embodiment of the present application, the above point-to-point playback means that the resolution of the video source is completely matched with the physical resolution of the display screen, thereby achieving a one-to-one mapping of pixels. At the same time, this display method ensures the clarity and detail of the image and avoids the problem of image distortion.
[0030] In order to solve the above technical problems, an embodiment of the present application provides a resolution adaptive method, which can solve the problem that the current video playback device cannot play the video point-to-point, resulting in distortion in the video display.
[0031] In the embodiment of the present application, the above-mentioned resolution adaptive method is applied to a video playback device, which may include a video processor and a sending card. Figure 2 As shown, the above-mentioned resolution adaptive method can be implemented by adopting the following steps 101 to 103.
[0032] Step 101, when playing a video source, the video processor fills the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
[0033] In the embodiment of the present application, the standard resolution is the resolution corresponding to the image transmission interface between the video processor and the sending card; the effective display area is the area filled with video content in the video source.
[0034] Since the image transmission interface between the video processor and the sending card adopts a fixed resolution (standard resolution), which is generally unchangeable, the video source needs to be converted into a video source with a standard resolution before being decoded and sent to the sending card. In the related art, as mentioned above, the video source is amplified to convert the video source into a video source with a standard resolution, which will cause distortion of the video source. In this regard, in the embodiment of the present application, the display area of the video source is filled based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, and a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area is obtained, so that the video source is not distorted during the transmission process between the video processor and the sending card, and point-to-point playback of the video source is achieved.
[0035] Specifically, in one embodiment of the present application, Figure 3 As shown, in the above step 101, the display area of the video source can be filled in the manner of the following steps 301 to 303 to obtain the target video source.
[0036] Step 301, obtaining an initial position for the display screen to read display data.
[0037] In an embodiment of the present application, the above-mentioned initial position can be the position of the first pixel point in the upper left corner of the display screen, or the position of the first pixel point in the upper right corner of the display screen, or the position of the pixel point that is a preset distance away from the first pixel point in the upper left corner of the display screen. The present application does not impose any restrictions on this.
[0038] Step 302: determining an invalid display area and a valid display area based on an initial position, a resolution of a video source, and a standard resolution.
[0039] In the embodiment of the present application, it is assumed that the initial position where the display screen reads the display data is the position of the first pixel in the upper left corner of the display screen, the display screen is a 540*960 shopping mall advertising screen, the promotional film played is a 540*960 advertising film source (video source) provided by the merchant, the video processor is SOC, and the VBO video transmission interface is used between the SOC and the sending card for video transmission, then Figure 4 As shown, the solid-line frame in the upper left corner of the display screen is the effective display area, and the dotted-line frame area outside the solid-line frame is the invalid display area. The total number of pixels in the effective display area and the invalid display area is equal to the standard resolution.
[0040] Step 303, placing the video source in the effective display area, and filling the invalid display area with a preset pixel value, to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and an effective display area.
[0041] like Figure 4 As shown, following the above example, you can place the 540*960 advertising source in Figure 4 The solid line area shown in the figure is filled with the dotted line area outside the solid line area with gray or other color pixel values to obtain a target video source with a resolution equal to the standard resolution (2K or 4K) and including an invalid display area and a valid display area. Then, the following steps 102 and 103 are executed to realize point-to-point playback of the advertising source.
[0042] In one embodiment of the present application, the above Figure 2 and Figure 3 In the illustrated embodiment, in the process of filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area, the screen resolution of the display screen can be first obtained, and the standard resolution corresponding to the video transmission interface closest to the screen resolution can be determined; then, based on the resolution of the video source and the standard resolution corresponding to the video transmission interface closest to the screen resolution, the display area of the video source can be filled to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area, so as to improve the real-time performance of data transmission and reduce the amount of data processing.
[0043] For example, when the standard resolution corresponding to the video transmission interface is 2K or 4K, the screen resolution of the display screen is 540*960, and the video source is a 540*960 advertising source, the standard resolution corresponding to the video transmission interface that is closest to the screen resolution is 2K. Therefore, the video source with a resolution of 540*960 can be filled based on the 2K resolution to obtain a target video source with a resolution equal to 2K and including an invalid display area and a valid display area, so as to improve the real-time performance of data transmission and reduce the amount of data processing.
[0044] Among them, 2K resolution refers to the resolution level of an image or video with a horizontal resolution of about 2000 pixels. 4K resolution refers to the horizontal resolution of an image or video with a resolution of about 4000 pixels and a vertical resolution of about 2000 pixels. When the standard resolution corresponding to the video transmission interface closest to the screen resolution is 4K, the video source can be filled based on the 4K resolution to obtain the following: Figure 4 The target video source shown has a resolution equal to 4K and includes an invalid display area and a valid display area.
[0045] Step 102: The video processor sends the target video source and a zoom-off instruction to the sending card.
[0046] In the embodiment of the present application, the zoom off instruction sent by the video processor to the sending card is used to instruct the sending card not to perform zoom processing on the target video source, and to directly send the target video source to the display screen after performing distortion-free processing such as segmentation.
[0047] Step 103: the sending card sends the target video source to the display screen at a standard resolution according to the received zoom-off instruction, so that the display screen displays the effective display area in the target video source.
[0048] In the embodiment of the present application, the point-to-point playback function of a non-standard resolution display screen is realized by utilizing the cooperation between the video processor and the sending card.
[0049] like Figure 4As shown, the above-mentioned effective display area (the area shown by the solid line) and the invalid display area (the area shown by the dotted line outside the area shown by the solid line) do not overlap each other. When the resolution of the display screen and the screen body is the same as the resolution of the video source, since the display screen only displays the effective display area in the target video source, the invalid display area in the target video source is not displayed, and in the process of sending the video source from the video processor to the sending card, only the invalid display area is filled, and no scaling processing is performed on the video source. The video source is located in the effective display area, which is the same as the original video source; in the process of sending the video source from the sending card to the display screen, the target video source with a resolution equal to the standard resolution and including the invalid display area and the effective display area is directly sent to the display screen, and no scaling processing is performed. Therefore, during the transmission of the video source between the video processor and the display screen, there is no scaling processing. When the display screen displays the video source, it is a distortion-free display, which realizes point-to-point playback of the video source, and solves the problem that the current video playback device cannot play the video point-to-point.
[0050] It should be noted that, in actual applications, the resolution of the video source is generally adapted to the screen resolution of the display screen used to display the video source. For example, when the video source is an advertisement source, when the user needs to place the advertisement source on a target display screen, in order to improve the playback effect of the advertisement, when producing the advertisement source, it will be customized to have a resolution equal to the screen resolution of the target display screen. Therefore, in an application scenario like this, in the embodiment of the present application, when playing the video source, the resolution of the video source can be assumed to be equal to the screen resolution of the display screen.
[0051] In order to improve the versatility of the video playback device and make it applicable to the situation where the resolution of the video source is different from the screen resolution, in one embodiment of the present application, in the above step 101, before filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, the screen resolution of the display screen can be obtained first, and it can be determined whether the screen resolution of the display screen is equal to the resolution of the video source; if the screen resolution of the display screen is equal to the resolution of the video source, the display area of the video source is filled based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, and a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area is obtained. If the screen resolution of the display screen is greater than or less than the resolution of the video source, the video source can be scaled according to the screen resolution of the display screen to obtain a video source to be displayed with a resolution equal to the screen resolution; then the display area of the video source to be displayed is filled based on the resolution of the video source to be displayed and the standard resolution corresponding to the video transmission interface, and a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area is obtained.
[0052] That is to say, the above Figure 2 The resolution adaptive method shown is applicable to the case where the screen resolution of the display screen is equal to the resolution of the video source. When playing the video source, the screen resolution of the display screen can be obtained first, and it can be determined whether the screen resolution of the display screen is equal to the resolution of the video source. When the screen resolution of the display screen is equal to the resolution of the video source, the above method can be directly executed. Figure 2 Alternatively, in an application scenario where the screen resolution of the default display screen is equal to the resolution of the video source, the above steps can be directly executed. Figure 2 The individual steps of the resolution adaptation method are shown.
[0053] When the screen resolution of the display screen is greater than or less than the resolution of the video source, or in an application scenario where the screen resolution of the display screen may not be equal to the resolution of the video source, the screen resolution of the display screen can be first obtained, and it can be determined whether the screen resolution of the display screen is equal to the resolution of the video source. If the screen resolution of the display screen is equal to the resolution of the video source, then steps 101 to 103 can be performed. When the screen resolution of the display screen is not equal to the resolution of the video source, the video source can be scaled according to the screen resolution of the display screen to obtain a video source to be displayed with a resolution equal to the screen resolution. Then, the display area of the video source to be displayed is filled based on the resolution of the video source to be displayed and the standard resolution corresponding to the video transmission interface to obtain a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area, and then steps 102 and 103 are performed. In this case, compared with the video display method of scaling the video source twice in the aforementioned related art, there is only one scaling process of the video source, and therefore, the final video playback quality will be better than the video playback quality in the related art.
[0054] In order to facilitate human-computer interaction, in addition to playing the video source, the video playback device also needs to display the user interaction interface (i.e., the system interface) when the video source is not playing. In one embodiment of the present application, when displaying the user interaction interface, the video processor needs to send the user interaction interface with a resolution equal to the standard resolution and the zoom-on instruction to the sending card; the sending card needs to scale the user interaction interface according to the screen resolution of the display screen and then send it to the display screen, so that the display screen can fully display the user interaction interface.
[0055] In the embodiment of the present application, the zoom-on instruction is used to instruct the sending card to scale the received video image according to the screen resolution of the display screen and then send it to the display screen.
[0056] In actual applications, the resolution of the user interaction interface is generally the same as the corresponding standard resolution of the video transmission interface. Therefore, when the screen resolution of the display screen is not equal to the corresponding standard resolution of the video transmission interface, the sending card needs to scale the user interaction interface according to the screen resolution of the display screen and then send it to the display screen so that the display screen can fully display the user interaction interface. Therefore, the video processor needs to send the scaling enable command to the sending card when sending the user interaction interface with a resolution equal to the standard resolution to the sending card.
[0057] In order to improve the display effect of the user interaction interface, in some embodiments of the present application, the video processor can also store user interaction interfaces with multiple resolutions, so that the video playback device can also display the user interaction interface as described above. Figure 2 The user interface is displayed with adaptive resolution in the manner shown. Specifically, Figure 5 As shown, in one embodiment of the present application, the aforementioned Figure 2 The resolution adaptive method shown also includes executing the following steps 501 to 502.
[0058] Step 501 , obtaining the screen resolution of the display screen, and determining a target user interaction interface having a resolution closest to the screen resolution.
[0059] For example, if the display screen is a 540*960 advertising screen in a shopping mall, the user interaction interface with a resolution closest to 540*960 stored in the video processor is the target user interaction interface.
[0060] Step 502, when displaying the user interaction interface, the video processor fills the display area of the target user interaction interface according to the resolution of the target user interaction interface and the standard resolution corresponding to the video transmission interface closest to the screen resolution, and obtains a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
[0061] In the embodiment of the present application, the process of filling the display area of the target user interface is similar to the process of filling the display area of the video source, which will not be repeated here.
[0062] In the embodiment of the present application, after executing step 502, it is necessary to execute steps 102 and 103 to achieve a complete display of the user interaction interface.
[0063] In an embodiment of the present application, when playing the video source and the above-mentioned user interaction interface, the video processor fills the display area of the video source and the target user interface after scaling based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, and obtains a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area, so that the resolution of the target video source is adapted to the video transmission interface, thereby enabling the video processor to send the video source (actually sending the target video source) to the sending card through the video transmission interface without scaling the video source, so that the video source is not distorted during the transmission process between the video processor and the sending card; then, the present application sends the target video source and a scaling off instruction to the sending card, and the sending card sends the target video source to the display screen at a standard resolution, that is, the sending card directly sends the target video source to the display screen without scaling it, so the video source is not distorted during the transmission process between the sending card and the display screen, thereby realizing point-to-point playback of the video source.
[0064] In order to better understand the technical solution of this application, Figure 1 Taking the video playback system shown as an example, the specific implementation process of the solution of the present application in practical applications is illustrated.
[0065] in, Figure 1 In the video playback system shown in the figure, the system software is built and the video decoding process is completed on the video processor. After a series of data processing such as data segmentation and format conversion is completed by the sending card, the image is output to the receiving card on the display screen. Figure 6 As shown, the implementation process includes steps 601 to 608.
[0066] Step 601, power on the system;
[0067] Step 602, obtaining the screen resolution of the LED display screen;
[0068] Step 603, the SOC sends a zoom-on instruction to the sending card, and the UI system interface is zoomed and displayed according to the screen resolution;
[0069] In the embodiment of the present application, after the video playback system is installed, the system is powered on and the UI system interface, i.e., the user interaction interface, is displayed by default. At this time, the picture data from the video processor (e.g., SOC) to the sending card is output according to the 2K or 4K screen parameters. After the sending card receives the picture, it is scaled and processed according to the screen resolution for display.
[0070] In an embodiment of the present application, the user interaction interface may be provided with functional management items such as file management, audio-visual playback control, and other commonly used setting items, such as language settings, etc.
[0071] Step 604, detect whether there is a video source that needs to be played, if so, execute step 605, if not, return to execute step 603, that is, stay at the display of the current UI system interface.
[0072] Step 605, start the video processor and send a zoom-off instruction to the sending card;
[0073] Step 606, press Figure 4 As shown, the video source is transplanted to the upper left corner vertex (0, 0) to fill the display area and obtain the target video source;
[0074] Step 607, continue polling and playing;
[0075] Step 608 , detect whether to exit the playback of the video source, if so, end and return to step 603 , if not, return to step 607 .
[0076] In this embodiment, since the initial position of the LED display screen is calculated and displayed from the upper left corner, the display area corresponding to the video source is exactly the size of the LED display screen, so point-to-point playback of the video source can be achieved. When the video source playback is completed and needs to return to the UI system interface, a zoom command needs to be sent to the sending card, so that the UI system interface can be fully displayed on the LED display screen.
[0077] It should be noted that in the embodiments of the present application, there is no restriction on the type of video processor and the type of video transmission interface between the video processor and the sending card.
[0078] In one embodiment of the present application, the above-mentioned video processor may be an OPS (Open Pluggable Specification) device or other video processing device in addition to SOC, and the above-mentioned video transmission interface may be an interface such as high-definition multimedia HDMI (High-Definition Multimedia Interface) in addition to VBO, and the present application does not impose any restrictions on this.
[0079] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described action sequence, and in some embodiments of the present application, certain steps can be performed in other sequences as needed. If there is substantially the same result, the method of the present invention is not limited to the process sequence shown.
[0080] The present application also provides a video playback device, such as Figure 1As shown, the video playback device 110 includes a video processor 111 and a sending card 112 .
[0081] When playing the video source, the video processor is used to fill the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, and obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area; the valid display area is the area filled with video content in the video source; the video processor is also used to send the target video source and a zoom-off instruction to the sending card; the sending card is used to send the target video source to the display screen at the standard resolution according to the received zoom-off instruction, so that the display screen displays the valid display area in the target video source.
[0082] In one embodiment, the video processor is a system-on-chip (SOC) or an open-source pluggable specification device (OPS device).
[0083] In one embodiment, the above-mentioned video transmission interface can be a VBO interface or an HDMI interface, which is not limited in this application.
[0084] Compared with the structure of traditional video playback devices, the present application does not restrict the type of video processor and the type of video transmission interface, which is equivalent to broadening the selection of types of video processors and video transmission interfaces.
[0085] In one embodiment, the video processor is also used to obtain the screen resolution of the display screen and determine whether the screen resolution of the display screen is equal to the resolution of the video source; if the screen resolution of the display screen is equal to the resolution of the video source, the display area of the video source is filled based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
[0086] In one embodiment, the video processor is further used to, when the screen resolution of the display screen is greater than or less than the resolution of the video source, scale the video source according to the screen resolution of the display screen to obtain a video source to be displayed whose resolution is equal to the screen resolution; fill the display area of the video source to be displayed based on the resolution of the video source to be displayed and the standard resolution corresponding to the video transmission interface to obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
[0087] In one embodiment, the video processor is further used to: obtain the initial position of the display screen for reading display data; determine the invalid display area and the valid display area based on the initial position, the resolution of the video source and the standard resolution; place the video source in the valid display area, and fill the display area of the invalid display area with a preset pixel value to obtain the target video source having a resolution equal to the standard resolution and including the invalid display area and the valid display area.
[0088] In one embodiment, the video processor is further used to: obtain the screen resolution of the display screen, and determine the standard resolution corresponding to the video transmission interface that is closest to the screen resolution;
[0089] The display area of the video source is filled based on the resolution of the video source and the standard resolution corresponding to the video transmission interface closest to the screen resolution, so as to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area.
[0090] In one embodiment, when displaying the user interaction interface, the video processor is also used to send the user interaction interface with a resolution equal to the standard resolution and a zoom-on instruction to the sending card; the sending card is also used to scale the user interaction interface according to the screen resolution of the display screen and send it to the display screen, so that the display screen can fully display the user interaction interface.
[0091] In one embodiment, the video processor is also used to obtain the screen resolution of the display screen and determine a target user interaction interface whose resolution is closest to the screen resolution; when displaying the user interaction interface, the video processor fills the display area of the target user interaction interface according to the resolution of the target user interaction interface and the standard resolution corresponding to the video transmission interface closest to the screen resolution, to obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
[0092] It should be noted that for the convenience and simplicity of description, the specific working process of the video playback device described above can refer to the above Figures 4 to 6 The corresponding process of the resolution adaptive method described in will not be described in detail here.
[0093] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0094] Those of ordinary skill in the art will appreciate that the steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0095] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of each component is only a logical function division, and there may be other division methods in actual implementation, such as multiple components can be combined or integrated into another system, or a feature can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through an interface, system or unit, which can be electrical, mechanical or other forms.
[0096] If implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0097] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A resolution adaptive method, characterized in that: The resolution adaptive method is applied to a video playback device, the video playback device includes a video processor and a sending card, and the resolution adaptive method includes: When playing the video source, the video processor fills the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area; the valid display area is an area filled with video content in the video source; The video processor sends the target video source and a zoom-off instruction to the sending card; The sending card sends the target video source to the display screen at the standard resolution according to the received zoom-off instruction, so that the display screen displays the effective display area in the target video source.
2. The resolution adaptive method according to claim 1, characterized in that: Before filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, the resolution adaptive method includes: Obtaining a screen resolution of the display screen, and determining whether the screen resolution of the display screen is equal to a resolution of the video source; The method of filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area includes: If the screen resolution of the display screen is equal to the resolution of the video source, the display area of the video source is filled based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
3. The resolution adaptive method according to claim 2, characterized in that: The method of filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area includes: If the screen resolution of the display screen is greater than or less than the resolution of the video source, scaling the video source according to the screen resolution of the display screen to obtain a video source to be displayed whose resolution is equal to the screen resolution; The display area of the video source to be displayed is filled based on the resolution of the video source to be displayed and the standard resolution corresponding to the video transmission interface to obtain a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
4. The resolution adaptive method according to any one of claims 1 to 3, characterized in that: The method of filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area includes: Obtaining an initial position for the display screen to read display data; Determining the invalid display area and the valid display area based on the initial position, the resolution of the video source, and the standard resolution; The video source is placed in the effective display area, and the invalid display area is filled with a preset pixel value to obtain the target video source having a resolution equal to the standard resolution and including the invalid display area and the effective display area.
5. The resolution adaptive method according to any one of claims 1 to 3, characterized in that: The method of filling the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface to obtain a target video source with a resolution equal to the standard resolution and including an invalid display area and a valid display area includes: Obtaining a screen resolution of the display screen, and determining a standard resolution corresponding to the video transmission interface that is closest to the screen resolution; The display area of the video source is filled based on the resolution of the video source and the standard resolution corresponding to the video transmission interface closest to the screen resolution, so as to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area.
6. The resolution adaptive method according to any one of claims 1 to 3, characterized in that: The resolution adaptive method further includes: When displaying the user interaction interface, the video processor sends the user interaction interface having a resolution equal to the standard resolution and a zoom-on instruction to the sending card; The sending card scales the user interaction interface according to the screen resolution of the display screen and sends the scaled user interaction interface to the display screen, so that the display screen fully displays the user interaction interface.
7. The resolution adaptive method according to any one of claims 1 to 3, characterized in that: The resolution adaptive method further includes: Obtaining a screen resolution of the display screen, and determining a target user interaction interface having a resolution closest to the screen resolution; When displaying the user interaction interface, the video processor fills the display area of the target user interaction interface according to the resolution of the target user interaction interface and the standard resolution corresponding to the video transmission interface that is closest to the screen resolution, and obtains a target video source whose resolution is equal to the standard resolution and includes an invalid display area and a valid display area.
8. A video playback device, characterized in that: The video playback device includes a video processor and a sending card; When playing a video source, the video processor is used to fill the display area of the video source based on the resolution of the video source and the standard resolution corresponding to the video transmission interface, to obtain a target video source having a resolution equal to the standard resolution and including an invalid display area and a valid display area; the valid display area is an area filled with video content in the video source; The video processor is also used to send the target video source and a zoom-off instruction to the sending card; The sending card is used to send the target video source to the display screen at the standard resolution according to the received zoom-off instruction, so that the display screen displays the effective display area in the target video source.
9. The video playback device according to claim 8, characterized in that: The video processor is a system-level chip or an open detachable standard device.
10. The video playback device according to claim 8 or 9, characterized in that: The video transmission interface is a VBO interface or a HDMI interface.