Abstract:
A moving picture encoding method for increasing coding efficiency includes: determining whether or not to apply orthogonal transformation, to calculate a value of an orthogonal transform skip flag; performing the orthogonal transformation on a prediction residual according to the value of the orthogonal transform skip flag, to calculate at least one orthogonal transform coefficient; performing quantization on at least the one orthogonal transform coefficient, to calculate at least one quantized coefficient; performing variable-length encoding on the orthogonal transform skip flag; and changing a scan order for at least the one quantized coefficient according to the value of the orthogonal transform skip flag, and performing variable-length encoding on at least the one quantized coefficient in the scan order after the change.
Abstract:
A moving picture coding method includes (i) transforming, for each of one or more second processing units included in the first processing unit, a moving picture signal in a spatial domain into a frequency domain coefficient and quantizing the frequency domain coefficient, and (ii) performing arithmetic coding on a luminance CBF flag indicating whether or not a quantized coefficient is included in the second processing unit in which transform and quantization are performed, wherein, in the arithmetic coding, a probability table for use in arithmetic coding is determined according to whether or not the size of the first processing unit is identical to the size of the second processing unit and whether or not the second processing unit has a predetermined maximum size.
Abstract:
The image coding method is used to code images to generate a coded stream. The image coding method includes: writing, into a sequence parameter set in the coded stream to be generated, a first parameter representing a first bit-depth that is a bit-depth of a reconstructed sample in the images; and writing, into the sequence parameter set, a second parameter which is different from the first parameter and represents a second bit-depth that is a bit-depth of an Intra Pulse Code Modulation (IPCM) sample in the images.
Abstract:
An image coding method includes: deriving a candidate for a motion vector predictor from a neighboring motion vector; adding the candidate to a list; selecting a motion vector predictor from the list; coding a current block; and coding a current motion vector. In the deriving, the candidate is derived according to a first derivation scheme when each of a current reference picture and a neighboring reference picture is determined to be a long-term reference picture, and the candidate is derived according to a second derivation scheme when each of a current reference picture and a neighboring reference picture is determined to be a short-term reference picture.
Abstract:
A spatial prediction method capable of reducing the complexity of spatial prediction includes: detecting an edge (E) overlapping the current block by obtaining a horizontal gradient (Gy) and a vertical gradient (Gx) between pixels within a block adjacent to the current block; calculating an integer slope of the edge; determining, for each pixel position within the current block, a sub-pel position being an intersection between (i) a line that has the integer slope and passes through the pixel position and (ii) a boundary of the adjacent block; and predicting, for each pixel position, a pixel value at the pixel position based on a pixel value interpolated in the sub-pel position, wherein the boundary of the adjacent block is a row or a column that is the closest to the current block, among rows or columns of pixels included in the adjacent block.
Abstract:
An encoder includes circuitry and memory coupled to the circuitry. The circuitry determines whether to split a current luma virtual pipeline decoding unit (VPDU) into smaller blocks. When it is determined not to split the current luma VPDU into smaller blocks, the circuitry predicts a block of chroma samples without using luma samples. When it is determined to split the luma VPDU into smaller blocks, the circuitry predicts the block of chroma samples using luma samples. The circuitry encodes the block using the predicted chroma samples.
Abstract:
An image encoder writes a first parameter and a second parameter to a bitstream, and derives a partition mode based on the first and second parameters. Responsive to the derived partition mode being a first partition mode, the image encoder executes the first partition mode including: splitting a block of a picture into a plurality of first blocks including a N×2N block sized N pixels by 2N pixels; splitting the N×2N block, wherein a ternary split is allowed to split the N×2N block in a vertical direction, which is a direction along the 2N pixels, into a plurality of sub blocks including at least one sub block sized N/4×2N, while a binary split is not allowed to split the N×2N block in the vertical direction into two sub blocks that are equally sized N/2×2N; and encoding the plurality of sub blocks.
Abstract:
An encoder includes circuitry and memory coupled to the circuitry. In operation, the circuitry: derives a motion vector of a current block by referring to at least one reference picture different from a picture to which the current block belongs; performs a mode for estimating, for each sub-block unit of sub-blocks obtained by splitting the current block, a surrounding region of the motion vector to correct the motion vector; determines whether to apply deblocking filtering to each of boundaries between neighboring ones of the sub-blocks; and applies the deblocking filtering to the boundary, based on a result of the determination.
Abstract:
An encoding device includes: memory; and a circuit. In operation, the circuit: when a first triangle satisfies a condition, performs a first process including a process of using the first triangle to derive a predicted value of a current vertex to be encoded of a second triangle; when the first triangle does not satisfy the condition, performs a second process including a process of using a third triangle different from the first triangle and the second triangle to derive the predicted value of the current vertex; and encodes the current vertex using the predicted value.
Abstract:
An encoder includes circuitry and a memory coupled to the circuitry. The circuitry, in operation, determines whether or not a ternary split process of splitting a block into three sub blocks in a first direction parallel to a first longer side of the block is allowed by comparing a size of a second shorter side of the block to a minimum threshold value. The circuitry, responsive to the ternary split process being allowed, writes, into a bitstream, a split direction parameter indicative of a splitting direction. The circuitry, in operation, splits the block into a plurality of sub blocks in a direction indicated by the split direction parameter; and encodes the plurality of sub blocks. The minimum threshold value corresponds to a minimum size supported in a transform process.