1. Technical Field
The present invention relates to a video compression technique for video/audio data transmission using a video decoder having a SRAM memory. More particularly, this invention relates to a predictive frame dropping method used in wireless video/audio data transmission using a video decoder having a SRAM memory.
2. Description of Related Art
In MPEG video compression, a group of pictures (GOP) contains at least two frame types, including: I-frame (intra coded picture), which represents a fixed image and is independent of other picture frames in the sequence. Each GOP begins with an I frame, and P-frame (predictive coded picture) contains motion-compensated difference information from the preceding I-frame or P-frame, which means that each one P-frame has a dependency on the preceding I-frame or P-frame. A GOP always begins with an I-frame. Afterwards several P-frames follow, in each case with some frames distance. Some video codecs allow for more than one I-frame in a GOP. The I-frames contain the full image and do not require any additional information to reconstruct itself. Therefore, any errors within the GOP structure are corrected by the next I-frame. The more I-frames the video stream has in possession, the more editable the video stream becomes. However, having more I-frames increases the stream size correspondingly. Therefore, for the sake of conserving bandwidth and disk space, typically videos designed for internet broadcast often have only one I-frame per GOP. The distance between two adjacent full images (i.e., two adjacent I-frames) is called the GOP length. I-frame is also known as reference or key frames, which contain all the necessary frame data to re-create a complete image. I-frames are the largest type of MPEG frame, but they are faster to decompress than other types of MPEG frames. Meanwhile, P-frames are typically much smaller than I-frames.
In the conventional video decoder, such as H.264/AVC video decoder, for example, the cache memory for frame buffering is usually provided in the fond of an off-chip external DDR memory. Therefore, DDR memory adds cost and integrated circuit footprint. Typically, only fully-processed or decoded pixel data are stored in the DDR, instead of storing frame data in the compressed domain. Video playback is typically at 30 frames per second and at 720p or 1080p. Because the frame buffer of the DDR has a limited memory, thus, only a small number of video frames can be stored inside the DDR memory, typically the DDR stores up to 3 frames of 720p quality images.
After the video decoder has decoded the raw data, the RGB file in the raw domain then proceeds on to perform frame dropping of the raw data. Therefore, the problems faced by conventional video decoding are of having excessive frame size and thereby adding cost and overhead to the overall video compression. In a conventional video/audio transmission system, when the reference frequency for both the video encoder and decoder are being set at 27 MHz, for example, the respective system clocks are oscillating at above +/−30 ppm tolerance, and the output images at the display end out of the video decoder would thereby experience defective or poor image quality. Therefore, there is room for improvement in the art. Meanwhile, conventional video decoding is performed using an off-chip DDR memory working along the video decoder, therefore, there is no need to perform any dropping frame in compressed domain in the DDR.
One aspect of the invention is to provide a predictive frame dropping method used in wireless video/audio data transmission when using a video decoder having a SRAM memory under compressed domain instead of raw domain.
Another aspect of the invention is to provide a predictive frame dropping method used in wired video/audio data transmission when using a video encoder having a SRAM memory under compressed domain instead of raw domain.
Another aspect of the invention is to provide a predictive frame dropping method by dropping at least one P-frame directly in front of each I-frame in compressed stream domain before being decompressed by the video decoder at the receiver side.
Another aspect of the invention is to provide a predictive frame dropping method by dropping at least one P-frame directly in front of each I-frame in compressed stream domain after being compressed by the encoder at the transmitter side.
Another aspect of the invention is to provide a predictive frame dropping method by dropping at least one consecutive P-frames directly in front of each I-frame in each group of picture to avoid the SRAM of the video decoder from overflowing.
To achieve the foregoing and other aspects, a controller for controlling the quantity of number of P-frames to be dropped is provided.
The components in the drawings are not necessarily drawn to scale, the emphasis instead placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
Referring to
In a third embodiment, referring to
In a fourth embodiment, the predictive frame dropping method can be adapted for use in a wired video/audio data transmission system in which the frame dropping signal generated by the controller can be transmitted in a wired manner from the video decoder to the video encoder, and all video/audio data streams are transmitted also in a wired manner from the video encoder to the video decoder. In the above embodiments, the video decoder can provide video playback at 30 or 60 frames per second at 720p or 1080p, for example.
It is to be further understood that, because the predictive frame dropping method depicted in the accompanying drawings are preferably implemented in software, the actual connections between the process function blocks may differ depending upon the manner in which the present invention is programmed. Given the teachings herein, one of ordinary skill in the pertinent art will be able to contemplate these and similar implementations or configurations of the present invention.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
This application is a continuation-in-part of an U.S. patent application, titled “WIRELESS VIDEO/AUDIO DATA TRANSMISSION SYSTEM” with U.S. application Ser. No. 13/225,485, which is filed on Sep. 5, 2011, now pending, and this application having at least one inventor in common, namely, Zhou Ye. The contents of the above-mentioned patent application is hereby incorporated by reference herein in its entirety and made a part of this specification.
| Number | Date | Country | |
|---|---|---|---|
| Parent | 13225485 | Sep 2011 | US |
| Child | 13299323 | US |