CPC H04N 19/105 (2014.11) [H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/593 (2014.11); H04N 19/96 (2014.11)] | 18 Claims |
1. A non-transitory computer-readable medium storing computer-readable instructions that, when executed by a processor, cause the processor to execute an encoding method,
the encoding method comprising:
determining whether a prediction mode of a current block is an inter prediction mode or an intra prediction mode,
determining whether the prediction mode of the current block is an Intra Block Copy (IBC) prediction mode;
encoding a bitstreann for decoding the current block based on the prediction mode of the current block,
wherein a set of spatial neighbor locations referred to for decoding the current block in the IBC prediction mode comprises some of a set of spatial neighbor locations referred to for decoding the current block in the inter prediction mode,
wherein when a prediction mode parameter indicating whether the prediction mode of the current block is the inter prediction mode or the intra prediction mode is not included in the bitstream:
when a slice to which the current block belongs is a first slice, the prediction mode of the current block is the intra prediction mode,
when the slice to which the current block belongs is a second slice, the prediction mode of the current block is the inter prediction mode,
wherein the first slice is a slice that refers to a current picture as a reference picture,
wherein the second slice is a slice capable of referring to a picture other than the current picture as a reference picture,
wherein the set of spatial neighbor locations referred to for decoding the current block in the inter prediction mode comprises a location of (xCb−1, yCb−1),
wherein the set of spatial neighbor locations referred to for decoding the current block in the IBC prediction mode does not comprise the location of (xCb−1, yCb−1), and
wherein a top-left location of the current block is (xCb, yCb).
|