Binarization of prediction residuals for lossless video coding
First Claim
1. A video codec comprising:
- a memory; and
a processor operably coupled to the memory and configured to;
compute a difference between an original pixel and a prediction pixel to generate a prediction residual;
binarize an absolute value of the prediction residual, wherein binarizing |R| comprises using a truncated Golomb-Rice (TR) code with a Golomb-Rice parameter when the absolute value of the prediction residual, denoted as |R|, is greater than 2, and wherein the Golomb-Rice parameter is denoted as cRiceParam, is an integer, and has a valid range from 0 to n, where n is greater than 3;
compute a difference between a second original pixel and a second prediction pixel to generate a second prediction residual; and
binarize an absolute value of the second prediction residual, wherein binarizing the absolute value of the second prediction residual comprises using an updated cRiceParam when the absolute value of the second prediction residual is greater than 2, and wherein the updated cRiceParam is adaptively based on |R| and the cRiceParam,wherein the prediction residual and the second prediction residual are binarized without any prior or subsequent transform and quantization steps being performed, andwherein the prediction residual and the second prediction residual are used for coding of a video frame.
1 Assignment
0 Petitions
Accused Products
Abstract
A video codec comprising a processor configured to compute a difference between an original pixel and a prediction pixel to generate a prediction residual, and binarize an absolute value of the prediction residual. A method for video coding comprising computing a difference between an original pixel and a prediction pixel to generate a prediction residual, and binarizing an absolute value of the prediction residual. A video encoder comprising a processor configured to set a number of syntax elements to indicate lossless encoding of some or all coding units (CU) in a video frame, a transmitter configured to transmit a bit stream comprising the syntax elements. A method for video encoding comprising setting a number of syntax elements to indicate lossless encoding of some or all coding units (CU) in a video frame, and transmitting a bit stream comprising the syntax elements.
-
Citations
21 Claims
-
1. A video codec comprising:
-
a memory; and a processor operably coupled to the memory and configured to; compute a difference between an original pixel and a prediction pixel to generate a prediction residual; binarize an absolute value of the prediction residual, wherein binarizing |R| comprises using a truncated Golomb-Rice (TR) code with a Golomb-Rice parameter when the absolute value of the prediction residual, denoted as |R|, is greater than 2, and wherein the Golomb-Rice parameter is denoted as cRiceParam, is an integer, and has a valid range from 0 to n, where n is greater than 3; compute a difference between a second original pixel and a second prediction pixel to generate a second prediction residual; and binarize an absolute value of the second prediction residual, wherein binarizing the absolute value of the second prediction residual comprises using an updated cRiceParam when the absolute value of the second prediction residual is greater than 2, and wherein the updated cRiceParam is adaptively based on |R| and the cRiceParam, wherein the prediction residual and the second prediction residual are binarized without any prior or subsequent transform and quantization steps being performed, and wherein the prediction residual and the second prediction residual are used for coding of a video frame. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A video codec comprising:
-
a memory; and a processor operably coupled to the memory and configured to; compute a difference between an original pixel and a prediction pixel to generate a prediction residual; and binarize an absolute value of the prediction residual, wherein binarizing |R| comprises using a truncated Golomb-Rice (TR) code with a Golomb-Rice parameter when the absolute value of the prediction residual, denoted as |R|, is greater than 2, and wherein the Golomb-Rice parameter is denoted as cRiceParam, is an integer, and has a valid range from 0 to n, where n is greater than 3; generate a plurality of prediction residuals including the prediction residual and a second prediction residual, wherein the plurality of prediction residuals are located in one block and each has a non-zero absolute value; update the cRiceParam to generate an updated cRiceParam after binarizing |R|, wherein updating the cRiceParam is based on a counter and an accumulator, wherein the counter specifies a number of prediction residuals that have been binarized using the TR code, wherein the accumulator specifies a summation of each absolute value of the prediction residuals that have been binarized using the TR code minus 3; and binarize the absolute value of the second prediction residual using the TR code with the updated cRiceParam when an absolute value of the second prediction residual is greater than 2, wherein the prediction residual and the second prediction residual are binarized without any prior or subsequent transform and quantization steps being performed, and wherein the prediction residual and the second prediction residual are used for coding of a video frame. - View Dependent Claims (7, 8)
-
-
9. A method for video coding in a video coder, comprising:
-
computing, by the video coder, a difference between an original pixel and a prediction pixel to generate a prediction residual; binarizing, by the video coder, an absolute value of the prediction residual; computing, by the video coder, a difference between a second original pixel and a second prediction pixel, to generate a second prediction residual; and binarizing, by the video coder, an absolute value of the second prediction residual, wherein binarizing the absolute value of the second prediction residual comprises using an updated cRiceParam when the absolute value of the second prediction residual is greater than 2, and wherein the updated cRiceParam is adaptively based on |R| and the cRiceParam, wherein the prediction residual and the second prediction residual are binarized without any prior or subsequent transform and quantization steps being performed, and wherein the prediction residual and the second prediction residual are used for coding of a video frame. - View Dependent Claims (10, 11, 12)
-
-
13. A method for video coding in a video coder, comprising:
-
computing, by the video coder, a difference between an original pixel and a prediction pixel to generate a prediction residual; binarizing, by the video coder, an absolute value of the prediction residual, wherein binarizing |R| comprises using a truncated Golomb-Rice (TR) code with a Golomb-Rice parameter when the absolute value of the prediction residual, denoted as |R|, is greater than 2, and wherein the Golomb-Rice parameter is denoted as cRiceParam, is an integer, and has a valid range from 0 to n, where n is greater than 3; generating, by the video coder, a plurality of prediction residuals including the prediction residual and a second prediction residual, wherein the plurality of prediction residuals are located in one block and each has a non-zero absolute value; updating, by the video coder, the cRiceParam to generate an updated cRiceParam after binarizing |R|, wherein updating the cRiceParam is based on a counter and an accumulator, wherein the counter specifies a number of prediction residuals that have been binarized using the TR code, wherein the accumulator specifies a summation of each absolute value of the prediction residuals that have been binarized using the TR code minus 3; and binarizing, by the video coder, the absolute value of the second prediction residual using the TR code with the updated cRiceParam when an absolute value of the second prediction residual is greater than 2, wherein the prediction residual the second prediction residual are binarized without any prior or subsequent transform and quantization steps being performed, and wherein the prediction residual and the second prediction residual are used for coding of a video frame.
-
-
14. A video encoder comprising:
-
a processor configured to set a number of syntax elements to indicate lossless encoding of some or all coding units (CU) in a video frame; and a transmitter operably coupled to the processor and configured to transmit a bit stream comprising the syntax elements to a video device in communication with the video encoder, wherein a first syntax element is set to disable quantization parameter (QP) configuration on a CU level, wherein the first syntax element is included in a sequence parameter set (SPS) of the bit stream, and wherein the first syntax element is binarized without any prior or subsequent transform and quantization steps being performed. - View Dependent Claims (15, 16)
-
-
17. A video encoder comprising:
-
a processor configured to set a number of syntax elements to indicate lossless encoding of some or all coding units (CU) in a video frame; a transmitter operably coupled to the processor and configured to transmit a bit stream comprising the syntax elements to a video decoder for use in generating a visual image on a display device, wherein a first syntax element is set to enable quantization parameter (QP) configuration on a CU level, wherein the first syntax element is included in a sequence parameter set (SPS) of the bit stream, and wherein the first syntax element is binarized without any prior or subsequent transform and quantization steps being performed. - View Dependent Claims (18, 19)
-
-
20. A method for video encoding in a video coder, comprising:
-
setting, by the video coder, a number of syntax elements to indicate lossless encoding of some or all coding units (CU) in a video frame; and transmitting, by the video coder, a bit stream comprising the syntax elements to a video decoder for use in generating a visual image on a display device, wherein a first syntax element is set to disable quantization parameter (QP) configuration on a CU level, wherein the first syntax element is included in a sequence parameter set (SPS) of the bit stream, wherein a second syntax element is set to specify an initial value of QP for the video frame minus 26, wherein the second syntax element is included in a picture parameter set (PPS) of the bit stream, wherein a third syntax element is set to specify a difference between a slice QP value and the initial value of QP for the video frame, wherein the third syntax element is included in slice headers associated with the video frame, and wherein the syntax elements are binarized without any prior or subsequent transform and quantization steps being performed.
-
-
21. A method for video encoding in a video coder, comprising:
-
setting, by the video coder, a number of syntax elements to indicate lossless encoding of some or all coding units (CU) in a video frame; and transmitting, by the video coder, a bit stream comprising the syntax elements to a video decoder for use in generating a visual image on a display device, wherein a first syntax element is set to enable quantization parameter (QP) configuration on a CU level, wherein the first syntax element is included in a sequence parameter set (SPS) of the bit stream, wherein a second syntax element is set to identify an initial value of QP for the video frame minus 26, wherein the second syntax element is included in a picture parameter set (PPS) of the bit stream, wherein a third syntax element is set to specify a difference between a slice QP value and the initial value of QP for the video frame, wherein a fourth syntax is set to specify a difference between a QP value for a CU and the slice QP value, and wherein the syntax elements are binarized without any prior or subsequent transform and quantization steps being performed.
-
Specification