IP Library Granted Patent US 11,218,700
Granted Patent B2
US 11,218,700 · App. 16/917,051 · Granted Jan 4, 2022

Minimum allowed quantization parameter for transform skip mode and palette mode in video coding

Inventors: Marta Karczewicz (San Diego, CA); Yung-Hsuan Chao (San Diego, CA); Hongtao Wang (San Diego, CA); Muhammed Zeyd Coban (Carlsbad, CA)
Assignee: QUALCOMM Incorporated
H04N19/126H04N19/103H04N19/136H04N19/182H04N19/60H04N19/70
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,218,700
App. No.
16/917,051
Granted
Jan 4, 2022
Kind
B2
Abstract

A video encoder derives a minimum allowed base quantization parameter for video data based on an input bitdepth of the video data, determines a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter, and quantizes the block of video data based on the base quantization parameter. In a reciprocal fashion, a video decoder derives a minimum allowed base quantization parameter for the video data based on an input bitdepth of the video data, determines a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter, and inverse quantizes the block of video data based on the base quantization parameter.

Claims (98)

1. A method of decoding video data, the method comprising:

deriving a minimum allowed base quantization parameter for video data as a function of an internal bitdepth minus an input bitdepth of the video data;

determining a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter; and

inverse quantizing the block of video data based on the base quantization parameter.

2. The method of claim 1 , further comprising:

decoding a syntax element indicative of the input bitdepth.

3. The method of claim 1 , wherein the block of the video data is a transform unit of pixel domain video data, the method further comprising:

decoding the inverse quantized transform unit of pixel domain video data using a transform skip mode or an escape mode of palette mode.

4. The method of claim 1 , wherein deriving the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) comprises:

deriving the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth).

5. The method of claim 1 , wherein deriving the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) comprises:

deriving the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and a maximum allowed transform unit size for a transform skip mode.

6. The method of claim 5 , wherein deriving the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and the maximum allowed transform unit size for the transform skip mode comprises:

deriving the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth+log 2 Sb−5), wherein Sb is a width or a height of the maximum allowed transform unit size for the transform skip mode.

7. The method of claim 5 , wherein deriving the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and the maximum allowed transform unit size for the transform skip mode comprises:

deriving the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−internalBitDepth+log 2 Sb−5)=4+6*(log 2 Sb−5)), wherein Sb is a width or a height of the maximum allowed transform unit size for the transform skip mode.

8. The method of claim 1 , wherein determining the base quantization parameter for the block of the video data based on the minimum allowed base quantization parameter comprises:

determining an initial value of the base quantization parameter; and

determining the base quantitation parameter as the maximum of the initial value of the base quantization parameter and the minimum allowed base quantization parameter.

9. The method of claim 1 , further comprising:

displaying a picture that includes the block of the video data.

10. An apparatus configured to decode video data, the apparatus comprising:

a memory configured to store the video data; and

one or more processors implemented in circuitry and in communication with the memory, the one or more processors configured to:

derive a minimum allowed base quantization parameter for the video data as a function of an internal bitdepth minus an input bitdepth of the video data;

determine a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter; and

inverse quantize the block of video data based on the base quantization parameter.

11. The apparatus of claim 10 , wherein the one or more processors are further configured to:

decode a syntax element indicative of the input bitdepth.

12. The apparatus of claim 10 , wherein the block of the video data is a transform unit of pixel domain video data, and wherein the one or more processors are further configured to:

decode the inverse quantized transform unit of pixel domain video data using a transform skip mode or an escape mode of palette mode.

13. The apparatus of claim 10 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth), the one or more processors are further configured to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth).

14. The apparatus of claim 10 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth), the one or more processors are further configured to:

derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and a maximum allowed transform unit size for a transform skip mode.

15. The apparatus of claim 14 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and the maximum allowed transform unit size for the transform skip mode, the one or more processors are further configured to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth+log 2 Sb−5), wherein Sb is a width or a height of the maximum allowed transform unit size for the transform skip mode.

16. The apparatus of claim 14 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and the maximum allowed transform unit size for the transform skip mode, the one or more processors are further configured to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−internalBitDepth+log 2 Sb−5)=4+6*(log 2 Sb−5)), wherein Sb is a width or a height of the maximum allowed transform unit size for the transform skip mode.

17. The apparatus of claim 10 , wherein to determine the base quantization parameter for the block of the video data based on the minimum allowed base quantization parameter, the one or more processors are further configured to:

determine an initial value of the base quantization parameter; and

determine the base quantitation parameter as the maximum of the initial value of the base quantization parameter and the minimum allowed base quantization parameter.

18. The apparatus of claim 10 , further comprising:

a display configured to display a picture that includes the block of the video data.

19. An apparatus configured to decode video data, the apparatus comprising:

means for deriving a minimum allowed base quantization parameter for video data as a function of an internal bitdepth minus an input bitdepth of the video data;

means for determining a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter; and

means for inverse quantizing the block of video data based on the base quantization parameter.

20. The apparatus of claim 19 , further comprising:

means for decoding a syntax element indicative of the input bitdepth.

21. The apparatus of claim 19 , wherein the block of the video data is a transform unit of pixel domain video data, the apparatus further comprising:

means for decoding the inverse quantized transform unit of pixel domain video data using a transform skip mode or an escape mode of palette mode.

22. The apparatus of claim 19 , wherein the means for deriving the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) comprises:

means for deriving the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth).

23. A non-transitory computer-readable storage medium storing instructions that, when executed, cause one or more processors configured to decode video data to:

derive a minimum allowed base quantization parameter for the video data as a function of an internal bitdepth minus an input bitdepth of the video data;

determine a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter; and

inverse quantize the block of video data based on the base quantization parameter.

24. The non-transitory computer-readable storage medium of claim 23 , wherein the instructions further cause the one or more processors to:

decode a syntax element indicative of the input bitdepth.

25. The non-transitory computer-readable storage medium of claim 23 , wherein the block of the video data is a transform unit of pixel domain video data, and wherein the instructions further cause the one or more processors to:

decode the inverse quantized transform unit of pixel domain video data using a transform skip mode or an escape mode of palette mode.

26. The non-transitory computer-readable storage medium of claim 23 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth), the instructions further cause the one or more processors to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth).

27. An apparatus configured to encode video data, the apparatus comprising:

a memory configured to store the video data; and

one or more processors implemented in circuitry and in communication with the memory, the one or more processors configured to:

derive a minimum allowed base quantization parameter for the video data as a function of an internal bitdepth minus an input bitdepth of the video data;

determine a base quantization parameter for a block of the video data based on the minimum allowed base quantization parameter; and

quantize the block of video data based on the base quantization parameter.

28. The apparatus of claim 27 , wherein the one or more processors are further configured to:

encode a syntax element indicative of the input bitdepth.

29. The apparatus of claim 27 , wherein the block of the video data is a transform unit of pixel domain video data, and wherein the one or more processors are further configured to:

encode the block of the video data using a transform skip mode or an escape mode of palette mode.

30. The apparatus of claim 27 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth), the one or more processors are further configured to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth).

31. The apparatus of claim 27 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth), the one or more processors are further configured to:

derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and a maximum allowed transform unit size for a transform skip mode.

32. The apparatus of claim 31 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and the maximum allowed transform unit size for the transform skip mode, the one or more processors are further configured to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−inputBitDepth+log 2 Sb−5), wherein Sb is a width or a height of the maximum allowed transform unit size for the transform skip mode.

33. The apparatus of claim 31 , wherein to derive the minimum allowed base quantization parameter for the video data as the function of the internal bitdepth (internalBitDepth) minus the input bitdepth (inputBitDepth) and the maximum allowed transform unit size for the transform skip mode, the one or more processors are further configured to:

derive the minimum allowed base quantization parameter (min_baseQP) according to the function:

min_baseQP=4+6*(internalBitDepth−internalBitDepth+log 2 Sb−5)=4+6*(log 2 Sb−5)), wherein Sb is a width or a height of the maximum allowed transform unit size for the transform skip mode.

34. The apparatus of claim 27 , wherein to determine the base quantization parameter for the block of the video data based on the minimum allowed base quantization parameter, the one or more processors are further configured to:

determine an initial value of the base quantization parameter; and

determine the base quantitation parameter as the maximum of the initial value of the base quantization parameter and the minimum allowed base quantization parameter.

35. The apparatus of claim 27 , further comprising:

a camera configured to capture a picture that includes the block of the video data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 22, 2021
From: KARCZEWICZ, MARTA; CHAO, YUNG-HSUAN; WANG, HONGTAO; COBAN, MUHAMMED ZEYD
To: QUALCOMM INCORPORATED
Reel/Frame 055674/0076 →
Continuity (4)
Provisional Application 62904406 · Sep 23, 2019
Provisional Application 62870999 · Jul 5, 2019
Provisional Application 62869236 · Jul 1, 2019
Related Publication 20210006794A1 · Jan 7, 2021