Video frame image display device and method
By stripping the frame image and storing the sub-images using the target cache block and identity tag, the problem of excessive use of video frame image storage resources in interlaced scenes is solved, and efficient sub-image output is achieved.
Patent Information
- Application Number
- CN202211053188.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-08-31
AI Technical Summary
In image display technology, the active_3d video frame image in an interlaced scan scenario needs to be stripped into multiple sub-images and stored their identity information, resulting in excessive storage resources occupied.
The frame image is stripped through the processing unit, multiple sub-images and their identity information are generated, and the sub-images are stored and read using target cache blocks and identity tags in the storage unit to avoid additional storage of identity information.
It realizes that while ensuring the output order of sub-images, the utilization of storage resources is reduced and the problem of excessive use of sub-image identity information is avoided.
Smart Images

Figure CN115412760B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image display technology, and in particular to a device and method for displaying a video frame image. Background Art
[0002] In the fields of TV / Monitor, the frame rate of the video to be played often does not match the refresh rate of the panel. Therefore, before sending the video to be played to the panel, it is usually necessary to use frame rate conversion (frame-rate-convert) technology to output and display the video frame images contained in the video to be played according to the refresh rate of the panel, that is, first save the video frame images contained in the video to be played to the memory according to the frame rate of the video to be played, and then read the video frame images saved in the memory according to the refresh rate of the panel, so that the video frame images contained in the video to be played are output and displayed according to the refresh rate of the panel.
[0003] At present, for active_3d images in interlaced scanning scenarios, each complete image is divided into two field signals (upper field and lower field), and each field signal is divided into a left image and a right image (L image and R image). Therefore, for any video frame image contained in the active_3d video in the interlaced scanning scenario, it is necessary to first strip the video frame image into four sub-images, then save the four sub-images corresponding to the video frame image to the memory according to the frame rate of the video, and finally read the four sub-images saved in the memory according to the refresh rate of the panel. In order to ensure that multiple sub-images can be output and displayed in the order of upper field LR and lower field LR, it is necessary not only to save multiple sub-images in the memory, but also to save the identity information corresponding to each sub-image, and the identity information includes the upper field / lower field information and L image / R image information corresponding to the sub-image. However, the data volume of the identity information corresponding to the sub-image is large, so storing the identity information corresponding to each sub-image will occupy too much storage resources. Summary of the invention
[0004] The embodiments of the present application provide a device and method for displaying a video frame image, the main purpose of which is to ensure the output order of multiple sub-images without storing the identity information corresponding to each sub-image, so as to avoid storing the identity information corresponding to each sub-image and occupying too many storage resources.
[0005] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0006] In a first aspect, the present application provides a display device for a video frame image, the device comprising: a processing unit, configured to perform stripping processing on a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each of the sub-images;
[0007] A storage unit, used for sequentially storing each of the sub-images in a target cache block corresponding to each of the sub-images according to the identity information corresponding to each of the sub-images and a storage rate, wherein the target cache block has an identity tag for characterizing a reading order of the target cache block;
[0008] The reading unit is used to sequentially read the sub-images stored in each of the target cache blocks according to the reading order corresponding to the multiple target cache blocks and the preset reading rate, and sequentially output and display the multiple sub-images.
[0009] Optionally, the device further comprises:
[0010] A setting unit, used for setting a plurality of cache blocks in a memory before the processing unit performs stripping processing on the current frame image, wherein the number of the cache blocks is 4N, and N is a positive integer;
[0011] A generating unit, configured to generate an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks;
[0012] The adding unit is used to add each of the identity tags to each of the cache blocks.
[0013] Optionally, the storage unit includes:
[0014] A first determining module, configured to determine a storage order corresponding to the plurality of sub-images according to identity information corresponding to each of the sub-images;
[0015] A second determination module, configured to determine a target cache block corresponding to each of the sub-images based on the identity information corresponding to each of the sub-images and the identity tag in each of the cache blocks;
[0016] The storage module is used to store each of the sub-images in sequence into a target cache block corresponding to each of the sub-images according to the storage order corresponding to the multiple sub-images and the storage rate.
[0017] Optionally, the storage module is specifically used for:
[0018] Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks;
[0019] If the sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, the multiple sub-images corresponding to the current frame image are sequentially stored in the target cache blocks corresponding to each of the sub-images according to the storage order and the storage rate;
[0020] If a sub-image corresponding to the historical frame image has been stored in each of the target cache blocks, determining in sequence according to the storage order whether the sub-image corresponding to the historical frame image in each of the target cache blocks has been read;
[0021] If the sub-image corresponding to the historical frame image has not been read, then when the sub-image corresponding to the historical frame image is completely read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate;
[0022] If the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate.
[0023] Optionally, the plurality of target cache blocks include a target upper left image cache block, a target upper right image cache block, a target lower left image cache block, and a target lower right image cache block; the reading unit is specifically used to:
[0024] Detecting whether the target upper-field left image buffer block and the target upper-field right image buffer block both store sub-images corresponding to the current image frame;
[0025] If the target upper-field left image buffer block and the target upper-field right image buffer block do not both store the sub-image corresponding to the current frame image, then read the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image in sequence according to the reading order corresponding to the previous frame image and the preset reading rate, and output and display the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image in sequence;
[0026] If the target upper-field left image buffer block and the target upper-field right image buffer block both store the sub-image corresponding to the current image frame, then read the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block in sequence according to the reading order and the preset reading rate, and output and display the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block in sequence; detect whether the target lower-field left image buffer block and the target lower-field right image buffer block both store the sub-image corresponding to the current frame image;
[0027] If the target lower-field left image buffer block and the target lower-field right image buffer block do not both store the sub-image corresponding to the current frame image, then sequentially read the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block according to the reading order and the preset reading rate, and sequentially output and display the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block;
[0028] If the target lower-field left image cache block and the target lower-field right image cache block both store sub-images corresponding to the current frame image, the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are read in sequence according to the reading order and the preset reading rate, and the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are output and displayed in sequence.
[0029] In a second aspect, the present application further provides a method for displaying a video frame image, the method comprising:
[0030] Performing stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each of the sub-images;
[0031] According to the identity information and storage rate corresponding to each sub-image, each sub-image is sequentially stored in a target cache block corresponding to each sub-image, wherein the target cache block has an identity tag for characterizing the reading order of the target cache block;
[0032] The sub-images stored in each of the target cache blocks are read in sequence according to the reading order corresponding to the multiple target cache blocks and the preset reading rate, and the multiple sub-images are output and displayed in sequence.
[0033] Optionally, before performing the stripping process on the current frame image, the method further includes:
[0034] Setting a plurality of cache blocks in the memory, wherein the number of the cache blocks is 4N, where N is a positive integer;
[0035] Generating an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks;
[0036] Each of the identity tags is added to each of the cache blocks accordingly.
[0037] Optionally, storing each of the sub-images in sequence in a target cache block corresponding to each of the sub-images according to the identity information and storage rate corresponding to each of the sub-images comprises:
[0038] Determining a storage order corresponding to the plurality of sub-images according to the identity information corresponding to each of the sub-images;
[0039] Determine a target cache block corresponding to each of the sub-images based on the identity information corresponding to each of the sub-images and the identity tag in each of the cache blocks;
[0040] Each of the sub-images is sequentially stored in a target cache block corresponding to each of the sub-images according to a storage order corresponding to the plurality of sub-images and the storage rate.
[0041] Optionally, storing each of the sub-images in sequence into a target cache block corresponding to each of the sub-images according to the storage order and the storage rate corresponding to the multiple sub-images comprises:
[0042] Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks;
[0043] If the sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, the multiple sub-images corresponding to the current frame image are sequentially stored in the target cache blocks corresponding to each of the sub-images according to the storage order and the storage rate;
[0044] If a sub-image corresponding to the historical frame image has been stored in each of the target cache blocks, determining in sequence according to the storage order whether the sub-image corresponding to the historical frame image in each of the target cache blocks has been read;
[0045] If the sub-image corresponding to the historical frame image has not been read, then when the sub-image corresponding to the historical frame image is completely read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate;
[0046] If the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate.
[0047] Optionally, the plurality of target cache blocks include a target upper left image cache block, a target upper right image cache block, a target lower left image cache block, and a target lower right image cache block; the sub-images stored in each of the target cache blocks are sequentially read according to a reading order corresponding to the plurality of target cache blocks and a preset reading rate, and the plurality of sub-images are sequentially output and displayed, including:
[0048] Detecting whether the target upper-field left image buffer block and the target upper-field right image buffer block both store sub-images corresponding to the current image frame;
[0049] If the target upper-field left image buffer block and the target upper-field right image buffer block do not both store the sub-image corresponding to the current frame image, then read the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image in sequence according to the reading order corresponding to the previous frame image and the preset reading rate, and output and display the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image in sequence;
[0050] If the target upper-field left image buffer block and the target upper-field right image buffer block both store the sub-image corresponding to the current image frame, then read the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block in sequence according to the reading order and the preset reading rate, and output and display the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block in sequence; detect whether the target lower-field left image buffer block and the target lower-field right image buffer block both store the sub-image corresponding to the current frame image;
[0051] If the target lower-field left image buffer block and the target lower-field right image buffer block do not both store the sub-image corresponding to the current frame image, then sequentially read the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block according to the reading order and the preset reading rate, and sequentially output and display the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block;
[0052] If the target lower-field left image cache block and the target lower-field right image cache block both store sub-images corresponding to the current frame image, the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are read in sequence according to the reading order and the preset reading rate, and the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are output and displayed in sequence.
[0053] In a third aspect, an embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the video frame image display method described in the second aspect.
[0054] In a fourth aspect, an embodiment of the present application provides a device for displaying a video frame image, the device comprising a storage medium; and one or more processors, the storage medium being coupled to the processor, the processor being configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for displaying the video frame image described in the second aspect is executed.
[0055] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:
[0056] The present application provides a display device and method for video frame images. The display device for video frame images provided by the present application includes: a processing unit, a storage unit and a reading unit; first, the processing unit performs stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each sub-image; secondly, the storage unit stores each sub-image in sequence into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and a storage rate, and the target cache block has an identity tag for characterizing the reading order of the target cache block; finally, the reading unit reads the sub-images stored in each target cache block in sequence according to the reading order corresponding to the multiple target cache blocks and a preset reading rate, and outputs and displays the multiple sub-images in sequence. Because, in the present application, for any target cache block, the target cache block has an identity tag that represents the reading order of the target cache block, that is, the reading order of multiple target cache blocks can be determined by the identity tag in each target cache block, and the sub-image stored in each target cache block can be read in sequence according to the reading order and preset reading rate of multiple target cache blocks, and multiple sub-images can be output and displayed according to the reading order and preset reading rate. Therefore, there is no need to store the identity information corresponding to each sub-image additionally, thereby avoiding excessive occupation of storage resources by the identity information corresponding to the sub-image.
[0057] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0059] Figure 1 A block diagram showing a video frame image display device provided by an embodiment of the present application is shown;
[0060] Figure 2 A block diagram showing another video frame image display device provided by an embodiment of the present application is shown;
[0061] Figure 3 A flow chart of a method for displaying a video frame image provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0062] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0063] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0064] The present application embodiment provides a video frame image display device, such as Figure 1 As shown, the device specifically includes: a processing unit 11, which is used to perform stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each sub-image; a storage unit 12, which is used to store each sub-image in sequence into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and a storage rate, and the target cache block has an identity tag for characterizing the reading order of the target cache block; a reading unit 13, which is used to read the sub-image stored in each target cache block in sequence according to the reading order corresponding to the multiple target cache blocks and a preset reading rate, and output and display the multiple sub-images in sequence.
[0065] The following combination Figure 1 The video frame image display device shown in the figure specifically describes the detailed process of the video frame image display device outputting and displaying the video frame image:
[0066] Among them, the current frame image is specifically a video frame image that needs to be output and displayed in the video composed of active_3d images in the current interlaced scanning scene, and for the active_3d images in the current interlaced scanning scene, each complete image is divided into two field signals (upper field and lower field), and each field signal is divided into a left image and a right image (L image and R image), that is, after the current frame image is stripped, four sub-images can be obtained, including an upper field left image, an upper field right image, a lower field left image and a lower field right image, and identity information corresponding to each sub-image, and for any sub-image, the identity information corresponding to the sub-image is used to indicate that the image is specifically an upper field left image , the upper right image, the lower left image and the lower right image, therefore, when the sub-images are stored in the memory after stripping, the identity information corresponding to each sub-image needs to be stored together; wherein, the target cache block is the cache block corresponding to each sub-image corresponding to the current frame image, and when the cache blocks are set in the memory, an identity tag is added to each cache block according to the order and specific number when multiple cache blocks are set. In other words, each target cache block has a unique identity tag, and the reading order of multiple target cache blocks can be determined according to the identity tag in each cache block; wherein, the storage rate is the current video frame image written one by one by WDMA to The storage rate of the memory, WDMA is the execution subject of writing the sub-image directly into the memory, the storage rate is related to the video source and the frame rate of the video, and the video source includes but is not limited to: set-top box, U disk, etc. Different video sources determine different video frame rates, and different video frame rates determine different storage rates. Therefore, the storage rate of the video frame image can be determined by the video frame rate. For example, since a video frame image in a video composed of active_3d images needs to be stripped into four sub-images, therefore, when the corresponding frame rate of the video is 30i, its corresponding storage rate is 120i, and when the corresponding frame rate of the video is 60i, its corresponding storage rate is 240i; The reading order is the order in which the target cache blocks are read by RDMA. RDMA is the execution subject for reading sub-images in the memory. The reading order of multiple target cache blocks can be determined by the identity tag of each target cache block. Therefore, after determining the reading order, it is only necessary to read the sub-images stored in the target cache blocks in sequence based on the preset reading rate, so that multiple sub-images can be output and displayed in sequence; wherein the preset reading rate is determined according to the refresh rate corresponding to the panel of the display device. For example, assuming that the refresh rate corresponding to the panel of the display device is 120HZ, the preset reading rate is 120i, and the display device includes but is not limited to: TV, monitor, etc.
[0067] In the embodiment of the present application, the specific execution process of the above-mentioned processing unit 11, storage unit 12 and reading unit 13 is: the processing unit 11 first performs stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each sub-image, that is, four sub-images corresponding to the current frame image, such as sub-image A, sub-image B, sub-image C and sub-image D, and the identity information corresponding to sub-image A is the upper left image, the identity information corresponding to sub-image B is the upper right image, the identity information corresponding to sub-image C is the lower left image, and the identity information corresponding to sub-image D is the lower right image, and then the storage unit 12 stores each sub-image in sequence according to the identity information corresponding to each sub-image and the storage rate in the target cache block corresponding to each sub-image, and the target cache block has a sequence for characterizing the reading order of the target cache block. The identity tag is used to characterize the reading order of the target cache blocks. Therefore, according to the identity tag, it is determined that the target cache block 0 corresponding to the sub-image A is stored, the target cache block 1 corresponding to the sub-image B is stored, the target cache block 2 corresponding to the sub-image C is stored, and the target cache block 3 corresponding to the sub-image D is stored. Finally, the reading unit 13 reads the sub-image stored in each target cache block in sequence according to the reading order corresponding to the multiple target cache blocks and the preset reading rate, and outputs and displays the multiple sub-images in sequence. Since the identity tag is used to characterize the reading order of the target cache blocks, the sub-image A, sub-image B, sub-image C, and sub-image D can be read in sequence in the target cache block 0, the target cache block 1, the target cache block 2, and the target cache block 3 in accordance with the reading order and the preset reading rate, and the sub-image A, sub-image B, sub-image C, and sub-image D are output and displayed in sequence.
[0068] The present application provides a display device for video frame images, and the display device for video frame images provided by the present application includes: a processing unit, a storage unit and a reading unit; first, the processing unit performs stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each sub-image; secondly, the storage unit stores each sub-image in sequence into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and a storage rate, and the target cache block has an identity tag for characterizing the reading order of the target cache block; finally, the reading unit reads the sub-images stored in each target cache block in sequence according to the reading order corresponding to the multiple target cache blocks and a preset reading rate, and outputs and displays the multiple sub-images in sequence. Because, in the present application, for any target cache block, the target cache block has an identity tag that represents the reading order of the target cache block, that is, the reading order of multiple target cache blocks can be determined by the identity tag in each target cache block, and the sub-image stored in each target cache block can be read in sequence according to the reading order and preset reading rate of multiple target cache blocks, and multiple sub-images can be output and displayed according to the reading order and preset reading rate. Therefore, there is no need to store the identity information corresponding to each sub-image additionally, thereby avoiding excessive occupation of storage resources by the identity information corresponding to the sub-image.
[0069] The present application also provides another video frame image display device, such as Figure 2 As shown, the following combination Figure 2 To explain:
[0070] Further, such as Figure 2 As shown, the device also includes: a setting unit 14, which is used for the processing unit 11 to set a plurality of cache blocks in the memory before stripping the current frame image, wherein the number of cache blocks is 4N, and N is a positive integer; a generating unit 15, which is used to generate an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks; and an adding unit 16, which is used to add each identity tag to each cache block.
[0071] Among them, since four sub-images will be stripped from each video frame image, in order to store the four sub-images corresponding to each video frame image separately, the number of multiple cache blocks needs to be set to a multiple of 4, and the specific number of multiple cache blocks can be set according to user definition, and this embodiment does not make a specific limitation. Among them, the setting order corresponding to the multiple cache blocks is the order in which the multiple cache blocks are set in the memory. For example, block 0, block 1, block 2...block 7 are set in the memory in sequence, then the setting order of the 8 blocks is (1) block 0, (2) block 1...(8) block 7 ; Wherein, the identity tag is specifically a binary tag, and the first bit of the binary code of the binary tag (i.e., the lowest bit of the binary code) is used to represent the left / right image information in the identity information corresponding to the sub-image that should be stored in the target cache block, and the second bit of the binary code (i.e., the second lowest bit of the binary code) is used to represent the upper / lower field information in the identity information corresponding to the sub-image that should be stored in the target cache block, and the other bits of the binary code are used to represent the position information of each target cache block in multiple cache blocks, and the specific number of bits of the binary tag is determined according to the number and setting order of the multiple cache blocks. For example, when four cache blocks are sequentially set, namely, block 0, block 1, block 2, and block 3, and the corresponding setting order is (1) block 0, (2) block 1 ... (4) block 3, according to the binary label generation rule, only two binary codes are required to satisfy the uniqueness of the identity tag, that is, block 0 corresponds to 00, block 1 corresponds to 01, block 2 corresponds to 10, and block 3 corresponds to 11; and when eight cache blocks are sequentially set, namely, block 0, block 1, block 2, block 3, block 4, block 5, block 6, and block 7, and the corresponding setting order is (1) block 0, (2) block 1 ... (8) block 7, according to the binary label generation rule, three binary codes are required. The binary code can satisfy the uniqueness of the identity tag. Therefore, block 0 corresponds to 000, block 1 corresponds to 001, block 2 corresponds to 010, block 3 corresponds to 011, block 4 corresponds to 100, block 5 corresponds to 101, block 6 corresponds to 110 and block 7 corresponds to 111, and so on. A unique binary tag can be set for each cache block. In this case, when the first binary code (that is, the lowest bit of the binary code) and the second binary code (that is, the second lowest bit of the binary code) are 01, then the aforementioned block 1 and block 5 both meet the requirements. If the third binary code is 0, it means that the cache block is block 1. If the third binary code is 1, the cache block is block 5.It can be seen that the bit width of the binary tag is determined by the number of multiple cache blocks, and based on the first binary code (i.e., the lowest bit of the binary code) and the second binary code (i.e., the second lowest bit of the binary code) of the binary tag, it is possible to determine which sub-image corresponding to which identity information is stored in each cache block, and then in combination with the binary code of other bits, the position information of the cache block can be determined, that is, the position of the cache block among the multiple cache blocks can be determined. In other words, after generating the identity tag corresponding to each cache block according to the number of multiple cache blocks and the corresponding setting order of the multiple cache blocks, each identity tag is added to each cache block accordingly, and based on each identity tag, it is possible to determine which sub-image of identity information is stored in the cache block.
[0072] In an embodiment of the present application, before the processing unit 11 performs stripping processing on the current frame image, the setting unit 14 first sets multiple cache blocks in the memory. The cache blocks need to be set in the memory in advance, that is, multiple cache blocks are divided into multiple cache blocks in the memory according to a fixed memory capacity, and then the generating unit 15 generates an identity tag corresponding to each cache block according to the number of the multiple cache blocks and the setting order corresponding to the multiple cache blocks, that is, generates an identity tag for each cache block for reading order, and then the adding unit 16 adds each identity tag to each cache block, thereby adding an identity tag to each cache block, so as to determine what kind of sub-image of identity information is stored in the cache block according to each identity tag.
[0073] Further, such as Figure 2 As shown, the storage unit 12 includes: a first determination module 121, used to determine the storage order corresponding to multiple sub-images according to the identity information corresponding to each sub-image; a second determination module 122, used to determine the target cache block corresponding to each sub-image based on the identity information corresponding to each sub-image and the identity tag in each cache block; a storage module 123, used to store each sub-image in turn in the target cache block corresponding to each sub-image according to the storage order and storage rate corresponding to the multiple sub-images.
[0074] The storage order is the order in which the multiple sub-images are stored in the multiple target cache blocks. Since the upper LR needs to be read first and the lower LR needs to be read later when reading, in order to ensure the reading efficiency, the storage order of the multiple sub-images can be determined by the identity information corresponding to each sub-image, so that the upper LR is stored first and the lower LR is stored later. After the storage order of the multiple sub-images corresponding to the current image is determined, it is necessary to determine the cache block corresponding to each sub-image, that is, the target cache block. Since each cache block has an identity tag for representing the reading order, it is possible to determine which cache block of the multiple cache blocks each sub-image corresponding to the current image is to be stored in according to the identity tag. After the target cache block is determined, WDMA stores each sub-image in turn in the target cache block corresponding to each sub-image according to the storage order and storage rate corresponding to the multiple sub-images, so that the sub-images corresponding to the reading order can be directly obtained during the subsequent RDMA reading.
[0075] In the embodiment of the present application, the storage unit 12 is used to store each sub-image in sequence in the target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, and the specific storage process is: first, the first determination module 121 determines the storage order corresponding to the multiple sub-images according to the identity information corresponding to each sub-image, that is, the order in which the multiple sub-images are stored in the multiple target cache blocks, and then the second determination module 122 determines the target cache block corresponding to each sub-image based on the identity information corresponding to each sub-image and the identity tag in each cache block, that is, determines the cache blocks corresponding to each sub-image in the multiple cache blocks, that is, the target cache blocks, and finally, the storage module 123 stores each sub-image in sequence in the target cache block corresponding to each sub-image according to the storage order and storage rate corresponding to the multiple sub-images, so that in subsequent RDMA reading, the sub-images corresponding to the reading order can be directly obtained.
[0076] Further, such as Figure 2As shown, the storage module 123 is specifically used to: detect whether a sub-image corresponding to a historical frame image is stored in each target cache block; if a sub-image corresponding to a historical frame image is not stored in each target cache block, then multiple sub-images corresponding to a current frame image are stored in sequence in the target cache block corresponding to each sub-image according to a storage order and a storage rate; if a sub-image corresponding to a historical frame image is already stored in each target cache block, then it is determined in sequence in the storage order whether the sub-image corresponding to the historical frame image in each target cache block has been read; if the sub-image corresponding to the historical frame image has not been read, then when the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate; if the sub-image corresponding to the historical frame image has been read, then the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate.
[0077] Among them, the historical frame image is a frame image before the current frame image. Assuming that the current frame image is the 4th frame, when there are 4 cache blocks, that is, the target cache blocks corresponding to each sub-image corresponding to the current frame image and the target cache blocks corresponding to each sub-image corresponding to the previous frame image are the same 4 cache blocks. At this time, the historical frame image refers to the previous frame image, that is, the sub-image corresponding to the 3rd frame image; and when there are 8 cache blocks, assuming that the target cache blocks corresponding to each sub-image corresponding to the current frame image are the last 4 in the preset order, then the historical frame image may refer to the previous two frames, that is, the sub-image corresponding to the 2nd frame image. It should be noted that when the sub-image corresponding to the historical frame image has been stored in each target cache block, it is necessary to first determine whether the sub-image corresponding to the historical frame image in each target cache block has been read in the storage order, and then read it according to the read order. In this case, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block, and there are two specific storage methods. The first method is to store the sub-image corresponding to the current frame image after it is detected in sequence that the sub-images corresponding to the historical frame images in the target cache block are read out. The second method is to store each sub-image corresponding to the current frame image in the target cache block after the sub-images corresponding to the historical frame images in all target cache blocks are read out. However, since the sub-images need to be read in the predetermined order of the upper LR and the lower LR, when the corresponding lower LR in the historical frame image is read, the upper LR will not be read again, that is, the target cache block corresponding to the upper LR is in a state of waiting for the sub-image corresponding to the current frame image to be written. In order to ensure the reading efficiency, the second method is obviously not applicable. Therefore, the first method is selected in this embodiment to store the sub-images.
[0078] In the embodiment of the present application, the storage module 123 is used to store each sub-image in sequence in the target cache block corresponding to each sub-image according to the storage order and storage rate corresponding to the multiple sub-images, and the specific storage process is: first detect whether each target cache block stores the sub-image corresponding to the historical frame image, if not, it means that the target cache block does not store the sub-image corresponding to the historical frame image, that is, the target cache block has not yet stored the sub-image corresponding to any frame image, then at this time, according to the storage order and storage rate, the multiple sub-images corresponding to the current frame image are stored in sequence in the target cache block corresponding to each sub-image; if yes, it means that the target cache block has stored the sub-image corresponding to the historical frame image, then at this time, it is determined in sequence according to the storage order whether the sub-images in the target cache block are read, because if the target cache block stores the sub-image corresponding to the historical frame image, and When the sub-image is not read, it means that the preset reading rate at this time is slower than the storage rate, that is, the rate of WDMA is slower than the rate of RDMA, then the target cache block cannot store the sub-image corresponding to the current frame image, that is, the sub-image corresponding to the current frame image needs to wait until the sub-image corresponding to the historical frame image stored in the target cache block is read before it can be overwritten and stored. Therefore, when the sub-image corresponding to the historical frame image is not read, then when the sub-image corresponding to the historical frame image is read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and storage rate; otherwise, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and storage rate, so that each sub-image corresponding to the current frame image is stored in the corresponding target cache block to wait for the sub-image stored in the subsequent target cache block to be read.
[0079] Further, such as Figure 2As shown, the multiple target cache blocks include a target upper-field left image cache block, a target upper-field right image cache block, a target lower-field left image cache block, and a target lower-field right image cache block; the reading unit 13 is specifically used to: detect whether the target upper-field left image cache block and the target upper-field right image cache block both store sub-images corresponding to the current image frame; if the target upper-field left image cache block and the target upper-field right image cache block do not both store sub-images corresponding to the current frame image, then read the sub-images stored in the lower-field left image cache block and the lower-field right image cache block corresponding to the previous frame image in sequence according to the reading order corresponding to the previous frame image and the preset reading rate, and output and display the sub-images stored in the lower-field left image cache block and the lower-field right image cache block corresponding to the previous frame image in sequence; if the target upper-field left image cache block and the target upper-field right image cache block both store sub-images corresponding to the current image frame, then read the sub-images stored in the target upper-field left image cache block and the target upper-field right image cache block in sequence according to the reading order and the preset reading rate. The method comprises the steps of: detecting whether the sub-images corresponding to the current frame image are stored in the target lower-field left image cache block and the target lower-field right image cache block; if the sub-images corresponding to the current frame image are not stored in the target lower-field left image cache block and the target lower-field right image cache block, reading the sub-images stored in the target upper-field left image cache block and the target upper-field right image cache block in sequence according to a reading order and a preset reading rate, and outputting the sub-images stored in the target upper-field left image cache block and the target upper-field right image cache block in sequence; and outputting the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block in sequence if the sub-images corresponding to the current frame image are stored in the target lower-field left image cache block and the target lower-field right image cache block in sequence according to a reading order and a preset reading rate.
[0080] Among them, multiple target cache blocks include a target upper-field left image cache block, a target upper-field right image cache block, a target lower-field left image cache block and a target lower-field right image cache block, which are respectively used to store the upper-field left image, lower-field right image, lower-field left image and lower-field right image corresponding to the current frame image. Since the upper-field left image and the upper-field right image are both upper-field images, when reading, it is necessary to read the complete upper-field image to ensure that the upper-field left image and the upper-field right image are output in sequence. Similarly, the lower-field left image and the lower-field right image are both lower-field images. Therefore, when reading, it is necessary to read the complete lower-field image to ensure that the lower-field left image and the lower-field right image are output in sequence.
[0081] In an embodiment of the present application, the plurality of target cache blocks include a target upper left image cache block, a target upper right image cache block, a target lower left image cache block, and a target lower right image cache block. The reading unit is used to sequentially read the sub-images stored in each target cache block according to the reading order corresponding to the plurality of target cache blocks and the preset reading rate, and sequentially output and display the plurality of sub-images. The specific reading process is as follows: firstly, it is detected whether the target upper left image cache block and the target upper right image cache block both store the sub-images corresponding to the current image frame, that is, the upper left image and the lower right image corresponding to the current frame image. If not, it is indicated that At this time, the preset reading rate is slower than the storage rate, that is, the rate of WDMA is slower than the rate of RDMA, which means that the upper left image and the upper right image corresponding to the current frame image have not been stored completely or have not been stored yet. At this time, the sub-images stored in the lower left image cache block and the lower right image cache block corresponding to the previous frame image are read in sequence according to the reading order corresponding to the previous frame image and the preset reading rate, and are output and displayed in sequence, so that the lower left image and the lower right image corresponding to the previous frame image are used to achieve the frame filling effect; otherwise, it means that the preset reading rate is faster than the storage rate, that is, the rate of WDMA is faster than the rate of RDMA, then At this time, the sub-images stored in the target upper-field left image cache block and the target upper-field right image cache block are read in sequence according to the reading order and the preset reading rate, and are output and displayed in sequence; and after reading the sub-images stored in the target upper-field left image cache block and the target upper-field right image cache block, it is continued to detect whether the target lower-field left image cache block and the target lower-field right image cache block both store the sub-image corresponding to the current frame image. If not, it means that the preset reading rate at this time is slower than the storage rate, that is, the WDMA rate is slower than the RDMA rate, which means that the lower-field left image and the lower-field right image corresponding to the current frame image have not been fully stored or are still If the sub-images are not stored, then the sub-images stored in the target upper-field left image cache block and the target upper-field right image cache block are read in sequence according to the reading order and the preset reading rate, and are output and displayed in sequence, so that the upper-field left image and the upper-field right image corresponding to the current frame image are used to achieve the frame supplement effect. Otherwise, it means that the preset reading rate is faster than the storage rate, that is, the WDMA rate is faster than the RDMA rate. In this case, the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are read in sequence according to the reading order and the preset reading rate, so as to achieve complete reading of each sub-image corresponding to the current frame image.
[0082] Furthermore, as a response to the above Figure 1 and Figure 2In order to realize the device shown in the figure, another embodiment of the present application also provides a method for displaying a video frame image. This method embodiment corresponds to the aforementioned device embodiment. For ease of reading, this method embodiment will not repeat the details of the aforementioned device embodiment one by one, but it should be clear that the method in this embodiment can correspond to all the contents of the aforementioned device embodiment. This method is applied to ensure the output order of multiple sub-images without storing the identity information corresponding to each sub-image, so as to avoid storing the identity information corresponding to each sub-image. It will take up too much storage resources. Specifically, Figure 3 As shown, the method includes:
[0083] 201. Perform stripping processing on a current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each sub-image.
[0084] 202. Store each sub-image in sequence in a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate. The target cache block has an identity tag for characterizing a reading order of the target cache block.
[0085] 203 . Read the sub-image stored in each target cache block in sequence according to the reading order corresponding to the multiple target cache blocks and the preset reading rate.
[0086] Furthermore, before the current frame image is stripped, the method also includes: setting a plurality of cache blocks in the memory, wherein the number of the cache blocks is 4N, and N is a positive integer; generating an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks; and adding each of the identity tags to each of the cache blocks.
[0087] Furthermore, each of the sub-images is stored in sequence in a target cache block corresponding to each of the sub-images according to the identity information corresponding to each of the sub-images and the storage rate, including: determining a storage order corresponding to a plurality of the sub-images according to the identity information corresponding to each of the sub-images; determining a target cache block corresponding to each of the sub-images based on the identity information corresponding to each of the sub-images and the identity tag in each of the cache blocks; and storing each of the sub-images in sequence in a target cache block corresponding to each of the sub-images according to the storage order corresponding to the plurality of the sub-images and the storage rate.
[0088] Further, each of the sub-images is stored in sequence in a target cache block corresponding to each of the sub-images according to the storage order and storage rate corresponding to the multiple sub-images, including: detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks; if a sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, storing the multiple sub-images corresponding to the current frame image in sequence in a target cache block corresponding to each of the sub-images according to the storage order and storage rate; if a sub-image corresponding to the historical frame image is already stored in each of the target cache blocks, determining in sequence according to the storage order whether the sub-image corresponding to the historical frame image in each of the target cache blocks has been read; if the sub-image corresponding to the historical frame image has not been read, when the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and storage rate; if the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and storage rate.
[0089] Furthermore, the plurality of target cache blocks include a target upper left image cache block, a target upper right image cache block, a target lower left image cache block, and a target lower right image cache block; the sub-images stored in each of the target cache blocks are read in sequence according to the reading order corresponding to the plurality of target cache blocks and the preset reading rate, and the plurality of sub-images are output and displayed in sequence, including: detecting whether the target upper left image cache block and the target upper right image cache block both store the sub-image corresponding to the current image frame; if the target upper left image cache block and the target upper right image cache block If the sub-image corresponding to the current frame image is stored in both the target upper-field left image buffer block and the target upper-field right image buffer block, the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image are sequentially read according to the reading order corresponding to the previous frame image and the preset reading rate, and the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image are sequentially output and displayed; if the sub-image corresponding to the current image frame is not stored in both the target upper-field left image buffer block and the target upper-field right image buffer block, the target upper-field left image buffer block is sequentially read according to the reading order and the preset reading rate The method comprises the steps of: detecting the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block, and sequentially outputting and displaying the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block; detecting whether the target lower-field left image buffer block and the target lower-field right image buffer block both store the sub-images corresponding to the current frame image; and if the target lower-field left image buffer block and the target lower-field right image buffer block both store the sub-images corresponding to the current frame image, sequentially reading the target upper-field left image buffer block and the target upper-field right image buffer block according to the reading order and the preset reading rate. The sub-image stored in the target upper-field right image buffer block is read out in sequence according to the read order and the preset read rate, and the sub-images stored in the target lower-field left image buffer block and the target upper-field right image buffer block are output and displayed in sequence; if the target lower-field left image buffer block and the target lower-field right image buffer block both store sub-images corresponding to the current frame image, the sub-images stored in the target lower-field left image buffer block and the target lower-field right image buffer block are read out in sequence according to the read order and the preset read rate, and the sub-images stored in the target lower-field left image buffer block and the target lower-field right image buffer block are output and displayed in sequence.
[0090] The present application provides a display device and method for video frame images. The display device for video frame images provided by the present application includes: a processing unit, a storage unit and a reading unit; first, the processing unit performs stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each sub-image; secondly, the storage unit stores each sub-image in sequence into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and a storage rate, and the target cache block has an identity tag for characterizing the reading order of the target cache block; finally, the reading unit reads the sub-images stored in each target cache block in sequence according to the reading order corresponding to the multiple target cache blocks and a preset reading rate, and outputs and displays the multiple sub-images in sequence. Because, in the present application, for any target cache block, the target cache block has an identity tag that represents the reading order of the target cache block, that is, the reading order of multiple target cache blocks can be determined by the identity tag in each target cache block, and the sub-image stored in each target cache block can be read in sequence according to the reading order and preset reading rate of multiple target cache blocks, and multiple sub-images can be output and displayed according to the reading order and preset reading rate. Therefore, there is no need to store the identity information corresponding to each sub-image additionally, thereby avoiding excessive occupation of storage resources by the identity information corresponding to the sub-image.
[0091] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is executed, a device where the storage medium is located is controlled to execute the above-mentioned method for displaying video frame images.
[0092] The storage medium may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip. The embodiment of the present application also provides a video frame image display device, the device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the above-mentioned video frame image display method is executed.
[0093] The embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented:
[0094] Performing stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each of the sub-images;
[0095] According to the identity information and storage rate corresponding to each sub-image, each sub-image is sequentially stored in a target cache block corresponding to each sub-image, wherein the target cache block has an identity tag for characterizing the reading order of the target cache block;
[0096] The sub-images stored in each of the target cache blocks are read in sequence according to the reading order corresponding to the multiple target cache blocks and the preset reading rate, and the multiple sub-images are output and displayed in sequence.
[0097] Furthermore, before performing the stripping process on the current frame image, the method further includes:
[0098] Setting a plurality of cache blocks in the memory, wherein the number of the cache blocks is 4N, where N is a positive integer;
[0099] Generating an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks;
[0100] Each of the identity tags is added to each of the cache blocks accordingly.
[0101] Further, storing each of the sub-images in sequence into a target cache block corresponding to each of the sub-images according to the identity information and storage rate corresponding to each of the sub-images comprises:
[0102] Determining a storage order corresponding to the plurality of sub-images according to the identity information corresponding to each of the sub-images;
[0103] Determine a target cache block corresponding to each of the sub-images based on the identity information corresponding to each of the sub-images and the identity tag in each of the cache blocks;
[0104] Each of the sub-images is sequentially stored in a target cache block corresponding to each of the sub-images according to a storage order corresponding to the plurality of sub-images and the storage rate.
[0105] Furthermore, storing each of the sub-images in sequence into a target cache block corresponding to each of the sub-images according to the storage order and the storage rate corresponding to the multiple sub-images comprises:
[0106] Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks;
[0107] If the sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, the multiple sub-images corresponding to the current frame image are sequentially stored in the target cache blocks corresponding to each of the sub-images according to the storage order and the storage rate;
[0108] If a sub-image corresponding to the historical frame image has been stored in each of the target cache blocks, determining in sequence according to the storage order whether the sub-image corresponding to the historical frame image in each of the target cache blocks has been read;
[0109] If the sub-image corresponding to the historical frame image has not been read, then when the sub-image corresponding to the historical frame image is completely read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate;
[0110] If the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate.
[0111] Further, the plurality of target cache blocks include a target upper left image cache block, a target upper right image cache block, a target lower left image cache block, and a target lower right image cache block; the sub-images stored in each of the target cache blocks are sequentially read according to the reading order corresponding to the plurality of target cache blocks and the preset reading rate, and the plurality of sub-images are sequentially output and displayed, including:
[0112] Detecting whether the target upper-field left image buffer block and the target upper-field right image buffer block both store sub-images corresponding to the current image frame;
[0113] If the target upper-field left image buffer block and the target upper-field right image buffer block both store sub-images corresponding to the current frame image, then read the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image in sequence according to the reading order corresponding to the previous frame image and the preset reading rate, and output and display the sub-images stored in the lower-field left image buffer block and the lower-field right image buffer block corresponding to the previous frame image in sequence;
[0114] If the target upper-field left image buffer block and the target upper-field right image buffer block do not both store the sub-image corresponding to the current image frame, then sequentially read the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block according to the reading order and the preset reading rate, and sequentially output and display the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block; detect whether the target lower-field left image buffer block and the target lower-field right image buffer block both store the sub-image corresponding to the current frame image;
[0115] If the target lower-field left image buffer block and the target lower-field right image buffer block do not both store the sub-image corresponding to the current frame image, then sequentially read the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block according to the reading order and the preset reading rate, and sequentially output and display the sub-images stored in the target upper-field left image buffer block and the target upper-field right image buffer block;
[0116] If the target lower-field left image cache block and the target lower-field right image cache block both store sub-images corresponding to the current frame image, the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are read in sequence according to the reading order and the preset reading rate, and the sub-images stored in the target lower-field left image cache block and the target lower-field right image cache block are output and displayed in sequence.
[0117] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing program code that initializes the following method steps: stripping a current frame image to obtain multiple sub-images corresponding to the current frame image and identity information corresponding to each of the sub-images; storing each of the sub-images in sequence in a target cache block corresponding to each of the sub-images according to the identity information corresponding to each of the sub-images and a storage rate, wherein the target cache block has an identity tag for characterizing the reading order of the target cache block; reading the sub-images stored in each of the target cache blocks in sequence according to the reading order corresponding to the multiple target cache blocks and a preset reading rate, and outputting and displaying the multiple sub-images in sequence.
[0118] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps of the functions specified in the blocks or multiple blocks. In a typical configuration, the computing device includes one or more processors (CPU), input / output interfaces, network interfaces and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium. Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be a computer-readable instruction, a data structure, a module of a program or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves. It should also be noted that the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, commodity or device including the elements. It should be understood by those skilled in the art that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application can have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application should be included in the scope of the claims of this application.
Claims
1. A video frame image display device, characterized in that: include: A processing unit, configured to perform stripping processing on a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each of the sub-images, wherein the plurality of sub-images include an upper left image, an upper right image, a lower left image, and a lower right image; A storage unit, used for sequentially storing each of the sub-images in a target cache block corresponding to each of the sub-images according to the identity information and storage rate corresponding to each of the sub-images, wherein the target cache block has an identity tag for characterizing the reading order of the target cache block. Specifically, each of the sub-images is sequentially stored in the target cache block according to the storage order and storage rate corresponding to the plurality of sub-images after a sub-image corresponding to a historical frame image is not stored in the target cache block or a sub-image corresponding to a stored historical frame image is read; The reading unit is used to sequentially read the sub-images stored in each of the target cache blocks according to the reading order corresponding to the multiple target cache blocks and the preset reading rate, and sequentially output and display the multiple sub-images.
2. The device according to claim 1, characterized in that The device also includes: A setting unit, used for setting a plurality of cache blocks in a memory before the processing unit performs stripping processing on the current frame image, wherein the number of the cache blocks is 4N, and N is a positive integer; A generating unit, configured to generate an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks; The adding unit is used to add each of the identity tags to each of the cache blocks.
3. The device according to any one of claims 1 to 2, characterized in that: The storage unit comprises: A first determining module, configured to determine a storage order corresponding to the plurality of sub-images according to identity information corresponding to each of the sub-images; A second determination module, configured to determine a target cache block corresponding to each of the sub-images based on the identity information corresponding to each of the sub-images and the identity tag in each of the cache blocks; The storage module is used to store each of the sub-images in sequence into a target cache block corresponding to each of the sub-images according to the storage order corresponding to the multiple sub-images and the storage rate.
4. The device according to claim 3, characterized in that The storage module is specifically used for: Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks; If the sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, the multiple sub-images corresponding to the current frame image are sequentially stored in the target cache blocks corresponding to each of the sub-images according to the storage order and the storage rate; If a sub-image corresponding to the historical frame image has been stored in each of the target cache blocks, determining in sequence according to the storage order whether the sub-image corresponding to the historical frame image in each of the target cache blocks has been read; If the sub-image corresponding to the historical frame image has not been read, then when the sub-image corresponding to the historical frame image is completely read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate; If the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate.
5. A method for displaying a video frame image, characterized in that: include: Performing stripping processing on the current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each of the sub-images, wherein the plurality of sub-images include an upper left image, an upper right image, a lower left image, and a lower right image; According to the identity information and storage rate corresponding to each sub-image, each sub-image is sequentially stored in the target cache block corresponding to each sub-image, and the target cache block has an identity tag for characterizing the reading order of the target cache block. Specifically, each sub-image is sequentially stored in the target cache block according to the storage order and storage rate corresponding to the plurality of sub-images after a sub-image corresponding to a historical frame image is not stored in the target cache block or a sub-image corresponding to a stored historical frame image is read; The sub-images stored in each of the target cache blocks are read in sequence according to the reading order corresponding to the multiple target cache blocks and the preset reading rate, and the multiple sub-images are output and displayed in sequence.
6. The method according to claim 5, characterized in that Before stripping the current frame image, the method further includes: Setting a plurality of cache blocks in the memory, wherein the number of the cache blocks is 4N, where N is a positive integer; Generating an identity tag corresponding to each cache block according to the number of the plurality of cache blocks and the setting order corresponding to the plurality of cache blocks; Each of the identity tags is added to each of the cache blocks accordingly.
7. The method according to any one of claims 5 to 6, characterized in that: According to the identity information and storage rate corresponding to each sub-image, each sub-image is sequentially stored in a target cache block corresponding to each sub-image, including: Determining a storage order corresponding to the plurality of sub-images according to the identity information corresponding to each of the sub-images; Determine a target cache block corresponding to each of the sub-images based on the identity information corresponding to each of the sub-images and the identity tag in each of the cache blocks; Each of the sub-images is sequentially stored in a target cache block corresponding to each of the sub-images according to a storage order corresponding to the plurality of sub-images and the storage rate.
8. The method according to claim 7, characterized in that The method includes storing each of the sub-images in sequence into a target cache block corresponding to each of the sub-images according to the storage order and the storage rate corresponding to the plurality of sub-images, including: Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks; If the sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, the multiple sub-images corresponding to the current frame image are sequentially stored in the target cache blocks corresponding to each of the sub-images according to the storage order and the storage rate; If a sub-image corresponding to the historical frame image has been stored in each of the target cache blocks, determining in sequence according to the storage order whether the sub-image corresponding to the historical frame image in each of the target cache blocks has been read; If the sub-image corresponding to the historical frame image is read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate; If the sub-image corresponding to the historical frame image has been read, the sub-image corresponding to the current frame image is overwritten and stored in the corresponding target cache block according to the storage order and the storage rate.
9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the method for displaying a video frame image according to any one of claims 5 to 8.
10. A video frame image display device, characterized in that: The device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for displaying a video frame image according to any one of claims 5 to 8 is executed.
Citation Information
Patent Citations
Efficient plane and stereo digital video coding and decoding method
CN101547350A
Method of recording three-dimensional image data
CN101868970A
High-resolution optical disk for recording stereoscopic video, optical disk reproducing device, and optical disk recording device
CN1212812A
Optical disk reproducing device and optical disk recording device
CN1866378A
Image signal processing device, three-dimensional image display device, three-dimensional image transmission / display system, and image signal processing method
EP2230857A1
