Method and Apparatus for Entropy Coding of Source Samples with Large Alphabet
First Claim
1. A method of entropy coding for source symbols in an encoder comprising:
- receiving a current source symbol having a current symbol value belonging to a set of symbol values;
when the source symbols correspond to horizontal components or vertical components of motion vector differences (MVDs) for Inter prediction coding, determining a threshold for the set of symbol values, wherein separate thresholds are selected for the source symbols corresponding to different motion vector resolutions related to the MVDs;
if an absolute current symbol value is greater than the threshold associated with a corresponding motion vector resolution for the current source symbol, deriving a first binary string by binarizing a remaining absolute level of the absolute current symbol value using a variable length code;
if the absolute current symbol value is not greater than the threshold associated with the corresponding motion vector resolution for the current source symbol, deriving a second binary string by binarizing the remaining absolute level of the absolute current symbol value using a fixed-length code; and
encoding the first binary string or the second binary string depending on whether the absolute current symbol value is greater than the threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of entropy coding for source symbols in an encoder receives a current source symbol having a current symbol value belonging to a set of symbol values. When the source symbols correspond to horizontal components or vertical components of motion vector differences (MVDs) for Inter prediction coding, the method determines a threshold for the set of symbol values. If an absolute current symbol value is greater than the threshold associated with a corresponding motion vector resolution for the current source symbol, the method derives a first binary string. If the absolute current symbol value is not greater than the threshold associated with the corresponding motion vector resolution for the current source symbol, the method derives a second binary string. Finally, the method encodes the first binary string or the second binary string depending on whether the absolute current symbol value is greater than the threshold.
4 Citations
17 Claims
-
1. A method of entropy coding for source symbols in an encoder comprising:
-
receiving a current source symbol having a current symbol value belonging to a set of symbol values; when the source symbols correspond to horizontal components or vertical components of motion vector differences (MVDs) for Inter prediction coding, determining a threshold for the set of symbol values, wherein separate thresholds are selected for the source symbols corresponding to different motion vector resolutions related to the MVDs; if an absolute current symbol value is greater than the threshold associated with a corresponding motion vector resolution for the current source symbol, deriving a first binary string by binarizing a remaining absolute level of the absolute current symbol value using a variable length code; if the absolute current symbol value is not greater than the threshold associated with the corresponding motion vector resolution for the current source symbol, deriving a second binary string by binarizing the remaining absolute level of the absolute current symbol value using a fixed-length code; and encoding the first binary string or the second binary string depending on whether the absolute current symbol value is greater than the threshold. - View Dependent Claims (2, 3)
-
-
4. A method of entropy decoding for source symbols in a decoder comprising:
-
receiving an input coded bitstream including compressed data for a current source symbol, wherein the source symbols are associated with horizontal components or vertical components of motion vector differences (MVDs) for Inter prediction coding; determining a threshold for a set of symbol values depending on motion vector resolution related to the MVDs; parsing the input coded bitstream to determine whether a first binary string or a second binary string is received, wherein the first binary string corresponds to a remaining absolute level when an absolute current symbol value for a current source symbol is greater than the threshold and the second binary string corresponds to the remaining absolute level when the absolute current symbol value is not greater than the threshold, and wherein the threshold is associated with a corresponding motion vector resolution for the current source symbol; if the first binary string is received, recovering the remaining absolute level using a variable length code; if the second binary string is received, recovering the remaining absolute level using a fixed-length code; and decoding the absolute current symbol value based on the remaining absolute level and the threshold if the first string is received or based on the remaining absolute level if the second string is received. - View Dependent Claims (5)
-
-
6. A method of entropy coding for source symbols in an encoder comprising:
-
receiving a current source symbol belonging to a set of source symbols, wherein each source symbol consists of a horizontal component and a vertical component, and the horizontal component and the vertical component are associated with one motion vector difference (MVD) for Inter prediction coding, or one block vector difference (BVD) for Intra block copy (IBC), Intra line copy, or one vector offset for Intra string copy (ISC) coding, or one position vector for the last significant coefficient in a transform unit (TU); determining a first flag indicating whether a first absolute value of a first component is greater than zero, wherein the first component corresponds to the horizontal component or the vertical component; determining a second flag indicating whether a second absolute value of a second component is greater than zero, wherein the second component corresponds to the horizontal component or the vertical component and is a different component from the first component; and encoding the second flag using context model derived based on the first flag after the first flag is coded, or encoding a pair of the first flag and the second flag jointly. - View Dependent Claims (7, 8, 9)
-
-
10. A method of entropy decoding for source symbols in an decoder comprising:
-
receiving an input coded bitstream including compressed data for a current source symbol belonging to a set of source symbols, wherein each source symbol consists of a horizontal component and a vertical component, and the horizontal component and the vertical component are associated with one motion vector difference (MVD) for Inter prediction coding, or one block vector difference (BVD) for Intra block copy (IBC), Intra line copy or one vector offset for Intra string copy (ISC) coding, or one position vector for the last significant coefficient in a TU; decoding a second flag using context model derived based on a first flag after the first flag is decoded, or decoding a pair of the first flag and the second flag jointly, wherein the first flag indicating whether a first absolute value of a first component is greater than zero and the second flag indicating whether a second absolute value of a second component is greater than zero, and wherein the first component corresponds to the horizontal component or the vertical component and the second component corresponds to the horizontal component or the vertical component and is a different component from the first component; and recovering the horizontal component and the vertical component using decoded information including the first flag and the second flag.
-
-
11. A method of entropy coding for source symbols in an encoder comprising:
-
receiving a current source symbol belonging to a set of source symbols, wherein each source symbol consists of a horizontal component and a vertical component associated with one offset vector for Intra line copy or Intra string copy (ISC) coding; signaling one or more first syntax elements for indicating whether a first absolute value corresponding to the horizontal component is greater than zero and a second absolute value corresponding to the vertical component is greater than zero; and signaling one or more second syntax elements only if said one or more first syntax elements indicate the first absolute value being greater than zero and the second absolute value being greater than zero, wherein said one or more second syntax elements represent a sign part of the horizontal component and a sign part of the vertical component. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A method of entropy decoding for source symbols in an decoder comprising:
-
receiving an input coded bitstream including compressed data for a current source symbol belonging to a set of source symbols, wherein each source symbol consists of a horizontal component and a vertical component associated with one offset vector for Intra line copy or Intra string copy (ISC) coding; parsing one or more first syntax elements indicating whether a first absolute value corresponding to the horizontal component is greater than zero and whether a second absolute value corresponding to the vertical component is greater than zero; and if said one or more first syntax elements indicate the first absolute value being greater than zero and the second absolute value being greater than zero; parsing one or more second syntax elements representing a sign part of the horizontal component and a sign part of the vertical component; and recovering the horizontal component and the vertical component using decoded information including the sign part of the horizontal component and the sign part of the vertical component. - View Dependent Claims (17)
-
Specification