The present invention relates to a video decoding system and method thereof and particularly relates to a video decoding system and method that need no extra reference frame buffer and no extra read operation in RPR mode.
As shown in
One embodiment of the present invention discloses a video decoding method, which comprises: (a) computing location relations between an original frame and a resized frame to which the frame is to be scaled; (b) mapping a location of a data unit of the original frame to a location of a corresponding data unit of the resized frame according to the location relations; and (c) scaling the data unit of the original frame to the corresponding data unit of the resized frame.
Another embodiment of the present invention discloses a video decoding system including a location mapping device and a scaler. The location mapping device is for computing location relations between an original frame and a resized frame to which the original frame is to be scaled, and for mapping a location of a data unit of the original frame to a location of a corresponding data unit of the resized frame according to the location relations. The scaler is for scaling the data unit of the original frame to the corresponding data unit of the resized frame.
According to the above-mentioned embodiments, only one read and one write operation are needed, thus time and bandwidth requirements are decreased. Additionally, no reference frame buffer is needed according to the above-mentioned embodiments, and therefore the cost can be reduced.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
The scaler 203 is arranged for scaling the data unit DU of the original frame to the corresponding data unit SDU of the resized frame. The location relations can be computed according to the scaling ratio between the original frame and the scaled frame. This technique is well known and details are therefore omitted for brevity.
The video decoding system 200 can include a motion compensation device 205, which is arranged for performing motion compensation on the corresponding data unit of the resized frame without storing the corresponding data unit of the resized frame. In other words, the motion compensation device 205 performs motion compensation on the corresponding data unit SDU of the resized frame on the fly (in real time), thus it is not necessary to store the scaled frame and read it again for scaling. Additionally, in this embodiment the scaler 203 and the motion compensation device 205 are implemented via a single device, that is, the scaler 203 and the motion compensation device 205 can be merged to form a single device.
Furthermore, the video decoding system 200 can further comprise a storage device 207 for storing the corresponding data unit after the motion compensation device 205 performs motion compensation on the corresponding data unit on the fly (in real time). Also, the location mapping device 201, the scaler 203, and the motion compensation device 205 repeatedly process the data units of the original frame until all the data units of the original frame are processed by the location mapping device 201, the scaler 203, and the motion compensation device 205.
Other detailed characteristics of the video decoding method shown in
According to the above-mentioned embodiments, only one read and one write operation are needed. That is, one read operation is performed on the data unit of the original frame and one write operation is performed on the scaled data unit after motion compensation. Accordingly, time consumption and bandwidth requirements are reduced. Additionally, no reference frame buffer is needed according to above-mentioned embodiments, and therefore cost is reduced.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.