Abstract:
The present application provides a prediction method for use in an image block encoding or decoding process. The method includes obtaining availability information of reference blocks of a current image block, and determining whether the reference blocks are available according to the availability information, where the reference blocks of the current image block include a left side block, an upper side block, and an upper left block of the current image block; if at least one of the reference blocks is available, and at least one is unavailable, filling a pixel value in the available reference block to the unavailable reference block as a reference pixel value of the current image block; and predicting the current image block according to the reference pixel value.
Abstract:
The present disclosure provide a transform method in picture block encoding, an inverse transform method in picture block decoding, and an apparatus. The inverse transform method includes: determining, in a target transform set, a corresponding transform pair of each region of at least two regions that constitute a to-be-decoded current block; inverse transforming each region based on the corresponding transform pair of each region to obtain an inverse transform result of each region; and obtaining an inverse transform result of the current block based on the inverse transform result of each region and a position of each region in the current block, where the at least two regions do not overlap each other, the target transform set includes a correspondence between a transform pair and a position of a region in the current block, and the transform pair includes a horizontal transform core and a vertical transform core.
Abstract:
A method for pixel prediction is provided. The method includes: obtaining an average pixel value of reference pixel points on a long side of a current block if the current block is rectangular and coded or decoded adjacent blocks of the current block are all available, where the reference pixel points are all located at boundaries of the adjacent blocks near the current block; and obtaining a prediction pixel value of the current block according to the average pixel value of the reference pixel points on the long side. According to the pixel prediction method and apparatus provided in the embodiments of the present invention, a prediction pixel is obtained from corresponding adjacent blocks according to a shape of the current block, meeting a pixel distribution rule.
Abstract:
A template matching-based prediction method includes: performing matching search separately in at least two reference images of a to-be-processed unit based on a current template to obtain, at each time of the matching search, one set of motion information, one unidirectional matching template, and one unidirectional template distortion value that are corresponding to the reference image, where the current template includes a plurality of reconstructed pixels with a preset quantity at preset positions in a neighboring domain of the to-be-processed unit, and the unidirectional template distortion value represents a difference between the current template and the unidirectional matching template; determining, as target motion information of the to-be-processed unit, motion information corresponding to a smallest one of the obtained unidirectional template distortion values; and constructing a predicted value of the to-be-processed unit based on the target motion information.
Abstract:
The present invention discloses a motion vector list constructing method and system for video coding. The motion vector list constructing method for video coding includes: obtaining a motion information candidate list that is based on a spatially neighboring block and a time-domain corresponding block and that is of a current prediction block; obtaining sub motion information candidates that are of multiple sub blocks of the current prediction block and that are based on inter-view corresponding blocks of the multiple sub blocks of the current prediction block; determining availability of the sub motion information candidates of the multiple sub blocks; and updating the motion information candidate list by using one sub motion information candidate of at least one available sub motion information candidate.
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 decoding method is disclosed, including: parsing a bitstream to obtain a first flag, wherein the first flag specifies whether a current coding block is required to be partitioned; when the first flag specifies that the current coding block is required to be partitioned, parsing the bitstream to obtain a second flag, wherein the second flag specifies whether the current coding blocks is partitioned in a horizontal direction or a vertical direction; partitioning the current coding block into four first rectangular subblocks in the horizontal direction or four second rectangular subblocks in the vertical direction; and reconstructing the current coding block based on the four first rectangular subblocks or the four second rectangular subblocks.
Abstract:
Embodiments of this application relate to the video coding and compression field, and disclose an encoding method and apparatus, and a decoding method and apparatus, to resolve a problem that an existing split mode cannot satisfy a relatively complex texture requirement. The decoding method specifically includes: parsing a bitstream to determine a basic split mode for a current to-be-decoded picture block and a target derivation mode for a subpicture block of the current to-be-decoded picture block; splitting the current to-be-decoded picture block into N subpicture blocks in the basic split mode, where N is an integer greater than or equal to 2; deriving one derived picture block from at least two adjacent subpicture blocks in the N subpicture blocks in the target derivation mode; and decoding the derived picture block.
Abstract:
An image encoding and decoding method, includes: determining location information of a target reconstructed image block of a current to-be-encoded image block, where the target reconstructed image block is a reconstructed image block used to determine motion information of the current to-be-encoded image block; determining a first transform core pair based on the location information of the target reconstructed image block; and transforming a residual signal of the current to-be-encoded image block based on the first transform core pair, to obtain a transform coefficient.
Abstract:
The present disclosure relates to positioning methods, systems, and apparatuses. One example method includes receiving, by a server, a first message from a first terminal device, where the first message includes first location information determined by the first terminal device, determining, by the server, a first reference object based on the first location information, and sending, by the server, a second message to the first terminal device, where the second message includes identification information of the first reference object, and the identification information of the first reference object is used by the first terminal device to update the first location information.