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:
Encoding and decoding methods and apparatuses, which can fully utilize a spatial correlation in video information, thereby improving compression efficiency during encoding and decoding where the method includes determining, according to a total coding cost of a target image, a first processing order of multiple code blocks groups included in the target image, encoding a code blocks group of the multiple code blocks groups according to the first processing order, to generate a bitstream, and writing the first processing order to the bitstream. A first processing order of multiple code blocks groups included in a target image is determined according to a total coding cost of the target image, and the multiple code blocks groups are encoded and decoded according to the first processing order such that a spatial correlation in video information may be fully utilized, thereby improving compression efficiency during encoding and decoding.
Abstract:
A video frame decoding method and apparatus in order to implement efficient and fast video decoding. The method includes acquiring a target time point of a video, obtaining a frame number of a corresponding random access frame according to the target time point, obtaining a frame number of a frame that can be independently decoded, where the dependency set includes at least one dependency, and the dependency represents a correspondence between a frame number of a random access frame and a frame number of a frame that can be independently decoded, and obtaining, according to the frame number of the frame that can be independently decoded, video data of the frame that can be independently decoded, and decoding the random access frame.
Abstract:
A method and an apparatus for binarizing an intra prediction mode are provided. The method includes: acquiring an intra prediction mode of a luma component; if the intra prediction mode of the luma component is one kind of prediction mode in M, modifying a value of a serial number of a prediction mode Luma Angle of a chroma component to I; sequencing all prediction modes of the chroma component according to a preset rule; and performing binarization on the modified Luma Angle, and sending the binarized Luma Angle to a decoding end. A method for coding an intra prediction mode and a method and an apparatus for decoding an intra prediction mode are further provided. According to the present invention, coding efficiency is improved.
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:
A method and an apparatus for binarizing an intra prediction mode are provided. The method includes: acquiring an intra prediction mode of a luma component; if the intra prediction mode of the luma component is one kind of prediction mode in M, modifying a value of a serial number of a prediction mode Luma Angle of a chroma component to I; sequencing all prediction modes of the chroma component according to a preset rule; and performing binarization on the modified Luma Angle, and sending the binarized Luma Angle to a decoding end. A method for coding an intra prediction mode and a method and an apparatus for decoding an intra prediction mode are further provided. According to the present invention, coding efficiency is improved.
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:
This application provides a chroma block prediction method and apparatus. The method includes: obtaining chroma values of chroma samples; obtaining, luma values of luma samples corresponding to the chroma samples; obtaining, from the luma values, a first luma set and a second luma set; grouping the chroma values into a first chroma set and a second chroma set; determining a scaling coefficient in a linear model based on an average value of luma values in the first luma set, an average value of luma values in the second luma set, an average value of chroma values in the first chroma set, and an average value of chroma values in the second chroma set; determining, based on the scaling coefficient, an offset factor in the linear model; and determining prediction information of the chroma block based on the scaling coefficient and the offset factor.
Abstract:
A video coding mechanism is disclosed. The mechanism includes receiving a video signal partitioned into a chroma block and a first neighboring luma block. The mechanism also includes encoding prediction information for chroma samples of the chroma block into a bitstream. The prediction information for the chroma samples is determined via intra-prediction based on down-sampled neighboring luma samples. The down-sampled neighboring luma samples are generated from a single row of luma samples from the first neighboring luma block. A bitstream including the prediction information for the chroma samples is transmitted to support decoding and display of the chroma samples.
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.