Method and apparatus for processing video signal
AssigneeKt Corporation
InventorBae Keun Lee
Life of this patent
Estimating the term…
Abstract
A method for decoding a video according to the present invention may comprise: determining a motion vector precision of a current block, generating a motion vector candidate list of the current block, obtaining a motion vector prediction value of the current block from the motion vector candidate list, determining whether a precision of the motion vector prediction value is identical to a motion vector precision of the current block, scaling the motion vector prediction value according to the motion vector precision of the current block, when the precision of the motion vector prediction value is different from the motion vector precision of the current block, and obtaining a motion vector of the current block using the scaled motion vector prediction value.
Claims10
A method for decoding a video, the method comprising:
- determining a motion vector precision of a current block;
- obtaining a motion vector difference value of the current block, the motion vector difference value being scaled based on the motion vector precision of the current block;
- obtaining a motion vector prediction value of the current block from a motion vector predictor list;
- obtaining a motion vector of the current block using the motion vector prediction value and the scaled motion vector difference value;
- and
- obtaining a prediction sample of the current block by using the motion vector,
- wherein when it is determined that the motion vector precision of the current block is determined from a motion vector precision set including a plurality of motion vector precision candidates, the motion vector precision of the current block is determined based on index information specifying one of the plurality of motion vector precision candidates,
- wherein when it is determined that the motion vector precision of the current block is determined without using the motion vector precision set, the motion vector precision of the current block is determined without parsing the index information, and
- wherein determination of whether the motion vector precision set is used or not is based on a flag signaled for the current block.
A method for encoding a video, the method comprising:
- determining a motion vector precision of a current block;
- obtaining a motion vector of the current block;
- determining a motion vector prediction value from a motion vector predictor list;
- and
- deriving a motion vector difference value by subtracting the motion vector prediction value from the motion vector;
- encoding a scale motion vector difference value, the motion vector difference value being scaled based on the motion vector precision of the current block;
- and
- obtaining a prediction sample of the current block based on the motion vector,
- wherein when the motion vector precision of the current block is determined from a motion vector precision set including a plurality of motion vector precision candidates, index information specifying one of the plurality of motion vector precision candidates is encoded in a bitstream,
- wherein when the motion vector precision of the current block is determined without using the motion vector precision set, encoding the index information is skipped, and
- wherein a flag indicating whether the motion vector precision set is used or not is encoded in the bitstream.
A non-transitory computer-readable medium for storing data associated with a video signal, comprising:
- a data stream stored in the non-transitory computer-readable medium, the data stream being decoded by a decoding method which comprising:
- determining a motion vector precision of a current block;
- obtaining a motion vector difference value of the current block, the motion vector difference value being scaled based on the motion vector precision of the current block;
- obtaining a motion vector prediction value of the current block from a motion vector predictor list;
- obtaining a motion vector of the current block using the motion vector prediction value and the scaled motion vector difference value;
- and
- obtaining a prediction sample of the current block by using the motion vector,
- wherein when it is determined that the motion vector precision of the current block is determined from a motion vector precision set including a plurality of motion vector precision candidates, the motion vector precision of the current block is determined based on index information specifying one of the plurality of motion vector precision candidates,
- wherein when it is determined that the motion vector precision of the current block is determined without using the motion vector precision set, the motion vector precision of the current block is determined without parsing the index information, and
- wherein determination of whether the motion vector precision set is used or not is based on a flag signaled for the current block.
Dependencies are inferred from the claim text.