Method for direct mode encoding and decoding
AssigneesSamsung Electronics Co., Ltd., Sungkyunkwan University Foundation for Corporate Collaboration
InventorsKwang-Pyo Choi, Yun-Je Oh, Young-Hun Joo, Byeung-Woo Jeon, Bong-Soo Jung, Kwang-Hyun Won
Life of this patent
Estimating the term…
Abstract
Disclosed is a method of encoding a direct mode when coding moving images, the method includes finding a prediction and a cost for each of a plurality of direct modes including a backward-based temporal direct mode and a forward-based temporal direct mode with respect to a current block to be encoded and determining one mode having the lowest cost as a result of comparing the costs as an optimal encoding mode, thereby performing encoding the direct mode.
Claims9
A method for operating an encoder for encoding in a direct mode when coding moving images, comprising the steps of:
- receiving by the encoder input images to be encoded;
- storing said images in a memory;
- outputting from said memory a current block to be encoded;
- obtaining a prediction and a cost for each of a plurality of direct modes comprising a first temporal direct mode which uses a same position block located in a backward reference picture and a second temporal direct mode which uses a same position block located in a forward reference picture with respect to the current block to be encoded;
- determining one direct mode having a lowest cost as a result of comparing the costs as an optimal encoding mode;
- encoding a bit stream of the current block by the optimal encoding mode;
- and
- inserting information on the optimal encoding mode in the encoded bit stream.
A method for operating a decoder for decoding in a direct mode when decoding moving images, comprising the steps of:
- receiving by the decoder an input bit stream to be decoded;
- obtaining a direct mode of a current block to be decoded based on information of an optimal encoding mode included in the input bit stream;
- finding a bidirectional prediction block by obtaining and scaling a motion vector from a same position block of a backward reference picture and thus deriving a bidirectional motion vector, in the case of a first temporal direct mode which uses the same position block located in the backward reference picture;
- finding a bidirectional prediction block by obtaining and scaling a motion vector from a same position block of a forward reference picture and thus deriving a bidirectional motion vector, in the case a second temporal direct mode which uses the same position block located in the forward reference picture;
- and
- restoring the current block by adding the prediction block found according to the first temporal direct mode or the second temporal direct mode and a residual block found from the input bit stream;
- wherein the optimal encoding mode is direct mode having a lowest cost as a result of comparing costs for each of a plurality of direct modes comprising the first temporal direct mode and the second temporal direct mode.
Dependencies are inferred from the claim text.