Abstract:
An image decoding method of decoding, on a per-block basis, a coded image included in a bitstream, includes: performing arithmetic decoding on a current block to be decoded; determining whether or not the current block is at the end of a slice; determining, when it is determined that the current block is not at the end of the slice, whether or not the current block is at the end of a sub-stream which is a structural unit of the image that is different from the slice; and performing arithmetic decoding on a sub-last bit and performing arithmetic decoding termination, when it is determined that the current block is at the end of the sub-stream.
Abstract:
The image coding method includes: determining a context for a current block to be processed, from among a plurality of contexts; and performing arithmetic coding on the control parameter for the current block to generate a bitstream corresponding to the current block, wherein in the determining: the context is determined under a condition that control parameters of neighboring blocks of the current block are used, when the signal type is a first type, the neighboring blocks being a left block and an upper block of the current block; and the context is determined under a condition that the control parameter of the upper block is not used, when the signal type is a second type, and the second type is one of “mvd_l0” and “mvd_l1”.
Abstract:
An image coding method includes: performing Sample SAO processing on Y signal, Cb signal, and Cr signal which are included in a target block; performing arithmetic coding on a first flag indicating whether or not an SAO parameter, which indicates details of the SAO processing, of the target block is identical to an SAO parameter for a left neighboring block immediately left of the target block; and performing arithmetic coding on the SAO parameter for the target block, when the SAO parameter for the target block is different from the SAO parameter for the left neighboring block. In the arithmetic coding on the first flag, a single context is used to perform the arithmetic coding on the first flag for the luminance signal, the chrominance Cb signal, and the chrominance Cr signal.
Abstract:
An image coding method derives a first candidate having a first motion vector that has been used to code a first block, and derives a second candidate having a second motion vector that has been used to code a second block. It is determined whether a total number of candidates having the first candidate and the second candidate is less than a maximum candidate number, and a third bi-directional candidate is derived when the total number of candidates is less than the maximum candidate number. The third bi-directional candidate has a third motion vector that is identical to the first motion vector, and a fourth motion vector that is identical to the second motion vector. A merging candidate for coding a current block is selected from the candidates having the first candidate, the second candidate, and the third candidate.
Abstract:
An image decoding method obtains pieces of coded data which are included in a bitstream and generated by coding tiles obtained by dividing a picture. The pieces of coded data are decoded to generate image data of the tiles. When obtaining the pieces of coded data, tile boundary independence information is further obtained from the bitstream. The tile boundary independence information indicates whether each boundary between the tiles is a first or second boundary. Image data of a first tile is generated by decoding a first code string included in first coded data with reference to decoding information of an already-decoded tile when the tile boundary independence information indicates the first boundary. The first code string is decoded without referring to the decoding information of the already-decoded tile when the tile boundary independence information indicates the second boundary.
Abstract:
A decoding method includes: predicting a current block in an image using a reference block, to generate a prediction block; and generating a reconstructed block using the prediction block, wherein the generating includes: filtering for a boundary between the reconstructed block and a decoded neighboring block, using a first filter strength set using first prediction information for prediction of the current block and second prediction information for prediction of the decoded neighboring block; filtering for the boundary using a second filter strength set without using the second prediction information of the current block and the decoded neighboring block; and switching whether to execute the second filtering, based on the boundary, wherein the first filtering is in-loop filtering in which a filtered reconstructed block is used as a reference block for another block, and the second filtering is post filtering outside the loop.