CPC H04N 19/50 (2014.11) [H04N 19/13 (2014.11); H04N 19/157 (2014.11); H04N 19/176 (2014.11); H04N 19/196 (2014.11); H04N 19/436 (2014.11); H04N 19/61 (2014.11); H04N 19/70 (2014.11); H04N 19/85 (2014.11); H04N 19/91 (2014.11)] | 2 Claims |
1. A non-transitory computer-readable recording medium for use in a computer, the recording medium having a computer program recorded thereon for causing the computer to execute:
obtaining a luminance CBF flag indicating whether or not a quantized coefficient is included in a transform unit that is included in a coding unit of the image;
selecting a first probability table or a second probability table so that (i) the first probability table is selected when the size of the coding unit is identical to the size of the transform unit and (ii) the second probability table is selected when the size of the coding unit is not identical to the size of the transform unit regardless of the size of the transform unit;
performing arithmetic encoding on the luminance CBF flag using the selected one of the first probability table and the second probability table; and
encoding a picture signal for the coding unit using the quantized coefficient of the transform unit when the luminance CBF flag indicates that the quantized coefficients is included in the transform unit,
wherein when the size of the transform unit is a first size which is smaller than the size of the coding unit, the selecting selects the second probability table, and
wherein when the size of the transform unit is a second size which is smaller than the first size, the selecting selects the second probability table without depending on any surrounding blocks.
|