Abstract:
An encoding includes: obtaining, by an encoder, data to be encoded, where the data to be encoded is at least one LCU; determining, a quantization depth parameter of the LCU according to a preset bit rate control algorithm, and adding the quantization depth parameter into the data to be encoded; determining, a QP of each CU according to a size of a minimum picture block and a size of each CU included in the LCU; calculating, by the encoder, a QP difference of each CU according to the QP of each CU and a QP prediction value of each CU; for each CU that satisfies a preset condition, carrying, by the encoder, the QP difference of the CU in the CU; and encoding, by the encoder, the quantization depth parameter, the QP difference of the CU that satisfies the preset condition, and each CU to obtain a bit stream.
Abstract:
Embodiments of the present invention disclose a method and an apparatus for acquiring a video bitstream, and relate to the field of information technologies, which can improve network bandwidth utilization. The method includes: firstly, acquiring, by a terminal, a minimum bit rate corresponding to a parameter of the terminal; then, sending, by the terminal, a video bitstream acquiring request to a server, and when receiving the video bitstream acquiring request sent by the terminal, sending, by the server, an MPD to the terminal; and finally, receiving, by the terminal, the MPD sent by the server, and acquiring a video bitstream according to the MPD and the minimum bit rate. The embodiments of the present invention are applicable to a case in which a user downloads video data by using a terminal.
Abstract:
A scanning method and device, and a reverse scanning method and device in coding and decoding technologies are provided. The scanning method includes: receiving quantized transformed coefficients of a current block; obtaining a prediction direction of the current block; finding, according to the prediction direction, a scanning order corresponding to the prediction direction of the current block from a mapping relationship table of the prediction direction and the scanning order, wherein at least one scanning order in the mapping relationship table of the prediction direction and the scanning order corresponds to at least two prediction directions; and performing scanning processing on the coefficients by using the scanning order corresponding to the prediction direction of the current block. With the solutions of the present invention, the number of the scanning orders used in coding and decoding is decreased, and system complexity of a codec system is reduced.
Abstract:
The present invention relates to a method for coding and decoding a video signal, and provides a method for coding a video signal, including: determining space adjacent motion information of a parallel motion processing region PR; determining time adjacent motion information of a current block, where the current block is located in the parallel motion processing region PR; determining a candidate mot ion information set according to the space adjacent motion information of the parallel motion processing region PR and the time adjacent motion information of the current block; selecting motion information of the current block from the candidate motion information set, and sending a motion information indication of the current block to a decoding end, so as to assist the decoding end in determining the motion information of the current block; and performing motion compensation coding for the current block according to the motion information of the current block.
Abstract:
Embodiments of the present invention provide an encoding or decoding method and apparatus. The method includes: extracting first information in a bitstream; determining a chroma component intra prediction mode according to the first information; when the chroma component intra prediction mode cannot be determined according to the first information, extracting second information in the bitstream; and determining the chroma component intra prediction mode according to the second information, where the first information includes information for indicating whether the chroma component intra prediction mode is a DM mode or an LM mode, the second information is used to indicate a remaining mode as the chroma component intra prediction mode, and the remaining mode is one of available chroma component intra prediction modes other than a mode that may be determined according to the first information.
Abstract:
The present disclosure discloses a video decoding method and a video decoder. The method includes: parsing coding tree split information to obtain a current node; determining coordinates of an upper-left corner of a region covered by a current quantization group based on a depth N of the current node; obtaining a QP delta of a current CU in the region covered by the current quantization group; and obtaining a reconstructed picture of the current CU based on the QP delta of the current CU.
Abstract:
Technologies for inter prediction for a block in a video are provided. In one example, a method includes: when a size of a current block satisfies a preset condition, parsing a bitstream to obtain a syntax element, where the syntax element includes at least an index of optimal candidate motion information of the current block; determining, based on the syntax element, to construct a first list or a second list for the current block, where the first list is a block-based candidate motion information list, and the second list is a subblock-based candidate motion information list; determining optimal motion information from the first list or the second list based on the index; and predicting the current block based on the optimal motion information. In this method, the block-based candidate motion information list and the subblock-based candidate motion information list are distinguished from each other. This effectively reduces transmission costs of the optimal candidate motion information.
Abstract:
Inter prediction method and apparatus are disclosed to resolve problems in the conventional technology that prediction samples obtained in an inter prediction mode are spatially discontinuous, prediction efficiency is affected, and prediction residual energy is relatively high. The method includes: parsing a bitstream to obtain motion information of a to-be-processed picture block; performing motion compensation on the to-be-processed picture block based on the obtained motion information, to obtain a prediction block of the to-be-processed picture block, where the prediction block of the to-be-processed picture block includes a prediction value of a target sample; and performing weighting calculation on one or more reconstructed values of one or more reference samples and the prediction value of the target sample, to update the prediction value of the target sample, where the reference sample(s) have a preset spatial position relationship with the target sample.
Abstract:
A prediction method includes: performing downsampling on a luma component of a to-be-processed image block to obtain an initial signal of the luma component; obtaining a residual signal of the luma component based on the obtained initial signal of the luma component; obtaining a residual signal of a chroma component of the to-be-processed image block based on the chroma component of the to-be-processed image block without downsampling. The method further includes: respectively performing a transform on the residual signal of the luma component and the residual signal of the chroma component, to obtain transform coefficients, performing quantization on the obtained transform coefficients, to obtain quantization coefficients, and performing entropy encoding on the obtained quantization coefficients to obtain a bitstream.
Abstract:
An intra prediction method by using cross component liner prediction mode (CCLM), includes: determining a luma block corresponding to a current chroma block; obtaining luma reference samples of the luma block based on determining L available chroma reference samples of the current chroma block, wherein the obtained luma reference samples of the luma block are down-sampled luma reference samples; calculating linear model coefficients based on the luma reference samples and chroma reference samples that correspond to the luma reference samples; and obtaining a prediction for the current chroma block based on the linear model coefficients and values of a down-sampled luma block of the luma block.