Abstract:
An image processing method and apparatus to reduce storage resource consumption includes determining, by a server, a first geometric shape according to a first image unit in a first image from an encoding-side device, where a similarity between the first image unit and the first geometric shape falls within a preset range; and sending encoding information of the first image to a decoding-side device, where the encoding information of the first image includes indication information of the first geometric shape and indication information of a location of the first image unit in the first image.
Abstract:
An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.
Abstract:
Video data encoding and decoding methods and apparatuses which include determining a to-be-encoded information group in a to-be-encoded video sequence, generating a primary information group corresponding to the to-be-encoded information group, wherein the primary information group comprises a first data information, indication information that indicates whether the to-be-encoded information group is the primary information group or a redundant information group, and location information of the primary information group, generating the redundant information group corresponding to the to-be-encoded information group, wherein the redundant information group comprises a second data information, location information of the redundant information group, indication information that indicates whether the to-be-encoded information group is the primary information group or the redundant information group, and location relationship information of the redundant information group and the primary information group, and encoding the primary information group and the redundant information group into a bitstream.
Abstract:
An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.
Abstract:
An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.
Abstract:
Video data encoding and decoding methods and apparatuses which include determining a to-be-encoded information group in a to-be-encoded video sequence, generating a primary information group corresponding to the to-be-encoded information group, wherein the primary information group comprises a first data information, indication information that indicates whether the to-be-encoded information group is the primary information group or a redundant information group, and location information of the primary information group, generating the redundant information group corresponding to the to-be-encoded information group, wherein the redundant information group comprises a second data information, location information of the redundant information group, indication information that indicates whether the to-be-encoded information group is the primary information group or the redundant information group, and location relationship information of the redundant information group and the primary information group, and encoding the primary information group and the redundant information group into a bitstream.
Abstract:
An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.
Abstract:
An image processing method and apparatus to reduce storage resource consumption includes determining, by a server, a first geometric shape according to a first image unit in a first image from an encoding-side device, where a similarity between the first image unit and the first geometric shape falls within a preset range; and sending encoding information of the first image to a decoding-side device, where the encoding information of the first image includes indication information of the first geometric shape and indication information of a location of the first image unit in the first image.
Abstract:
A decoding method which includes determining a first to-be-decoded information group in a to-be-decoded bitstream, where the first to-be-decoded information group includes data information, attribute information, and location information of the first to-be-decoded information group, determining a reference information group set in a case in which the attribute information represents that the first to-be-decoded information group is a redundant information group, and discarding the first to-be-decoded information group when location information of at least one reference information group in the reference information group set is same as the location information of the first to-be-decoded information group, or parsing the data information when location information of all reference information groups in the reference information group set is different from the location information of the first to-be-decoded information group.
Abstract:
Embodiments of the present invention disclose a transformation mode encoding and decoding method and apparatus. A correlation between the prediction mode and the transformation mode is used, and an optimal transformation mode candidate set is simplified, thereby saving resources when an index of an optimal transformation mode is encoded in encoding header information. In addition, encoding efficiency is higher when an encoding end elects a transformation mode.