Transform unit partitioning for cloud gaming video
A first device may be configured to perform actions. A coding block may be obtained. It may be determined whether an indication of transform unit (TU) transform information associated with the coding block is to be parsed based on a TU size of the transform tree node. Inverse transformation associated with the coding block may be performed based on the determination. A second device may be configured to determine a TU split for a coding unit based on depth information and perform transformation on the coding unit based on the determination. A third device may determine whether to include an indication of TU transform information in video data based on a TU size of coding block and may perform transformation associated with the coding block based on the determination.
1 . A video decoding device, comprising:
a processor configured to:
obtain a coding block with a size smaller than a largest allowed size;
determine whether an indication of transform unit (TU) transform information associated with the coding block is to be parsed based on whether dimensions of the coding block are in a set of allowed coding block dimensions, wherein the indication of TU transform information associated with the coding block is configured to indicate whether the coding block is to be partitioned into a plurality of TUs; and
perform inverse transformation associated with the coding block based on the determination.
2 . The video decoding device of claim 1 , wherein the processor is configured to:
based on a condition that the dimensions of the coding block are in the set of allowed coding block dimensions, determine to parse the indication of TU transform information associated with the coding block; and
determine whether the coding block is to be partitioned based on the indication.
3 . The video decoding device of claim 1 , wherein
based on a condition that the dimensions of the coding block are not in the set of allowed coding block dimensions, determine that the indication of TU transform information associated with the coding block is not to be parsed; and
infer that the coding block is to be partitioned into a plurality of TUs.
4 . The video decoding device of claim 1 , wherein the indication of TU transform information is further configured to indicate whether at least a value of a residual block of the coding block is non-zero, and the processor is configured to:
based on a condition that the dimensions of the coding block are in the set of allowed coding block dimensions, determine to parse the indication of TU transform information associated with the coding block; and
determine the value of the residual block of the coding block based on the indication.
5 . The video decoding device of claim 1 , wherein the indication of TU transform information is further configured to indicate whether at least a value of a residual block of the coding block is non-zero, and the processor is configured to:
based on a condition that the dimensions of the coding block are not in the set of allowed coding block dimensions, determine that the indication of TU transform information associated with the coding block is not to be parsed; and
infer that the residual block of the coding block is zero.
6 . The video decoding device of claim 1 , wherein the indication of TU transform information is further configured to indicate a residual coding mode for the coding block, and the processor is configured to:
based on a condition that the dimensions of the coding block are in the set of allowed coding block dimensions, determine to parse the indication of TU transform information associated with the coding block that is configured to indicate the residual coding mode for the coding block; and
determine the residual coding mode for the coding block based on the indication.
7 . The video decoding device of claim 1 , wherein the indication of TU transform information is further configured to indicate a residual coding mode for the coding block, and the processor is configured to:
based on a condition that the dimensions of the coding block are not in the set of allowed coding block dimensions, determine that the indication of TU transform information associated with the coding block is not to be parsed; and
infer that the residual coding mode for the coding block is transform skip mode.
8 . The video decoding device of claim 1 , wherein the processor is further configured to:
obtain the set of allowed coding block dimensions; and
determine whether the dimensions of the coding block correspond to dimensions in the set of allowed coding block dimensions.
9 . The video decoding device of claim 1 , wherein the processor is further configured to:
obtain a set of unsupported coding block dimensions; and
determine whether the dimensions of the coding block correspond to unsupported dimensions in the set of unsupported coding block dimensions.
10 . The video decoding device of claim 1 , wherein the processor is further configured to:
determine a TU split characteristic for the coding block based on an intra-prediction mode of the coding block.
11 . The video decoding device of claim 1 , wherein the processor is further configured to:
determine a TU split characteristic for the coding block based on an inter-prediction mode of the coding block.
12 . The video decoding device of claim 10 , wherein the TU split characteristic comprises at least one of:
a TU split direction; or
a TU split ratio.
13 . A video encoding device, comprising:
a processor configured to:
for a coding block with a size smaller than a largest allowed size, determine whether to include an indication of transform unit (TU) transform information in video data based on whether dimensions of the coding block are in a set of allowed coding block dimensions, wherein the indication of TU transform information is configured to indicate whether the coding block is to be partitioned into a plurality of TUs;
perform transformation associated with the coding block based on the determination; and
send the video data.
14 . A method of video decoding, comprising:
obtaining a coding block with a size smaller than a largest allowed size;
determining whether an indication of transform unit (TU) transform information associated with the coding block is to be parsed based on whether dimensions of the coding block are in a set of allowed coding block dimensions, wherein the indication of TU transform information associated with the coding block is configured to indicate whether the coding block is to be partitioned into a plurality of TUs; and
performing inverse transform associated with the coding block based on the determination.
15 . The method of claim 14 , wherein the method further comprising:
based on a condition that the dimensions of the coding block are in the set of allowed coding block dimensions, determining to parse the indication of TU transform information associated with the coding block; and
determining whether the coding block is to be partitioned based on the indication.
16 . The method of claim 14 , wherein the method further comprising:
based on a condition that the dimensions of the coding block are not in the set of allowed coding block dimensions, determining that the indication of TU transform information associated with the coding block is not to be parsed; and
inferring that the coding block is to be partitioned into a plurality of TUs.
17 . The method of claim 14 , wherein the indication of TU transform information is further configured to indicate whether at least a value of a residual block of the coding block is non-zero, the method further comprising:
based on a condition that the dimensions of the coding block are in the set of allowed coding block dimensions, determining to parse the indication of TU transform information associated with the coding block; and
determining the value of the residual block of the coding block based on the indication.
18 . The method of claim 14 , wherein the indication of TU transform information is further configured to indicate whether at least a value of a residual block of the coding block is non-zero, the method further comprising:
based on a condition that the dimensions of the coding block are not in the set of allowed coding block dimensions, determining that the indication of TU transform information associated with the coding block is not to be parsed; and
inferring that the residual block of the coding block is zero.
19 . The method of claim 14 , wherein the indication of TU transform information is further configured to indicate a residual coding mode for the coding block, the method further comprising:
based on a condition that the dimensions of the coding block are in the set of allowed coding block dimensions, determining to parse the indication of TU transform information associated with the coding block that is configured to indicate the residual coding mode for the coding block; and
determining the residual coding mode for the coding block based on the indication.
20 . The method of claim 14 , wherein the indication of TU transform information is further configured to indicate a residual coding mode for the coding block, the method further comprising:
based on a condition that the dimensions of the coding block are not in the set of allowed coding block dimensions, determining that the indication of TU transform information associated with the coding block is not to be parsed; and
inferring that the residual coding mode for the coding block is transform skip mode.