11. A method comprising: receiving a code word; determining a hierarchy level in a tree structure, wherein the tree structure relates to at least one of a transform block size, a prediction block size, or a block size, and wherein the hierarchy level represents division of a block into smaller blocks; determining, by a computing device, a mapping to obtain a syntax element on the basis of said hierarchy level, wherein the syntax element relates to at least one of a coded block pattern, a transform split pattern, or motion partition information; and updating the mapping.
11. A method comprising: receiving a code word; determining a hierarchy level in a tree structure, wherein the tree structure relates to at least one of a transform block size, a prediction block size, or a block size, and wherein the hierarchy level represents division of a block into smaller blocks; determining, by a computing device, a mapping to obtain a syntax element on the basis of said hierarchy level, wherein the syntax element relates to at least one of a coded block pattern, a transform split pattern, or motion partition information; and updating the mapping. 14. The method according to claim 11 wherein determining the mapping comprises using a sorting table to determine the mapping.