[go: up one dir, main page]

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
target
cache block
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.)
Granted
Application number
CN202211053188.7A
Other languages
Chinese (zh)
Other versions
CN115412760B (en
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/CN115412760B/en
Publication of CN115412760A publication Critical patent/CN115412760A/en
Application granted granted Critical
Publication of CN115412760B publication Critical patent/CN115412760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

本申请公开一种视频帧图像的显示装置及方法,涉及图像显示技术领域。本申请的装置包括:处理单元,用于对当前帧图像进行剥离处理,以获得所述当前帧图像对应的多个子图像以及每个所述子图像对应的身份信息;存储单元,用于根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,所述目标缓存区块中具有用于表征所述目标缓存区块读取顺序的身份标签;读取单元,用于按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像。

Figure 202211053188

The present application discloses a video frame image display device and method, and relates to the technical field of image display. The device of the present application includes: a processing unit, configured 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, configured to obtain a plurality of sub-images corresponding to the current frame image; The identity information and the storage rate corresponding to each of the sub-images store each of the sub-images in sequence in the target cache block corresponding to each of the sub-images, and the target cache block has information used to characterize the target The identity tag of the cache block reading sequence; the reading unit is used to sequentially read the data stored in each of the target cache blocks according to the reading sequence corresponding to the multiple target cache blocks and the preset read rate. sub-images, and sequentially output and display a plurality of sub-images.

Figure 202211053188

Description

视频帧图像的显示装置及方法Device and method for displaying video frame images

技术领域technical field

本发明涉及图像显示技术领域,尤其涉及一种视频帧图像的显示装置及方法。The present invention relates to the technical field of image display, in particular to a display device and method for video frame images.

背景技术Background technique

在TV/Monitor等领域,待播放视频的帧率往往与面板的刷新率不匹配,因此,在将待播放视频发送给面板之前,通常需要通过帧率转换(frame-rate-convert)技术将待播放视频包含的视频帧图像按照面板的刷新率输出显示,即先按照待播放视频的帧率将待播放视频包含的视频帧图像保存至存储器,再按照面板的刷新率读取存储器中已保存的视频帧图像,从而使待播放视频包含的视频帧图像按照面板的刷新率输出显示。In fields such as TV/Monitor, the frame rate of the video to be played often does not match the refresh rate of the panel. Therefore, before the video to be played is sent to the panel, frame-rate-convert The video frame images contained in the playing video are output and displayed according to the refresh rate of the panel, that is, the video frame images contained in the video to be played are first saved to the memory according to the frame rate of the video to be played, and then the saved images in the memory are read according to the refresh rate of the panel. The video frame image, 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.

目前,对于隔行扫描场景下的active_3d图像而言,每一个完整的图像分为两个场信号(上场和下场),每一场信号又分成左图和右图(L图和R图),因此,对于隔行扫描场景下的active_3d视频包含的任意一个视频帧图像而言,需要先将该视频帧图像剥离出四个子图像,再按照视频的帧率将该视频帧图像对应的四个子图像保存至存储器,最后按照面板的刷新率读取存储器中已保存的四个子图像,而为了保证多个子图像能够按照上场LR下场LR的顺序输出显示,不仅需要在存储器中保存多个子图像,还需要保存每个子图像对应的身份信息,身份信息中即包含子图像对应的上场/下场信息以及L图/R图信息。然而,子图像对应的身份信息的数据量较大,因此,存储每个子图像对应的身份信息会占用过多的存储资源 At present, for the active_3d image in the interlaced scanning scene, each complete image is divided into two field signals (upper field and lower field), and each field signal is divided into left image and right image (L image and R image), so , for any video frame image contained in the active_3d video in the interlaced scanning scene, it is necessary to strip the video frame image into four sub-images first, and then save the four sub-images corresponding to the video frame image to the memory, and finally read the four sub-images saved in the memory according to the refresh rate of the panel, and in order to ensure that the multiple sub-images can be output and displayed in the order of the upper field LR and the lower field LR, not only need to save multiple sub-images in the memory, but also need to save each The identity information corresponding to each sub-image, the identity information includes the upper/lower information and the L image/R image information corresponding to the sub image. However, the amount of identity information corresponding to the sub-images is relatively large, therefore, storing the identity information corresponding to each sub-image will occupy too much storage resources .

发明内容Contents of the invention

本申请实施例提供一种视频帧图像的显示装置及方法,主要目的是在保证多个子图像输出顺序的情况下,无需存储每个子图像对应的身份信息,以避免存储每个子图像对应的身份信息会占用过多的存储资源。Embodiments of the present application provide a display device and method for video frame images, the main purpose of which is to ensure the output sequence 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.

为解决上述技术问题,本申请实施例提供如下技术方案:In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:

第一方面,本申请提供了一种视频帧图像的显示装置,所述装置包括:处理单元,用于对当前帧图像进行剥离处理,以获得所述当前帧图像对应的多个子图像以及每个所述子图像对应的身份信息;In a first aspect, the present application provides a device for displaying video frame images, the device comprising: a processing unit configured to perform stripping processing on the current frame image to obtain a plurality of sub-images corresponding to the current frame image and each Identity information corresponding to the sub-image;

存储单元,用于根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,所述目标缓存区块中具有用于表征所述目标缓存区块读取顺序的身份标签;A storage unit, configured to sequentially store 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 the storage rate, and the target cache block having an identity tag used to characterize the reading sequence of the target cache block;

读取单元,用于按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像。The reading unit is used to sequentially read the sub-images stored in each of the target cache blocks according to the reading sequence corresponding to the multiple target cache blocks and the preset read rate, and sequentially output and display the multiple sub-images stored in the target cache blocks. subimage.

可选的,所述装置还包括:Optionally, the device also includes:

设置单元,用于在所述处理单元对当前帧图像进行剥离处理之前,在存储器中设置多个缓存区块,其中,所述缓存区块数量为4N,N为正整数;A setting unit, configured to set a plurality of cache blocks in the 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 of the cache blocks according to the number of the multiple cache blocks and the corresponding setting order of the multiple cache blocks;

添加单元,用于将每个所述身份标签对应添加至每个所述缓存区块中。The adding unit is used to correspondingly add each of the identity tags to each of the cache blocks.

可选的,所述存储单元包括:Optionally, the storage unit includes:

第一确定模块,用于根据每个所述子图像对应的身份信息确定多个所述子图像对应的存储顺序;A first determining module, configured to determine a storage sequence corresponding to multiple sub-images according to the identity information corresponding to each of the sub-images;

第二确定模块,用于基于每个所述子图像对应的身份信息和每个所述缓存区块中的身份标签确定每个所述子图像对应的目标缓存区块;A second determining 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;

存储模块,用于按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中。A storage module, configured to sequentially store each of the sub-images in a target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate.

可选的,所述存储模块,具体用于:Optionally, 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-images corresponding to the historical frame images are not stored in each of the target cache blocks, the plurality of sub-images corresponding to the current frame image are sequentially stored according to the storage order and the storage rate into the target cache block corresponding to each of the sub-images;

若每个所述目标缓存区块中已存储有所述历史帧图像对应的子图像,则按照所述存储顺序依次判断每个所述目标缓存区块中的所述历史帧图像对应的子图像是否被读取;If the sub-images corresponding to the historical frame images have been stored in each of the target cache blocks, the sub-images corresponding to the historical frame images in each of the target cache blocks are sequentially determined according to the storage order whether to be 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 will be stored according to the storage order and the storage rate. The sub-image is overlaid and stored in the corresponding target cache block;

若所述历史帧图像对应的子图像已被读取,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的所述子图像覆盖存储至对应的所述目标缓存区块中。If the sub-image corresponding to the historical frame image has been read, then overwrite and store the sub-image corresponding to the current frame image into the corresponding target cache block according to the storage order and the storage rate .

可选的,多个所述目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块;所述读取单元,具体用于:Optionally, 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 , specifically for:

检测所述目标上场左图缓存区块和所述目标上场右图缓存区块中是否均存储有所述当前图像帧对应的子图像;Detecting whether the sub-image corresponding to the current image frame is stored in both the target upper field left image buffer block and the target upper field right image buffer block;

若所述目标上场左图缓存区块和所述目标上场右图缓存区块中未均存储有所述当前帧图像对应的子图像,则按照上一帧图像对应的读取顺序以及预置读取速率依次读取所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像,并依次输出显示所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像;If the sub-image corresponding to the current frame image is not stored in the target upper field left image buffer block and the target upper field right image buffer block, then read according to the reading sequence and preset read sequence corresponding to the previous frame image The acquisition rate sequentially reads 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, and sequentially outputs and displays the lower field left image buffer block corresponding to the last frame image and the sub-image stored in the cache block of the right image in the next field;

若所述目标上场左图缓存区块和所述目标上场右图缓存区块中均存储有所述当前图像帧对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像;检测所述目标下场左图缓存区块和所述目标下场右图缓存区块中是否均存储有所述当前帧图像对应的子图像;If the target upper field left image cache block and the target upper field right image buffer block both store sub-images corresponding to the current image frame, then follow the reading order and the preset reading rate sequentially Read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image buffer The sub-image stored in the block; detecting whether the sub-image corresponding to the current frame image is stored in the target lower field left image buffer block and the target lower field right image buffer block;

若所述目标下场左图缓存区块和所述目标下场右图缓存区块中未均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的子图像;If the sub-image corresponding to the current frame image is not stored in the target lower field left image buffer block and the target lower field right image buffer block, then according to the reading order and the preset reading rate sequentially read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image sub-images stored in the cache block;

若所述目标下场左图缓存区块和所述目标下场右图缓存区块中均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像,并依次输出显示所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像。If the sub-image corresponding to the current frame image is stored in both the target lower field left image cache block and the target lower field right image buffer block, then follow the reading order and the preset reading rate sequentially Read the sub-images stored in the target lower field left image buffer block and the target lower field right image buffer block, and sequentially output and display the target lower field left image buffer block and the target lower field right image buffer The sub-image stored in the block.

第二方面,本申请还提供了一种视频帧图像的显示方法,所述方法包括:In a second aspect, the present application also provides a method for displaying a video frame image, the method comprising:

对当前帧图像进行剥离处理,以获得所述当前帧图像对应的多个子图像以及每个所述子图像对应的身份信息;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 of the sub-images;

根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,所述目标缓存区块中具有用于表征所述目标缓存区块读取顺序的身份标签;According to the identity information and storage rate corresponding to each of the sub-images, each of the sub-images is sequentially stored in a target cache block corresponding to each of the sub-images, and the target cache block has a An identity tag describing the read order of the target cache block;

按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像。The sub-images stored in each of the target cache blocks are sequentially read according to the reading order and the preset reading rate corresponding to the multiple target cache blocks, and the multiple sub-images are sequentially output and displayed.

可选的,在对当前帧图像进行剥离处理之前,所述方法还包括:Optionally, before performing stripping processing on the current frame image, the method further includes:

在存储器中设置多个缓存区块,其中,所述缓存区块数量为4N,N为正整数;Setting multiple cache blocks in the memory, wherein the number of cache blocks is 4N, and N is a positive integer;

根据多个所述缓存区块的数量和多个所述缓存区块对应的设置顺序生成每个所述缓存区块对应的身份标签;generating an identity tag corresponding to each of the cache blocks according to the number of the multiple cache blocks and the corresponding setting order of the multiple cache blocks;

将每个所述身份标签对应添加至每个所述缓存区块中。Each of the identity tags is correspondingly added to each of the cache blocks.

可选的,根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,包括:Optionally, according to the identity information corresponding to each of the sub-images and the storage rate, each of the sub-images is sequentially stored in the target cache block corresponding to each of the sub-images, including:

根据每个所述子图像对应的身份信息确定多个所述子图像对应的存储顺序;determining a storage sequence corresponding to the multiple 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;

按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中。Each of the sub-images is sequentially stored in the target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate.

可选的,按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,包括:Optionally, sequentially storing each of the sub-images in the target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate, including:

检测每个所述目标缓存区块中是否存储有历史帧图像对应的子图像;Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks;

若每个所述目标缓存区块中未存储有所述历史帧图像对应的子图像,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的多个所述子图像依次存储至每个所述子图像对应的目标缓存区块中;If the sub-images corresponding to the historical frame images are not stored in each of the target cache blocks, the plurality of sub-images corresponding to the current frame image are sequentially stored according to the storage order and the storage rate into the target cache block corresponding to each of the sub-images;

若每个所述目标缓存区块中已存储有所述历史帧图像对应的子图像,则按照所述存储顺序依次判断每个所述目标缓存区块中的所述历史帧图像对应的子图像是否被读取;If the sub-images corresponding to the historical frame images have been stored in each of the target cache blocks, the sub-images corresponding to the historical frame images in each of the target cache blocks are sequentially determined according to the storage order whether to be 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 will be stored according to the storage order and the storage rate. The sub-image is overlaid and stored in the corresponding target cache block;

若所述历史帧图像对应的子图像已被读取,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的所述子图像覆盖存储至对应的所述目标缓存区块中。If the sub-image corresponding to the historical frame image has been read, then overwrite and store the sub-image corresponding to the current frame image into the corresponding target cache block according to the storage order and the storage rate .

可选的,多个所述目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块;按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像,包括:Optionally, 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 order and preset reading rate corresponding to the target cache block sequentially read the sub-images stored in each target cache block, and sequentially output and display a plurality of the sub-images, including:

检测所述目标上场左图缓存区块和所述目标上场右图缓存区块中是否均存储有所述当前图像帧对应的子图像;Detecting whether the sub-image corresponding to the current image frame is stored in both the target upper field left image buffer block and the target upper field right image buffer block;

若所述目标上场左图缓存区块和所述目标上场右图缓存区块中未均存储有所述当前帧图像对应的子图像,则按照上一帧图像对应的读取顺序以及预置读取速率依次读取所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像,并依次输出显示所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像;If the sub-image corresponding to the current frame image is not stored in the target upper field left image buffer block and the target upper field right image buffer block, then read according to the reading sequence and preset read sequence corresponding to the previous frame image The acquisition rate sequentially reads 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, and sequentially outputs and displays the lower field left image buffer block corresponding to the last frame image and the sub-image stored in the cache block of the right image in the next field;

若所述目标上场左图缓存区块和所述目标上场右图缓存区块中均存储有所述当前图像帧对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像;检测所述目标下场左图缓存区块和所述目标下场右图缓存区块中是否均存储有所述当前帧图像对应的子图像;If the target upper field left image cache block and the target upper field right image buffer block both store sub-images corresponding to the current image frame, then follow the reading order and the preset reading rate sequentially Read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image buffer The sub-image stored in the block; detecting whether the sub-image corresponding to the current frame image is stored in the target lower field left image buffer block and the target lower field right image buffer block;

若所述目标下场左图缓存区块和所述目标下场右图缓存区块中未均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的子图像;If the sub-image corresponding to the current frame image is not stored in the target lower field left image buffer block and the target lower field right image buffer block, then according to the reading order and the preset reading rate sequentially read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image sub-images stored in the cache block;

若所述目标下场左图缓存区块和所述目标下场右图缓存区块中均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像,并依次输出显示所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像。If the sub-image corresponding to the current frame image is stored in both the target lower field left image cache block and the target lower field right image buffer block, then follow the reading order and the preset reading rate sequentially Read the sub-images stored in the target lower field left image buffer block and the target lower field right image buffer block, and sequentially output and display the target lower field left image buffer block and the target lower field right image buffer The sub-image stored in the block.

第三方面,本申请的实施例提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行第二方面所述的视频帧图像的显示方法。In the third aspect, the embodiment of the present application provides a storage medium, the storage medium 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 described in the second aspect display method.

第四方面,本申请的实施例提供了一种视频帧图像的显示装置,所述装置包括存储介质;及一个或者多个处理器,所述存储介质与所述处理器耦合,所述处理器被配置为执行所述存储介质中存储的程序指令;所述程序指令运行时执行第二方面所述的视频帧图像的显示方法。In a fourth aspect, an embodiment of the present application provides a display device for a video frame image, the device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor It is configured to execute the program instructions stored in the storage medium; when the program instructions run, the method for displaying video frame images described in the second aspect is executed.

借由上述技术方案,本申请提供的技术方案至少具有下列优点:By means of the above technical solution, the technical solution provided by the present application has at least the following advantages:

本申请提供一种视频帧图像的显示装置及方法,本申请提供的视频帧图像的显示装置包括:处理单元、存储单元和读取单元;首先,由处理单元对当前帧图像进行剥离处理,以获得当前帧图像对应的多个子图像以及每个子图像对应的身份信息;其次,由存储单元根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,目标缓存区块中具有用于表征目标缓存区块读取顺序的身份标签;最后,由读取单元按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并依次输出显示多个子图像。由于,在本申请中,对于任意一个目标缓存区块而言,该目标缓存区块中具有表征该目标缓存区块读取顺序的身份标签,即通过每个目标缓存区块中的身份标签就能够确定多个目标缓存区块的读取顺序,也就能够通过多个目标缓存区块的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并使得多个子图像能够按照读取顺序和预置读取速率输出显示。因此,无需额外存储每个子图像对应的身份信息,从而避免存储资源被子图像对应的身份信息过多占用。The present application provides a display device and method for a video frame image. The display device for a video frame image 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 A plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image are obtained; secondly, each sub-image is sequentially stored in the target cache block corresponding to each sub-image by the storage unit according to the identity information corresponding to each sub-image and the storage rate Among them, the target cache block has an identity tag used to characterize the reading order of the target cache block; finally, the reading unit sequentially reads each sub-images stored in each target cache block, and sequentially output and display multiple sub-images. Because, in this application, for any target cache block, the target cache block has an identity tag that characterizes the reading order of the target cache block, that is, through the identity tag in each target cache block, the The reading order of multiple target cache blocks can be determined, and the sub-images stored in each target cache block can be sequentially read through the reading order of multiple target cache blocks and the preset reading rate, and make Multiple sub-images can be output and displayed according to the reading order and preset reading rate. Therefore, there is no need to additionally store the identity information corresponding to each sub-image, thereby avoiding excessive occupation of storage resources by the identity information corresponding to the sub-image.

上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solution of the present application. In order to better understand the technical means of the present application, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present application more obvious and understandable , the following specifically cites the specific implementation manner of the present application.

附图说明Description of drawings

通过参考附图阅读下文的详细描述,本申请示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本申请的若干实施方式,相同或对应的标号表示相同或对应的部分,其中:The above and other objects, features and advantages of the exemplary embodiments of the present application will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present application are shown in an exemplary rather than restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

图1示出了本申请实施例提供的一种视频帧图像的显示装置的组成框图;FIG. 1 shows a block diagram of a display device for a video frame image provided by an embodiment of the present application;

图2示出了本申请实施例提供的另一种视频帧图像的显示装置的组成框图;Fig. 2 shows a composition block diagram of another video frame image display device provided by the embodiment of the present application;

图3示出了本申请实施例提供的一种视频帧图像的显示方法流程图。FIG. 3 shows a flowchart of a method for displaying video frame images provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将参照附图更详细地描述本申请的示例性实施方式。虽然附图中显示了本申请的示例性实施方式,然而应当理解,可以以各种形式实现本申请而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了能够更透彻地理解本申请,并且能够将本申请的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although 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 for thorough understanding of the application and to fully convey the scope of the application to those skilled in the art.

需要注意的是,除非另有说明,本申请使用的技术术语或者科学术语应当为本申请所属领域技术人员所理解的通常意义。It should be noted that, unless otherwise specified, technical terms or scientific terms used in this application shall have the usual meanings understood by those skilled in the art to which this application belongs.

本申请实施例提供了一种视频帧图像的显示装置,如图1所示,该装置具体包括:处理单元11,用于对当前帧图像进行剥离处理,以获得当前帧图像对应的多个子图像以及每个子图像对应的身份信息;存储单元12,用于根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,目标缓存区块中具有用于表征目标缓存区块读取顺序的身份标签;读取单元13,用于按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并依次输出显示多个子图像。An embodiment of the present application provides a display device for a video frame image. As shown in FIG. 1 , the device specifically includes: a processing unit 11 configured to perform peeling processing on the current frame image to obtain multiple sub-images corresponding to the current frame image And the identity information corresponding to each sub-image; the storage unit 12 is used to store each sub-image in turn 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 target cache block has An identity tag used to characterize the reading order of the target cache block; a reading unit 13, which is used to sequentially read the data stored in each target cache block according to the reading sequence corresponding to the multiple target cache blocks and the preset read rate sub-images, and sequentially output and display multiple sub-images.

以下结合图1示出的视频帧图像的显示装置,具体说明视频帧图像的显示装置输出显示视频帧图像的详细过程:Below in conjunction with the display device of the video frame image shown in Figure 1, the detailed process of outputting and displaying the video frame image by the display device of the video frame image is specifically described:

其中,当前帧图像具体为当前隔行扫描场景下的active_3d图像构成的视频中当前需要进行输出显示的视频帧图像,而对于当前隔行扫描场景下的active_3d图像而言,每一个完整的图像分为两个场信号(上场和下场),每一场信号又分成左图和右图(L图和R图),即对当前帧图像进行剥离处理后,就能够得到四个子图像,包括上场左图、上场右图、下场左图和下场右图,以及每个子图像对应的身份信息,而对于任意一个子图像而言,该子图像对应的身份信息用于表明该图像的具体为上场左图、上场右图、下场左图和下场右图中的哪一个,因此,在剥离后将子图像存储至存储器时,需要一起存储每一张子图像对应的身份信息;其中,目标缓存区块即为前述当前帧图像对应的每个子图像确定对应存储的缓存区块,而在存储器中设置缓存区块时,会根据设置多个缓存区块时的顺序和具体数量为每个缓存区块添加身份标签也就是说,每个目标缓存区块都具有一个唯一的身份标签,而根据每个缓存区块中的身份标签就能确定多个目标缓存区块的读取顺序;其中,存储速率是当前视频帧图像由WDMA逐个写入至存储器时的速率,WDMA是将子图像直接写入存储器的执行主体,存储速率与视频源和视频的帧率相关,而视频源包括但不限于:机顶盒、U盘等,视频源不同决定了视频的帧率不同,而视频的帧率不同则决定了存储速率的不同,因此,通过视频的帧率即可确定视频帧图像的存储速率,示例性的,由于active_3d图像构成的视频中一个视频帧图像需要剥离成四张子图像,因此,当视频对应的帧率为30i时,其对应的存储速率为120i,当视频对应的帧率为60i时,其对应的存储速率为240i;其中,读取顺序为目标缓存区块被RDMA读取的顺序,RDMA为在存储器中读取子图像的执行主体,通过每个目标缓存区块的身份标签就能确定多个目标缓存区块的读取顺序,因此,在确定读取顺序后,只需基于预置读取速率依次读取目标缓存区块中存储的子图像,即可使得多个子图像能够按序输出显示;其中,预置读取速率是根据显示设备的面板对应的刷新率而确定的,示例性的,假设显示设备的面板对应的刷新率为120HZ,则预置读取速率则为120i,而显示设备包括但不限于:电视、显示器等等。Among them, the current frame image is specifically the video frame image that needs to be output and displayed in the video composed of the active_3d image in the current interlaced scanning scene, and for the active_3d image in the current interlaced scanning scene, each complete image is divided into two Each field signal (upper field and lower field), and each field signal is divided into left image and right image (L image and R image), that is, after the current frame image is stripped, four sub-images can be obtained, including the upper field left image, The right image of the upper field, the left image of the lower field, and the right image of the lower field, and the 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 the left image of the upper field, the upper field Which one of the right picture, the left picture of the next field and the right picture of the next field, therefore, when the sub-image is stored in the memory after stripping, the identity information corresponding to each sub-image needs to be stored together; where the target cache block is the aforementioned Each sub-image corresponding to the current frame image determines the corresponding stored cache block, and when the cache block is set in the memory, an identity tag will be added to each cache block according to the order and specific quantity when multiple cache blocks are set. That is to say, 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 The rate at which images are written to the memory one by one by WDMA. WDMA is the execution subject that directly writes sub-images into the memory. The storage rate is related to the video source and the frame rate of the video. Video sources include but are not limited to: set-top boxes, U disks, etc. , different video sources determine different frame rates of videos, and different frame rates of videos determine different storage rates. Therefore, the storage rate of video frame images can be determined by the frame rate of videos. For example, due to the active_3d image A video frame image in the formed video 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; when the corresponding frame rate of the video is 60i, its corresponding storage rate The rate is 240i; among them, the reading order is the order in which the target cache block is read by RDMA, and RDMA is the execution subject of reading the sub-image in the memory, and multiple targets can be determined by the identity tag of each target cache block The reading order of the cache block, therefore, after determining the reading order, only need to sequentially read the sub-images stored in the target cache block based on the preset reading rate, so that multiple sub-images can be output and displayed in sequence; Wherein, the preset read 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 read rate is 120i, and the display device Including but not limited to: TVs, monitors, etc.

在本申请实施例中,上述处理单元11、存储单元12和读取单元13的具体执行过程为:先由处理单元11对当前帧图像进行剥离处理,以获得当前帧图像对应的多个子图像以及每个子图像对应的身份信息,即当前帧图像对应的四个子图像,例如子图像A、子图像B、子图像C和子图像D,而子图像A对应的身份信息为上场左图,子图像B对应的身份信息为上场右图,子图像C对应的身份信息为下场左图,子图像D对应的身份信息为下场右图,再由存储单元12根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,目标缓存区块中具有用于表征目标缓存区块读取顺序的身份标签,即根据身份标签确定子图像A对应存储的目标缓存区块0、子图像B对应存储的目标缓存区块1、子图像C对应存储的目标缓存区块2和子图像D对应存储的目标缓存区块3,最后由读取单元13按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并依次输出显示多个子图像,由于身份标签用于表征目标缓存区块的读取顺序,因此,按照读取顺序和预置读取速率在目标缓存区块0、目标缓存区块1、目标缓存区块2和目标缓存区块3中,就能够依次读取到子图像A、子图像B、子图像C和子图像D,并依次输出显示子图像A、子图像B、子图像C和子图像D。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: first, the processing unit 11 performs stripping processing on the current frame image to obtain multiple sub-images corresponding to the current frame image and The identity information corresponding to each sub-image, that is, the 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 left image of the upper field, and sub-image B The corresponding identity information is the right image of the upper field, the identity information corresponding to the sub-image C is the left image of the lower field, and the identity information corresponding to the sub-image D is the right image of the lower field. 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 used to represent the reading order of the target cache block, that is, the target cache corresponding to sub-image A is determined according to the identity tag Block 0, sub-image B corresponds to stored target cache block 1, sub-image C corresponds to stored target cache block 2, and sub-image D corresponds to stored target cache block 3, and finally the reading unit 13 caches according to multiple targets The reading order corresponding to the block and the preset reading rate read the sub-images stored in each target cache block in turn, and output and display multiple sub-images in sequence, because the identity tag is used to represent the reading order of the target cache block , therefore, in the target cache block 0, target cache block 1, target cache block 2, and target cache block 3 according to the read order and preset read rate, the sub-image A, sub-image Image B, sub-image C, and sub-image D, and sequentially output and display sub-image A, sub-image B, sub-image C, and sub-image D.

本申请提供一种视频帧图像的显示装置,本申请提供的视频帧图像的显示装置包括:处理单元、存储单元和读取单元;首先,由处理单元对当前帧图像进行剥离处理,以获得当前帧图像对应的多个子图像以及每个子图像对应的身份信息;其次,由存储单元根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,目标缓存区块中具有用于表征目标缓存区块读取顺序的身份标签;最后,由读取单元按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并依次输出显示多个子图像。由于,在本申请中,对于任意一个目标缓存区块而言,该目标缓存区块中具有表征该目标缓存区块读取顺序的身份标签,即通过每个目标缓存区块中的身份标签就能够确定多个目标缓存区块的读取顺序,也就能够通过多个目标缓存区块的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并使得多个子图像能够按照读取顺序和预置读取速率输出显示。因此,无需额外存储每个子图像对应的身份信息,从而避免存储资源被子图像对应的身份信息过多占用。The present application provides a display device for a video frame image. The display device for a video frame image 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 the current A plurality of sub-images corresponding to the frame image and identity information corresponding to each sub-image; secondly, each sub-image is sequentially stored in the target cache block corresponding to each sub-image by the storage unit according to the identity information corresponding to each sub-image and the storage rate, The target cache block has an identity tag used to represent the reading order of the target cache block; finally, the reading unit reads each target in turn according to the reading order corresponding to multiple target cache blocks and the preset read rate The sub-images stored in the cache block are output and displayed in sequence. Because, in this application, for any target cache block, the target cache block has an identity tag that characterizes the reading order of the target cache block, that is, through the identity tag in each target cache block, the The reading order of multiple target cache blocks can be determined, and the sub-images stored in each target cache block can be sequentially read through the reading order of multiple target cache blocks and the preset reading rate, and make Multiple sub-images can be output and displayed according to the reading order and preset reading rate. Therefore, there is no need to additionally store the identity information corresponding to each sub-image, thereby avoiding excessive occupation of storage resources by the identity information corresponding to the sub-image.

本申请实施例还提供了另一种视频帧图像的显示装置,如图2所示,以下结合图2进行解释说明:The embodiment of the present application also provides another display device for a video frame image, as shown in FIG. 2 , which is explained below in conjunction with FIG. 2 :

进一步的,如图2所示,所述装置还包括:设置单元14,用于所述处理单元11在对当前帧图像进行剥离处理之前,在存储器中设置多个缓存区块,其中,缓存区块数量为4N,N为正整数;生成单元15,用于根据多个缓存区块的数量和多个缓存区块对应的设置顺序生成每个缓存区块对应的身份标签;添加单元16,用于将每个身份标签对应添加至每个缓存区块中。Further, as shown in FIG. 2 , the device further includes: a setting unit 14, used for the processing unit 11 to set a plurality of buffer blocks in the memory before performing stripping processing on the current frame image, wherein the buffer area The number of blocks is 4N, and N is a positive integer; the generation unit 15 is used to generate the identity tag corresponding to each cache block according to the quantity of multiple cache blocks and the corresponding setting sequence of multiple cache blocks; the addition unit 16 uses Each identity tag is correspondingly added to each cache block.

其中,由于每一视频帧图像均会被剥离出四张子图像,因此,为了每一视频帧图像对应的四张子图像分别存储,多个缓存区块的数量需要设置为4的倍数,而对于多个缓存区块的具体数量,可根据用户定义设置,本实施例不做具体限定,其中,多个缓存区块对应的设置顺序为在存储器中设置多个缓存区块的顺序,例如在存储器中依次设置了区块0、区块1、区块2…区块7,则8个区块的设置顺序为(1)区块0、(2)区块1…(8)区块7;其中,身份标签具体为二进制标签,且二进制标签的第一位二进制码(即二进制码的最低位)用于表征目标缓存区块中应该存储的子图像所对应的身份信息中的左图/右图信息、第二位二进制码(即二进制码的次低位)用于表征目标缓存区块中应该存储的子图像所对应的身份信息中的上场/下场信息,其他位二进制码用于表征每个目标缓存区块在多个缓存区块中的位置信息,而二进制标签的具体位数则根据多个缓存区块的数量和设置顺序确定。示例性的,当依次设置4个缓存区块,即区块0、区块1、区块2和区块3,而其对应的设置顺序即为(1)区块0、(2)区块1…(4)区块3,根据二进制标签的生成规则,仅需两位二进制码就能满足身份标签的唯一性,即区块0对应00、区块1对应01、区块2对应10和区块3对应11;而当依次设置8个缓存区块,即区块0、区块1、区块2、区块3、区块4、区块5、区块6和区块7,而其对应的设置顺序即为(1)区块0、(2)区块1…(8)区块7,根据二进制标签的生成规则,需要三个二进制码才能满足身份标签的唯一性,因此,区块0对应000、区块1对应001、区块2对应010、区块3对应011、区块4对应100、区块5对应101、区块6对应110和区块7对应111,以此类推,即可为每个缓存区块设置一个唯一的二进制标签,在该种情况下,当第一位二进制码(即二进制码的最低位)和第二位二进制码(即二进制码的次低位)为01时,则前述区块1和区块5都符合,而若第三位二进制码为0,则说明该缓存区块为区块1,若第三位二进制码为1,则该缓存区块为区块5。可见,二进制标签的位宽由多个缓存区块的数量确定,并且根据二进制标签的第一位二进制码(即二进制码的最低位)和第二位二进制码(即二进制码的次低位)就能确定每个缓存区块对应存储的是何种身份信息对应的子图像,再配合其他位的二进制码就能确定缓存区块的位置信息,即确定该缓存区块在多个缓存区块中的位置,也就是说,在根据多个缓存区块的数量和多个缓存区块对应的设置顺序生成每个缓存区块对应的身份标签后,将每个身份标签对应添加至每个缓存区块中,根据每个身份标签就能够确定缓存区块中存储的是何种身份信息的子图像。Wherein, since each video frame image will be stripped into four sub-images, therefore, in order to store the four sub-images corresponding to each video frame image respectively, the number of multiple cache blocks needs to be set to a multiple of 4, and For the specific number of multiple cache blocks, it can be set according to user definition, and this embodiment does not specifically limit it, wherein, the setting sequence corresponding to multiple cache blocks is the order in which multiple cache blocks are set in the memory, for example, in Block 0, block 1, block 2...block 7 are set in sequence in the memory, 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 binary code of the binary tag (that is, the lowest bit of the binary code) is used to represent the left image/ The information on the right, the second bit of binary code (that is, 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 binary code are used to represent each The location information of a 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 multiple cache blocks. Exemplarily, when four cache blocks are sequentially set, namely block 0, block 1, block 2 and block 3, the corresponding setting sequence is (1) block 0, (2) block 1...(4) Block 3, according to the generation rules of the binary label, only two binary codes are needed to satisfy the uniqueness of the identity label, 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 8 cache blocks are set in sequence, that is, block 0, block 1, block 2, block 3, block 4, block 5, block 6 and block 7, and The corresponding setting sequence is (1) Block 0, (2) Block 1...(8) Block 7. According to the generation rules of binary tags, three binary codes are needed to satisfy the uniqueness of identity tags. 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, so that By analogy, a unique binary tag can be set for each cache block. In this case, when the first binary code (ie, the lowest bit of the binary code) and the second bit of binary code (ie, the second lowest bit of the binary code) ) is 01, the aforementioned block 1 and block 5 are consistent, and if the third binary code is 0, it means that the cache block is block 1, and if the third binary code is 1, the cache The block is block 5. It can be seen that the bit width of the binary tag is determined by the number of multiple buffer blocks, and according to the first binary code (ie, the lowest bit of the binary code) and the second bit of the binary code (ie, the second lowest bit of the binary code) of the binary tag It can determine the sub-image corresponding to the identity information stored in each cache block, and then cooperate with the binary code of other bits to determine the location information of the cache block, that is, to determine that the cache block is in multiple cache blocks That is to say, after generating the identity tag corresponding to each cache block according to the number of multiple cache blocks and the corresponding setting order of multiple cache blocks, each identity tag is correspondingly added to each cache area In the block, according to each identity tag, it can be determined what kind of identity information sub-image is stored in the cache block.

在本申请实施例中,在处理单元11对当前帧图像进行剥离处理之前,先由设置单元14在存储器中设置多个缓存区块,缓存区块需要预先在存储器中设置,即在存储器中按照固定内存容量划分出多个缓存区块,再由生成单元15根据多个缓存区块的数量和多个缓存区块对应的设置顺序生成每个缓存区块对应的身份标签,即生成每个缓存区块用于读取顺序的身份标签,再由添加单元16将每个身份标签对应添加至每个缓存区块中,从而对每个缓存区块添加身份标签,以便根据每个身份标签确定缓存区块中存储的是何种身份信息的子图像。In the embodiment of the present application, before the processing unit 11 performs stripping processing on the current frame image, the setting unit 14 first sets a plurality of cache blocks in the memory, and the cache blocks need to be set in the memory in advance, that is, in the memory according to The fixed memory capacity is divided into multiple cache blocks, and then the generation unit 15 generates an identity tag corresponding to each cache block according to the number of multiple cache blocks and the corresponding setting sequence of the multiple cache blocks, that is, generates each cache block Blocks are used to read sequential identity tags, and each identity tag is correspondingly added to each cache block by the adding unit 16, thereby adding an identity tag to each cache block, so that the cache is determined according to each identity tag A sub-image of what identity information is stored in the block.

进一步的,如图2所示,存储单元12包括:第一确定模块121,用于根据每个子图像对应的身份信息确定多个子图像对应的存储顺序;第二确定模块122,用于基于每个子图像对应的身份信息和每个缓存区块中的身份标签确定每个子图像对应的目标缓存区块;存储模块123,用于按照多个子图像对应的存储顺序以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中。Further, as shown in FIG. 2 , the storage unit 12 includes: a first determining module 121, configured to determine the storage sequence corresponding to multiple sub-images according to the identity information corresponding to each sub-image; a second determining module 122, configured to The identity information corresponding to the image and the identity tag in each cache block determine the corresponding target cache block of each sub-image; the storage module 123 is used to store each sub-image in sequence according to the storage sequence and storage rate corresponding to the multiple sub-images Each sub-image corresponds to the target cache block.

其中,存储顺序为将多个子图像存储至多个目标缓存区块中的顺序,由于在读取时,需要先读取上场LR,后读取下场LR,因此,为了保证读取效率,可通过每个子图像对应的身份信息确定多个子图像的存储顺序,以便先存上场LR,后存下场LR;而在确定了当前图像对应的多个子图像的存储顺序后,就需要确定每个子图像各自对应的缓存区块,即目标缓存区块,由于在每个缓存区块中均具有用于表征读取顺序的身份标签,因此,根据身份标签就能够确定当前图像对应的每个子图像要存储至多个缓存区块中的哪个缓存区块,而在确定了目标缓存区块后,WDMA按照多个子图像对应的存储顺序以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,即可在后续RDMA读取时,直接获得对应读取顺序的子图像。Wherein, the storage order is the order in which multiple sub-images are stored in multiple target cache blocks. When reading, it is necessary to read the upper field LR first, and then read the lower field LR. Therefore, in order to ensure the reading efficiency, each The identity information corresponding to each sub-image determines the storage order of multiple sub-images, so that the upper field LR is stored first, and the lower field LR is stored later; after determining the storage order of multiple sub-images corresponding to the current image, it is necessary to determine the respective corresponding The cache block, that is, the target cache block, has an identity tag used to represent the reading order in each cache block, so it can be determined according to the identity tag that each sub-image corresponding to the current image should be stored in multiple caches Which cache block in the block, and after determining the target cache block, 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, that is Sub-images corresponding to the reading sequence can be directly obtained during subsequent RDMA reading.

在本申请实施例中,存储单元12用于根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,而具体的存储过程为:先由第一确定模块121根据每个子图像对应的身份信息确定多个子图像对应的存储顺序,即将多个子图像存储至多个目标缓存区块中的顺序,再由第二确定模块122基于每个子图像对应的身份信息和每个缓存区块中的身份标签确定每个子图像对应的目标缓存区块,即确定每个子图像在多个缓存区块中对应存储的那几个缓存区块,即目标缓存区块,最后由存储模块123按照多个子图像对应的存储顺序以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,以便在后续RDMA读取时,直接获得对应读取顺序的子图像。In the embodiment of the present application, the storage unit 12 is used to sequentially store each sub-image in the corresponding target buffer block of each sub-image according to the identity information corresponding to each sub-image and the storage rate, and the specific storage process is: firstly, the 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 multiple target cache blocks, and then the second determination module 122 based on the corresponding storage order of each sub-image The identity information and the identity tag in each cache block determine the target cache block corresponding to each sub-image, that is, determine the cache blocks corresponding to each sub-image stored in multiple cache blocks, that is, the target cache block 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 storage rate corresponding to the multiple sub-images, so that when the subsequent RDMA reads, directly obtain the data of the corresponding read order sub image.

进一步的,如图2所示,所述存储模块123,具体用于:检测每个目标缓存区块中是否存储有历史帧图像对应的子图像;若每个目标缓存区块中未存储有历史帧图像对应的子图像,则按照存储顺序以及存储速率将当前帧图像对应的多个子图像依次存储至每个子图像对应的目标缓存区块中;若每个目标缓存区块中已存储有历史帧图像对应的子图像,则按照存储顺序依次判断每个目标缓存区块中的历史帧图像对应的子图像是否被读取;若历史帧图像对应的子图像未被读取,则在历史帧图像对应的子图像被读取完成时,按照存储顺序以及存储速率将当前帧图像对应的子图像覆盖存储至对应的目标缓存区块中;若历史帧图像对应的子图像已被读取,则按照存储顺序以及存储速率将当前帧图像对应的子图像覆盖存储至对应的目标缓存区块中。Further, as shown in FIG. 2, the storage module 123 is specifically used to: detect whether a sub-image corresponding to a history frame image is stored in each target cache block; For the sub-image corresponding to the frame image, store the multiple sub-images corresponding to the current frame image in sequence in the target cache block corresponding to each sub-image according to the storage order and storage rate; if each target cache block has stored historical frames For the sub-image corresponding to the image, it is judged in turn according to 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 in the historical frame image When the corresponding sub-image is read, overwrite and store the sub-image corresponding to the current frame image into 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, then follow The storage sequence and storage rate overwrite and store the sub-image corresponding to the current frame image into the corresponding target buffer block.

其中,历史帧图像为当前帧图像之前的某一帧图像,假设当前帧图像为第4帧,在缓存区块为4个时,即当前帧图像对应的每个子图像对应的目标缓存区块与上一帧图像对应的每个子图像对应的目标缓存区块均为同样的4个缓存区块,此时历史帧图像指代的就是上一帧图像,即第3帧图像对应的子图像;而当缓存区块为8个时,假设当前帧图像对应的每个子图像对应的目标缓存区块为预置顺序中的后4个,那么此时历史帧图像指代的可能是上两帧图像,即第2帧图像对应的子图像,需要说明的是,在每个目标缓存区块中已存储有历史帧图像对应的子图像的情况下,需要先按照存储顺序依次判断每个目标缓存区块中的历史帧图像对应的子图像是否被读取,再根据读取情况将当前帧图像对应的子图像覆盖存储至对应的目标缓存区块中,而具体存储方式包括两种,第一种方式是在依次检测到目标缓存区块中的历史帧图像对应的子图像被读取完成就存储当前帧图像对应的子图像,第二种方式是在所有目标缓存区块中的历史帧图像对应的子图像均被读取完成后再将当前帧图像对应的每个子图像对应存储至目标缓存区块中,但由于读取子图像时需要按照上场LR、下场LR的既定顺序,当读取历史帧图像中对应的下场LR时,其上场LR不会再被读取,即其上场LR对应的目标缓存区块处于等待当前帧图像对应的子图像写入的状态,而为了保证读取效率,显然第二种方式并不适用,因此,本实施例中选用第一种方式对子图像进行存储。Wherein, the historical frame image is a certain frame image before the current frame image, assuming that the current frame image is the 4th frame, when there are 4 buffer blocks, that is, the target buffer block corresponding to each sub-image corresponding to the current frame image is the same as The target cache block corresponding to each sub-image corresponding to the previous frame image is 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 third frame image; and When there are 8 cache blocks, assuming that the target cache block corresponding to each sub-image corresponding to the current frame image is the last 4 in the preset order, then the historical frame image at this time may refer to the last two frame images, That is, the sub-image corresponding to the second frame image. It should be noted that, in the case where the sub-image corresponding to the historical frame image has been stored in each target cache block, it is necessary to judge each target cache block sequentially according to the storage order Whether the sub-image corresponding to the historical frame image in is read, and then overwrite and store the sub-image corresponding to the current frame image into the corresponding target cache block according to the reading situation, and the specific storage methods include two, the first method It is to store the sub-image corresponding to the current frame image after sequentially detecting that the sub-image corresponding to the historical frame image in the target cache block has been read. The second method is to store the sub-image corresponding to the historical frame image in all target cache blocks. After all the sub-images are read, each sub-image corresponding to the current frame image is correspondingly stored in the target buffer block. However, since the sub-images need to be read in the predetermined order of the upper field LR and the lower field LR, when reading the historical frame When the corresponding lower field LR in the image, its upper field LR will not be read again, that is, the target buffer block corresponding to its upper field LR is in the state of waiting for the sub-image corresponding to the current frame image to be written, and in order to ensure the reading efficiency, obviously The second method is not applicable, therefore, the first method is selected to store the sub-image in this embodiment.

在本申请实施例中,存储模块123用于按照多个子图像对应的存储顺序以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,而具体的存储过程为:先检测每个目标缓存区块中是否存储有历史帧图像对应的子图像,如果没有,则说明目标缓存区块中没有存储历史帧图像对应的子图像,即目标缓存区块中还没有被存储过任一帧图像对应的子图像,那么此时则按照存储顺序以及存储速率将当前帧图像对应的多个子图像依次存储至每个子图像对应的目标缓存区块中即可;而如果有,则说明目标缓存区块中已经存储过历史帧图像对应的子图像,那么此时则按照存储顺序依次判断目标缓存区块中的子图像是否被读取,由于目标缓存区块中如果存储有历史帧图像对应的子图像,而该子图像未被读取的情况下,也就说明此时的预置读取速率慢于存储速率,即WDMA的速率慢于RDMA的速率,那么该目标缓存区块是无法存储当前帧图像对应的子图像,即当前帧图像对应的子图像就需要等待该目标缓存区块中如果存储的历史帧图像对应的子图像被读取完成后才能覆盖存储,因此,当历史帧图像对应的子图像未被读取时,则在该历史帧图像对应的子图像被读取完成时,按照存储顺序以及存储速率将当前帧图像对应的子图像覆盖存储至对应的目标缓存区块中;反之则按照存储顺序以及存储速率将当前帧图像对应的子图像覆盖存储至对应的目标缓存区块中,从而将当前帧图像对应的每个子图像存储至对应的目标缓存区块中,以等待后续目标缓存区块中存储的子图像被读取。In the embodiment of the present application, the storage module 123 is used to sequentially store each sub-image in the target cache block corresponding to each sub-image according to the storage sequence and storage rate corresponding to the multiple sub-images, and the specific storage process is: first detect Is there any sub-image corresponding to the historical frame image stored in each target cache block? If not, it means that there is no sub-image corresponding to the historical frame image stored in the target cache block. sub-images corresponding to one 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 sequentially stored in the target cache block corresponding to each sub-image; and if there is, specify the target The sub-image corresponding to the historical frame image has been stored in the cache block, and then judge whether the sub-image in the target cache block has been read according to the storage order, because if there is a historical frame image corresponding to the target cache block If the sub-image is not read, it means that the preset read rate 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 To store the sub-image corresponding to the current frame image, that is, the sub-image corresponding to the current frame image needs to wait for the sub-image corresponding to the stored historical frame image in the target cache block to be read before overwriting and storing. Therefore, when the historical frame image When the sub-image corresponding to the image has not been read, when the sub-image corresponding to the historical frame image is read, overwrite and store the sub-image corresponding to the current frame image to the corresponding target buffer block according to the storage order and storage rate On the contrary, according to the storage order and storage rate, the sub-image corresponding to the current frame image is covered and stored in the corresponding target buffer block, so that each sub-image corresponding to the current frame image is stored in the corresponding target buffer block, so that Waiting for sub-images stored in subsequent target cache blocks to be read.

进一步的,如图2所示,多个目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块;读取单元13,具体用于:检测目标上场左图缓存区块和目标上场右图缓存区块中是否均存储有当前图像帧对应的子图像;若目标上场左图缓存区块和目标上场右图缓存区块中未均存储有当前帧图像对应的子图像,则按照上一帧图像对应的读取顺序以及预置读取速率依次读取上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像,并依次输出显示上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像;若目标上场左图缓存区块和目标上场右图缓存区块中均存储有当前图像帧对应的子图像,则按照读取顺序以及预置读取速率依次读取目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像,并依次输出显示目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像;检测目标下场左图缓存区块和目标下场右图缓存区块中是否均存储有当前帧图像对应的子图像;若目标下场左图缓存区块和目标下场右图缓存区块中未均存储有当前帧图像对应的子图像,则按照读取顺序以及预置读取速率依次读取目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像,并依次输出显示目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像;若目标下场左图缓存区块和目标下场右图缓存区块中均存储有当前帧图像对应的子图像,则按照读取顺序以及预置读取速率依次读取目标下场左图缓存区块和目标下场右图缓存区块中存储的子图像,并依次输出显示目标下场左图缓存区块和目标下场右图缓存区块中存储的子图像。Further, as shown in Figure 2, a plurality of target cache blocks include the target upper field left image cache block, the target upper field right image cache block, the target lower field left image cache block and the target lower field right image cache block; read Unit 13 is specifically used to: detect whether the sub-image corresponding to the current image frame is stored in the target upper field left image buffer block and the target upper field right image buffer block; if the target upper field left image buffer block and the target upper field right image buffer If the sub-images corresponding to the current frame image are not stored in all the blocks, then the lower field left image buffer block and the lower field right image corresponding to the previous frame image are sequentially read according to the reading order and preset reading rate The sub-images stored in the image buffer block, and sequentially output and display the sub-images stored in the left image buffer block of the previous frame image and the sub-images stored in the right image buffer block of the next frame; if the target upper field left image buffer block and the target upper field The sub-images corresponding to the current image frame are stored in the right image buffer block, and the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block are sequentially read according to the reading order and the preset reading rate. image, 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 current frame is stored in the target lower field left image buffer block and the target lower field right image buffer block The sub-image corresponding to the image; if the sub-image corresponding to the current frame image is not stored in both the target lower-field left image buffer block and the target lower-field right image buffer block, the target is read sequentially according to the reading order and the preset reading rate The sub-images stored in the left image cache block of the last field and the right image cache block of the target, and sequentially output and display the sub-images stored in the left image cache block of the target and the right image cache block of the target upper field; if the left image of the target bottom The sub-image corresponding to the current frame image is stored in the cache block and the target bottom right image cache block, and the target bottom left image cache block and the target bottom right image cache are sequentially read according to the reading order and the preset reading rate sub-images stored in the block, and sequentially output and display the sub-images stored in the target lower field left image buffer block and the target lower field right image buffer block.

其中,多个目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块,分别用于对应存储当前帧图像对应的上场左图、下场右图、下场左图和下场右图,而由于上场左图和上场右图均是上场图像,因此在读取时,需要读取到完整的上场图像才能保证上场左图和上场右图按序输出,同理,而下场左图和下场右图均是下场图像,因此在读取时,需要读取到完整的下场图像才能保证下场左图和下场右图按序输出。Wherein, the plurality of target cache blocks include the target upper field left image cache block, the target upper field right image cache block, the target lower field left image cache block, and the target lower field right image cache block, which are respectively used for corresponding storage of the current frame image. The upper left image, the lower right image, the lower left image and the lower right image, and since the upper left image and the upper right image are both the upper image, when reading, it is necessary to read the complete upper image to ensure the upper left image It is output in sequence with the upper right image, similarly, but the lower left image and the lower right image are both the lower image, so when reading, it is necessary to read the complete lower image to ensure that the lower left image and the lower right image are output in order .

在本申请实施例中,多个目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块,读取单元用于按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并依次输出显示多个子图像,而具体的读取过程为:先检测目标上场左图缓存区块和目标上场右图缓存区块中是否均存储有当前图像帧对应的子图像,即当前帧图像对应的上场左图和下场右图,如果没有,则说明此时的预置读取速率慢于存储速率,即WDMA的速率慢于RDMA的速率,说明当前帧图像对应上场左图和上场右图还未存储完整或者还未存储,那么此时则按照上一帧图像对应的读取顺序以及预置读取速率依次读取上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像,并依次输出显示,从而采用上一帧图像对应的下场左图和下场右图实现补帧效果;反之,则说明此时的预置读取速率快于存储速率,即WDMA的速率快于RDMA的速率,那么此时则按照读取顺序以及预置读取速率依次读取目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像,并依次输出显示;而在读取了目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像后,则继续检测目标下场左图缓存区块和目标下场右图缓存区块中是否均存储有当前帧图像对应的子图像,如果没有,则说明此时的预置读取速率慢于存储速率,即WDMA的速率慢于RDMA的速率,说明当前帧图像对应下场左图和下场右图还未存储完整或者还未存储,那么此时则按照读取顺序以及预置读取速率依次读取目标上场左图缓存区块和目标上场右图缓存区块中存储的子图像,并依次输出显示,从而采用当前帧图像对应的上场左图和上场右图实现补帧效果,反之,则说明此时的预置读取速率快于存储速率,即WDMA的速率快于RDMA的速率,那么此时则按照读取顺序以及预置读取速率依次读取目标下场左图缓存区块和目标下场右图缓存区块中存储的子图像,从而实现对当前帧图像对应的每个子图像的完整读取。In the embodiment of the present application, the multiple target cache blocks include the target upper field left image cache block, the target upper field right image cache block, the target lower field left image cache block, and the target lower field right image cache block, and the reading unit uses The sub-images stored in each target cache block are sequentially read according to the reading order corresponding to multiple target cache blocks and the preset read rate, and multiple sub-images are sequentially output and displayed, and the specific reading process is: First check whether the sub-image corresponding to the current image frame is stored in the target upper field left image cache block and the target upper field right image buffer block, that is, the upper field left image and the lower field right image corresponding to the current frame image, if not, it means this When the preset reading rate is slower than the storage rate, that is, the rate of WDMA is slower than the rate of RDMA, it means that the current frame image corresponding to the upper left image and the upper right image have not been completely stored or have not been stored yet, then at this time, follow the previous one. The reading order corresponding to the frame image and the preset reading rate sequentially read the sub-images stored in the buffer block of the lower field left image and the buffer block of the lower field right image corresponding to the previous frame image, and output and display them sequentially, thus adopting the previous frame image The left and right images of the lower field corresponding to the frame image realize the effect of complementing the frame; on the contrary, it means that the preset reading rate at this time is faster than the storage rate, that is, the rate of WDMA is faster than the rate of RDMA, then at this time, according to the read rate Sequence and preset read rate Read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block sequentially, and output and display them sequentially; and after reading the target upper field left image buffer block and the target After the sub-image stored in the right image buffer block of the upper field, continue to detect whether the sub-image corresponding to the current frame image is stored in the left image buffer block of the target lower field and the right image buffer block of the target lower field, if not, it means this When the preset reading rate is slower than the storage rate, that is, the rate of WDMA is slower than the rate of RDMA, it means that the current frame image corresponding to the left image of the next field and the right image of the next field have not been stored completely or have not been stored yet, then at this time, read according to Sequence and preset read rate Read the sub-images stored in the target upper field left image cache block and the target upper field right image buffer block sequentially, and output and display them sequentially, so as to adopt the upper field left image and upper field right image corresponding to the current frame image Realize the effect of complementing the frame, otherwise, it means that the preset reading rate at this time is faster than the storage rate, that is, the rate of WDMA is faster than the rate of RDMA, then at this time, the target is read in sequence according to the reading order and the preset reading rate The sub-images stored in the buffer block of the lower field left image and the target lower field right image buffer block, so as to realize the complete reading of each sub-image corresponding to the current frame image.

进一步的,作为对上述图1及图2所示装置的实现,本申请另一实施例还提供了一种视频帧图像的显示方法。该方法实施例与前述装置实施例对应,为便于阅读,本方法实施例不再对前述装置实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的方法能够对应实现前述装置实施例中的全部内容。该方法应用于在保证多个子图像输出顺序的情况下,无需存储每个子图像对应的身份信息,以避免存储每个子图像对应的身份信息会占用过多的存储资源,具体如图3所示,该方法包括:Further, as an implementation of the devices shown in FIG. 1 and FIG. 2 , another embodiment of the present application also provides a method for displaying video frame images. This method embodiment corresponds to the aforementioned device embodiment. For the convenience of reading, this method embodiment does 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 the aforementioned device implementation. Everything in the example. This method is applied in the case of ensuring the output sequence 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 will occupy too much storage resources, as shown in Figure 3, The method includes:

201、对当前帧图像进行剥离处理,以获得当前帧图像对应的多个子图像以及每个子图像对应的身份信息。201. 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.

202、根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,目标缓存区块中具有用于表征目标缓存区块读取顺序的身份标签。202. According to the identity information corresponding to each sub-image and the storage rate, 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 representing the reading order of the target cache block .

203、按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像。203. Read the sub-images stored in each target cache block sequentially according to the reading sequence corresponding to the multiple target cache blocks and the preset read rate.

进一步的,在对当前帧图像进行剥离处理之前,所述方法还包括:在存储器中设置多个缓存区块,其中,所述缓存区块数量为4N,N为正整数;根据多个所述缓存区块的数量和多个所述缓存区块对应的设置顺序生成每个所述缓存区块对应的身份标签;将每个所述身份标签对应添加至每个所述缓存区块中。Further, before performing stripping processing on the current frame image, the method further includes: setting a plurality of buffer blocks in the memory, wherein the number of the buffer blocks is 4N, and N is a positive integer; according to the multiple The number of cache blocks and the setting sequence corresponding to the multiple cache blocks generate an identity tag corresponding to each cache block; and each of the identity tags is correspondingly added to each cache block.

进一步的,根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,包括:根据每个所述子图像对应的身份信息确定多个所述子图像对应的存储顺序;基于每个所述子图像对应的身份信息和每个所述缓存区块中的身份标签确定每个所述子图像对应的目标缓存区块;按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中。Further, according to the identity information and storage rate corresponding to each of the sub-images, each of the sub-images is sequentially stored in the target cache block corresponding to each of the sub-images, including: according to each of the sub-images The corresponding identity information determines the corresponding storage order of multiple 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 target cache corresponding to each of the sub-images is determined block: sequentially storing each of the sub-images in a target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate.

进一步的,按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,包括:检测每个所述目标缓存区块中是否存储有历史帧图像对应的子图像;若每个所述目标缓存区块中未存储有所述历史帧图像对应的子图像,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的多个所述子图像依次存储至每个所述子图像对应的目标缓存区块中;若每个所述目标缓存区块中已存储有所述历史帧图像对应的子图像,则按照所述存储顺序依次判断每个所述目标缓存区块中的所述历史帧图像对应的子图像是否被读取;若所述历史帧图像对应的子图像未被读取,则在所述历史帧图像对应的子图像被读取完成时,按照所述存储顺序以及所述存储速率将所述当前帧图像对应的所述子图像覆盖存储至对应的所述目标缓存区块中;若所述历史帧图像对应的子图像已被读取,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的所述子图像覆盖存储至对应的所述目标缓存区块中。Further, sequentially storing each of the sub-images in the target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate includes: detecting each of the sub-images Whether the sub-image corresponding to the historical frame image is stored in the target cache block; if the sub-image corresponding to the historical frame image is not stored in each of the target cache blocks, according to the storage order and the storage rate A plurality of the sub-images corresponding to the current frame image are sequentially stored in the target cache block corresponding to each of the sub-images; if each of the target cache blocks has stored the corresponding If the sub-image corresponding to the historical frame image in each of the target cache blocks is judged sequentially according to the storage order, whether the sub-image corresponding to the historical frame image has been read; if the sub-image corresponding to the historical frame image has not been read , then when the reading of the sub-image corresponding to the historical frame image is completed, the sub-image corresponding to the current frame image is overlaid and stored in the corresponding target buffer area according to the storage order and the storage rate block; if the sub-image corresponding to the historical frame image has been read, then overwrite and store the sub-image corresponding to the current frame image to the corresponding target cache according to the storage order and the storage rate in the block.

进一步的,多个所述目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块;按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像,包括:检测所述目标上场左图缓存区块和所述目标上场右图缓存区块中是否均存储有所述当前图像帧对应的子图像;若所述目标上场左图缓存区块和所述目标上场右图缓存区块中均存储有所述当前帧图像对应的子图像,则按照上一帧图像对应的读取顺序以及预置读取速率依次读取所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像,并依次输出显示所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像;若所述目标上场左图缓存区块和所述目标上场右图缓存区块中未均存储有所述当前图像帧对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像;检测所述目标下场左图缓存区块和所述目标下场右图缓存区块中是否均存储有所述当前帧图像对应的子图像;若所述目标下场左图缓存区块和所述目标下场右图缓存区块中未均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的子图像;若所述目标下场左图缓存区块和所述目标下场右图缓存区块中均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像,并依次输出显示所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像。Further, the multiple target cache blocks include the target upper field left image cache block, the target upper field right image cache block, the target lower field left image cache block and the target lower field right image cache block; The reading sequence corresponding to the buffer block and the preset reading rate sequentially read the sub-images stored in each of the target buffer blocks, and sequentially output and display a plurality of the sub-images, including: detecting the target upper field left Whether the sub-image corresponding to the current image frame is stored in the image buffer block and the target upper field right image buffer block; if the target upper field left image buffer block and the target upper field right image buffer block The sub-images corresponding to the current frame image are all stored, then the lower field left image buffer block and the lower field right image corresponding to the previous frame image are sequentially read according to the reading sequence corresponding to the previous frame image and the preset reading rate. The sub-images stored in the image buffer block, and sequentially output and display the sub-images stored in the left image buffer block of the last frame image and the sub-image stored in the right image buffer block of the next frame; if the target upper field left image buffer area If the sub-image corresponding to the current image frame is not stored in both the block and the target upper field right image buffer block, the target upper field left image is sequentially read according to the reading order and the preset reading rate cache block and the sub-image stored in the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image cache block. Image; detect whether the sub-image corresponding to the current frame image is stored in the target lower field left image buffer block and the target lower field right image buffer block; if the target lower field left image buffer block and the target lower field right image buffer block If the sub-images corresponding to the current frame image are not all stored in the target lower field right image buffer block, the target upper field left image buffer block and the target upper field left image buffer block and The sub-image stored in the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image buffer block; if the target The sub-image corresponding to the current frame image is stored in both the lower field left image cache block and the target lower field right image buffer block, and the sub-images corresponding to the current frame image are sequentially read according to the reading order and the preset reading rate. The sub-images stored in the target lower field left image buffer block and the target lower field right image buffer block are sequentially output and displayed in the target lower field left image buffer block and the target lower field right image buffer block. The subimage of the .

本申请提供一种视频帧图像的显示装置及方法,本申请提供的视频帧图像的显示装置包括:处理单元、存储单元和读取单元;首先,由处理单元对当前帧图像进行剥离处理,以获得当前帧图像对应的多个子图像以及每个子图像对应的身份信息;其次,由存储单元根据每个子图像对应的身份信息以及存储速率将每个子图像依次存储至每个子图像对应的目标缓存区块中,目标缓存区块中具有用于表征目标缓存区块读取顺序的身份标签;最后,由读取单元按照多个目标缓存区块对应的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并依次输出显示多个子图像。由于,在本申请中,对于任意一个目标缓存区块而言,该目标缓存区块中具有表征该目标缓存区块读取顺序的身份标签,即通过每个目标缓存区块中的身份标签就能够确定多个目标缓存区块的读取顺序,也就能够通过多个目标缓存区块的读取顺序以及预置读取速率依次读取每个目标缓存区块中存储的子图像,并使得多个子图像能够按照读取顺序和预置读取速率输出显示。因此,无需额外存储每个子图像对应的身份信息,从而避免存储资源被子图像对应的身份信息过多占用。The present application provides a display device and method for a video frame image. The display device for a video frame image 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 A plurality of sub-images corresponding to the current frame image and identity information corresponding to each sub-image are obtained; secondly, each sub-image is sequentially stored in the target cache block corresponding to each sub-image by the storage unit according to the identity information corresponding to each sub-image and the storage rate Among them, the target cache block has an identity tag used to characterize the reading order of the target cache block; finally, the reading unit sequentially reads each sub-images stored in each target cache block, and sequentially output and display multiple sub-images. Because, in this application, for any target cache block, the target cache block has an identity tag that characterizes the reading order of the target cache block, that is, through the identity tag in each target cache block, the The reading order of multiple target cache blocks can be determined, and the sub-images stored in each target cache block can be sequentially read through the reading order of multiple target cache blocks and the preset reading rate, and make Multiple sub-images can be output and displayed according to the reading order and preset reading rate. Therefore, there is no need to additionally store the identity information corresponding to each sub-image, thereby avoiding excessive occupation of storage resources by the identity information corresponding to the sub-image.

本申请实施例提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行上述所述的视频帧图像的显示方法。An embodiment of the present application provides a storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned method for displaying video frame images.

存储介质可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。本申请实施例还提供了一种视频帧图像的显示装置,所述装置包括存储介质;及一个或者多个处理器,所述存储介质与所述处理器耦合,所述处理器被配置为执行所述存储介质中存储的程序指令;所述程序指令运行时执行上述所述的视频帧图像的显示方法。Storage media may include non-permanent memory in computer-readable media, in the form of random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), and the memory includes at least a memory 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 with the processor, and the processor is configured to execute The program instructions stored in the storage medium; when the program instructions are executed, the method for displaying the above-mentioned video frame images is executed.

本申请实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored on the memory and that can run on the processor. When the processor executes the program, the following steps are implemented:

对当前帧图像进行剥离处理,以获得所述当前帧图像对应的多个子图像以及每个所述子图像对应的身份信息;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 of the sub-images;

根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,所述目标缓存区块中具有用于表征所述目标缓存区块读取顺序的身份标签;According to the identity information and storage rate corresponding to each of the sub-images, each of the sub-images is sequentially stored in a target cache block corresponding to each of the sub-images, and the target cache block has a An identity tag describing the read order of the target cache block;

按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像。The sub-images stored in each of the target cache blocks are sequentially read according to the reading order and the preset reading rate corresponding to the multiple target cache blocks, and the multiple sub-images are sequentially output and displayed.

进一步的,在对当前帧图像进行剥离处理之前,所述方法还包括:Further, before performing stripping processing on the current frame image, the method also includes:

在存储器中设置多个缓存区块,其中,所述缓存区块数量为4N,N为正整数;Setting multiple cache blocks in the memory, wherein the number of cache blocks is 4N, and N is a positive integer;

根据多个所述缓存区块的数量和多个所述缓存区块对应的设置顺序生成每个所述缓存区块对应的身份标签;generating an identity tag corresponding to each of the cache blocks according to the number of the multiple cache blocks and the corresponding setting order of the multiple cache blocks;

将每个所述身份标签对应添加至每个所述缓存区块中。Each of the identity tags is correspondingly added to each of the cache blocks.

进一步的,根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,包括:Further, according to the identity information corresponding to each of the sub-images and the storage rate, each of the sub-images is sequentially stored in the target cache block corresponding to each of the sub-images, including:

根据每个所述子图像对应的身份信息确定多个所述子图像对应的存储顺序;determining a storage sequence corresponding to the multiple 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;

按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中。Each of the sub-images is sequentially stored in the target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate.

进一步的,按照多个所述子图像对应的存储顺序以及所述存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,包括:Further, sequentially storing each of the sub-images in the target cache block corresponding to each of the sub-images according to the storage sequence corresponding to the plurality of sub-images and the storage rate, including:

检测每个所述目标缓存区块中是否存储有历史帧图像对应的子图像;Detecting whether a sub-image corresponding to a historical frame image is stored in each of the target cache blocks;

若每个所述目标缓存区块中未存储有所述历史帧图像对应的子图像,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的多个所述子图像依次存储至每个所述子图像对应的目标缓存区块中;If the sub-images corresponding to the historical frame images are not stored in each of the target cache blocks, the plurality of sub-images corresponding to the current frame image are sequentially stored according to the storage order and the storage rate into the target cache block corresponding to each of the sub-images;

若每个所述目标缓存区块中已存储有所述历史帧图像对应的子图像,则按照所述存储顺序依次判断每个所述目标缓存区块中的所述历史帧图像对应的子图像是否被读取;If the sub-images corresponding to the historical frame images have been stored in each of the target cache blocks, the sub-images corresponding to the historical frame images in each of the target cache blocks are sequentially determined according to the storage order whether to be 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 will be stored according to the storage order and the storage rate. The sub-image is overlaid and stored in the corresponding target cache block;

若所述历史帧图像对应的子图像已被读取,则按照所述存储顺序以及所述存储速率将所述当前帧图像对应的所述子图像覆盖存储至对应的所述目标缓存区块中。If the sub-image corresponding to the historical frame image has been read, then overwrite and store the sub-image corresponding to the current frame image into the corresponding target cache block according to the storage order and the storage rate .

进一步的,多个所述目标缓存区块包括目标上场左图缓存区块、目标上场右图缓存区块、目标下场左图缓存区块和目标下场右图缓存区块;按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像,包括:Further, the multiple target cache blocks include the target upper field left image cache block, the target upper field right image cache block, the target lower field left image cache block and the target lower field right image cache block; The reading sequence corresponding to the cache block and the preset reading rate sequentially read the sub-images stored in each of the target cache blocks, and sequentially output and display a plurality of the sub-images, including:

检测所述目标上场左图缓存区块和所述目标上场右图缓存区块中是否均存储有所述当前图像帧对应的子图像;Detecting whether the sub-image corresponding to the current image frame is stored in both the target upper field left image buffer block and the target upper field right image buffer block;

若所述目标上场左图缓存区块和所述目标上场右图缓存区块中均存储有所述当前帧图像对应的子图像,则按照上一帧图像对应的读取顺序以及预置读取速率依次读取所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像,并依次输出显示所述上一帧图像对应的下场左图缓存区块和下场右图缓存区块中存储的子图像;If the sub-image corresponding to the current frame image is stored in the target upper field left image buffer block and the target upper field right image buffer block, read according to the reading sequence and preset corresponding to the previous frame image The rate reads 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, and sequentially outputs and displays the lower field left image buffer block and the lower field left image buffer block corresponding to the last frame image The sub-image stored in the cache block of the right image in the next scene;

若所述目标上场左图缓存区块和所述目标上场右图缓存区块中未均存储有所述当前图像帧对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像;检测所述目标下场左图缓存区块和所述目标下场右图缓存区块中是否均存储有所述当前帧图像对应的子图像;If the sub-image corresponding to the current image frame is not stored in the target upper field left image buffer block and the target upper field right image buffer block, then according to the read order and the preset read rate sequentially read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image The sub-image stored in the buffer block; detecting whether the sub-image corresponding to the current frame image is stored in the target lower field left image buffer block and the target lower field right image buffer block;

若所述目标下场左图缓存区块和所述目标下场右图缓存区块中未均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的所述子图像,并依次输出显示所述目标上场左图缓存区块和所述目标上场右图缓存区块中存储的子图像;If the sub-image corresponding to the current frame image is not stored in the target lower field left image buffer block and the target lower field right image buffer block, then according to the reading order and the preset reading rate sequentially read the sub-images stored in the target upper field left image buffer block and the target upper field right image buffer block, and sequentially output and display the target upper field left image buffer block and the target upper field right image sub-images stored in the cache block;

若所述目标下场左图缓存区块和所述目标下场右图缓存区块中均存储有所述当前帧图像对应的子图像,则按照所述读取顺序以及所述预置读取速率依次读取所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像,并依次输出显示所述目标下场左图缓存区块和所述目标下场右图缓存区块中存储的所述子图像。If the sub-image corresponding to the current frame image is stored in both the target lower field left image cache block and the target lower field right image buffer block, then follow the reading order and the preset reading rate sequentially Read the sub-images stored in the target lower field left image buffer block and the target lower field right image buffer block, and sequentially output and display the target lower field left image buffer block and the target lower field right image buffer The sub-image stored in the block.

本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序代码:对当前帧图像进行剥离处理,以获得所述当前帧图像对应的多个子图像以及每个所述子图像对应的身份信息;根据每个所述子图像对应的身份信息以及存储速率将每个所述子图像依次存储至每个所述子图像对应的目标缓存区块中,所述目标缓存区块中具有用于表征所述目标缓存区块读取顺序的身份标签;按照多个所述目标缓存区块对应的读取顺序以及预置读取速率依次读取每个所述目标缓存区块中存储的子图像,并依次输出显示多个所述子图像。The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program code that is initialized with the following method steps: performing stripping processing on the current frame image to obtain the multiple data corresponding to the current frame image sub-images and identity information corresponding to each of the sub-images; according to the identity information and storage rate corresponding to each of the sub-images, each of the sub-images is sequentially stored in the target cache block corresponding to each of the sub-images wherein, the target cache block has an identity tag used to characterize the reading order of the target cache block; read each sub-images stored in each of the target cache blocks, and sequentially output and display a plurality of the sub-images.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. 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, etc.) having computer-usable program code embodied therein. The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams. In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. The memory is an example of a computer readable medium. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. 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 Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves. It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element. Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can 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, etc.) having computer-usable program code embodied therein. The above are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within 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 Active CN115412760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211053188.7A CN115412760B (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 CN115412760B (en) 2022-08-31 2022-08-31 Video frame image display device and method

Publications (2)

Publication Number Publication Date
CN115412760A true CN115412760A (en) 2022-11-29
CN115412760B CN115412760B (en) 2024-12-20

Family

ID=84163440

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN115412760B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1212812A (en) * 1996-02-28 1999-03-31 松下电器产业株式会社 Optical disc for high-resolution and stereoscopic image recording, optical disc playback device and optical disc recording device
CN101547350A (en) * 2008-03-28 2009-09-30 陈意辉 Efficient plane and stereo digital video coding and decoding method
US20100033555A1 (en) * 2008-08-07 2010-02-11 Mitsubishi Electric Corporation Image display apparatus and method
EP2230857A1 (en) * 2009-03-19 2010-09-22 Sony Corporation Image signal processing device, three-dimensional image display device, three-dimensional image transmission/display system, and image signal processing method
CN101868970A (en) * 2007-10-19 2010-10-20 三星电子株式会社 Method for recording three-dimensional image data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1212812A (en) * 1996-02-28 1999-03-31 松下电器产业株式会社 Optical disc for high-resolution and stereoscopic image recording, optical disc playback device and optical disc recording device
CN1866378A (en) * 1996-02-28 2006-11-22 松下电器产业株式会社 Optical disk reproducing device and optical disk recording device
CN101868970A (en) * 2007-10-19 2010-10-20 三星电子株式会社 Method for recording three-dimensional image data
CN101547350A (en) * 2008-03-28 2009-09-30 陈意辉 Efficient plane and stereo digital video coding and decoding method
US20100033555A1 (en) * 2008-08-07 2010-02-11 Mitsubishi Electric Corporation Image display apparatus and method
EP2230857A1 (en) * 2009-03-19 2010-09-22 Sony Corporation Image signal processing device, three-dimensional image display device, three-dimensional image transmission/display system, and image signal processing method

Also Published As

Publication number Publication date
CN115412760B (en) 2024-12-20

Similar Documents

Publication Publication Date Title
US6819326B2 (en) Memory address translation for image processing
CN101025821B (en) Asymmetric multi-GPU processing
CN116010299B (en) A data processing method, device, equipment and readable storage medium
JP2020500357A (en) Method and device for presenting animated images on a mobile device
CN103995684A (en) Method and system for synchronously processing and displaying mass images under ultrahigh resolution platform
CN110647378A (en) Dynamic image loading method and device and electronic equipment
CN109447893A (en) A kind of convolutional neural networks FPGA accelerate in image preprocessing method and device
US9460489B2 (en) Image processing apparatus and image processing method for performing pixel alignment
TW202025080A (en) Methods and devices for graphics processing
CN115209216A (en) Video playing method and device and electronic equipment
CN110727825A (en) Animation playing control method, device, server and storage medium
TWI395152B (en) A graphics processing unit and a method of processing border color information
CN114710702A (en) Video playing method and device
CN116360734A (en) Rendering method and device, storage medium and electronic equipment
CN115412760A (en) Video frame image display device and method
WO2021035643A1 (en) Monitoring image generation method, apparatus, device, system, and image processing device
CN114666621B (en) Page processing method, device and equipment
CN118260495A (en) Page rendering method, device, equipment and computer readable storage medium
KR102247741B1 (en) An image processor, a method of operating the image processor, and an application processor including the image processor
US20190087200A1 (en) Method for displaying an animation during the starting phase of an electronic device and associated electronic device
JPS58217076A (en) Picture storage device
CN112714279A (en) Image display method, device and system and video source monitor
CN114071225B (en) Frame animation playing method, device and system
US20230133991A1 (en) Display Control Device, Method and Apparatus
US20250259363A1 (en) Video generation method and apparatus

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
CB02 Change of applicant information

Country or region after: China

Address after: 314400 Building 1, Juanhu Science and Technology Innovation Park, No. 500 Shuiyueting East Road, Xiashi Street, Haining City, Jiaxing City, Zhejiang Province (self declared)

Applicant after: Haining Yisiwei Computing Technology Co.,Ltd.

Applicant after: Beijing ESWIN Computing Technology Co.,Ltd.

Address before: Room 263, block B, science and technology innovation center, 128 Shuanglian Road, Haining Economic Development Zone, Haining City, Jiaxing City, Zhejiang Province, 314400

Applicant before: Haining yisiwei IC Design Co.,Ltd.

Country or region before: China

Applicant before: Beijing ESWIN Computing Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant