Parsing friendly and error resilient merge flag coding in video coding
AssigneeTexas Instruments Incorporated
InventorMinhua Zhou
Life of this patent
Estimating the term…
Abstract
Methods and apparatus for parsing friendly and error resilient merge flag coding in video coding are provided. In some methods, in contrast to merging candidate list size dependent coding of the merge flag in the prior art, a merge flag is always encoded in the encoded bit stream for each inter-predicted prediction unit (PU) that is not encoded using skip mode. In some methods, in contrast to the prior art that allowed the merging candidate list to be empty, one or more zero motion vector merging candidates formatted according to the prediction type of the slice containing a PU are added to the merging candidate list if needed to ensure that the list is not empty and/or to ensure that the list contains a maximum number of merging candidates.
Claims18
A system for encoding a video stream in a video encoder to generate an encoded bit stream, the system comprising:
- a coding control component configured to receive a picture from the video stream;
- a motion estimation component coupled to the coding control component and configured to construct a merge mode motion data vector (merging candidate) list with a maximum number of motion vector merging candidates for a prediction unit (PU) and add a sufficient number of zero motion vector merging candidates to the merging candidate list to ensure that the maximum number of motion vector merging candidates is obtained, wherein content of the zero motion vector merging candidate is determined based on a prediction type of a slice containing the PU;
- and
- an entropy encoder component coupled to the motion estimation component and configured to encode a merge flag for the PU in the encoded bit stream, wherein the merge flag is set to a first value indicating merge mode if merge mode is used for inter-prediction of the PU and the merge flag is set to a second value indicating no merge mode if merge mode is not used for inter-prediction of the PU and a merge flag is always encoded in the encoded bit stream for each inter-predicted PU that is not encoded using skip mode.
A system for decoding an encoded video bit stream in a video decoder, the system comprising:
- an entropy decoding component configured to:
- decode a merge flag for a inter-predicted prediction unit (PU) from the encoded bit stream;
- construct a merge mode motion data vector (merging candidate) list with a maximum number of motion vector candidates for the inter-predicted PU;
- add a sufficient number of zero motion vector merging candidate to the merging candidate list to ensure that the maximum number of motion vector merging candidates is obtained, wherein content of the zero motion vector merging candidate is determined based on a prediction type of a slice containing the inter-predicted PU;
- an inverse quantization component coupled to the entropy decoding component and configured to de-quantize quantized transform coefficients of residual prediction units decoded from the encoded bit stream;
- an inverse transform component coupled to the inverse quantization component and configured to inverse transform the transform coefficients of residual prediction units from the inverse quantization component from a frequency domain to residual prediction units;
- a motion compensation component coupled to the entropy decoding component and configured to form reconstructed prediction units;
- and
- an adder component coupled to the motion compensation component and the inverse transform component and configured to combine residual prediction units and reconstructed prediction units.
A video system for an encoded video bit stream, comprising:
- an entropy decoding component configured to:
- decode a merge flag for a inter-predicted prediction unit (PU) from the encoded bit stream;
- construct a merge mode motion data vector (merging candidate) list with a maximum number of motion vector merging candidates for the inter-predicted PU;
- add a sufficient number of zero motion vector merging candidates to the merging candidate list to ensure that the maximum number of motion vector merging candidates is obtained, wherein content of the zero motion vector merging candidate is determined based on a prediction type of a slice containing the inter-predicted PU;
- an inverse quantization component coupled to the entropy decoding component and configured to de-quantize quantized transform coefficients of residual prediction units decoded from the encoded bit stream;
- an inverse transform component coupled to the inverse quantization component and configured to inverse transform the transform coefficients of residual prediction units from the inverse quantization component from a frequency domain to residual prediction units;
- a motion compensation component coupled to the entropy decoding component and configured to form reconstructed prediction units;
- an adder component coupled to the motion compensation component and the inverse transform component and configured to combine residual prediction units and reconstructed prediction units;
- a memory coupled to the adder component and configured to store a picture;
- and
- a display coupled to the memory to display the picture.
Dependencies are inferred from the claim text.