The invention provides an encoding method, a decoding method, and a
bitstream transmission method. In the encoding method, an image is encoded to generate encoded data, a bit
stream including the encoded data is generated, the bit
stream includes a parameter, a first identifier, and a second identifier, the parameter indicating whether or not a plurality of
layers are allowed is set to a value indicating that the plurality of
layers are not allowed, and the first identifier and the second identifier are set to a value indicating that the plurality of
layers are not allowed. In a plurality of
network abstraction layer units (NAL units) in an encoded
video sequence, the first identifier identifying a layer to which the NAL units belong is set to the same value, and the second identifier indicating whether or not to refer to a video parameter set (VPS) is set to either a value indicating that the VPS is not referred to or a value different from the value indicating that the VPS is not referred to.