[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20190320194A1 - Virtual frame buffer system and method - Google Patents

Virtual frame buffer system and method Download PDF

Info

Publication number
US20190320194A1
US20190320194A1 US16/278,288 US201916278288A US2019320194A1 US 20190320194 A1 US20190320194 A1 US 20190320194A1 US 201916278288 A US201916278288 A US 201916278288A US 2019320194 A1 US2019320194 A1 US 2019320194A1
Authority
US
United States
Prior art keywords
encoded
frame
macroblock
reference frame
macroblocks
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.)
Abandoned
Application number
US16/278,288
Inventor
Steve Bakke
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.)
Netzyn Inc
Original Assignee
Netzyn Inc
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 Netzyn Inc filed Critical Netzyn Inc
Priority to US16/278,288 priority Critical patent/US20190320194A1/en
Assigned to NETZYN, INC. reassignment NETZYN, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BAKKE, STEVE
Publication of US20190320194A1 publication Critical patent/US20190320194A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/43Hardware specially adapted for motion estimation or compensation
    • H04N19/433Hardware specially adapted for motion estimation or compensation characterised by techniques for memory access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • G09G5/397Arrangements specially adapted for transferring the contents of two or more bit-mapped memories to the screen simultaneously, e.g. for mixing or overlay
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/399Control of the bit-mapped memory using two or more bit-mapped memories, the operations of which are switched in time, e.g. ping-pong buffers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/507Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction using conditional replenishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/04Partial updating of the display screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/10Special adaptations of display systems for operation with variable images
    • G09G2320/103Detection of image changes, e.g. determination of an index representative of the image change
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2350/00Solving problems of bandwidth in display systems
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/18Use of a frame buffer in a display terminal, inclusive of the display panel

Definitions

  • the present invention generally relates to video encode and decode devices and processes, and more particularly relates to video encode and decode devices and processing of computing graphics which are relatively static in nature, and reducing processing, bandwidth, memory and power requirements in such devices and processing.
  • the video is encoded at the sender side device, communicated over the network from the sender side device to the recipient side device, and then decoded at the recipient side device.
  • This encoding/decoding reduces the quantity of data that must be communicated to deliver the video from the sender to the recipient, and therefore reduces the amount of bandwidth of the network required for the communication.
  • video is encoded/decoded according to a specified technical standard, such as MPEG1, MPEG2, H.263, VC-1 and H.264.
  • encode/decode standards are somewhat similar in process and device requirements.
  • digitized video is stored as a series of “frames” in multiple “frame buffers” in memory, and each frame buffer for each frame is segregated into a plurality of smaller “macroblock” segments.
  • Encoding and decoding operations each include processing the frames in sequence, via respective sequential processing of the frames via frame buffers for each frame on a macroblock by macroblock basis for each frame.
  • video comprising at least some fairly same or static data from time-to-time among respective macroblocks (i.e., either of same or other frames)
  • much of the processing required for encoding and decoding is primarily mere copying of data contents.
  • Embodiments of the invention include devices and methods for encoding or decoding a file, such as a video, graphic, media, or other file communicated over a network or otherwise, with reduced processing, memory, bandwidth and power requirements.
  • the devices and methods either encode/decode each next successive macroblock of a frame of the file or, if that macroblock matches any macroblock that has already been encoded/decoded (as applicable) of a prior frame and which is then-retained in a reference frame buffer, create and store a pointer in a virtual frame table buffer that points to the previously encoded/macroblock already in the reference frame buffer, rather than encode/decode the macroblock for encoding and/or decoding operations.
  • An embodiment of the invention is a device for encoding or decoding a file.
  • the file includes frames and each frame comprises macroblocks.
  • the device includes memory, a processor communicatively connected to the memory, an encoder communicatively connected to and controlled by the processor, a plurality of reference frame buffers created in the memory by the encoder, where each reference frame buffer is distinct from any other reference frame buffers in the memory, virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, created in the memory by the encoder/decoder, each virtual frame buffer table, respectively, corresponds to one reference frame buffer, sectors of each reference frame buffer, each sector is capable of storing one of the macroblocks of one frame of the file, and a respective pointer created by the encoder/decoder if any macroblock for encoding/decoding (of any frame) matches any macroblock of another frame previously encoded/decoded and the encoded/decoded macroblock is then-retained in one of the reference frame buffers.
  • the encoder either encodes each next macroblock of a frame or, if that next macroblock matches any macroblock that was previously encoded and if the encoded macroblock is then-retained in any of reference frame buffers, the encoder instead creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the frame of that next macroblock.
  • Another embodiment of the invention is a system according to the foregoing encoder or decoder, wherein at least certain of the encoder is the decoder, and vice versa, and the system further includes a communication network, a first device connected to the communication network, the first node includes at least portions of the encoder, and a second device connected to the communication network, the second node includes at least portions of the decoder.
  • the encoded file is communicated by the first node to the second node over the network for decoding.
  • Another embodiment of the invention is a system including the encoder and decoder just described above, and also including a communication link between the encoder and the decoder.
  • Another embodiment of the invention is a method of encoding a file.
  • the file comprises frames and each frame comprises macroblocks for encoding.
  • the method includes creating in a memory a plurality of reference frame buffers, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the frame, creating in the memory a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively, creating a plurality of respective sectors of each reference frame buffer, respectively, each respective sector sufficient for storage of one of the macroblocks corresponding to part of one of the frame of the file, encoding one of the frames of the file, by successively encoding each respective one of the macroblocks of the one of the frame, unless any already encoded macroblock (if any) then-retained in any of the respective sectors of any of the reference frame buffers would be the same as the encode
  • the encoder during encoding either encodes each next one of the macroblock of the frame or, if any macroblock of another one of the frames previously encoded is then-retained in any of the plurality of reference frame buffers, creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the frame then being encoded.
  • Another embodiment of the invention is a method of decoding an encoded file.
  • the encoded file comprises encoded frames and each encoded frame comprises encoded macroblocks for decoding and the file, when decoded, comprises frames and each frame comprises macroblocks.
  • the method includes creating in a memory a plurality of reference frame buffers, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the encoded frame, creating in the memory a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively, creating a plurality of respective sectors of each reference frame buffer, respectively, each respective sector sufficient for storage of one of the macroblocks corresponding to part of one of the frame of the file, decoding one of the encoded frames of the encoded file, by successively decoding each respective one of the encoded macroblocks of the one of the encoded frame, unless the encode
  • the decoder during decoding either decodes each next encoded macroblock of the encoded frame or, if any encoded macroblock of another encoded frame previously decoded is then-retained in any of the plurality of reference frame buffers, instead creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the encoded frame then being decoded.
  • Another embodiment of the invention is an encode device operating in accordance with the foregoing method of encoding a file.
  • Yet another embodiment of the invention is a decode device operating in accordance with the foregoing method of decoding an encoded file.
  • the encoder/decoder device for processing a single reference frame.
  • the encoder/decoder device includes a virtual frame buffer table of a single bit array in a memory and a processor connected to the virtual frame buffer table for writing the single reference frame to the single bit array.
  • FIG. 1 illustrates an exemplary system of three frame reference buffers for video encoding and decoding, according to certain embodiments of the invention
  • FIG. 3 illustrates an exemplary method for video encoding and decoding, according to certain embodiments of the invention
  • FIG. 4 illustrates another exemplary system of two reference frame buffers for video encoding and decoding via low-end elements, according to certain embodiments of the invention.
  • FIG. 5 illustrates a system including an encoder communicatively connected by a communication network to a decoder, according to certain embodiments of the invention.
  • a typical video encoding/decoding system 10 illustrates pixels representing a video file (Video In) 102 input to a video encoder 103 on a frame-by-frame basis for the video file.
  • video file video graphic
  • graphics graphics
  • file means a set, series, collection or combination (or subset or portion thereof) of video frames stored or storable in a non-transitory tangible media, the video frames representing all or a portion of a graphic, media, video, picture, or other display of a processor device, such as a computer, smart phone, tablet computer, laptop computer, or other computing or display rendering device.
  • each video frame of the video is a respective 48 by 48 pixel graphic.
  • the video encoder 103 processingly encodes the video converting it from the input format to another format, for example, for purpose of standardization, speed, security and/or compression as will be understood, to create an encoded video file 104 .
  • the video encoder 103 also creates and stores reference frame(s) of the encoded video file 104 in one or more reference frame buffers 100 in memory, for example, Reference Frame Buffers 100 a , 100 b , 100 c , in process of encoding.
  • Other numbers of reference frame buffers 100 are possible for encoding operations, and the reference frame buffers 100 are intended only as examples for purposes of discussion.
  • the video encoder 103 processes each frame of the video file 102 , typically, in succession, progressing through each frame in respective blocks of data representing pluralities of distinct sub-portions of each frame of the video. These blocks of data are referred to, for purposes herein, as macroblocks, and each as a macroblock. Therefore, as the video encoder 103 processes and stores the processed frames of the video in the reference frame buffers 100 , the processed frames are stored, macroblock by macroblock of each frame, by the encoder 103 in storage memory (not shown in detail in FIG. 1 ).
  • An example macroblock size is 16 ⁇ 16 pixels and, for this example, a 48 ⁇ 48 pixel graphic would represent 3 (48/16) ⁇ 3 (48/16) or 9 total macroblocks (e.g., Reference Frame Buffer 100 a is, for purposes of the example, segregated into nine macroblocks, of which macroblock 101 is one).
  • Each macroblock occupies a specific block of memory for the applicable Reference Frame Buffer 100 a , 100 b or 100 c .
  • the macroblock 101 (when represented in a typical video format) requires 384 bytes of memory in each of the Reference Frame Buffers 100 a , 100 b , 100 c .
  • the total memory for each Reference Frame Buffer 100 a , 100 b , 100 c therefore, is 384 bytes ⁇ 9 for a total size of 3456 bytes of memory.
  • the video encoder 103 processes the video creating Reference Frame Buffers 100 a , 100 b , 100 b and using these to encode the video, creating as output the encoded video file 104 .
  • the encoded video 104 output by the encoder 103 is stored (not shown in detail in FIG. 1 ) and/or delivered (e.g., communicated) to a video decoder 106 , such as via a network, circuit(s), or otherwise.
  • the video decoder 106 receives input of the encoded video 104 and processes it by converting the encoded video 104 back to the decoded format of the video file 102 originally input to the encoder 103 (or another decoded format for use by the recipient side, as will be understood), creating a video file (Video Out) 107 of the decoded format as output.
  • the decoding process includes, for example, decompressing, reversing or changing technical standard, permitting, and/or other operability or access presenting at the recipient side as will be understood.
  • the video decoder 106 creates Reference Frame Buffers 105 a , 105 b , 105 c in memory of same number and size as those of the Reference Frame Buffers 100 a , 100 b , 100 c of the encoder 103 .
  • the video is decoded by the video decoder 106 on a frame by frame, macroblock per macroblock per frame, basis, and the video decoder 106 outputs each video frame, i.e., as the Video Out 107 .
  • contents of the Reference Frame Buffers 105 a , 105 b and 105 c for the decoder 106 are the same as the contents of the Reference Frame Buffers 100 a , 100 b , 100 c , respectively, of the encoder 103 during encoding at corresponding points (but for encode purposes, rather than decode purposes).
  • a system 50 includes an encode device 502 and a decode device 504 .
  • the encode device 502 and the decode device 504 are communicatively connected by a communication link, for example, a wired, wireless, cellular, optical, satellite or other communication network 506 , combinations of these, or connected/interconnected networks such as any combinations of these.
  • the encode device 502 includes a video encoder 510 communicatively connected to memory 503 .
  • the video encoder 510 is, includes, or is controlled by a processing device, for example, the video encoder 510 is a microprocessor, software program stored in memory, logic circuit, or combinations of these, or other processor(s).
  • the memory 503 is any writable data storage, for example, random access memory (RAM), harddrive, floppy drive, compact disk (CD), flash drive, digital video disk (DVD), or combinations of these, or any other writable data container(s).
  • the decode device 504 includes a video decoder 516 communicatively connected to memory 517 .
  • the video decoder 516 is, includes or is controlled by a processing device.
  • the video decoder 510 is a microprocessor, software program stored in memory, logic circuit, or combinations of these, or other processor(s).
  • the memory 517 is any writable data storage, for example, random access memory (RAM), harddrive, floppy drive, compact disk (CD), flash drive, digital video disk (DVD), or combinations of these, or any other writable data container(s).
  • RAM random access memory
  • CD compact disk
  • DVD digital video disk
  • the video encoder 510 in operation with the memory 503 , processingly encodes a digitized video file representing a playable video.
  • a source of the digitized video file is, for example, a frame buffer of a graphics card or video camera or of a memory or storage media, the contents of which are output to the video encoder 510 .
  • the video encoder 510 processingly creates in the memory 503 a plurality of reference frame buffers (hereafter referred to for convenience as “physical frame buffers” or (PFBs) to distinguish from the Reference Frame Buffers of FIG. 1 ) and a plurality of respective virtual frame buffer tables (VFBTs).
  • FIG. 5 illustrates three PFBs 512 a , 512 b , and 512 c and three VFBTs 514 a , 514 b , 514 c .
  • the number of the virtual frame buffer tables/VFBTs is the same number of the reference frame buffers/physical frame buffers/PFBs.
  • three PFBs and three VFBTs are illustrated and described for example purposes, the number of PFBs and VFBTs will in each instance be the same (except as per certain alternative embodiments later described with respect to FIG. 4 ), with each PFB having a corresponding VFBT for such PFB.
  • the video encoder 510 then processingly encodes a first frame of the video file, by encoding, on a macroblock by macroblock basis, respective macroblocks of the first frame, creating respective encoded macroblocks (not shown in detail in FIG. 5 ) for the first frame via one of the VFBTs, for example, VFBT 512 a , and storing the encoded macroblocks in one of the PFBs for the first frame, for example, in PFB 514 a .
  • Each pointer element of the VFBT 512 a now identifies PFB 514 a .
  • the video encoder 510 then next proceeds to processingly encode a second frame of the video file, for example, via VFBT 512 b and PFB 514 b , macroblock by macroblock.
  • VFBT 512 b and PFB 514 b macroblock by macroblock.
  • the macroblocks are saved in the PFB 514 b by the video encoder 510 and respective pointer elements therefor are saved in the VFBT 512 b to identify PFB 514 b as containing the saved macroblocks, respectively.
  • the video encoder 510 For any macroblock of the second frame that is duplicate of a previously encoded macroblock (the video encoder 510 detects any duplicate; which would not be the case in encoding of the first frame, but can be the case with the second or subsequent frames of the digitized video file) then-retained in any PFB (i.e., in the case of the second frame, any match already in the PFBs could only be in PFB 514 a ), rather than encoding and saving that duplicate macroblock in the PFB 514 b , the video encoder 510 instead sets a pointer element (not shown in detail in FIG.
  • the pointer element represents an identifier of a PFB that contains the encoded macroblock corresponding to the duplicate macroblock that was previously encoded, and also of a particular PFB sector (not shown in detail in FIG. 5 ) containing the previously encoded macroblock of that PFB.
  • the video encoder 510 continues processingly encoding each next frame of the digitized file in succession or, if any macroblock(s) of the frame is duplicate of any previously encoded macroblock then retained in any of the PFBs 512 a , 512 b , 512 c , skipping encoding and storing of the macroblock and instead creating the respective pointer element for the previously encoded macroblock (and PFB sector and PFB thereof) and storing it in the VFBT for the particular frame.
  • the video encoder 510 can store and/or communicate the encoded video frame from the video encoder 510 , or otherwise deliver or make available the frame from the encode device 502 , for decoding by the decode device 504 .
  • the video encoder 510 completes encoding of the video file in entirety (or in portion, if applicable in the embodiment, for example, where portions are reconstituted as the whole or otherwise at a decoder), and then communicates or stores the video, as applicable.
  • FIG. 5 illustrates three PFBs 518 a , 518 b , and 518 c and three VFBTs 520 a , 520 b , 520 c of the decode device 504 .
  • the decode device 504 has same number of the VFBTs as number of the PFBs
  • three PFBs and three VFBTs of the decode device 504 are illustrated and described for example purposes, the number of PFBs and VFBTs will in each instance be the same and the number of PFBs (and consequently of VFBTs) equals the number of the PFBs (and VFBTs) of the encode device 502 .
  • the video decoder 516 processingly decodes a first frame of the encoded video file, by decoding, on a macroblock by macroblock basis, respective macroblocks of the first frame via one of the PFBs and its VFBT, creating respective decoded macroblocks (not shown in detail in FIG. 5 ) for the first frame in, for example, via the VFBT 520 a and the PFB 518 a .
  • the video decoder 516 continues processingly encoding each next frame of the encoded video file in succession (e.g., overwriting respective PFBs for frames after the third frame and storing or dispensing decoded frames of PFBs and VFBTs in storage memory or otherwise prior to overwriting) or, if any encoded macroblock(s) in the particular frame are same as then-retained in any of the PFBs from a prior frame which has already been decoded, skipping decoding of the macroblock for the particular frame and, instead, creating the respective pointer element for the previously decoded macroblock (and PFB sector and PFB thereof) and storing the pointer element in the VFBT for the particular frame.
  • the video decoder 516 communicates the decoded frame as output of the video decoder 516 .
  • each frame once decoded, is communicated by the video decoder 516 as a stream to a media player, graphics card and/or other computer or processor device (hardware, software or combination) for display or other output on a monitor, screen, display or other output device, or is otherwise processed or stored in tangible media, such as harddrive, memory or the like (not shown in detail in FIG. 5 ), available for selective used or operation for display of the video, or otherwise.
  • a system 20 includes the PFBs and the VFBTs as above-described and now further detailed in encode and decode operations.
  • the system 20 also includes a video encoder/decoder 206 , which can be either an encoder or a decoder (for example, the video encoder 510 of the encode device 502 and/or the video decoder 516 of the decode device 504 ). Because the embodiments of FIG. 5 and of FIG. 2 illustrate three PFBs and three VFBTs, respectively, for encoding and decoding operations, FIG.
  • the video encoder/decoder 206 are each implemented by creates and uses three virtual frame buffer tables (VFBTs) 203 , 204 , 205 , and three physical frame buffers (PFBs) 200 , 201 , 202 .
  • VFBTs virtual frame buffer tables
  • PFBs physical frame buffers
  • the video encoder/decoder 206 communicatively accesses the three physical frame buffers (PFBs) 200 , 201 , 202 and also communicatively accesses the three virtual frame buffer tables (VFBTs) 203 , 204 , 205 .
  • PFBs physical frame buffers
  • VFBTs virtual frame buffer tables
  • Each PFB 200 , 201 , 202 contains nine macroblocks, for example purposes as previously discussed. Therefore each VFBT 203 , 204 , 205 can include nine entry elements in memory. Each entry element of each VFBT 203 , 204 , 205 points to one of the PFBs 200 , 201 , 202 . For example, entry element 207 of VFBT 205 contains a 1 which represents PFB 201 . Entry element 207 is in the seventh location in the VFBT 205 and therefore corresponds to the macroblock 208 of the seventh location of the PFB 201 .
  • the video encoder/decoder 206 by reference to a particular one of the entry elements of one of the VFBTs 203 , 204 or 205 , is thus directed to read contents of a particular macroblock of particular one of the PFB 200 , 201 , 202 .
  • the encoder/decoder When a second frame buffer (i.e., a video graphic comprising a next (second) frame) is received, the encoder/decoder employs the VFBT 204 and the PFB 201 . As macroblocks are written to the PFB 201 , a 1 is written to the corresponding entry element of the VFBT 204 , representing that the macroblock is stored in the PFB 201 . When the video encoder/decoder 206 receives an indication that a macroblock matches the already stored macroblock in PFB 200 a 0 is written to the VFBT 204 by the encoder/decoder 206 .
  • the 0 entry of the VFBT 204 therefore indicates that the particular macroblock is contained in the PFB 200 , and no macroblock was written in PFB 201 . Thus, if there is match for a macroblock of the second frame, no entry other than the 0 in VFBT 204 is necessary. Less processing is therefore required.
  • the PFB 202 and the VFBT 205 similarly operate and VFBT 205 is written with either: a 2 where the macroblock is new (i.e., not then-retained in a PFB as previously encoded/decoded) and will be written into the PFB 202 , a 1 where the macroblock is already in the PFB 201 , or a 0 where the macroblock is already contained in the PFB 200 .
  • PFB 202 is written with the macroblock only if contents are new (i.e., not already written in PFB because of another macroblock encode/decode operation) and therefore not contained in either PFB 200 or PFB 201 .
  • the encoder/decoder 206 uses VFBT 0 203 again, now for the next frame.
  • entry element 0 in the VFBT 203 contains a 0, therefore the macroblock is in PFB 200 .
  • Entry element 0 in the VFBT 204 contains a 2 and entry element 0 in the VFBT 205 contains a 1, therefore, the PFB 200 is not referred to by either VFBT 204 or VFBT 205 and therefore is free to be used by the encoder/decoder 206 to store the first macroblock of the relevant frame.
  • a 0 is written to the VFBT 203 , location 0 , representing that the macroblock is in PFB 200 and the marcoblock is written in PFB 200
  • entry element 1 in the VFBT 203 contains a 1; the VFBT 204 , entry element 1 , also contains a 1; and the VFBT 205 , entry element 1 , contains a 0.
  • the encoder/decoder 206 uses the PFB 202 for storage of the second macroblock.
  • the macroblock is written by the encoder/decoder 206 to the PFB 202 , and a 2 is written into the VFBT 203 , entry element 1 , corresponding to the PFB 202 .
  • entry element 2 in the VFBT 203 is 2 (i.e., for PFB 202 ), VFBT 204 is 1 (i.e., for PFB 201 ), and VFBT 205 is 0 (i.e., for PFB 200 ). Since the VFBT 203 refers to the PFB 202 and the VFBT 204 and VFBT 205 do not, the PFB 202 is used by the encoder/decoder 206 . The bytes of the macroblock are written by the encoder/decoder 206 to the PFB 202 and a 2 is written into the VFBT 203 , entry element 2 .
  • a destination device of the digitized video file from the video decoder 510 is, for example, a display for visually depicting the video in real-time or a memory or storage media.
  • a method 30 commences with a step 300 .
  • the step 300 is performed once to commence operation on receipt of a first frame, and steps 301 are performed once for each frame and steps 302 to 307 are performed once for each macroblock of the frame.
  • all VFBT entries are set to a not used (NU) value.
  • a VFBT is selected 301 in order of precedence, for example, 0, 1, 2, 0, 1, 2, etc.
  • an encoder or decoder receives an indication that a marcoblock has changed and has new contents or has not changed and matches a prior macroblock contained in one of the VBTs. If a match is indicated, an entry element of the PFB that already contains the new macroblock is written to an applicable VFTB in a step 308 . The method 30 then continues to a step 307 .
  • step 303 determines whether any of the PFBs are unused. If the step 303 determines there is an unused PFB, then a number identifier of the unused PFB is written to the VFBT in a step 304 . If the step 303 determines that there are no unused PFBs, then a specified one of the PFBs referenced by the current VFBT is reused, in a step 305 . The particular PFB reused in the step 305 is any PFB which is then unused by all other VFBTs.
  • a step 306 following the step 304 or the step 305 , as applicable, the new macroblock is written to the PFB selected in the step 304 or 305 , respectively.
  • a step 307 determination is made whether any more macroblock(s) exist in the current frame. If any more macroblock(s) is present, the method 30 returns to the step 302 ; otherwise, if no more macroblock(s) in this frame, the method 30 returns to the step 301 .
  • Variations to the foregoing embodiments include encoders/decoders that employ a single reference frame buffer or different multiples (other than three as described above) of reference frame buffers and VFBTs.
  • a system 40 includes a video encoder/decoder 403 for communicatively connecting to two reference frame buffers (i.e., PFBs) 400 , 401 and one virtual frame buffer (VFBT) 404 during processing of a video file (not shown).
  • PFBs reference frame buffers
  • VFBT virtual frame buffer
  • the encoder/decoder 403 creates the PFBs 400 , 401 and the VFBT 404 in memory (not shown in detail in FIG. 4 ) and uses these for processingly encoding or decoding the video file.
  • the PFB 400 and PFB 401 are employed, with one containing the reference frame relative to previously processed frame or frames (as will be understood) of the video file and the other containing a temporary current frame relative to the then-presently in process frame of the video file.
  • Only the single VFBT 404 is required.
  • the VFBT 404 entry elements represent only possible values of either 0 or 1 (i.e., a 0 references PFB 400 , a 1 references PBF 401 ), the VFBT 404 is implementable by the encoder/decoder 403 as a bit array, instead of as a set of memory locations in memory.
  • Operation is the similar to that described with respect to FIG. 2 , but with two differences (at least).
  • a first difference is that two frame buffers PFB 400 and PFB 401 , instead of the three frame buffers PFB 200 , PFB 201 , PFB 202 , are created and used by the encoder/decoder 403 during encode/decode processing.
  • a second difference is that a second VFBT (not shown in detail in FIG. 4 ) is merely temporarily created by the encoder/decoder 403 as a copy of the single actual VFBT 404 . This temporary second VFBT is employed by the encoder/decoder 403 to access the reference frame then-retained in the PFB 400 or 401 relative to previously processed frame or frames.
  • VFBT 404 contains the VFBT for the single reference frame just processed.
  • the temporary VFBT can be discarded.
  • the process is repeated with the PFBs 400 , 401 and VFBT 403 as to each next successive frame of the video file, by creation and store by the encoder/decoder 403 of the reference frame in the temporary VFBT and then discard of the temporary VFBT at end of processing the then-in-process frame.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A system for encoding and decoding a frame (also file), such as a video, graphic, media, or other frame or data, representing a real-time graphic output from a frame buffer, output by a video camera, or another file or data. The file includes frames each comprising macroblocks. Reference frame buffers (PFTs), virtual frame buffer tables (VFTBs) of equal number to the PFTs, each VFTB corresponds to a respective PFT, and respective sectors of each PFT for respective macroblocks are created. Frames of the file are encoded/decoded by successive encode/decode of macroblocks. A pointer is created in the VFBT associated with the PFT rather than encoding/decoding any matching macroblock. The pointer and its reference are relied on for each already encoded/decoded macroblock retained in the PFT. Processing, memory, bandwidth and power requirements for encoding or decoding are reduced.

Description

    CROSS-REFERENCE TO RELATED APPLICATION
  • The present application is a continuation and has benefit of priority of U.S. patent application Ser. No. 15/492,212, titled “Virtual Frame Buffer System and Method”, filed Apr. 20, 2017, which priority application is a continuation of and has benefit of priority of U.S. patent application Ser. No. 14/331,358, titled “Virtual Frame Buffer System and Method”, filed Jul. 15, 2014 and issued on Sep. 12, 2017 as U.S. Pat. No. 9,762,922, which priority application is a continuation of and has benefit of priority of U.S. patent application Ser. No. 13/176,843, titled “Virtual Frame Buffer System and Method, filed Jul. 6, 2011 and issued on Sep. 2, 2014 as U.S. Pat. No. 8,824,560 (which has benefit of priority of U.S. Provisional Patent Application No. 61/361,969, titled “Virtual Frame Buffer Systems and Methods”, filed Jul. 7, 2010). The priority application U.S. patent application Ser. No. 15/492,212 is co-pending and has at least one same inventor of the present application and is herein incorporated by this reference.
  • TECHNICAL FIELD
  • The present invention generally relates to video encode and decode devices and processes, and more particularly relates to video encode and decode devices and processing of computing graphics which are relatively static in nature, and reducing processing, bandwidth, memory and power requirements in such devices and processing.
  • BACKGROUND
  • In the process for communicating digitized video over a network from one point/node to another point/node, the video is encoded at the sender side device, communicated over the network from the sender side device to the recipient side device, and then decoded at the recipient side device. This encoding/decoding reduces the quantity of data that must be communicated to deliver the video from the sender to the recipient, and therefore reduces the amount of bandwidth of the network required for the communication. Typically, video is encoded/decoded according to a specified technical standard, such as MPEG1, MPEG2, H.263, VC-1 and H.264.
  • These encode/decode standards are somewhat similar in process and device requirements. In particular per each standard, digitized video is stored as a series of “frames” in multiple “frame buffers” in memory, and each frame buffer for each frame is segregated into a plurality of smaller “macroblock” segments. Encoding and decoding operations each include processing the frames in sequence, via respective sequential processing of the frames via frame buffers for each frame on a macroblock by macroblock basis for each frame. For video comprising at least some fairly same or static data from time-to-time among respective macroblocks (i.e., either of same or other frames), much of the processing required for encoding and decoding is primarily mere copying of data contents. In particular, data of each static macroblock of a frame buffer memory location must be copied into another frame buffer memory location, and this process repeated for every static macroblock of each frame buffer. Both the encoder of the encode side device and the decoder of the decode side device must typically perform these copy and similar operations for each static macroblock, and for all static macroblocks of each frame buffer and frame of the series for the entire video. Thus, these copy operations consume processing time and capacity.
  • It would therefore be desirable, and a significant improvement in the art and technology, to provide more efficient encode and decode devices and processes, particularly for fairly same or static data (e.g., representing video, graphics, and similar and other information sets and files) and other instances.
  • SUMMARY
  • Embodiments of the invention include devices and methods for encoding or decoding a file, such as a video, graphic, media, or other file communicated over a network or otherwise, with reduced processing, memory, bandwidth and power requirements. In the embodiments, the devices and methods either encode/decode each next successive macroblock of a frame of the file or, if that macroblock matches any macroblock that has already been encoded/decoded (as applicable) of a prior frame and which is then-retained in a reference frame buffer, create and store a pointer in a virtual frame table buffer that points to the previously encoded/macroblock already in the reference frame buffer, rather than encode/decode the macroblock for encoding and/or decoding operations.
  • An embodiment of the invention is a device for encoding or decoding a file. The file includes frames and each frame comprises macroblocks. The device includes memory, a processor communicatively connected to the memory, an encoder communicatively connected to and controlled by the processor, a plurality of reference frame buffers created in the memory by the encoder, where each reference frame buffer is distinct from any other reference frame buffers in the memory, virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, created in the memory by the encoder/decoder, each virtual frame buffer table, respectively, corresponds to one reference frame buffer, sectors of each reference frame buffer, each sector is capable of storing one of the macroblocks of one frame of the file, and a respective pointer created by the encoder/decoder if any macroblock for encoding/decoding (of any frame) matches any macroblock of another frame previously encoded/decoded and the encoded/decoded macroblock is then-retained in one of the reference frame buffers. The encoder either encodes each next macroblock of a frame or, if that next macroblock matches any macroblock that was previously encoded and if the encoded macroblock is then-retained in any of reference frame buffers, the encoder instead creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the frame of that next macroblock.
  • Another embodiment of the invention is a system according to the foregoing encoder or decoder, wherein at least certain of the encoder is the decoder, and vice versa, and the system further includes a communication network, a first device connected to the communication network, the first node includes at least portions of the encoder, and a second device connected to the communication network, the second node includes at least portions of the decoder. The encoded file is communicated by the first node to the second node over the network for decoding.
  • Another embodiment of the invention is a system including the encoder and decoder just described above, and also including a communication link between the encoder and the decoder.
  • Yet another embodiment of the invention is a system including the encoder and decoder described above, where at least certain of the encoder is the decoder, and vice versa.
  • Another embodiment of the invention is a method of encoding a file. The file comprises frames and each frame comprises macroblocks for encoding. The method includes creating in a memory a plurality of reference frame buffers, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the frame, creating in the memory a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively, creating a plurality of respective sectors of each reference frame buffer, respectively, each respective sector sufficient for storage of one of the macroblocks corresponding to part of one of the frame of the file, encoding one of the frames of the file, by successively encoding each respective one of the macroblocks of the one of the frame, unless any already encoded macroblock (if any) then-retained in any of the respective sectors of any of the reference frame buffers would be the same as the encoded macroblock, once encoded in the step of encoding, storing respective ones of the encoded macroblocks, each respectively corresponding to respective ones of the macroblocks of the one of the frame of the file from the step of encoding, in respective ones of the plurality of respective sectors, except not storing one of the encoded macroblocks if any already encoded macroblock (if any) then-retained in any of the respective sectors of any of the reference frame buffers would be the same as the encoded macroblock, once encoded in the step of encoding, creating a respective pointer in the virtual frame buffer table associated with the reference frame buffer then available for the step of encoding, for each macroblock (if any) of the frame then-currently for the step of encoding, if any macroblock of one of the frame previously encoded matches the macroblock of the step of creating a respective pointer and if the encoded macroblock of the frame previously encoded is then-retained in any of the reference buffer tables, storing the respective pointer from the step of creating the respective pointer (if performed), in the virtual frame buffer table associated with the reference frame buffer for the step of encoding, and returning to the step of encoding, but rather than encoding the macroblock in the step of encoding, relying on the respective pointer for encoding in order to reference the encoded macroblock. The encoder during encoding either encodes each next one of the macroblock of the frame or, if any macroblock of another one of the frames previously encoded is then-retained in any of the plurality of reference frame buffers, creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the frame then being encoded.
  • Another embodiment of the invention is a method of decoding an encoded file. The encoded file comprises encoded frames and each encoded frame comprises encoded macroblocks for decoding and the file, when decoded, comprises frames and each frame comprises macroblocks. The method includes creating in a memory a plurality of reference frame buffers, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the encoded frame, creating in the memory a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively, creating a plurality of respective sectors of each reference frame buffer, respectively, each respective sector sufficient for storage of one of the macroblocks corresponding to part of one of the frame of the file, decoding one of the encoded frames of the encoded file, by successively decoding each respective one of the encoded macroblocks of the one of the encoded frame, unless the encoded macroblock, once decoded, would match any macroblock previously decoded and then-retained in any of the respective sectors of any of the reference frame buffers, storing respective ones of the macroblocks, each respectively corresponding to respective ones of the macroblocks of the one of the frame of the file from the step of decoding, in respective ones of the plurality of respective sectors, except not storing one of the macroblocks if the macroblock, once decoded, would match any macroblock previously decoded and then-retained in any of the respective sectors of any of the reference frame buffers, creating a respective pointer in the virtual frame buffer table associated with the reference frame buffer then available for the step of decoding, for each encoded macroblock (if any) of the encoded frame then-currently for the step of decoding if the encoded macroblock, once decoded, would match any macroblock previously decoded and retained in any of the reference buffer tables, storing the respective pointer from the step of creating the respective pointer (if performed), in the virtual frame buffer table associated with the reference frame buffer for the step of decoding, and returning to the step of decoding, but rather than decoding the encoded macroblock in the step of decoding, relying on the respective pointer for decoding in order to reference the macroblock. The decoder during decoding either decodes each next encoded macroblock of the encoded frame or, if any encoded macroblock of another encoded frame previously decoded is then-retained in any of the plurality of reference frame buffers, instead creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the encoded frame then being decoded.
  • Another embodiment of the invention is an encode device operating in accordance with the foregoing method of encoding a file.
  • Yet another embodiment of the invention is a decode device operating in accordance with the foregoing method of decoding an encoded file.
  • Another embodiment of the invention is an encoder/decoder device for processing a single reference frame. The encoder/decoder device includes a virtual frame buffer table of a single bit array in a memory and a processor connected to the virtual frame buffer table for writing the single reference frame to the single bit array.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention is illustrated by way of example and not limitation in the accompanying figures, in which like references indicate similar elements, and in which:
  • FIG. 1 illustrates an exemplary system of three frame reference buffers for video encoding and decoding, according to certain embodiments of the invention;
  • FIG. 2 illustrates exemplary functional elements of the system of FIG. 1, according to certain embodiments of the invention;
  • FIG. 3 illustrates an exemplary method for video encoding and decoding, according to certain embodiments of the invention;
  • FIG. 4 illustrates another exemplary system of two reference frame buffers for video encoding and decoding via low-end elements, according to certain embodiments of the invention; and
  • FIG. 5 illustrates a system including an encoder communicatively connected by a communication network to a decoder, according to certain embodiments of the invention.
  • DETAILED DESCRIPTION
  • Referring to FIG. 1, a typical video encoding/decoding system 10 illustrates pixels representing a video file (Video In) 102 input to a video encoder 103 on a frame-by-frame basis for the video file. For purposes of this disclosure, the terms “video file”, “video graphic”, “graphic” or “file” means a set, series, collection or combination (or subset or portion thereof) of video frames stored or storable in a non-transitory tangible media, the video frames representing all or a portion of a graphic, media, video, picture, or other display of a processor device, such as a computer, smart phone, tablet computer, laptop computer, or other computing or display rendering device. Video files and video frames thereof, for example, include (among others) real-time frame buffer contents that are output of a graphics processor unit (either hardware, software, or combinations), real-time frame buffer contents that are output of a video camera or video device, or other buffer or memory contents read or readable from a storage device, such as hard drive, flash memory, or other tangible media.
  • An example of each video frame of the video is a respective 48 by 48 pixel graphic. When encoding video, the video encoder 103 processingly encodes the video converting it from the input format to another format, for example, for purpose of standardization, speed, security and/or compression as will be understood, to create an encoded video file 104. The video encoder 103 also creates and stores reference frame(s) of the encoded video file 104 in one or more reference frame buffers 100 in memory, for example, Reference Frame Buffers 100 a, 100 b, 100 c, in process of encoding. Other numbers of reference frame buffers 100 are possible for encoding operations, and the reference frame buffers 100 are intended only as examples for purposes of discussion. To encode the video, the video encoder 103 processes each frame of the video file 102, typically, in succession, progressing through each frame in respective blocks of data representing pluralities of distinct sub-portions of each frame of the video. These blocks of data are referred to, for purposes herein, as macroblocks, and each as a macroblock. Therefore, as the video encoder 103 processes and stores the processed frames of the video in the reference frame buffers 100, the processed frames are stored, macroblock by macroblock of each frame, by the encoder 103 in storage memory (not shown in detail in FIG. 1).
  • An example macroblock size is 16×16 pixels and, for this example, a 48×48 pixel graphic would represent 3 (48/16)×3 (48/16) or 9 total macroblocks (e.g., Reference Frame Buffer 100 a is, for purposes of the example, segregated into nine macroblocks, of which macroblock 101 is one). Each macroblock occupies a specific block of memory for the applicable Reference Frame Buffer 100 a, 100 b or 100 c. In the case of macroblock 101 and example of 16×16 pixels, the macroblock 101 (when represented in a typical video format) requires 384 bytes of memory in each of the Reference Frame Buffers 100 a, 100 b, 100 c. The total memory for each Reference Frame Buffer 100 a, 100 b, 100 c, therefore, is 384 bytes×9 for a total size of 3456 bytes of memory.
  • The video encoder 103 processes the video creating Reference Frame Buffers 100 a, 100 b, 100 b and using these to encode the video, creating as output the encoded video file 104. The encoded video 104 output by the encoder 103 is stored (not shown in detail in FIG. 1) and/or delivered (e.g., communicated) to a video decoder 106, such as via a network, circuit(s), or otherwise. The video decoder 106 receives input of the encoded video 104 and processes it by converting the encoded video 104 back to the decoded format of the video file 102 originally input to the encoder 103 (or another decoded format for use by the recipient side, as will be understood), creating a video file (Video Out) 107 of the decoded format as output. The decoding process includes, for example, decompressing, reversing or changing technical standard, permitting, and/or other operability or access presenting at the recipient side as will be understood. In the process of decoding, the video decoder 106 creates Reference Frame Buffers 105 a, 105 b, 105 c in memory of same number and size as those of the Reference Frame Buffers 100 a, 100 b, 100 c of the encoder 103. The video is decoded by the video decoder 106 on a frame by frame, macroblock per macroblock per frame, basis, and the video decoder 106 outputs each video frame, i.e., as the Video Out 107. At respective given points during decoding, contents of the Reference Frame Buffers 105 a, 105 b and 105 c for the decoder 106 are the same as the contents of the Reference Frame Buffers 100 a, 100 b, 100 c, respectively, of the encoder 103 during encoding at corresponding points (but for encode purposes, rather than decode purposes).
  • Referring now to FIG. 5, according to certain embodiments, a system 50 includes an encode device 502 and a decode device 504. The encode device 502 and the decode device 504 are communicatively connected by a communication link, for example, a wired, wireless, cellular, optical, satellite or other communication network 506, combinations of these, or connected/interconnected networks such as any combinations of these. The encode device 502 includes a video encoder 510 communicatively connected to memory 503. The video encoder 510 is, includes, or is controlled by a processing device, for example, the video encoder 510 is a microprocessor, software program stored in memory, logic circuit, or combinations of these, or other processor(s). The memory 503 is any writable data storage, for example, random access memory (RAM), harddrive, floppy drive, compact disk (CD), flash drive, digital video disk (DVD), or combinations of these, or any other writable data container(s). The decode device 504 includes a video decoder 516 communicatively connected to memory 517. The video decoder 516 is, includes or is controlled by a processing device. For example, the video decoder 510 is a microprocessor, software program stored in memory, logic circuit, or combinations of these, or other processor(s). The memory 517 is any writable data storage, for example, random access memory (RAM), harddrive, floppy drive, compact disk (CD), flash drive, digital video disk (DVD), or combinations of these, or any other writable data container(s).
  • The video encoder 510, in operation with the memory 503, processingly encodes a digitized video file representing a playable video. A source of the digitized video file is, for example, a frame buffer of a graphics card or video camera or of a memory or storage media, the contents of which are output to the video encoder 510. When encoding the video, the video encoder 510 processingly creates in the memory 503 a plurality of reference frame buffers (hereafter referred to for convenience as “physical frame buffers” or (PFBs) to distinguish from the Reference Frame Buffers of FIG. 1) and a plurality of respective virtual frame buffer tables (VFBTs). For purposes of example, FIG. 5 illustrates three PFBs 512 a, 512 b, and 512 c and three VFBTs 514 a, 514 b, 514 c. The number of the virtual frame buffer tables/VFBTs is the same number of the reference frame buffers/physical frame buffers/PFBs. Although three PFBs and three VFBTs are illustrated and described for example purposes, the number of PFBs and VFBTs will in each instance be the same (except as per certain alternative embodiments later described with respect to FIG. 4), with each PFB having a corresponding VFBT for such PFB.
  • The video encoder 510 then processingly encodes a first frame of the video file, by encoding, on a macroblock by macroblock basis, respective macroblocks of the first frame, creating respective encoded macroblocks (not shown in detail in FIG. 5) for the first frame via one of the VFBTs, for example, VFBT 512 a, and storing the encoded macroblocks in one of the PFBs for the first frame, for example, in PFB 514 a. Each pointer element of the VFBT 512 a now identifies PFB 514 a. The video encoder 510 then next proceeds to processingly encode a second frame of the video file, for example, via VFBT 512 b and PFB 514 b, macroblock by macroblock. For macroblocks that are not then-contained in any PFB 514 a, 514 b, 514 c, the macroblocks are saved in the PFB 514 b by the video encoder 510 and respective pointer elements therefor are saved in the VFBT 512 b to identify PFB 514 b as containing the saved macroblocks, respectively. For any macroblock of the second frame that is duplicate of a previously encoded macroblock (the video encoder 510 detects any duplicate; which would not be the case in encoding of the first frame, but can be the case with the second or subsequent frames of the digitized video file) then-retained in any PFB (i.e., in the case of the second frame, any match already in the PFBs could only be in PFB 514 a), rather than encoding and saving that duplicate macroblock in the PFB 514 b, the video encoder 510 instead sets a pointer element (not shown in detail in FIG. 5) stored in the VFBT for the second (or other subsequent) frame (i.e., in the VFBT 512 b in the example) identifying the macroblock of the PFB 514 a which would otherwise be duplicated (i.e., rather than encoding and storing in PFB 514 b). The pointer element represents an identifier of a PFB that contains the encoded macroblock corresponding to the duplicate macroblock that was previously encoded, and also of a particular PFB sector (not shown in detail in FIG. 5) containing the previously encoded macroblock of that PFB.
  • The video encoder 510 continues processingly encoding each next frame of the digitized file in succession or, if any macroblock(s) of the frame is duplicate of any previously encoded macroblock then retained in any of the PFBs 512 a, 512 b, 512 c, skipping encoding and storing of the macroblock and instead creating the respective pointer element for the previously encoded macroblock (and PFB sector and PFB thereof) and storing it in the VFBT for the particular frame. As encoding of each respective video frame is performed by the video encoder 510, the video encoder 510 can store and/or communicate the encoded video frame from the video encoder 510, or otherwise deliver or make available the frame from the encode device 502, for decoding by the decode device 504. Alternately, if desired in the embodiment, the video encoder 510 completes encoding of the video file in entirety (or in portion, if applicable in the embodiment, for example, where portions are reconstituted as the whole or otherwise at a decoder), and then communicates or stores the video, as applicable.
  • According to certain embodiments, the encoded video file from the video encoder 510 is communicated from the encode device 502 to the decode device 504, via the communications network 506. The decode device 504, in operation with the memory 517, processingly decodes the encoded video file created by the video encoder 510. In decoding, the video decoder 516 of the decode device 504 processingly creates in the memory 517 a plurality of reference frame buffers, i.e., PFBs, distinct from those of the encode device 502. The video decoder 516 also processingly creates in the memory 517 a plurality of respective virtual frame buffer tables, i.e., VFBTs, distinct from those of the encode device 502. As an example, FIG. 5 illustrates three PFBs 518 a, 518 b, and 518 c and three VFBTs 520 a, 520 b, 520 c of the decode device 504. As with the encode device 502, the decode device 504 has same number of the VFBTs as number of the PFBs Although three PFBs and three VFBTs of the decode device 504 are illustrated and described for example purposes, the number of PFBs and VFBTs will in each instance be the same and the number of PFBs (and consequently of VFBTs) equals the number of the PFBs (and VFBTs) of the encode device 502.
  • Continuing in operation, the video decoder 516 processingly decodes a first frame of the encoded video file, by decoding, on a macroblock by macroblock basis, respective macroblocks of the first frame via one of the PFBs and its VFBT, creating respective decoded macroblocks (not shown in detail in FIG. 5) for the first frame in, for example, via the VFBT 520 a and the PFB 518 a. The video decoder 516 proceeds, processingly decoding and storing a second frame of the digitized video file via another VFBT and PFB, for example, VFBT 520 b and PFB 518 b, for the second frame, macroblock by macroblock; however, rather than decoding and storing any macroblock of the second encoded frame that is duplicate of a previously decoded macroblock then-retained in any other PFB (which would not be the case in encoding of the first frame, but can be the case with the second or subsequent frames of the encoded video file), that duplicate macroblock is not decoded, and instead, the video decoder 516 creates a pointer element (not shown in detail in FIG. 5; i.e., which pointer element of the decode device 504 is distinct from the pointer element of the encode device 502) and stores the pointer element in the VFBT 520 b for the second (or other subsequent) frame. The pointer element of the decode device 504 represents an identifier of the PFB 518 a of the decode device 504 that contains the duplicate macroblock that was previously decoded, and also of a particular PFB sector (not shown in detail in FIG. 5) of that PFB 518 a which contains the previously decoded macroblock for which the presently processed macroblock is duplicate.
  • The video decoder 516 continues processingly encoding each next frame of the encoded video file in succession (e.g., overwriting respective PFBs for frames after the third frame and storing or dispensing decoded frames of PFBs and VFBTs in storage memory or otherwise prior to overwriting) or, if any encoded macroblock(s) in the particular frame are same as then-retained in any of the PFBs from a prior frame which has already been decoded, skipping decoding of the macroblock for the particular frame and, instead, creating the respective pointer element for the previously decoded macroblock (and PFB sector and PFB thereof) and storing the pointer element in the VFBT for the particular frame. As the video decoder 516 completes decoding of each frame of the encoded video file, the video decoder 516 communicates the decoded frame as output of the video decoder 516. For example, each frame, once decoded, is communicated by the video decoder 516 as a stream to a media player, graphics card and/or other computer or processor device (hardware, software or combination) for display or other output on a monitor, screen, display or other output device, or is otherwise processed or stored in tangible media, such as harddrive, memory or the like (not shown in detail in FIG. 5), available for selective used or operation for display of the video, or otherwise.
  • Referring to FIG. 2, in conjunction with FIG. 5, according to certain embodiments a system 20 includes the PFBs and the VFBTs as above-described and now further detailed in encode and decode operations. The system 20 also includes a video encoder/decoder 206, which can be either an encoder or a decoder (for example, the video encoder 510 of the encode device 502 and/or the video decoder 516 of the decode device 504). Because the embodiments of FIG. 5 and of FIG. 2 illustrate three PFBs and three VFBTs, respectively, for encoding and decoding operations, FIG. 2 for purposes of explanation refers to the video encoder/decoder 206 generically, intended as including any of an encoder, decoder or combination, in which the encode and/or decode processing employs PFBs and VFBTs according to the embodiments. The video encoder/decoder 206 are each implemented by creates and uses three virtual frame buffer tables (VFBTs) 203, 204, 205, and three physical frame buffers (PFBs) 200, 201, 202. The video encoder/decoder 206 communicatively accesses the three physical frame buffers (PFBs) 200, 201, 202 and also communicatively accesses the three virtual frame buffer tables (VFBTs) 203, 204, 205.
  • Each PFB 200, 201, 202 contains nine macroblocks, for example purposes as previously discussed. Therefore each VFBT 203, 204, 205 can include nine entry elements in memory. Each entry element of each VFBT 203, 204, 205 points to one of the PFBs 200, 201, 202. For example, entry element 207 of VFBT 205 contains a 1 which represents PFB 201. Entry element 207 is in the seventh location in the VFBT 205 and therefore corresponds to the macroblock 208 of the seventh location of the PFB 201. The video encoder/decoder 206, by reference to a particular one of the entry elements of one of the VFBTs 203, 204 or 205, is thus directed to read contents of a particular macroblock of particular one of the PFB 200, 201, 202.
  • In operation, all entry elements of each of the VFBT's 203, 204, 205 are initially set to a special value of “none”. When a first frame (i.e., of a video graphic) is received for processing, one of the PFB 200, 201, or 202 and one of the VFBTs 203, 204, 205 is required by the encoder/decoder 206. The VFBT 203 and the PFB 200 are used: respective sets of bytes of the first frame are processed and a written to respective macroblocks of the PFB 200, and each entry element of the VFBT 203 is set to 0. This indicates for the encoder/decoder 206 that the all of the macroblocks for the VFBT 203 are contained in the PFB 200.
  • When a second frame buffer (i.e., a video graphic comprising a next (second) frame) is received, the encoder/decoder employs the VFBT 204 and the PFB 201. As macroblocks are written to the PFB 201, a 1 is written to the corresponding entry element of the VFBT 204, representing that the macroblock is stored in the PFB 201. When the video encoder/decoder 206 receives an indication that a macroblock matches the already stored macroblock in PFB 200 a 0 is written to the VFBT 204 by the encoder/decoder 206. The 0 entry of the VFBT 204 therefore indicates that the particular macroblock is contained in the PFB 200, and no macroblock was written in PFB 201. Thus, if there is match for a macroblock of the second frame, no entry other than the 0 in VFBT 204 is necessary. Less processing is therefore required.
  • For a next (third) frame, the PFB 202 and the VFBT 205 similarly operate and VFBT 205 is written with either: a 2 where the macroblock is new (i.e., not then-retained in a PFB as previously encoded/decoded) and will be written into the PFB 202, a 1 where the macroblock is already in the PFB 201, or a 0 where the macroblock is already contained in the PFB 200. PFB 202 is written with the macroblock only if contents are new (i.e., not already written in PFB because of another macroblock encode/decode operation) and therefore not contained in either PFB 200 or PFB 201.
  • After three frame buffer requests (i.e., three frames received), the process continues. The encoder/decoder 206 uses VFBT 0 203 again, now for the next frame. Referring to FIG. 2 as an example, for a first macroblock, entry element 0 in the VFBT 203 contains a 0, therefore the macroblock is in PFB 200. Entry element 0 in the VFBT 204 contains a 2 and entry element 0 in the VFBT 205 contains a 1, therefore, the PFB 200 is not referred to by either VFBT 204 or VFBT 205 and therefore is free to be used by the encoder/decoder 206 to store the first macroblock of the relevant frame. A 0 is written to the VFBT 203, location 0, representing that the macroblock is in PFB 200 and the marcoblock is written in PFB 200
  • Next in the example, for a second macroblock, entry element 1 in the VFBT 203 contains a 1; the VFBT 204, entry element 1, also contains a 1; and the VFBT 205, entry element 1, contains a 0. Because the PFB 202 is not referred to by any other VFBT, the encoder/decoder 206 uses the PFB 202 for storage of the second macroblock. The macroblock is written by the encoder/decoder 206 to the PFB 202, and a 2 is written into the VFBT 203, entry element 1, corresponding to the PFB 202.
  • Continuing for a third macroblock of the relevant frame, entry element 2 in the VFBT 203 is 2 (i.e., for PFB 202), VFBT 204 is 1 (i.e., for PFB 201), and VFBT 205 is 0 (i.e., for PFB 200). Since the VFBT 203 refers to the PFB 202 and the VFBT 204 and VFBT 205 do not, the PFB 202 is used by the encoder/decoder 206. The bytes of the macroblock are written by the encoder/decoder 206 to the PFB 202 and a 2 is written into the VFBT 203, entry element 2.
  • This process is repeated for the entire frame and the entire video, on a frame by frame basis. A destination device of the digitized video file from the video decoder 510 is, for example, a display for visually depicting the video in real-time or a memory or storage media.
  • Therefore in processing non-changing macroblocks (i.e., the macroblock has already been stored in a PFB), only a VFBT entry must be updated. For processing macroblocks that have changed, therefore, at most three VFBT entries must be read to determine which PBF to use. In comparison, without such embodiments, copying of an entire macroblock from one PFB to another PFB would be necessary. Thus the embodiments limit processing that would otherwise be required.
  • Referring to FIG. 3, a method 30 commences with a step 300. In the method 30, the step 300 is performed once to commence operation on receipt of a first frame, and steps 301 are performed once for each frame and steps 302 to 307 are performed once for each macroblock of the frame.
  • In the step 300, all VFBT entries are set to a not used (NU) value. For each successive frame, a VFBT is selected 301 in order of precedence, for example, 0, 1, 2, 0, 1, 2, etc. In a step 302, an encoder or decoder receives an indication that a marcoblock has changed and has new contents or has not changed and matches a prior macroblock contained in one of the VBTs. If a match is indicated, an entry element of the PFB that already contains the new macroblock is written to an applicable VFTB in a step 308. The method 30 then continues to a step 307. If no match was indicated in the step 302, then determination is made by searching each of the VFBTs in a step 303 whether any of the PFBs are unused. If the step 303 determines there is an unused PFB, then a number identifier of the unused PFB is written to the VFBT in a step 304. If the step 303 determines that there are no unused PFBs, then a specified one of the PFBs referenced by the current VFBT is reused, in a step 305. The particular PFB reused in the step 305 is any PFB which is then unused by all other VFBTs. In a step 306, following the step 304 or the step 305, as applicable, the new macroblock is written to the PFB selected in the step 304 or 305, respectively. In a step 307 determination is made whether any more macroblock(s) exist in the current frame. If any more macroblock(s) is present, the method 30 returns to the step 302; otherwise, if no more macroblock(s) in this frame, the method 30 returns to the step 301.
  • Variations to the foregoing embodiments include encoders/decoders that employ a single reference frame buffer or different multiples (other than three as described above) of reference frame buffers and VFBTs.
  • Referring to FIG. 4, a system 40 includes a video encoder/decoder 403 for communicatively connecting to two reference frame buffers (i.e., PFBs) 400, 401 and one virtual frame buffer (VFBT) 404 during processing of a video file (not shown). As with the foregoing embodiments, the encoder/decoder 403 creates the PFBs 400, 401 and the VFBT 404 in memory (not shown in detail in FIG. 4) and uses these for processingly encoding or decoding the video file. In particular, the PFB 400 and PFB 401 are employed, with one containing the reference frame relative to previously processed frame or frames (as will be understood) of the video file and the other containing a temporary current frame relative to the then-presently in process frame of the video file. Only the single VFBT 404 is required. Also since the VFBT 404 entry elements represent only possible values of either 0 or 1 (i.e., a 0 references PFB 400, a 1 references PBF 401), the VFBT 404 is implementable by the encoder/decoder 403 as a bit array, instead of as a set of memory locations in memory.
  • Operation is the similar to that described with respect to FIG. 2, but with two differences (at least). A first difference is that two frame buffers PFB 400 and PFB 401, instead of the three frame buffers PFB 200, PFB 201, PFB 202, are created and used by the encoder/decoder 403 during encode/decode processing. A second difference is that a second VFBT (not shown in detail in FIG. 4) is merely temporarily created by the encoder/decoder 403 as a copy of the single actual VFBT 404. This temporary second VFBT is employed by the encoder/decoder 403 to access the reference frame then-retained in the PFB 400 or 401 relative to previously processed frame or frames. Only the actual VFBT 404 is updated by the encoder/decoder 403 as frame processing proceeds. At the end of processing of a frame, VFBT 404 contains the VFBT for the single reference frame just processed. The temporary VFBT can be discarded. The process is repeated with the PFBs 400, 401 and VFBT 403 as to each next successive frame of the video file, by creation and store by the encoder/decoder 403 of the reference frame in the temporary VFBT and then discard of the temporary VFBT at end of processing the then-in-process frame.
  • In the foregoing specification, the invention has been described with reference to specific embodiments. However, one of ordinary skill in the art appreciates that various modifications and changes can be made without departing from the scope of the present invention as set forth in the claims below. Accordingly, the specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of the present invention.
  • Benefits, other advantages, and solutions to problems have been described above with regard to specific embodiments. However, the benefits, advantages, solutions to problems and device(s), connection(s) and element(s) that may cause any benefit, advantage, or solution to occur or become more pronounced are not to be construed as a critical, required, or essential feature or element of any or all the claims. As used herein, the terms “comprises, “comprising,” or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Claims (18)

What is claimed is:
1. A device for encoding a file, the file comprises frames and each frame comprises macroblocks for encoding, comprising:
memory;
a processor communicatively connected to the memory;
an encoder communicatively connected to and controlled by the processor;
a plurality of reference frame buffers created in the memory by the encoder under control of the processor, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the frame;
a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, created in the memory by the encoder under control of the processor;
a plurality of respective sectors of each reference frame buffer, respectively, each respective sector capable of storing one of the macroblocks corresponding to part of one of the frame of the file; and
a respective pointer created by the encoder during encoding, if any one of the macroblock of one of the frame of the file matches any macroblock of another one of the frames previously encoded by the encoder wherein any of the plurality of reference frame buffers then-retains the macroblock of the other of the frames;
wherein the encoder during encoding either encodes each next one of the macroblock of the frame or, if any macroblock of another one of the frames previously encoded is then-retained in any of the plurality of reference frame buffers, creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the frame then being encoded.
2. A device for decoding an encoded file, the encoded file comprises encoded frames and each frame comprises encoded macroblocks for decoding, comprising:
memory;
a processor communicatively connected to the memory;
a decoder communicatively connected to and controlled by the processor;
a plurality of reference frame buffers created in the memory by the decoder under control of the processor, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the encoded frame;
a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, created in the memory by the decoder under control of the processor, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively;
a plurality of respective sectors of each reference frame buffer, respectively, each respective sector capable of storing one of the encoded macroblocks corresponding to part of one of the encoded frame of the encoded file; and
a respective pointer created by the decoder during decoding, if any one of the encoded macroblock of one of the encoded frame of the encoded file matches any encoded macroblock of another one of the encoded frames previously decoded by the decoder wherein any of the plurality of reference frame buffers then-retains the encoded macroblock of the other of the encoded frames;
wherein the decoder during decoding either decodes each next one of the encoded macroblock of the encoded frame or, if any encoded macroblock of another one of the encoded frames previously decoded is then-retained in any of the plurality of reference frame buffers, creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the encoded frame then being decoded.
3. A system according to claims 1 and 2, further comprising:
a communication link connecting the device of claim 1 to the device of claim 2.
4. The system of claim 3, wherein the communication link is a circuit.
5. The system of claim 3, wherein the communication link is selected from the group of: wire, wireless link, cellular link, optic link, satellite, public switched telephone network, Internet, local area network, wireless local area network, or other communication network, or any combination of any or some of these.
6. A system according to claims 1 and 2, wherein at least certain of the device of claim 1 is the device of claim 2, and vice versa.
7. A method of encoding a file, the file comprises frames and each frame comprises macroblocks for encoding, comprising the steps of:
creating in a memory a plurality of reference frame buffers, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the frame;
creating in the memory a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively;
creating a plurality of respective sectors of each reference frame buffer, respectively, each respective sector sufficient for storage of one of the macroblocks corresponding to part of one of the frame of the file;
encoding one of the frames of the file, by successively encoding each respective one of the macroblocks of the one of the frame, unless any already encoded macroblock (if any) then-retained in any of the respective sectors of any of the reference frame buffers would be the same as the encoded macroblock, once encoded in the step of encoding;
storing respective ones of the encoded macroblocks, each respectively corresponding to respective ones of the macroblocks of the one of the frame of the file from the step of encoding, in respective ones of the plurality of respective sectors, except not storing one of the encoded macroblocks if any already encoded macroblock (if any) then-retained in any of the respective sectors of any of the reference frame buffers would be the same as the encoded macroblock, once encoded in the step of encoding;
creating a respective pointer in the virtual frame buffer table associated with the reference frame buffer then available for the step of encoding, for each macroblock (if any) of the frame then-currently for the step of encoding, if any macroblock of one of the frame previously encoded matches the macroblock of the step of creating a respective pointer and if the encoded macroblock of the frame previously encoded is then-retained in any of the reference buffer tables;
storing the respective pointer from the step of creating the respective pointer (if performed), in the virtual frame buffer table associated with the reference frame buffer for the step of encoding; and
returning to the step of encoding, but rather than encoding the macroblock in the step of encoding, relying on the respective pointer for encoding in order to reference the encoded macroblock;
wherein the encoder during encoding either encodes each next one of the macroblock of the frame or, if any macroblock of another one of the frames previously encoded is then-retained in any of the plurality of reference frame buffers, creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the frame then being encoded.
8. A method of decoding an encoded file, the encoded file comprises encoded frames and each encoded frame comprises encoded macroblocks for decoding and the file, when decoded, comprises frames and each frame comprises macroblocks, comprising the steps of:
creating in a memory a plurality of reference frame buffers, wherein each reference frame buffer is distinct from any other of the plurality of reference frame buffers in the memory, each reference frame buffer capable of containing one of the encoded frame;
creating in the memory a plurality of virtual frame buffer tables, equal in number to number of the reference frame buffers in the memory, each virtual frame buffer table, respectively, corresponds distinctly to one of the reference frame buffer, respectively;
creating a plurality of respective sectors of each reference frame buffer, respectively, each respective sector sufficient for storage of one of the macroblocks corresponding to part of one of the frame of the file;
decoding one of the encoded frames of the encoded file, by successively decoding each respective one of the encoded macroblocks of the one of the encoded frame, unless the encoded macroblock, once decoded, would match any macroblock previously decoded and then-retained in any of the respective sectors of any of the reference frame buffers;
storing respective ones of the macroblocks, each respectively corresponding to respective ones of the macroblocks of the one of the frame of the file from the step of decoding, in respective ones of the plurality of respective sectors, except not storing one of the macroblocks if the macroblock, once decoded, would match any macroblock previously decoded and then-retained in any of the respective sectors of any of the reference frame buffers;
creating a respective pointer in the virtual frame buffer table associated with the reference frame buffer then available for the step of decoding, for each encoded macroblock (if any) of the encoded frame then-currently for the step of decoding if the encoded macroblock, once decoded, would match any macroblock previously decoded and retained in any of the reference buffer tables;
storing the respective pointer from the step of creating the respective pointer (if performed), in the virtual frame buffer table associated with the reference frame buffer for the step of decoding; and
returning to the step of decoding, but rather than decoding the encoded macroblock in the step of decoding, relying on the respective pointer for decoding in order to reference the macroblock;
wherein the decoder during decoding either decodes each next one of the encoded macroblock of the encoded frame or, if any encoded macroblock of another one of the encoded frames previously decoded is then-retained in any of the plurality of reference frame buffers, creates the respective pointer and stores the respective pointer in the virtual frame buffer table corresponding to the encoded frame then being decoded.
9. The device of claim 1,
wherein the file is a graphical type screen (such as a word processor or spreadsheet) of size about 5,000 to about 10,000 macroblocks; and
wherein only about one to about ten macroblocks need be updated in a changed frame, wherein the processing, memory requirements, bandwidth and power are thereby reduced in encoding or decoding, respectively.
10. The method of claim 7,
wherein the file is a graphical type screen (such as a word processor or spreadsheet) of size about 5,000 to about 10,000 macroblocks; and
wherein only about one to about ten macroblocks need be encoded in the step of encoding for any frame of macroblocks not previously encoded, wherein the processing, memory requirements, bandwidth and power are thereby reduced in encoding.
11. The method of claim 8,
wherein the encoded file represents a graphical type screen (such as a word processor or spreadsheet) of size about 5,000 to about 10,000 macroblocks; and
wherein only about one to about ten encoded macroblocks need be decoded in the step of decoding for any encoded frame of encoded macroblocks not previously decoded of another encoded frame, wherein the processing, memory requirements, bandwidth and power are thereby reduced in decoding.
12. An encode device operating in accordance with claim 7.
13. A decode device operating in accordance with claim 8.
14. An encoder/decoder device for processing a single reference frame, comprising:
a virtual frame buffer table of a single bit array in a memory; and
a processor connected to the virtual frame buffer table for writing the single reference frame to the single bit array.
15. The device of claim 1, wherein the device is selected from the group consisting of: circuit, computer program stored in memory, processor, and any combination of these.
16. The device of claim 2, wherein the device is selected from the group consisting of: circuit, computer program stored in memory, processor, and any combination of these.
17. A system according to claims 1 and 2, wherein at least certain of the device of claim 1 is the device of claim 2, and vice versa, and the system further comprises:
a communication network;
a first device connected to the communication network, the first node includes at least portions of the device of claim 1; and
a second device connected to the communication network, the second node includes at least portions of the device of claim 2;
wherein the encoded file is communicated by the first node to the second node over the network for decoding.
18. The device of claim 2,
wherein the file is a graphical type screen (such as a word processor or spreadsheet) of size about 5,000 to about 10,000 macroblocks; and
wherein only about one to about ten macroblocks need be updated in a changed frame, wherein the processing, memory requirements, bandwidth and power are thereby reduced in encoding or decoding, respectively.
US16/278,288 2010-07-07 2019-02-18 Virtual frame buffer system and method Abandoned US20190320194A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/278,288 US20190320194A1 (en) 2010-07-07 2019-02-18 Virtual frame buffer system and method

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US36196910P 2010-07-07 2010-07-07
US13/176,843 US8824560B2 (en) 2010-07-07 2011-07-06 Virtual frame buffer system and method
US14/331,358 US9762922B2 (en) 2010-07-07 2014-07-15 Virtual frame buffer system and method
US15/492,212 US10212440B2 (en) 2010-07-07 2017-04-20 Virtual frame buffer system and method
US16/278,288 US20190320194A1 (en) 2010-07-07 2019-02-18 Virtual frame buffer system and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/492,212 Continuation US10212440B2 (en) 2010-07-07 2017-04-20 Virtual frame buffer system and method

Publications (1)

Publication Number Publication Date
US20190320194A1 true US20190320194A1 (en) 2019-10-17

Family

ID=45556156

Family Applications (4)

Application Number Title Priority Date Filing Date
US13/176,843 Active 2032-02-04 US8824560B2 (en) 2010-07-07 2011-07-06 Virtual frame buffer system and method
US14/331,358 Active 2032-02-14 US9762922B2 (en) 2010-07-07 2014-07-15 Virtual frame buffer system and method
US15/492,212 Active US10212440B2 (en) 2010-07-07 2017-04-20 Virtual frame buffer system and method
US16/278,288 Abandoned US20190320194A1 (en) 2010-07-07 2019-02-18 Virtual frame buffer system and method

Family Applications Before (3)

Application Number Title Priority Date Filing Date
US13/176,843 Active 2032-02-04 US8824560B2 (en) 2010-07-07 2011-07-06 Virtual frame buffer system and method
US14/331,358 Active 2032-02-14 US9762922B2 (en) 2010-07-07 2014-07-15 Virtual frame buffer system and method
US15/492,212 Active US10212440B2 (en) 2010-07-07 2017-04-20 Virtual frame buffer system and method

Country Status (1)

Country Link
US (4) US8824560B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8711163B2 (en) * 2011-01-06 2014-04-29 International Business Machines Corporation Reuse of static image data from prior image frames to reduce rasterization requirements
EP2864963A4 (en) * 2012-06-21 2016-02-24 Intel Corp Techniques for improved graphics encoding
US20140037090A1 (en) * 2012-08-06 2014-02-06 Media Speed Tech Llc, A Delaware Limited Liability Company System and method of digital rights management
US10134106B2 (en) * 2012-09-05 2018-11-20 Ati Technologies Ulc Method and device for selective display refresh
US10567765B2 (en) 2014-01-15 2020-02-18 Avigilon Corporation Streaming multiple encodings with virtual stream identifiers
KR101897959B1 (en) 2015-02-27 2018-09-12 쏘닉 아이피, 아이엔씨. System and method for frame replication and frame extension in live video encoding and streaming
CN106488240A (en) * 2015-09-01 2017-03-08 晨星半导体股份有限公司 Image processing system and image treatment method
US10033838B2 (en) 2015-10-01 2018-07-24 Oracle International Corporation Method and apparatus for conversion between logical and physical frames for a serial link application
US9866862B2 (en) 2016-03-18 2018-01-09 Google Llc Motion vector reference selection through reference frame buffer tracking
CN107295366B (en) * 2016-04-05 2020-03-31 中国科学院上海高等研究院 Method and system for scheduling and multiplexing broadcast multi-pipeline service data
CN106791829B (en) * 2016-11-18 2020-01-21 华为技术有限公司 Method and equipment for establishing virtual reference frame
CN110659225A (en) * 2018-06-28 2020-01-07 华为技术有限公司 Memory management method and related device
CN110557669B (en) * 2019-08-05 2021-01-22 视联动力信息技术股份有限公司 Video data display method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067321A (en) * 1997-04-03 2000-05-23 Lsi Logic Corporation Method and apparatus for two-row macroblock decoding to improve caching efficiency
US6614442B1 (en) * 2000-06-26 2003-09-02 S3 Graphics Co., Ltd. Macroblock tiling format for motion compensation
US20040264580A1 (en) * 2003-03-17 2004-12-30 Stmicroelectronics Asia Pacific Pte Ltd. Decoder and method of decoding using pseudo two pass decoding and one pass encoding
US20050047510A1 (en) * 2003-08-27 2005-03-03 Muneaki Yamaguchi Data processing device for MPEG
US20060222080A1 (en) * 2005-03-31 2006-10-05 Wen-Shan Wang Reference data buffer for intra-prediction of digital video
US20060244819A1 (en) * 2005-04-28 2006-11-02 Thomas Pun Video encoding in a video conference
US20080063082A1 (en) * 2006-09-07 2008-03-13 Fujitsu Limited MPEG decoder and MPEG encoder

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7848432B2 (en) * 2003-07-02 2010-12-07 Broadcom Corporation System and method for efficiently storing macroblocks in SD-RAM
EP2041982A2 (en) * 2006-07-11 2009-04-01 Thomson Licensing Methods and apparatus using virtual reference pictures

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067321A (en) * 1997-04-03 2000-05-23 Lsi Logic Corporation Method and apparatus for two-row macroblock decoding to improve caching efficiency
US6614442B1 (en) * 2000-06-26 2003-09-02 S3 Graphics Co., Ltd. Macroblock tiling format for motion compensation
US20040264580A1 (en) * 2003-03-17 2004-12-30 Stmicroelectronics Asia Pacific Pte Ltd. Decoder and method of decoding using pseudo two pass decoding and one pass encoding
US20050047510A1 (en) * 2003-08-27 2005-03-03 Muneaki Yamaguchi Data processing device for MPEG
US20060222080A1 (en) * 2005-03-31 2006-10-05 Wen-Shan Wang Reference data buffer for intra-prediction of digital video
US20060244819A1 (en) * 2005-04-28 2006-11-02 Thomas Pun Video encoding in a video conference
US20080063082A1 (en) * 2006-09-07 2008-03-13 Fujitsu Limited MPEG decoder and MPEG encoder

Also Published As

Publication number Publication date
US8824560B2 (en) 2014-09-02
US20170289559A1 (en) 2017-10-05
US10212440B2 (en) 2019-02-19
US20150131727A1 (en) 2015-05-14
US9762922B2 (en) 2017-09-12
US20120033738A1 (en) 2012-02-09

Similar Documents

Publication Publication Date Title
US10212440B2 (en) Virtual frame buffer system and method
US11705924B2 (en) Low-latency encoding using a bypass sub-stream and an entropy encoded sub-stream
US20140086309A1 (en) Method and device for encoding and decoding an image
US8625910B2 (en) Compression of image data
US5751860A (en) Method for compressing and decompressing digital image data
US7689047B2 (en) Reduced buffer size for JPEG encoding
RU2265879C2 (en) Device and method for extracting data from buffer and loading these into buffer
JP4609568B2 (en) Data processing apparatus, data processing method, and data processing system
US6820087B1 (en) Method and apparatus for initializing data structures to accelerate variable length decode
CN102263946A (en) Techniques for storing and retrieving pixel data
CN110545446B (en) Desktop image encoding and decoding methods, related devices and storage medium
CN110191341B (en) Depth data coding method and decoding method
JP2017192080A (en) Image compression device, image decoding device, image compression method, and image compression program
KR102561581B1 (en) Method and apparatus for random access of high-efficiency video coding bitstream for MPEG media transmission
US9307259B2 (en) Image decoding methods and image decoding devices
JP2020530229A (en) Motion compensation reference frame compression
US20240070921A1 (en) Concatenation of chunked entropy streams
US8972360B2 (en) Position invariant compression of files within a multi-level compression scheme
KR102154580B1 (en) Image processing apparatus and method
US20110096842A1 (en) Video decoding device and method
US8243822B2 (en) Data transfer scheme, frame synchronization device and data transfer method
CN117333559A (en) Image compression method, device, electronic equipment and storage medium
KR20080045842A (en) Apparatus and method for image compression and restoring
US20160173895A1 (en) Method and device for storing and reading data, particularly video data, in storage blocks
CN105204828A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
AS Assignment

Owner name: NETZYN, INC., TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BAKKE, STEVE;REEL/FRAME:048359/0674

Effective date: 20151109

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

STCC Information on status: application revival

Free format text: WITHDRAWN ABANDONMENT, AWAITING EXAMINER ACTION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION