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: decoding information indicating whether a non-zero transform coefficient exists in a current block, when the information indicates that the non-zero transform coefficient exists in the current block, determining a scanning order of the current block, and decoding a transform coefficient included in the current block according to the determined scanning order.
Claims9
A method of decoding a video, the method comprising:
- decoding a coded block flag indicating whether a non-zero transform coefficient exists in a current block;
- when the coded block flag indicates that at least one non-zero transform coefficient exists in the current block, decoding a transform coefficient of the current block;
- determining whether to skip an inverse-transform for the current block;
- and
- obtaining residual samples of the current block by skipping or performing the inverse-transform on the transform coefficient in the current block,
- wherein:
- whether to decode a transform skip flag from a bitstream is determined based on a partition type of a coding block, the transform skip flag indicating whether to skip the inverse-transform, and
- wherein when the current block is one of partitions generated by partitioning the coding block either in a horizontal direction or a vertical direction, decoding the transform skip flag from the bitstream is omitted, and it is determined not to skip the inverse-transform for the current block.
A method of encoding a video, the method comprising:
- obtaining residual samples of a current block;
- obtaining transform coefficients by skipping or performing a transform on the residual samples of the current block;
- when at least one non-zero transform coefficient exists in the current block, encoding a transform coefficient of the current block;
- and
- encoding a coded block flag indicating whether the non-zero transform coefficient exists in the current block,
- wherein:
- whether to encode a transform skip flag in a bitstream is determined based on a partition type of a coding block, the transform skip flag indicating whether the transform is skipped or not, and
- wherein when the current block is one of partitions generated by partitioning the coding block either in a horizontal direction or a vertical direction, the transform is not skipped for the current block, and encoding the transform skip flag is omitted.
A device of storing a compressed video data which being generated with program instructions, when the program instructions being executed, the device being configured to:
- obtain residual samples of a current block;
- obtain transform coefficients by skipping or performing a transform on the residual samples of the current block;
- when at least one non-zero transform coefficient exists in the current block, encode a transform coefficient of the current block;
- and
- encode a coded block flag indicating whether the non-zero transform coefficient exists in the current block,
- wherein:
- whether to encode a transform skip flag in a bitstream is determined based on a partition type of a coding block, the transform skip flag indicating whether the transform is skipped or not, and
- wherein when the current block is one of partitions generated by partitioning the coding block either in a horizontal direction or a vertical direction, the transform is not skipped for the current block, and encoding the transform skip flag is omitted.
Dependencies are inferred from the claim text.