| CPC H04N 19/12 (2014.11) [H04N 19/176 (2014.11); H04N 19/61 (2014.11); H04N 19/70 (2014.11)] | 19 Claims |

|
1. A method of video encoding, comprising:
obtaining prediction residuals, for a block in a picture, to be encoded with a transform skip residual coding process;
counting a first number of context-coded bins used to encode a set of syntax elements associated with level information of said prediction residuals in said block, during said transform skip residual coding process, wherein said set of syntax elements indicates, for a prediction residual, at least one of significance of said prediction residual, whether an absolute value of said prediction residual is greater than a value and a parity of said prediction residual, wherein a maximum number of context-coded bins is used to limit said first number of context-coded bins, and wherein said set of syntax elements are context coded before said first number of context-coded bins reaches said maximum number of context-coded bins and then are bypass coded after said first number of context-coded bins exceeds said maximum number of context-coded bins;
counting a second number of context-coded bins used to encode a set of syntax flags indicating signs of significant prediction residuals in said block, during said transform skip residual coding process, wherein another maximum number of context-coded bins is used to limit said second number of context-coded bins, and wherein said set of syntax flags are context coded before said second number of context-coded bins reaches said another maximum number of context-coded bins and then are bypass coded after said second number of context-coded bins exceeds said another maximum number of context-coded bins; and
entropy encoding said set of syntax elements and said set of syntax flags for said prediction residuals of said block.
|