ENCODING DEVICE, DECODING DEVICE, ENCODING METHOD, AND DECODING METHOD
ENCODING DEVICE, DECODING DEVICE, ENCODING METHOD, AND DECODING METHOD
Encoding device includes memory and a circuit accessible to the memory. In operation, the circuit: for each of faces forming a three-dimensional mesh, encodes a connection type regarding a connection relationship between the face to be processed and a face not yet processed, using arithmetic encoding based on a context; and in encoding a current connection type, selects the context to be applied to the arithmetic encoding from among contexts using a previous connection type. The current connection type is the connection type to be encoded. The previous connection type is the connection type encoded before the current connection type.