Abstract:
The present invention discloses an intra-frame depth map block encoding method, including: acquiring a depth map block to be encoded; when a depth modeling mode (DMM) is applied to a recursive quadtree (RQT) or simplified depth coding (SDC) to encode the depth map block, separately detecting the depth map block by using a DMM1 mode and a DMM4 mode in the DMM, to obtain rate-distortion results of the depth map block in the DMM1 mode and in the DMM4 mode; and determining that a DMM with a smallest rate-distortion result in the DMM1 and the DMM4 is a DMM used during encoding, applying the used mode to the RQT or the SDC to encode the depth map block, and writing the used DMM to a bitstream.
Abstract:
An encoding processing method for an image segmentation manner includes obtaining a size of a to-be-encoded image block and a serial number value of a used segmentation manner in a depth modeling mode 1 (DMM1) encoding process; obtaining an initial value corresponding to the size of the image block, and obtaining, through calculation, an absolute value of a difference between the initial value and the serial number value of the segmentation manner, where value=k−2a-x, x is a quantity of bits that need to be saved, k is a quantity of all segmentation manners corresponding to the size of the image block, and a is a quantity of bits required for representing all the segmentation manners; and encoding the absolute value using a-x bits, to obtain encoding information of the segmentation manner of the image block.
Abstract:
This application discloses a motion vector obtaining method and apparatus, a computer device, and a storage medium. In the method, an initial motion vector of a to-be-processed picture block is determined by using a location relationship between a reference block and the to-be-processed picture block. When the reference block and the to-be-processed picture block are located in a same coding tree block, a decoder uses an initial motion vector of the reference block as the initial motion vector of the to-be-processed picture block. When the reference block and the to-be-processed picture block are located in different coding tree blocks, the decoder uses a final motion vector of the reference block as the initial motion vector of the to-be-processed picture block.
Abstract:
An inter prediction method includes obtaining predicted motion information of a current image block, where the predicted motion information is used to obtain one or more motion vectors of the current image block, and the motion vectors include a forward MV and a backward MV for a bidirectional inter prediction. The disclosed method further includes determining a motion vector difference for the current image block, and calculating the motion vectors based on the predicted motion information and the motion vector difference, where the motion vector difference is shared by the forward MV and the backward MV.
Abstract:
A picture prediction method includes: determining whether a merge mode is used for a current picture block; when the merge mode is used for the current picture block, determining whether a regular merge mode is available; when the regular merge mode is unavailable, and a high-layer syntax element sps_triangle_enabled_flag corresponding to a triangle partition mode (TPM), indicates that the TPM is forbidden to be used, determining a combined intra and inter prediction (CIIP) mode as a target merge mode used for the current picture block and predicting the current picture block based on the target merge mode.
Abstract:
A method includes playing a starting animation and an exiting animation of a first application using a same animationLeash object such that the starting animation and the exiting animation transition smoothly. When playing the starting animation stops, the exiting animation is played.
Abstract:
Methods and apparatuses for inter prediction are disclosed. The method comprises: constructing a merging candidate list of a current picture block; when a number of merging candidates in the merging candidate list is less than a maximum number of candidates minus N, adding at least one history-based motion vector predictor (HMVP) candidate to the merging candidate list to obtain a new merging candidate list, wherein N is a positive integer; obtaining motion information of the current picture block based on the new merging candidate list; and determining a predicted block of the current picture block based on the motion information of the current picture block.
Abstract:
This application provides a video picture decoding and encoding method and a video picture decoding and encoding apparatus. When it is determined that a merge or skip mode is used, if it is determined through decoding that a merge mode with motion vector difference (MMVD) indicator is true, a triangle prediction unit (PU) indicator may not be coded. The triangle PU indicator is coded when it is determined through decoding that the MMVD indicator is false. This reduces a quantity of used coding resources, and can reduce bit overheads of a bitstream.
Abstract:
A video encoder, a video decoder, and a corresponding method are provided. The method includes: when a plurality of preset conditions are satisfied, performing bi-directional optical flow BDOF processing on a current picture block, to obtain a predicted sample value of the current picture block, where the plurality of preset conditions include at least a condition that a height H of the current picture block is greater than or equal to 8, a width W of the current picture block is greater than or equal to 8, and a product of the width W of the current picture block and the height H of the current picture block is greater than 128. Thus encoding/decoding complexity and prediction accuracy can be balanced to some extent.
Abstract:
This application discloses an apparatus for constructing a merge candidate motion information list, including: one or more processors; a non-transitory memory storage comprising instructions which when executed by the one or more processors, cause the apparatus to obtain first motion information and add the first motion information to a first candidate motion information set, to obtain a second candidate motion information set; obtain second motion information based on an HMVP candidate motion information list; when the second motion information is different from all motion information in the second candidate motion information set, add the second motion information to the second candidate motion information set, to obtain a merge candidate motion information list, wherein a quantity of pieces of motion information in the merge candidate motion information set is equal to a preset threshold. Implementing this application reduces complexity in constructing the merge candidate motion information list, and improve coding efficiency.