METHOD AND APPARATUS FOR VIDEO ENCODING AND DECODING
Different implementations are described, particularly implementations for video encoding and decoding are presented. Accordingly, the encoding or decoding comprises obtaining a residual coding mode of a block of a picture, wherein the residual coding mode is one of regular residual coding mode (RRC) or transform skip residual coding mode (TSRC); decoding the block of the picture according to the obtained residual coding mode. According to a particular characteristic, the residual coding mode is set to regular residual coding mode (RRC) when transform skip is disabled. According to another particular characteristic, the residual coding mode is decoded from a syntax element when transform skip is enabled.
1 . A method, comprising:
decoding a syntax element indicating that transform skip data are present in a bitstream; and
responsive to transform skip data being present, decoding at least one syntax data element related to a residual coding mode of a block of a picture, wherein the residual coding mode is one of regular residual coding mode or transform skip residual coding mode.
2 .- 21 . (canceled)
22 . The method according to claim 1 , wherein the transform skip residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to screen-content-coding in near lossless coding or lossless coding.
23 . The method according to claim 1 , wherein the residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to camera captured content coding in near lossless coding or lossless coding.
24 . An apparatus, comprising one or more processors, wherein the one or more processors are configured to:
decode a syntax element indicating that transform skip data are present in a bitstream; and
responsive to transform skip data being present, decode at least one syntax data element related to a residual coding mode of a block of a picture, wherein the residual coding mode is one of regular residual coding mode or transform skip residual coding mode.
25 . The apparatus according to claim 24 , wherein the transform skip residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to screen-content-coding in near lossless coding or lossless coding.
26 . The apparatus according to claim 24 , wherein the residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to camera captured content coding in near lossless coding or lossless coding.
27 . A method, comprising:
encoding a syntax element indicating that transform skip data are present in a bitstream; and
responsive to transform skip data being present, encoding at least one syntax data element related to a residual coding mode of a block of a picture, wherein the residual coding mode is one of regular residual coding mode or transform skip residual coding mode.
28 . The method according to claim 27 , wherein the transform skip residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to screen-content-coding in near lossless coding or lossless coding.
29 . The method according to claim 27 , wherein the residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to camera captured content coding in near lossless coding or lossless coding.
30 . An apparatus, comprising one or more processors, wherein the one or more processors are configured for:
encode a syntax element indicating that transform skip data are present in a bitstream; and
responsive to transform skip data being present, encode at least one syntax data element related to a residual coding mode of a block of a picture, wherein the residual coding mode is one of regular residual coding mode or transform skip residual coding mode.
31 . The apparatus according to claim 30 , wherein the transform skip residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to screen-content-coding in near lossless coding or lossless coding.
32 . The apparatus according to claim 30 , wherein the residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to camera captured content coding in near lossless coding or lossless coding.
33 . A non-transitory computer readable medium comprising program code instructions to execute the method of claim 1 when executed on a computer.
34 . A non-transitory computer readable medium comprising program code instructions to execute the method of claim 27 when executed on a computer.
35 . A non-transitory computer readable medium containing data content encoded thereupon, comprising:
a syntax element indicating that transform skip data are present; and
at least one syntax data element related to a residual coding mode of a block of a picture, wherein the residual coding mode is one of regular residual coding mode or transform skip residual coding mode.
36 . The non-transitory computer readable medium according to claim 35 , wherein the transform skip residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to screen-content-coding in near lossless coding or lossless coding.
37 . The non-transitory computer readable medium according to claim 35 , wherein the residual coding mode adapts a CABAC entropy coding of a spatial transform skip residual block to camera captured content coding in near lossless coding or lossless coding.