Predictive encoding and decoding methods of video data
First Claim
1. A predictive encoding method of video data, in which one of a global motion-compensating process for predicting a global motion of the whole frame and a local motion-compensating process for predicting a local motion of each block in a frame is selectively performed, wherein:
- when a current block to be processed is not block-skipped, if the current block is interframe-encoded, then a code word for indicating the prediction mode is inserted in an encoded data sequence of the current block, the code word indicating which of the global and local motion-compensating processes was chosen for interframe-encoding the current block, and the code word inserted after another code word indicating the encoding mode of the current block; and
if the current block to be processed is intraframe-encoded, then the code word for indicating the prediction mode is not inserted in the data sequence; and
when the current block to be processed is block-skipped, the global motion-compensating process is always chosen so as to perform interframe encoding, and in the skipped block, the code word for indicating the prediction mode is not inserted in the data sequence.
1 Assignment
0 Petitions
Accused Products
Abstract
Video data predictive encoding methods using the two kinds of prediction modes, the global and local motion compensation modes, are provided, by which unnecessary MCSEL is reduced as much as possible, and the data compression efficiency is improved. In the encoder, after a code word MCBPC indicating the macroblock type and presence/absence of the DCT coefficient of each of two blocks for sending color-difference signals, a code word MCSEL indicating which motion-compensating mode, global or local, was adopted for the prediction of the current macroblock is output if the macroblock was not intraframe-encoded.
-
Citations
5 Claims
-
1. A predictive encoding method of video data, in which one of a global motion-compensating process for predicting a global motion of the whole frame and a local motion-compensating process for predicting a local motion of each block in a frame is selectively performed, wherein:
-
when a current block to be processed is not block-skipped, if the current block is interframe-encoded, then a code word for indicating the prediction mode is inserted in an encoded data sequence of the current block, the code word indicating which of the global and local motion-compensating processes was chosen for interframe-encoding the current block, and the code word inserted after another code word indicating the encoding mode of the current block; and
if the current block to be processed is intraframe-encoded, then the code word for indicating the prediction mode is not inserted in the data sequence; and
when the current block to be processed is block-skipped, the global motion-compensating process is always chosen so as to perform interframe encoding, and in the skipped block, the code word for indicating the prediction mode is not inserted in the data sequence.
-
-
2. A decoding method for decoding a data sequence encoded by a predictive encoding method of video data, in which one of a global motion-compensating process for predicting a global motion of the whole frame and a local motion-compensating process for predicting a local motion of each block in a frame is selectively performed, wherein:
-
when a current block to be processed has not been block-skipped, if the current block was interframe-encoded, then a code word for indicating the prediction mode is extracted from an encoded data sequence of the current block, the code word indicating which of the global and local motion-compensating processes was chosen for interframe-encoding the current block, and a decoding process corresponding to the block which was encoded using the chosen prediction method is performed, where the code word is inserted after another code word, which indicates the encoding mode of the current block, in the data sequence; and
if the current block was intraframe-encoded, then the code word for indicating the prediction mode is not extracted; and
when the current block has been block-skipped, the code word for indicating the prediction mode is not extracted and a decoding process corresponding to the block which was interframe-encoded by choosing the global motion-compensating process is always performed.
-
-
3. A computer-readable medium containing a program which executes a procedure for a predictive encoding method of video data, in which one of a global motion-compensating process for predicting a global motion of the whole frame and a local motion-compensating process for predicting a local motion of each block in a frame is selectively performed, the procedure comprising:
-
when a current block to be processed is not block-skipped, if the current block is interframe-encoded, then a code word for indicating the prediction mode is inserted in an encoded data sequence of the current block, the code word indicating which of the global and local motion-compensating processes was chosen for interframe-encoding the current block, and the code word inserted after another code word indicating the encoding mode of the current block; and
if the current block to be processed is intraframe-encoded, then the code word for indicating the prediction mode is not inserted in the data sequence; and
when the current block to be processed is block-skipped, the global motion-compensating process is always chosen so as to perform interframe encoding, and in the skipped block, the code word for indicating the prediction mode is not inserted in the data sequence.
-
-
4. A computer-readable medium containing a program which executes a procedure for a decoding method for decoding a data sequence encoded by a predictive encoding method of video data, in which one of a global motion-compensating process for predicting a global motion of the whole frame and a local motion-compensating process for predicting a local motion of each block in a frame is selectively performed, the procedure comprising:
-
when a current block to be processed has not been block-skipped, if the current block was interframe-encoded, then a code word for indicating the prediction mode is extracted from an encoded data sequence of the current block, the code word indicating which of the global and local motion-compensating processes was chosen for interframe-encoding the current block, and a decoding process corresponding to the block which was encoded using the chosen prediction method is performed, where the code word is inserted after another code word, which indicates the encoding mode of the current block, in the data sequence;
if the current block was intraframe-encoded, then the code word for indicating the prediction mode is not extracted; and
when the current block has been block-skipped, the code word for indicating the prediction mode is not extracted and a decoding process corresponding to the block which was interframe-encoded by choosing the global motion-compensating process is always performed.
-
-
5. A computer-readable storage medium storing data for a procedure for a predictive encoding method of video data, in which one of a global motion-compensating process for predicting a global motion of the whole frame and a local motion-compensating process for predicting a local motion of each block in a frame is selectively performed, the stored data being encoded in accordance with a procedure comprising:
-
when a current block to be processed is not block-skipped, if the current block is interframe-encoded, then a code word for indicating the prediction mode is inserted in an encoded data sequence of the current block, the code word indicating which of the global and local motion-compensating processes was chosen for interframe-encoding the current block, and the code word inserted after another code word indicating the encoding mode of the current block; and
if the current block to be processed is intraframe-encoded, then the code word for indicating the prediction mode is not inserted in the data sequence; and
when the current block to be processed is block-skipped, the global motion-compensating process is always chosen so as to perform interframe encoding, and in the skipped block, the code word for indicating the prediction mode is not inserted in the data sequence.
-
Specification