A picture decoding device that decodes a bitstream containing difference information between a picture serving as a decoding target and a picture serving as a prediction target, which is partitioned into a plurality of difference coefficient areas and partitioned the plurality of difference coefficient areas into a plurality of sub blocks, the picture decoding device comprising:
- a significant sub block information decoding controller that decodes significant sub block information indicating whether all values of difference coefficients of a sub block serving as a decoding target are zero;
- a significant difference coefficient information decoding controller that decodes significant difference coefficient information indicating whether a value of a difference coefficient is zero;
- and
- a context deriver that derives a context for decoding the significant difference coefficient information of the difference coefficient serving as the decoding target based on a horizontal position and a vertical position of the difference coefficient in the sub block serving as the decoding target, and countCoeff, which is calculated based on the significant sub block information of decoded sub blocks neighboring to the sub block serving as the decoding target in a difference coefficient area of the plurality of difference coefficient areas serving as the decoding target,
- wherein when the countCoeff has a maximum value, the context deriver calculates the context for decoding the significant difference coefficient information, regardless of the horizontal position and the vertical position of the difference coefficient in the sub block serving as the decoding target.