Encoding and decoding methods and corresponding devices
AssigneeInterDigital VC Holdings, Inc.
InventorsFabrice Leleannec, Tangi Poirier, Ya Chen
Life of this patent
Estimating the term…
Abstract
A decoding method is disclosed. First, context for a syntax element associated with a current transform coefficient of a block of a picture is determined. The context is determined based on the area of said block, on the position of the current transform coefficient within the block and on the number of non-zero neighboring transform coefficients in a local template. Second, the syntax element is decoded based at least on the determined context. Advantageously, the local template depends on the shape of said block.
Claims26
A method for decoding video data, comprising:
- determining a context for a syntax element associated with a current transform coefficient of a current sub-block of a picture, the current sub-block resulting from a partitioning of a current block of samples according to a split mode selected from a plurality of split modes for splitting a block into at least one of rectangular sub-blocks or square sub-blocks, wherein the context is determined based on an area of said current sub-block, a position of the current transform coefficient within the current sub-block, and transform coefficients in a local template, wherein the local template is a subset of transform coefficients of the current sub-block comprising transform coefficients in a causal neighborhood of the current transform coefficient, wherein, regardless of the position of the current transform coefficient in the current sub-block, a position of at least one of the transform coefficients of the local template with respect to the current transform coefficient depends on the shape of the current sub-block resulting from the partitioning of the current block of samples according to the selected split mode;
- and
- decoding said syntax element based at least on the determined context.
A method for encoding video data, comprising:
- determining a context for a syntax element associated with a current transform coefficient of a current sub-block of a picture, the current sub-block resulting from a partitioning of a current block of samples according to a split mode selected from a plurality of split modes for splitting a block into at least one of rectangular sub-blocks or square sub-blocks, wherein the context is determined based on of an area of said current sub-block, a position of the current transform coefficient within the current sub-block, and transform coefficients in a local template, wherein the local template is a subset of transform coefficients of the current sub-block comprising transform coefficients in a causal neighborhood of the current transform coefficient, wherein, regardless of the position of the current transform coefficient in the current sub-block, a position of at least one of the transform coefficients of the local template with respect to the current transform coefficient depends on the shape of the current sub-block resulting from the partitioning of the current block of samples according to the selected split mode;
- and
- encoding said syntax element based at least on the determined context.
A device for decoding video data, the device comprising electronic circuitry adapted for:
- determining a context for a syntax element associated with a current transform coefficient of a current sub-block of a picture, the current sub-block resulting from a partitioning of a current block of samples according to a split mode selected from a plurality of split modes for splitting a block into at least one of rectangular sub-blocks or square sub-blocks, wherein the context is determined based on an area of said current sub-block, a position of the current transform coefficient within the current sub-block, and transform coefficients in a local template, wherein the local template is a subset of transform coefficients of the current sub-block comprising transform coefficients in a causal neighborhood of the current transform coefficient, wherein, regardless of the position of the current transform coefficient in the current sub-block, a position of at least one of the transform coefficients of the local template with respect to the current transform coefficient depends on the shape of the current sub-block resulting from the partitioning of the current block of samples according to the selected split mode;
- and
- decoding said syntax element based at least on the determined context.
A device for encoding video data, the device comprising electronic circuitry adapted for:
- determining a context for a syntax element associated with a current transform coefficient of a current sub-block of a picture, the current sub-block resulting from a partitioning of a current block of samples according to a split mode selected from a plurality of split modes for splitting a block into at least one of rectangular sub-blocks or square sub-blocks, wherein the context is determined based on an area of said current sub-block, a position of the current transform coefficient within the current sub-block, and transform coefficients in a local template, wherein the local template is a subset of transform coefficients of the current sub-block comprising transform coefficients in a causal neighborhood of the current transform coefficient, wherein, regardless of the position of the current transform coefficient in the current sub-block, a position of at least one of the transform coefficients of the local template with respect to the current transform coefficient depends on the shape of the current sub-block resulting from the partitioning of the current block of samples according to the selected split mode;
- and
- encoding said syntax element based at least on the determined context.
Dependencies are inferred from the claim text.