| CPC H04N 19/597 (2014.11) [H04N 19/159 (2014.11); H04N 19/91 (2014.11)] | 12 Claims |

|
1. A three-dimensional data encoding method comprising:
calculating a predicted value of a position of a three-dimensional point according to one of inter prediction and intra prediction;
calculating a residual between the predicted value and the position;
arithmetic-encoding the residual using a first context when the predicted value is calculated according to the inter prediction; and
arithmetic-encoding the residual using a second context different from the first context when the predicted value is calculated according to the intra prediction, wherein
the residual is expressed by third residual information indicating a bit count of the residual.
|