CPC H04N 19/13 (2014.11) [H04N 19/117 (2014.11); H04N 19/124 (2014.11); H04N 19/15 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/44 (2014.11); H04N 19/46 (2014.11); H04N 19/593 (2014.11); H04N 19/70 (2014.11); H04N 19/86 (2014.11); H04N 19/91 (2014.11); H04N 19/11 (2014.11); H04N 19/182 (2014.11)] | 6 Claims |
1. An encoder for encoding a prediction mode of a current block, wherein the encoder comprises a regular coding engine and a bypass coding engine, the regular coding engine is configured for arithmetic coding using a context, the bypass coding engine is configured for arithmetic encoding with a bypass coding process, and wherein the encoder is configured to:
derive the prediction mode of the current block;
encode a first indicator using the regular coding engine;
encode a second indicator using the bypass coding engine in response to a value of the first indicator being equal to a first value, wherein the prediction mode of the current block is in a set of most probable modes when the value of the first indicator is equal to the first value, wherein the set of most probable modes comprises one or more candidate prediction modes generated according to prediction modes of one or more adjacent blocks of the current block; and
encode a third indicator using the bypass coding engine in response to a value of the first indicator being equal to a second value, wherein the prediction mode of the current block is not in the set of most probable modes when the value of the first indicator is equal to the second value, the second value is different from the first value.
|