CN115412760A - Video frame image display device and method - Google Patents

Video frame image display device and method Download PDF

Info

Publication number
CN115412760A
CN115412760A CN202211053188.7A CN202211053188A CN115412760A CN 115412760 A CN115412760 A CN 115412760A CN 202211053188 A CN202211053188 A CN 202211053188A CN 115412760 A CN115412760 A CN 115412760A
Authority
CN
China
Prior art keywords
sub
image
images
cache block
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211053188.7A
Other languages
Chinese (zh)
Inventor
曹永斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eswin Computing Technology Co Ltd
Haining Eswin IC Design Co Ltd
Original Assignee
Beijing Eswin Computing Technology Co Ltd
Haining Eswin IC Design Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Eswin Computing Technology Co Ltd, Haining Eswin IC Design Co Ltd filed Critical Beijing Eswin Computing Technology Co Ltd
Priority to CN202211053188.7A priority Critical patent/CN115412760A/en
Publication of CN115412760A publication Critical patent/CN115412760A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a display device and a display method for a video frame image, and relates to the technical field of image display. The apparatus of the present application includes: the processing unit is used for carrying out 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 sub-image; the storage unit is used for sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, and the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block; and the reading unit is used for sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the sub-images.

Description

Display device and method for video frame image
Technical Field
The present invention relates to the field of image display technologies, and in particular, to a display device and method for video frame images.
Background
In the field of TV/Monitor, the frame rate of the video to be played often does not match the refresh rate of the panel, so before sending the video to be played to the panel, it is usually necessary to output and display the video frame image contained in the video to be played according to the refresh rate of the panel by frame-rate-conversion (frame-rate-convert) technology, that is, the video frame image contained in the video to be played is firstly stored in the memory according to the frame rate of the video to be played, and then the video frame image stored in the memory is read according to the refresh rate of the panel, so that the video frame image contained in the video to be played is output and displayed according to the refresh rate of the panel.
Currently, for an active _3d image in an interlaced scene, each complete image is divided into two field signals (an upper field and a lower field), and each field signal is further divided into a left image and a right image (an L image and an R image), so for any video frame image included in an active _3d video in an interlaced scene, it is necessary to strip out four sub-images from the video frame image, store the four sub-images corresponding to the video frame image into a memory according to a video frame rate, and finally read the four sub-images stored in the memory according to a refresh rate of a panel. However, the data size of the identity information corresponding to the sub-images is large, and therefore, too much storage resources are occupied for storing the identity information corresponding to each sub-image
Disclosure of Invention
The embodiment of the application provides a display device and a display method for a video frame image, and mainly aims to avoid the need of storing identity information corresponding to each sub-image under the condition of ensuring the output sequence of a plurality of sub-images so as to avoid the situation that the identity information corresponding to each sub-image occupies too much storage resources.
In order to solve the above technical problem, the embodiments of the present application provide the following technical solutions:
in a first aspect, the present application provides an apparatus for displaying a video frame image, the apparatus comprising: the processing unit is used for carrying out stripping processing on a current frame image so as to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image;
the storage unit is used for sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, and the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block;
and the reading unit is used for sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the sub-images.
Optionally, the apparatus further comprises:
the setting unit is used for setting a plurality of cache blocks in a memory before the processing unit carries out stripping processing on the current frame image, wherein the number of the cache blocks is 4N, and N is a positive integer;
the generating unit is used for generating an identity tag corresponding to each cache block according to the number of the cache blocks and the setting sequence corresponding to the cache blocks;
and the adding unit is used for correspondingly adding each identity tag into each cache block.
Optionally, the storage unit includes:
the first determining module is used for determining the storage sequence corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image;
a second determining module, configured to determine, based on the identity information corresponding to each sub-image and the identity tag in each cache block, a target cache block corresponding to each sub-image;
and the storage module is used for sequentially storing each sub-image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images.
Optionally, the storage module is specifically configured to:
detecting whether each target cache block stores a sub-image corresponding to a historical frame image;
if the sub-images corresponding to the historical frame images are not stored in each target cache block, sequentially storing the sub-images corresponding to the current frame image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate;
if the sub-images corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the sub-images corresponding to the historical frame images in each target cache block are read or not according to the storage sequence;
if the sub-images corresponding to the historical frame images are not read, when the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame images into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate;
and if the sub-image corresponding to the historical frame image is read, storing the sub-image corresponding to the current frame image into the corresponding target cache block in an overlaying manner according to the storage sequence and the storage rate.
Optionally, the plurality of target cache blocks include a target top field left image cache block, a target top field right image cache block, a target bottom field left image cache block, and a target bottom field right image cache block; the reading unit is specifically configured to:
detecting 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 top field left image cache block and the target top field right image cache block do not store the sub-images corresponding to the current frame image, sequentially reading the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image according to the reading sequence corresponding to the previous frame image and the preset reading speed, and sequentially outputting and displaying the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image;
if the sub-images corresponding to the current image frame are stored in the target top field left image cache block and the target top field right image cache block, sequentially reading the sub-images stored in the target top field left image cache block and the target top field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target top field left image cache block and the target top field right image cache block; detecting 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 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, sequentially reading the sub-images stored in the target upper field left image cache block and the target upper field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target upper field left image cache block and the target upper field right image cache block;
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, sequentially reading the sub-images stored in the target lower field left image cache block and the target lower field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target lower field left image cache block and the target lower field right image cache block.
In a second aspect, the present application further provides a method for displaying a video frame image, where the method includes:
stripping a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image;
sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information and the storage rate corresponding to each sub-image, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block;
and sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and a preset reading rate, and sequentially outputting and displaying the sub-images.
Optionally, before performing the strip processing on the current frame image, the method further includes:
a plurality of cache blocks are arranged in a 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 cache blocks and the setting sequence corresponding to the cache blocks;
and correspondingly adding each identity tag to each cache block.
Optionally, sequentially storing each sub-image into the target cache block corresponding to each sub-image according to the identity information and the storage rate corresponding to each sub-image, includes:
determining a storage sequence corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image;
determining a 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;
and sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images.
Optionally, sequentially storing each of the sub-images into the target buffer block corresponding to each of the sub-images according to the storage sequence and the storage rate corresponding to the plurality of sub-images includes:
detecting whether a subimage corresponding to the historical frame image is stored in each target cache block;
if the sub-images corresponding to the historical frame images are not stored in each target cache block, sequentially storing the sub-images corresponding to the current frame images into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate;
if the sub-images corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the sub-images corresponding to the historical frame images in each target cache block are read or not according to the storage sequence;
if the sub-images corresponding to the historical frame images are not read, when the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame images into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate;
and if the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame image into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate.
Optionally, the plurality of target cache blocks include a target top field left image cache block, a target top field right image cache block, a target bottom field left image cache block, and a target bottom field right image cache block; sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and a preset reading rate, and sequentially outputting and displaying the sub-images, wherein the reading sequence comprises:
detecting whether the target top field left image cache block and the target top field right image cache block both store the sub-image corresponding to the current image frame;
if the sub-images corresponding to the current frame image are not stored in the target top field left image cache block and the target top field right image cache block, sequentially reading the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image according to the reading sequence corresponding to the previous frame image and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image;
if the target top field left image cache block and the target top field right image cache block both store the sub-images corresponding to the current image frame, sequentially reading the sub-images stored in the target top field left image cache block and the target top field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target top field left image cache block and the target top field right image cache block; detecting 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 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, sequentially reading the sub-images stored in the target upper field left image cache block and the target upper field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target upper field left image cache block and the target upper field right image cache block;
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, sequentially reading the sub-images stored in the target lower field left image cache block and the target lower field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target lower field left image cache block and the target lower field right image cache block.
In a third aspect, an embodiment of the present application provides a storage medium, where the storage medium includes a stored program, where when the program runs, a device on which the storage medium is located is controlled to execute the method for displaying a video frame image according to the second aspect.
In a fourth aspect, an embodiment of the present application provides a display apparatus for video frame images, the apparatus comprising a storage medium; and one or more processors, the storage medium coupled with the processors, the processors configured to execute program instructions stored in the storage medium; the program instructions are operable to perform the method of displaying a video frame image according to the second aspect.
By means of the technical scheme, the technical scheme provided by the application at least has the following advantages:
the application provides a display device and a method of video frame images, and the display device of the video frame images comprises: the device comprises a processing unit, a storage unit and a reading unit; firstly, a processing unit strips a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image; secondly, the storage unit sequentially stores each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block; and finally, sequentially reading the sub-images stored in each target cache block by the reading unit according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the plurality of sub-images. In the present application, for any one target cache block, the target cache block has an identity tag representing a reading order of the target cache block, that is, the reading order of a plurality of target cache blocks can be determined by the identity tag in each target cache block, that is, the sub-images stored in each target cache block can be sequentially read according to the reading order and the preset reading rate of the plurality of target cache blocks, and the plurality of sub-images can be output and displayed according to the reading order and the preset reading rate. Therefore, the identity information corresponding to each sub-image does not need to be additionally stored, and the storage resource is prevented from being excessively occupied by the identity information corresponding to the sub-images.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
fig. 1 is a block diagram illustrating a display device for displaying a video frame image according to an embodiment of the present disclosure;
FIG. 2 is a block diagram illustrating another display apparatus for displaying video frame images according to an embodiment of the present disclosure;
fig. 3 shows a flowchart of a method for displaying a video frame image according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
An embodiment of the present application provides a display device for video frame images, as shown in fig. 1, the device specifically includes: the processing unit 11 is configured to perform a stripping process on the current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image; the storage unit 12 is configured to sequentially store each sub-image into a target cache block corresponding to each sub-image according to the identity information and the storage rate corresponding to each sub-image, where the target cache block has an identity tag used for representing a reading sequence of the target cache block; the reading unit 13 is configured to sequentially read the sub-images stored in each target buffer block according to the reading sequence corresponding to the plurality of target buffer blocks and a preset reading rate, and sequentially output and display the plurality of sub-images.
The following describes in detail a process of outputting and displaying a video frame image by the display apparatus for video frame images, with reference to the display apparatus for video frame images shown in fig. 1:
the current frame image is specifically a video frame image which needs to be output and displayed currently in a video formed by active _3d images in a 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 (an upper field and a lower field), each field signal is divided into a left image and a right image (an L image and an R image), namely after the current frame image is stripped, four sub-images can be obtained, including the upper field left image, the upper field right image, the lower field left image and the 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 for indicating which of the upper field left image, the upper field right image, the lower field left image and the lower field right image the image specifically is, so that when the sub-images are stored in a memory after stripping, the identity information corresponding to each sub-image needs to be stored together; the target cache block is a cache block which is correspondingly stored for each sub-image corresponding to the current frame image, and when the cache block is set in the memory, identity tags are added to each cache block according to the sequence and specific quantity when a plurality of cache blocks are set, that is, each target cache block has a unique identity tag, and the reading sequence of the plurality of target cache blocks can be determined according to the identity tags in each cache block; wherein, the storage rate is a rate when the current video frame images are written into the memory one by the WDMA, the WDMA is an execution subject for directly writing the sub-images into the memory, the storage rate is related to the frame rates of the video source and the video, and the video source includes but is not limited to: the video source of the set top box, the U-disc, etc. determines the frame rate of the video differently, and the frame rate of the video determines the storage rate differently, so the storage rate of the video frame image can be determined by the frame rate of the video, for example, because one video frame image in the video formed by the active _3d image needs to be stripped into four sub-images, when the frame rate corresponding to the video is 30i, the corresponding storage rate is 120i, and when the frame rate corresponding to the video is 60i, the corresponding storage rate is 240i; the reading sequence is the sequence of the target cache blocks read by RDMA (remote direct memory Access), the RDMA is an execution subject for reading the sub-images in the memory, and the reading sequence of the target cache blocks can be determined by the identity tag of each target cache block, so that after the reading sequence is determined, the sub-images stored in the target cache blocks are sequentially read only on the basis of the preset reading rate, and the sub-images can be sequentially output and displayed; the preset reading rate is determined according to a refresh rate corresponding to a 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: televisions, displays, etc.
In the embodiment of the present application, the specific implementation procedures of the processing unit 11, the storage unit 12, and the reading unit 13 are as follows: the method comprises the steps that a processing unit 11 strips a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image, namely four sub-images corresponding to the current frame image, such as a sub-image A, a sub-image B, a sub-image C and a sub-image D, the identity information corresponding to the sub-image A is a top field left image, the identity information corresponding to the sub-image B is a top field right image, the identity information corresponding to the sub-image C is a bottom field left image, the identity information corresponding to the sub-image D is a bottom field right image, a storage unit 12 sequentially stores each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, an identity tag used for representing the reading sequence of a target cache blocks is arranged in the target cache block, namely the target cache block 0 stored corresponding to the sub-image A is determined according to the identity tag, the target cache block 1 stored corresponding to the sub-image B, the target cache block 2 stored corresponding to the sub-image C is read according to the identity tag, the target cache block 3 stored to the sub-image B, and the target cache block C is read according to the reading sequence of the target cache block, and the preset reading sequence of the sub-image A, and the target cache block C, and the pre-image D, and the sub-image display.
The present application provides a display device of a video frame image, including: the device comprises a processing unit, a storage unit and a reading unit; firstly, a processing unit strips a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image; secondly, the storage unit sequentially stores each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block; and finally, sequentially reading the sub-images stored in each target cache block by the reading unit according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the plurality of sub-images. In the present application, for any one target cache block, the target cache block has an identity tag representing a reading order of the target cache block, that is, the reading order of a plurality of target cache blocks can be determined by the identity tag in each target cache block, that is, the sub-images stored in each target cache block can be sequentially read according to the reading order and the preset reading rate of the plurality of target cache blocks, and the plurality of sub-images can be output and displayed according to the reading order and the preset reading rate. Therefore, the identity information corresponding to each sub-image does not need to be additionally stored, and the storage resource is prevented from being excessively occupied by the identity information corresponding to the sub-images.
An embodiment of the present application further provides another display apparatus for displaying a video frame image, as shown in fig. 2, which is explained below with reference to fig. 2:
further, as shown in fig. 2, the apparatus further includes: a setting unit 14, configured to set, by the processing unit 11, a plurality of buffer blocks in a memory before performing a stripping process on a current frame image, where the number of buffer blocks is 4n and n is a positive integer; the generating unit 15 is configured to generate an identity tag corresponding to each cache block according to the number of the cache blocks and a setting sequence corresponding to the cache blocks; an adding unit 16, configured to correspondingly add each identity tag to each cache block.
Since each video frame image is stripped to obtain four sub-images, the number of the plurality of cache blocks needs to be set to be a multiple of 4 for storing the four sub-images corresponding to each video frame image, and the specific number of the plurality of cache blocks can be set according to user definition, which is not specifically limited in this embodiment, wherein the setting sequence corresponding to the plurality of cache blocks is the sequence in which the plurality of cache blocks are set in the memory, for example, block 0, block 1, and block 2 \8230aresequentially set in the memory, block 7, and the setting sequence of 8 blocks is (1) block 0, (2) block 1 \8230, or (8) block 7; the identity tag is specifically a binary tag, a first bit binary code (i.e., the lowest bit of the binary code) of the binary tag is used for representing left/right image information in the identity information corresponding to the sub-image that should be stored in the target cache block, a second bit binary code (i.e., the second lowest bit of the binary code) is used for representing top/bottom field information in the identity information corresponding to the sub-image that should be stored in the target cache block, other bit binary codes are used for representing position information of each target cache block in the plurality of cache blocks, and the specific number of bits of the binary tag is determined according to the number and the setting order of the plurality of cache blocks. Illustratively, when 4 cache blocks, namely block 0, block 1, block 2 and block 3, are sequentially arranged, and the corresponding arrangement sequence is (1) block 0, (2) block 1 \8230, (4) block 3, according to the generation rule of the binary tag, only two-bit binary codes can meet the uniqueness of the identity tag, namely block 0 corresponds to 00, block 1 corresponds to 01, block 2 corresponds to 10 and block 3 corresponds to 11; when 8 cache blocks, i.e., block 0, block 1, block 2, block 3, block 4, block 5, block 6, and block 7 are sequentially arranged, and the corresponding arrangement order is (1) block 0, (2) block 1 \8230, (8) block 7, according to the binary tag generation rule, three binary codes are required to satisfy the uniqueness of the identity tag, so that 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 arranged for each cache block, in which case, when the first bit binary code (i.e., the lowest bit of the binary code) and the second bit binary code (i.e., the next lowest bit of the binary code) are 01, both the aforementioned block 1 and block 5 correspond, and if the third bit of the binary code is 0, the block 1 and the third bit of the block 5 are 1. As can be seen, the bit width of the binary tag is determined by the number of the plurality of cache blocks, and according to the first bit binary code (i.e., the lowest bit of the binary code) and the second bit binary code (i.e., the second lowest bit of the binary code) of the binary tag, what kind of the sub-image corresponding to the identity information is stored in each cache block can be determined, and then the binary codes of other bits are matched to determine the location information of the cache block, i.e., the location of the cache block in the plurality of cache blocks is determined, that is, after the identity tag corresponding to each cache block is generated according to the number of the plurality of cache blocks and the setting sequence corresponding to the plurality of cache blocks, each identity tag is correspondingly added to each cache block, and what kind of the sub-image corresponding to the identity information is stored in the cache block can be determined according to each identity tag.
In this embodiment, before the processing unit 11 performs the stripping processing on the current frame image, the setting unit 14 sets a plurality of buffer blocks in the memory, where the buffer blocks need to be set in the memory in advance, that is, the memory is divided into the plurality of buffer blocks according to a fixed memory capacity, the generating unit 15 generates an identity tag corresponding to each buffer block according to the number of the plurality of buffer blocks and a setting sequence corresponding to the plurality of buffer blocks, that is, generates an identity tag for reading a sequence of each buffer block, and the adding unit 16 correspondingly adds each identity tag to each buffer block, so as to add the identity tag to each buffer block, so as to determine what kind of sub-image of identity information is stored in the buffer block according to each identity tag.
Further, as shown in fig. 2, the storage unit 12 includes: the first determining module 121 is configured to determine a storage sequence corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image; a second determining module 122, configured to determine, based on the identity information corresponding to each sub-image and the identity tag in each cache block, a target cache block corresponding to each sub-image; the storage module 123 is configured to sequentially store each sub-image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images.
The storage sequence is the sequence of storing the plurality of sub-images into the plurality of target cache blocks, and since the upper field LR needs to be read first and the lower field LR needs to be read later during reading, in order to ensure the reading efficiency, the storage sequence of the plurality of sub-images can be determined by the identity information corresponding to each sub-image, so that the upper field LR can be stored first and the lower field LR can be stored later; after the storage sequence of the multiple sub-images corresponding to the current image is determined, the cache block corresponding to each sub-image, that is, the target cache block, needs to be determined, and since each cache block has an identity tag used for representing the reading sequence, which cache block of the multiple cache blocks each sub-image corresponding to the current image needs to be stored in can be determined according to the identity tag, and after the target cache block is determined, the WDMA sequentially stores each sub-image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the multiple sub-images, that is, the sub-images corresponding to the reading sequence can be directly obtained during subsequent RDMA reading.
In this embodiment of the application, the storage unit 12 is configured to store each sub-image into the target cache block corresponding to each sub-image in sequence according to the identity information and the storage rate corresponding to each sub-image, and the specific storage process is as follows: the first determining module 121 determines a storage order corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image, that is, an order in which the plurality of sub-images are stored in the plurality of target cache blocks, the second determining 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 which cache blocks, that is, target cache blocks, each sub-image is stored in the plurality of cache blocks, and finally the storage module 123 sequentially stores each sub-image in the target cache block corresponding to each sub-image according to the storage order and the storage rate corresponding to the plurality of sub-images, so that the sub-images corresponding to the reading order can be directly obtained during subsequent RDMA reading.
Further, as shown in fig. 2, the storage module 123 is specifically configured to: detecting whether a subimage corresponding to the historical frame image is stored in each target cache block; if the subimages corresponding to the historical frame images are not stored in each target cache block, sequentially storing a plurality of subimages corresponding to the current frame image into the target cache block corresponding to each subimage according to the storage sequence and the storage rate; if the subimages corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the subimages corresponding to the historical frame images in each target cache block are read or not according to the storage sequence; if the sub-image corresponding to the historical frame image is not read, when the sub-image corresponding to the historical frame image is completely read, the sub-image corresponding to the current frame image is stored in a corresponding target cache block in a covering mode according to the storage sequence and the storage rate; and if the sub-images corresponding to the historical frame images are read, covering and storing the sub-images corresponding to the current frame images into the corresponding target cache blocks according to the storage sequence and the storage rate.
When the number of the cache blocks is 4, that is, the target cache block corresponding to each sub-image corresponding to the current frame image and the target cache block corresponding to each sub-image corresponding to the previous frame image are the same 4 cache blocks, the historical frame image refers to the previous frame image, that is, the sub-image corresponding to the 3 rd frame image; when the number of the buffer blocks is 8, it is assumed that the target buffer block corresponding to each sub-image corresponding to the current frame image is the last 4 in the preset sequence, and then the historical frame image may refer to the last two frame images, that is, the sub-image corresponding to the 2 nd frame image, it needs to be described that, when the sub-image corresponding to the historical frame image is stored in each target buffer block, it needs to sequentially judge whether the sub-image corresponding to the historical frame image in each target buffer block is read according to the storage sequence, and then the sub-image corresponding to the current frame image is stored in the corresponding target buffer block in an overlapping manner according to the reading condition, and the specific storage modes include two types, the first type is to store the sub-image corresponding to the current frame image after it is sequentially detected that the sub-image corresponding to the historical frame image in the target buffer block is read, the second type is to store the sub-image corresponding to the current frame image in the target buffer block after the sub-image corresponding to the historical frame image in all target buffer blocks is read, but the sub-image corresponding to the current frame image in the current frame image is not read according to the sequence of the last field LR, and the current frame LR is not read, and therefore, the sub-image corresponding to the current frame LR is not read in the current frame LR in the target buffer block, and the current frame LR is not read in the first storage mode, and the second storage mode is not used for obviously, and the second storage efficiency is guaranteed.
In this embodiment of the present application, the storage module 123 is configured to store each sub-image into the target cache block corresponding to each sub-image in sequence according to the storage sequence and the storage rate corresponding to the plurality of sub-images, and the specific storage process is as follows: whether a sub-image corresponding to a historical frame image is stored in each target cache block is detected, if not, the fact that the sub-image corresponding to the historical frame image is not stored in the target cache block is indicated, namely the sub-image corresponding to any frame image is not stored in the target cache block, and then a plurality of sub-images corresponding to the current frame image are sequentially stored in the target cache block corresponding to each sub-image according to the storage sequence and the storage rate; if the sub-images corresponding to the historical frame images are not read, the target cache block cannot store the sub-images corresponding to the current frame images, namely the sub-images corresponding to the current frame images need to wait for the sub-images corresponding to the stored historical frame images in the target cache block to be stored in a covering manner after the sub-images corresponding to the stored historical frame images are read, so that when the sub-images corresponding to the historical frame images are not read, the sub-images corresponding to the current frame images are stored in the corresponding target cache block in a covering manner according to the storage sequence and the storage rate; otherwise, the sub-images corresponding to the current frame image are stored into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate, so that each sub-image corresponding to the current frame image is stored into the corresponding target cache block to wait for the sub-images stored in the subsequent target cache blocks to be read.
Further, as shown in fig. 2, the plurality of target buffer blocks include a target top field left image buffer block, a target top field right image buffer block, a target bottom field left image buffer block, and a target bottom field right image buffer block; the reading unit 13 is specifically configured to: detecting whether a target top field left image cache block and a target top field right image cache block both store sub-images corresponding to the current image frame; if the sub-images corresponding to the current frame image are not stored in the target top field left image cache block and the target top field right image cache block, sequentially reading the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image according to the reading sequence corresponding to the previous frame image and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image; if the target top field left image cache block and the target top field right image cache block both store the sub-images corresponding to the current image frame, sequentially reading the sub-images stored in the target top field left image cache block and the target top field right image cache block according to the reading sequence and the preset reading speed, and sequentially outputting and displaying the sub-images stored in the target top field left image cache block and the target top field right image cache block; detecting whether a target lower field left image cache block and a target lower field right image cache block both store sub-images corresponding to the current frame image; 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, sequentially reading the sub-images stored in the target upper field left image cache block and the target upper field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target upper field left image cache block and the target upper field right image cache block; if the sub-images corresponding to the current frame image are stored in both the target lower field left image cache block and the target lower field right image cache block, sequentially reading the sub-images stored in the target lower field left image cache block and the target lower field right image cache block according to the reading sequence and the preset reading speed, and sequentially outputting and displaying the sub-images stored in the target lower field left image cache block and the target lower field right image cache block.
The plurality of target buffer blocks comprise a target upper field left image buffer block, a target upper field right image buffer block, a target lower field left image buffer block and a target lower field right image buffer block which are respectively used for correspondingly storing an upper field left image, a lower field right image, a lower field left image and a lower field right image corresponding to a current frame image.
In this embodiment of the present application, the plurality of target cache blocks include a target top field left image cache block, a target top field right image cache block, a target bottom field left image cache block, and a target bottom field right image cache block, the reading unit is configured to sequentially read the sub-images stored in each target cache block according to a reading sequence and a preset reading rate corresponding to the plurality of target cache blocks, and sequentially output and display the plurality of sub-images, and the specific reading process is as follows: whether sub-images corresponding to a current image frame are stored in a target top field left image cache block and a target top field right image cache block or not is detected, namely a top field left image and a bottom field right image corresponding to the current image frame are detected, if not, the preset reading speed is lower than the storage speed, namely the WDMA speed is lower than the RDMA speed, the top field left image and the top field right image corresponding to the current image frame are not completely stored or not stored, and then the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous image frame are sequentially read according to the reading sequence and the preset reading speed corresponding to the previous image frame, and are sequentially output and displayed, so that the frame supplementing effect is realized by adopting the bottom field left image and the bottom field right image corresponding to the previous image frame; if the current sub-images are stored in the target top field left image cache block and the target top field right image cache block, the preset reading speed is higher than the storage speed, namely the WDMA speed is higher than the RDMA speed, and the sub-images stored in the target top field left image cache block and the target top field right image cache block are sequentially read according to the reading sequence and the preset reading speed and are sequentially output and displayed; after the sub-images stored in the target upper field left image cache block and the target upper field right image cache block are read, 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 or not is continuously detected, if not, the preset reading speed at the moment is slower than the storage speed, namely the speed of WDMA is slower than the RDMA speed, and the current frame image corresponding to the lower field left image and the lower field right image is not completely stored or not yet 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 sequentially read according to the reading sequence and the preset reading speed, and are sequentially output and displayed, so that the frame complementing effect is realized by adopting the upper field left image and the upper field right image corresponding to the current frame image, otherwise, the preset reading speed at the moment is faster than the storage speed, namely the speed of WDMA is faster than the speed of RDMA, and then the sub-images stored in the target lower field left image cache block and the target lower field right image cache block are sequentially read according to the reading sequence and the preset reading speed, so that the sub-images of each sub-image corresponding to each sub-image of the target lower field left image cache block are completely read.
Further, as an implementation of the apparatus shown in fig. 1 and fig. 2, another embodiment of the present application further provides a method for displaying a video frame image. The method embodiment corresponds to the device embodiment, and for convenience of reading, details in the device embodiment are not described in detail again in the method embodiment, but it should be clear that the method in the embodiment can correspondingly implement all the contents in the device embodiment. The method is applied to the situation that under the condition that the output sequence of a plurality of sub-images is ensured, the identity information corresponding to each sub-image does not need to be stored, so that the situation that the storage of the identity information corresponding to each sub-image occupies too much storage resources is avoided, and specifically as shown in fig. 3, the method comprises the following steps:
201. and stripping the current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image.
202. And sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block.
203. And sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and the preset reading rate.
Further, before the current frame image is subjected to the peeling processing, the method further includes: a plurality of cache blocks are arranged in a 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 cache blocks and the setting sequence corresponding to the cache blocks; and correspondingly adding each identity tag to each cache block.
Further, sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, including: determining a storage sequence corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image; determining a 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; and sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images.
Further, sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images, includes: detecting whether each target cache block stores a sub-image corresponding to a historical frame image; if the sub-images corresponding to the historical frame images are not stored in each target cache block, sequentially storing the sub-images corresponding to the current frame images into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate; if the sub-images corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the sub-images corresponding to the historical frame images in each target cache block are read or not according to the storage sequence; if the sub-images corresponding to the historical frame images are not read, when the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame images into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate; and if the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame image into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate.
Furthermore, the plurality of target cache blocks comprise a target top field left image cache block, a target top field right image cache block, a target bottom field left image cache block and a target bottom field right image cache block; sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and a preset reading rate, and sequentially outputting and displaying the sub-images, wherein the reading sequence comprises: detecting 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 top field left image cache block and the target top field right image cache block both store the sub-images corresponding to the current frame image, sequentially reading the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image according to the reading sequence corresponding to the previous frame image and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image; if the sub-images corresponding to the current image frame are not stored in the target top field left image cache block and the target top field right image cache block, sequentially reading the sub-images stored in the target top field left image cache block and the target top field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target top field left image cache block and the target top field right image cache block; detecting 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 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, sequentially reading the sub-images stored in the target upper field left image cache block and the target upper field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target upper field left image cache block and the target upper field right image cache block; 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, sequentially reading the sub-images stored in the target lower field left image cache block and the target lower field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target lower field left image cache block and the target lower field right image cache block.
The application provides a display device and a method of video frame images, and the display device of the video frame images comprises: the device comprises a processing unit, a storage unit and a reading unit; firstly, a processing unit strips a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image; secondly, the storage unit sequentially stores each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block; and finally, sequentially reading the sub-images stored in each target cache block by the reading unit according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the plurality of sub-images. In the present application, for any one target cache block, the target cache block has an identity tag representing a reading order of the target cache block, that is, the reading order of a plurality of target cache blocks can be determined by the identity tag in each target cache block, that is, the sub-images stored in each target cache block can be sequentially read according to the reading order and the preset reading rate of the plurality of target cache blocks, and the plurality of sub-images can be output and displayed according to the reading order and the preset reading rate. Therefore, the identity information corresponding to each sub-image does not need to be additionally stored, and the storage resource is prevented from being excessively occupied by the identity information corresponding to the sub-images.
The embodiment of the application provides a storage medium, which comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the video frame image display method.
The storage medium may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The embodiment of the application also provides a display device of the video frame image, which comprises a storage medium; and one or more processors, the storage medium coupled with the processors, the processors configured to execute program instructions stored in the storage medium; the program instructions execute the above-mentioned video frame image display method when running.
An embodiment of the present application provides an apparatus, where the apparatus includes a processor, a memory, and a program that is stored in the memory and is executable on the processor, and the processor implements the following steps when executing the program:
stripping a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image;
sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information and the storage rate corresponding to each sub-image, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block;
and sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and a preset reading rate, and sequentially outputting and displaying the sub-images.
Further, before the stripping processing is performed on the current frame image, the method further includes:
a plurality of cache blocks are arranged in a 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 cache blocks and the setting sequence corresponding to the cache blocks;
and correspondingly adding each identity tag to each cache block.
Further, sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, including:
determining a storage sequence corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image;
determining a 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;
and sequentially storing each sub-image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images.
Further, sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images, includes:
detecting whether a subimage corresponding to the historical frame image is stored in each target cache block;
if the sub-images corresponding to the historical frame images are not stored in each target cache block, sequentially storing the sub-images corresponding to the current frame image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate;
if the sub-images corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the sub-images corresponding to the historical frame images in each target cache block are read or not according to the storage sequence;
if the sub-image corresponding to the historical frame image is not read, when the sub-image corresponding to the historical frame image is completely read, the sub-image corresponding to the current frame image is stored into the corresponding target cache block in a covering mode according to the storage sequence and the storage rate;
and if the sub-image corresponding to the historical frame image is read, storing the sub-image corresponding to the current frame image into the corresponding target cache block in an overlaying manner according to the storage sequence and the storage rate.
Furthermore, the plurality of target cache blocks comprise a target top field left image cache block, a target top field right image cache block, a target bottom field left image cache block and a target bottom field right image cache block; sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and a preset reading rate, and sequentially outputting and displaying the sub-images, wherein the reading sequence comprises:
detecting whether the target top field left image cache block and the target top field right image cache block both store the sub-image corresponding to the current image frame;
if the sub-images corresponding to the current frame image are stored in the target top field left image cache block and the target top field right image cache block, sequentially reading the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image according to the reading sequence corresponding to the previous frame image and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the bottom field left image cache block and the bottom field right image cache block corresponding to the previous frame image;
if the sub-images corresponding to the current image frame are not stored in the target top field left image cache block and the target top field right image cache block, sequentially reading the sub-images stored in the target top field left image cache block and the target top field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target top field left image cache block and the target top field right image cache block; detecting 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 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, sequentially reading the sub-images stored in the target upper field left image cache block and the target upper field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target upper field left image cache block and the target upper field right image cache block;
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, sequentially reading the sub-images stored in the target lower field left image cache block and the target lower field right image cache block according to the reading sequence and the preset reading rate, and sequentially outputting and displaying the sub-images stored in the target lower field left image cache block and the target lower field right image cache block.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device: stripping a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image; sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information and the storage rate corresponding to each sub-image, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block; and sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the sub-images.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules 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, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims (10)

1. A display device for displaying a video frame image, comprising:
the processing unit is used for carrying out stripping processing on a current frame image so as to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image;
the storage unit is used for sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate, and the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block;
and the reading unit is used for sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and the preset reading rate, and sequentially outputting and displaying the sub-images.
2. The apparatus of claim 1, further comprising:
the setting unit is used for setting a plurality of cache blocks in a memory before the processing unit carries out stripping processing on the current frame image, wherein the number of the cache blocks is 4N, and N is a positive integer;
the generating unit is used for generating an identity tag corresponding to each cache block according to the number of the cache blocks and the setting sequence corresponding to the cache blocks;
and the adding unit is used for correspondingly adding each identity tag to each cache block.
3. The apparatus according to any one of claims 1-2, wherein the storage unit comprises:
the first determining module is used for determining the storage sequence corresponding to the plurality of sub-images according to the identity information corresponding to each sub-image;
a second determining module, configured to determine, based on the identity information corresponding to each sub-image and the identity tag in each cache block, a target cache block corresponding to each sub-image;
and the storage module is used for sequentially storing each sub-image into the target cache block corresponding to each sub-image according to the storage sequence corresponding to the plurality of sub-images and the storage rate.
4. The apparatus of claim 3,
the storage module is specifically configured to:
detecting whether a subimage corresponding to the historical frame image is stored in each target cache block;
if the sub-images corresponding to the historical frame images are not stored in each target cache block, sequentially storing the sub-images corresponding to the current frame images into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate;
if the sub-images corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the sub-images corresponding to the historical frame images in each target cache block are read or not according to the storage sequence;
if the sub-images corresponding to the historical frame images are not read, when the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame images into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate;
and if the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame image into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate.
5. A method for displaying a video frame image, comprising:
stripping a current frame image to obtain a plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image;
sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the identity information and the storage rate corresponding to each sub-image, wherein the target cache block is provided with an identity tag used for representing the reading sequence of the target cache block;
and sequentially reading the sub-images stored in each target cache block according to the reading sequence corresponding to the target cache blocks and a preset reading rate, and sequentially outputting and displaying the sub-images.
6. The method of claim 5, wherein prior to performing the stripping process on the current frame image, the method further comprises:
setting a plurality of cache blocks in a 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 cache blocks and the setting sequence corresponding to the cache blocks;
and correspondingly adding each identity tag to each cache block.
7. The method according to any one of claims 5 to 6, wherein sequentially storing each sub-image into the target cache block corresponding to each sub-image according to the identity information corresponding to each sub-image and the storage rate comprises:
determining a storage sequence corresponding to a plurality of sub-images according to the identity information corresponding to each sub-image;
determining a 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;
and sequentially storing each sub-image into a target cache block corresponding to each sub-image according to the storage sequence and the storage rate corresponding to the plurality of sub-images.
8. The method of claim 7, wherein sequentially storing each of the sub-images into the target cache block corresponding to each of the sub-images according to the storage sequence and the storage rate corresponding to the plurality of sub-images comprises:
detecting whether a subimage corresponding to the historical frame image is stored in each target cache block;
if the sub-images corresponding to the historical frame images are not stored in each target cache block, sequentially storing the sub-images corresponding to the current frame image into the target cache block corresponding to each sub-image according to the storage sequence and the storage rate;
if the sub-images corresponding to the historical frame images are stored in each target cache block, sequentially judging whether the sub-images corresponding to the historical frame images in each target cache block are read or not according to the storage sequence;
if the sub-images corresponding to the historical frame images are obtained, when the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame images into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate;
and if the sub-images corresponding to the historical frame images are read, storing the sub-images corresponding to the current frame image into the corresponding target cache blocks in a covering manner according to the storage sequence and the storage rate.
9. A storage medium comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to execute the method for displaying a video frame image according to any one of claims 5 to 8.
10. An apparatus for displaying a video frame image, the apparatus comprising a storage medium; and one or more processors, the storage medium coupled with the processors, the processors configured to execute program instructions stored in the storage medium; the program instructions when executed perform the method of displaying a video frame image of any of claims 5 to 8.
CN202211053188.7A 2022-08-31 2022-08-31 Video frame image display device and method Pending CN115412760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211053188.7A CN115412760A (en) 2022-08-31 2022-08-31 Video frame image display device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211053188.7A CN115412760A (en) 2022-08-31 2022-08-31 Video frame image display device and method

Publications (1)

Publication Number Publication Date
CN115412760A true CN115412760A (en) 2022-11-29

Family

ID=84163440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211053188.7A Pending CN115412760A (en) 2022-08-31 2022-08-31 Video frame image display device and method

Country Status (1)

Country Link
CN (1) CN115412760A (en)

Similar Documents

Publication Publication Date Title
RU2011118876A (en) PLAYBACK DEVICE, PLAYBACK METHOD AND STEREOSCOPIC PLAYBACK PROGRAM
CN111866408B (en) Graphic processing chip and video decoding display method
CN108021671B (en) Page transparent processing method and device
JP2010009405A (en) Object detection controller, object detection system, object detection control method, and program
CN111901660A (en) Image display method, terminal, electronic equipment and storage medium
CN114710702A (en) Video playing method and device
TW202025080A (en) Methods and devices for graphics processing
US8937624B2 (en) Method and apparatus for translating memory access address
US6560686B1 (en) Memory device with variable bank partition architecture
CN115412760A (en) Video frame image display device and method
US5995167A (en) Apparatus for controlling display memory for storing decoded picture data to be displayed and method thereof
US6317817B1 (en) Image operation processing apparatus storing discrete data efficiently in a memory and operating method thereof
US11523180B2 (en) Method for displaying an animation during the starting phase of an electronic device and associated electronic device
CN114666621A (en) Page processing method, device and equipment
US11004180B2 (en) Computer device and method for generating dynamic images
KR102247741B1 (en) An image processor, a method of operating the image processor, and an application processor including the image processor
US20100054713A1 (en) Video reproducing apparatus
JPS58217076A (en) Picture storage device
JP4122456B2 (en) Image data compression method
CN115019715A (en) Display control device, method and equipment
CN112468820B (en) Image display method and image display system
CN114390333B (en) Interface content display method, device, equipment and storage medium
US20240177384A1 (en) Dynamic graphic editing method and device
CN114072760B (en) Cutting method, distribution method, medium, server, and system
CN114071225B (en) Frame animation playing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination