Abstract:
An encoding method with multiple image block division manners is disclosed, including: determining a division manner and a division direction of an image block; dividing the image block to obtain image subblocks sequentially arranged horizontally or vertically; determining whether the image subblocks need subdivision, and if subdivision is not needed, predicting the encoding object in the frame according to the image subblocks, to obtain residual data; performing transformation, quantization, and entropy encoding for the residual data so as to obtain coded residual data; and writing the division manner of the image block, the division direction of the image block, an identifier indicating whether the image subblocks need subdivision, and the coded residual data into a bitstream. By applying the encoding method, better prediction accuracy can be achieved when the image block presents a small change of pixel value in the horizontal or vertical direction.
Abstract:
An image encoding method includes a color difference signal Cr corresponding to a first pixel and a color difference signal Cb corresponding to a second pixel that are determined based on a pixel value of the first pixel, a pixel value of the second pixel, and pixel values of a third pixel and a fourth pixel that are adjacent to the first pixel. Then, an average value Co of the color difference signal Cr corresponding to the first pixel and the color difference signal Cb corresponding to the second pixel, and a difference value Cg between the color difference signal Cr and the color difference signal Cb are determined.
Abstract:
Relating to the field of video coding, a method and an apparatus for building a motion vector list for motion vector prediction, which solve a problem of building motion vector lists of at least two PUs in a same coding unit in a serial manner, and improve the parallel processing capability. The method includes: obtaining spatial neighboring blocks of a current prediction block, where the current prediction block is located inside a current coding unit; determining available neighboring blocks of the current prediction block according to a partition manner of the current coding unit, where the available neighboring blocks are located outside the current coding unit; and obtaining motion vectors from the available neighboring blocks in a preset sequence according to motion vectors of the available neighboring blocks, and adding the obtained motion vectors to the motion vector list.
Abstract:
A coding method based on template matching includes determining a prediction mode of a to-be-coded unit, performing intra-frame prediction or inter-frame prediction on the to-be-coded unit based on the prediction mode to obtain a prediction residual of the to-be-coded unit, when the prediction mode is a template matching mode, transforming the prediction residual using target transform to obtain transform coefficients, where coefficients in row 1 of a transform basis matrix of the target transform are distributed in ascending order from left to right, or coefficients in column 1 are distributed in ascending order from top to bottom, and performing quantization and entropy coding on the transform coefficients to generate a code stream.
Abstract:
A three-dimensional (3D) video encoding method, decoding method, and related apparatus is disclosed. The decoding method may include decoding a video bitstream to obtain a single sample flag bit corresponding to a current image block in a current depth map, performing detection on a first adjacent prediction sampling point and a second adjacent prediction sampling point of the current image block in the current depth map if the single sample flag bit obtained by decoding indicates that a decoding mode corresponding to the current image block is a single depth intra-frame mode (SDM), and constructing a sample candidate set according to results of the detection on the first adjacent prediction sampling point and the second adjacent prediction sampling point, where the sample candidate set includes a first index location and a second index location, decoding the video bitstream to obtain a single sample index flag bit corresponding to the current image block.
Abstract:
A method for coding an image, a method for decoding an image, a method for processing image data, and devices thereof. The method for coding the image includes determining a current intra coding block that uses a constrained intra prediction method among current inter coded frames; determining that neighboring coding blocks that are adjacent to the current intra coding block include a neighboring inter coding block; updating image data in the neighboring inter coding block based on an invariable value or image data in a neighboring intra coding block included in the neighboring coding blocks; and coding the current intra coding block based on the updated image data in the neighboring inter coding block. Using the methods and devices, the error recovery capability of an intra coding block may be improved, and the image data decoding quality may be improved.
Abstract:
Relating to the field of video coding, a method and an apparatus for building a motion vector list for motion vector prediction, which solve a problem of building motion vector lists of at least two PUs in a same coding unit in a serial manner, and improve the parallel processing capability. The method includes: obtaining spatial neighboring blocks of a current prediction block, where the current prediction block is located inside a current coding unit; determining available neighboring blocks of the current prediction block according to a partition manner of the current coding unit, where the available neighboring blocks are located outside the current coding unit; and obtaining motion vector predictors from the available neighboring blocks in a preset sequence according to motion vector predictors of the available neighboring blocks, and adding the obtained motion vector predictors to the motion vector list.
Abstract:
A three-dimensional video encoding method, decoding method, and related apparatus is disclosed. The decoding method may include decoding a video bitstream to obtain a single sample flag bit corresponding to a current image block in a current depth map, performing detection on a first adjacent prediction sampling point and a second adjacent prediction sampling point of the current image block in the current depth map if the single sample flag bit obtained by decoding indicates that a decoding mode corresponding to the current image block is a single depth intra-frame mode, and constructing a sample candidate set according to results of the detection on the first adjacent prediction sampling point and the second adjacent prediction sampling point, where the sample candidate set includes a first index location and a second index location, decoding the video bitstream to obtain a single sample index flag bit corresponding to the current image block.
Abstract:
Relating to the field of video coding, a method and an apparatus for building a motion vector list for motion vector prediction, which solve a problem of building motion vector lists of at least two PUs in a same coding unit in a serial manner, and improve the parallel processing capability. The method includes: obtaining spatial neighboring blocks of a current prediction block, where the current prediction block is located inside a current coding unit; determining available neighboring blocks of the current prediction block according to a partition manner of the current coding unit, where the available neighboring blocks are located outside the current coding unit; and obtaining motion vector predictors from the available neighboring blocks in a preset sequence according to motion vector predictors of the available neighboring blocks, and adding the obtained motion vector predictors to the motion vector list.
Abstract:
The present disclosure discloses a method for coding an image, a method for decoding an image, a method for processing image data, and devices thereof. The method for coding the image includes determining a current intra coding block that uses a constrained intra prediction method among current inter coded frames; determining that neighboring coding blocks that are adjacent to the current intra coding block include a neighboring inter coding block; updating image data in the neighboring inter coding block based on an invariable value or image data in a neighboring intra coding block included in the neighboring coding blocks; and coding the current intra coding block based on the updated image data in the neighboring inter coding block. Using the methods and devices, the error recovery capability of an intra coding block may be improved, and the image data decoding quality may be improved.