CPC H04N 19/61 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11); H04N 19/625 (2014.11); H04N 19/70 (2014.11)] | 8 Claims |
1. A decoder for decoding a picture, the decoder configured to:
derive, from a data stream, into which the picture is coded, an assignment of a picture, at a granularity of blocks into which the picture is subdivided, to a set of prediction types which comprise intra prediction and inter prediction, so that each block is assigned to an associated prediction type out of the set of prediction types,
derive, from the data stream, for each of intra-predicted blocks to which the intra-prediction is assigned, an associated intra-prediction mode out of a set of intra-prediction modes;
for each of the intra-predicted blocks the associated intra-prediction mode of which is comprised within a predetermined subset of the set of intra-prediction modes:
derive, from the data stream, an information on a partitioning of the respective intra-predicted block into partitions;
determine a partition-specific intra-prediction for each partition of the respective intra-predicted block using the associated intra-prediction mode assigned to the respective intra-predicted block;
derive from the data stream, for each partition of the respective intra-predicted block, a partition-specific prediction residual signal;
determine whether, for each of the partitions of the respective intra-predicted block, no non-zero transform coefficient lies outside a respective predetermined area;
responsive to a determination that, for each of the partitions of the respective intra-predicted block, no non-zero transform coefficient lies outside the respective predetermined area, decode a secondary transform index for the respective intra-predicted block, wherein the secondary transform index indicates to not use any inverse secondary transform, or use a first inverse secondary transform, or use a second inverse secondary transform, for generating a partition-specific spatial domain residual for each partition of the respective intra-predicted block; and
reconstruct each partition of the respective intra-predicted block using the partition-specific spatial domain residual and the partition-specific intra-prediction.
|