Patent ID: 9609363
Date: 2017-03-28
CPC Classifications: H04N

Claim:
1. A method for obtaining a size of a transform block implemented by a hardware processor coupled to a memory, the method comprising: obtaining, by the hardware processor, a dividing manner of an image block; obtaining, by the hardware processor, size information of a post-dividing transform block according to the dividing manner of the image block, a width and a height of a pre-dividing transform block according to the dividing manner; and storing, by the hardware processor, the obtained size information in the memory coupled with the processor; wherein the dividing manner is a horizontal or vertical dividing manner that determines a relationship between the pre-dividing transform blocks and the post-dividing transform blocks, and wherein the width and the height of the pre-dividing transform block are equal, one dimension of the pre-dividing transform block is equal to another dimension of the post-dividing transform block, a dimension being a width or a height, and a mathematical relationship between the width of the pre-dividing transform block and the height of the pre-dividing transform block is selected from the group consisting of: