Office Action 2: Final Rejection (2024-05-08)
Rejection types: 102 - Lack of Novelty, 103 - Obviousness

CLAIMS:
AMENDMENTS TO THE CLAIMS:

This listing of claims will replace all prior versions, and listings, of claims in the application:

1.-25. (Canceled)224

26\. (Currently Amended) A video decoder comprising:a microprocessor; and
a memory, the memory having program code that, when executed by the microprocessor, cause the video decoder to:decode, from a video bitstream, a SVG {EMBED HERE} 0.152.207 high-level flag; which, when set to 4a first value, indicates performing regular residual coding;
(RRC) for a specific area of a current picture;determine, from the video bitstream, for a transform block (84), whether an inverse transform corresponding to the transform block isan identity transform or not;
when it is determined that the inverse transform is the identity transform and the high- level flag is set to a second value different from the first value, determine a first Rice parameter for a binarization of a residual transform coefficient of the transform block;
when it is determined that the inverse transform is not the identity transform or the high- level flag is set to the first value, determine a second Rice parameter for the binarization of the residual transform coefficient of the transform block; and
decode the residual transform coefficient of the transform block using the first or second Rice parameter.\_
  SVG {EMBED HERE} 0.152.207

27\. (Cancelled)

28\. (Cancelled)

29\. (Currently Amended) A video encoder comprising:a microprocessor; and
a memory, the memory having program code that, when executed by the microprocessor, causes the video encoder to:
encode, into a video bitstream, a high-level flag which, when set to a first value,
indicates performing regular residual coding (RRC) for a specific area of a current picture;signal, in the a-video bitstream for a transform block, whether an inverse transform corresponding to the transform block isan identity transform ;
when the inverse transform is the identity transform and the high-level flag is set to a second value different from the first value, determine a first Rice parameter for a binarization of a residual transform coefficient of the transform block;
when the inverse transform is not the identity transform or the high-level flag is set to the first value, determine a second Rice parameter for the binarization of the residual transform coefficient of the transform block; and
encode the residual transform coefficient of the transform block using the first or second Rice parameter. \_\_\_\_

30\. (Cancelled)

31\. (Cancelled)

32\. (Cancelled)

33\. (Currently Amended) The video encoder of claim 29, wherein the memory has program code that, when executed by the microprocessor, causes the video encoder to:determine that content for the video bitstream is camera-captured content; andSVG {EMBED HERE} 0.152.207based on the determination that thecontent for the video bitstream is camera-captured content, set the flag high-level flagto Ithe first value.
34\. (Currently Amended) The video encoder of claim 29, wherein the memory has program code that, when executed by the microprocessor, causes the video encoder to:determine that content for the video bitstream is screen content; andSVG {EMBED HERE} 0.152.203based on the determination that content for the video bitstream is screen content, set the flaghigh-level flagto Othe second value.
35\. (Currently Amended) A method of video decoding, the method comprising:decoding, from a video bitstream, a SVG {EMBED HERE} 0.152.21 high-level flag which, when set to la first value, indicates performing regular residual coding;dRRC) for a specific area of a current picture;
 determining from the video bitstream, \_for a transform block, whether an inverse transform corresponding to the transform block isan identity transform ;
when it is determined that the inverse transform is the identity transform and the high- level flag is set to a second value different from the first value, determining a first Rice parameter for a binarization of a residual transform coefficient of the transform block;
when it is determined that the inverse transform is not the identity transform or the high- level flag is set to the first value, determining a second Rice parameter for the binarization of the residual transform coefficient of the transform block; and
decoding the residual transform coefficient of the transform block using the first or second Rice parameter.
\_\_\_\_ SVG {EMBED HERE} 0.152.203
 flag is set to 1, performing RRC on the transform block.

36\. (Cancelled)

37\. (Cancelled)

38\. (Currently Amended) A non-transitory, computer-readable storage medium storing computer program instructions, which when executed, cause a decoder to perform the steps of:
decoding, from a video bitstream, a high-level flag which, when set to a first value, indicates performing regular residual coding (RRC) for a specific area of a current picture;determining from the video bitstream, for a transform block, whether an inverse transform corresponding to the transform block is an identity transform;
when it is determined that the inverse transform is the identity transform and the high- level flag is set to a second value different from the first value, determining a first Rice parameter for a binarization of a residual transform coefficient of the transform block;
when it is determined that the inverse transform is not the identity transform or the high- level flag is set to the first value, determining a second Rice parameter for the binarization of the residual transform coefficient of the transform block; and
decoding the residual transform coefficient of the transform block using the first or second Rice parameter.

OFFICE ACTION:
DETAILED ACTION
Notice of Pre-AIA  or AIA  Status
The present application, filed on or after March 16, 2013, is being examined under the first inventor to file provisions of the AIA .
Response to Arguments
Applicant’s arguments with respect to claim(s) 26, 29, 35, and 38 have been considered but are moot because the new ground of rejection does not rely on any reference applied in the prior rejection of record for any teaching or matter specifically challenged in the argument.
Claim Rejections - 35 USC § 102
The text of those sections of Title 35, U.S. Code not included in this action can be found in a prior Office action.
Claim(s) 26, 29, 35, and 38 is/are rejected under 35 U.S.C. 102(a)(2) as being anticipated by Yoo et al. (US 2021/0385478 A1).
Regarding Claims 26, 29, 35, and 38, Yoo discloses a video encoder/decoder performing a method via CRM comprising: a microprocessor; and a memory, the memory having program code that, when executed by the microprocessor, cause the video decoder to: decode, from a video bitstream, a high-level flag which, when set to a first value, indicates performing regular residual coding (RRC) for a specific area of a current picture [Yoo: ¶ [0116]: Residual coding used when the transform skip is not applied (that is, when the transform is applied) may be called regular residual coding (RRC), and residual coding used when the transform skip is not applied (that is, when the transform is not applied) may be called transform skip residual coding (TSRC)]; determine, from the video bitstream, for a transform block, whether an inverse transform corresponding to the transform block is an identity transform or not [Yoo: ¶ [0171]: the rice parameter cRiceParam may be determined based on whether a transform skip is applied to a current block ]; when it is determined that the inverse transform is the identity transform and the high- level flag is set to a second value different from the first value, determine a first Rice parameter for a binarization of a residual transform coefficient of the transform block; when it is determined that the inverse transform is not the identity transform or the high- level flag is set to the first value, determine a second Rice parameter for the binarization of the residual transform coefficient of the transform block; and decode the residual transform coefficient of the transform block using the first or second Rice parameter [Yoo: ¶ [0171]: Alternatively, for example, the rice parameter cRiceParam may be determined based on whether a transform skip is applied to a current block. That is, if a transform is not applied to a current TB including a current CG, in other words, if the transform skip is applied to the current TB including the current CG, the rice parameter cRiceParam may be derived to be 1. Alternatively, if the transform is applied to the current TB including the current CG, in other words, if the transform skip is not applied to the current TB including the current CG, the rice parameter cRiceParam for the abs_remainder[n] to be currently coded as described].
Claim Rejections - 35 USC § 103
The following is a quotation of 35 U.S.C. 103 which forms the basis for all obviousness rejections set forth in this Office action:
A patent for a claimed invention may not be obtained, notwithstanding that the claimed invention is not identically disclosed as set forth in section 102, if the differences between the claimed invention and the prior art are such that the claimed invention as a whole would have been obvious before the effective filing date of the claimed invention to a person having ordinary skill in the art to which the claimed invention pertains. Patentability shall not be negated by the manner in which the invention was made.
The factual inquiries for establishing a background for determining obviousness under 35 U.S.C. 103 are summarized as follows:
1. Determining the scope and contents of the prior art.
2. Ascertaining the differences between the prior art and the claims at issue.
3. Resolving the level of ordinary skill in the pertinent art.
4. Considering objective evidence present in the application indicating obviousness or nonobviousness.
Claim(s) 33-34 is/are rejected under 35 U.S.C. 103 as being unpatentable over Yoo as applied to claims 29 above, and further in view of Ma et al. (JVET-Q0070-v2).
Regarding Claim 33-34, Yoo disclose(s) all the limitations of Claim 29, and is/are analyzed as previously discussed with respect to that claim.
Furthermore, Yoo discloses wherein the memory has program code that, when executed by the microprocessor, causes the video encoder to: determine that content for the video bitstream is camera/screen-captured content [Yoo: ¶ [0053]: The IBC prediction mode or palette mode may be used for content image/video coding of a game or the like, for example, screen content coding (SCC)].
Yoo does not explicitly disclose and based on the determination that the content for the video bitstream is camera-captured content, set the high-level flag to the first value.
However, Ma discloses and based on the determination that the content for the video bitstream is camera/screen-captured content, set the high-level flag to the first value [Ma: § 1: since the current TSRC still performs significantly worse for camera content but better for screen content; wherein it would have been obvious to use a flag to utilize a known better process and to signal it via syntax coding] .
It would have been obvious to one having ordinary skill in the art before the effective filing date to combine the preferred processing of Ma with the processing of Yoo in order to provide a more efficient process, improving overall output quality.
Conclusion
Applicant's amendment necessitated the new ground(s) of rejection presented in this Office action.  Accordingly, THIS ACTION IS MADE FINAL.  See MPEP § 706.07(a).  Applicant is reminded of the extension of time policy as set forth in 37 CFR 1.136(a).
A shortened statutory period for reply to this final action is set to expire THREE MONTHS from the mailing date of this action.  In the event a first reply is filed within TWO MONTHS of the mailing date of this final action and the advisory action is not mailed until after the end of the THREE-MONTH shortened statutory period, then the shortened statutory period will expire on the date the advisory action is mailed, and any extension fee pursuant to 37 CFR 1.136(a) will be calculated from the mailing date of the advisory action.  In no event, however, will the statutory period for reply expire later than SIX MONTHS from the date of this final action.

APPLICANT REBUTTAL: REMARKS Reconsideration and allowance are respectfully requested. Claim Objections Objected to claims 28, 32, and 37 are canceled. Novelty Claims 26-38 stand rejected under 35 U.S.C. §102 as allegedly being anticipated by Ma (JVET-Q0070-v2: CE3-2.5: Residual coding selection signaling for lossless coding). This rejection is respectfully traversed. "A claim is anticipated only if each and every element as set forth in the claim is found, either expressly or inherently described, in a single prior art reference." Verdegaal Bros., Inc. v. Union Oil Co., 814 F.2d 628, 631 (Fed. Cir. 1987). There must be no difference between the claimed invention and the reference disclosure, as viewed by a person of ordinary skill in the field of the invention. Scripps Clinic & Research Found. v. Genentech Inc., 927 F.2d 1565, 1576 (Fed. Cir. 1991). For example, in order to anticipate a claimed invention a prior art reference must not only disclose all elements of the claim within the four corners of the document, but must also disclose those elements arranged or combined in the same way as in the claim. Net MoneylN, Inc. v. VeriSign, Inc., 545 F.3d 1359, 1370 (Fed. Cir. 2008). Ma does not satisfy this rigorous standard. The OA cites Section 2 of Ma as disclosing a 1-bit slice level syntax, e.g., a flag, that "indicates performing regular residual coding" (RRC). 2 Implementation Two high-level syntax, one PPS and one slice level, are signaled to indicate the selection of TSRC/RRC is enabled. In sub-test 1, a CU level syntax is signaled if PPS is enabled; otherwise, such CU level syntax is inferred to 0. In sub-test 2, a TB level syntax is signaled if PPS is enabled; otherwise, such TB level syntax is inferred to 0. I-sab-test;3, signaiby of the CU lvel syntax is done after sigil-ting! tha-root C11 for a CO. However, the flag in Section 2 does not indicate that any type of residual coding is performed-let alone "performing regular residual coding (RRC) for a specific area of a current picture" as presently claimed. Rather, Ma's flag in Section 2 simply indicates that "the selection between RRC and TSRC is enabled," and does not indicate a particular selection of one or the other or performing one or the other. It only indicates that at a lower level, (for example at a coding unit level or a transform block level as described in Section 1 of Ma), selection of one or the other can be made. Hence, Ma does not disclose "a high-level flag which, when set to a first value, indicates performing regular residual coding (RRC) for a specific area of a current picture," as recited in the pending independent claims. The claims independent claims further recite: when it is determined that the inverse transform is the identity transform and the high-level flag is set to a second value different from the first value, determine a first Rice parameter for a binarization of a residual transform coefficient of the transform block; when it is determined that the inverse transform is not the identity transform or the high-level flag is set to the first value, determine a second Rice parameter for the binarization of the residual transform coefficient of the transform block; and decode the residual transform coefficient of the transform block using the first or second Rice parameter. Ma fails to disclose these criteria for choosing a Rice parameter for a binarization of a residual transform coefficient. Thus, Ma fails to disclose or suggest multiple features recited in claim 26. Corresponding features are recited in independent claims 29, 35, and 38. The anticipation rejection based on Ma is improper and should be withdrawn. By responding only to particular positions asserted in the office action, Applicant does not acquiesce in other positions that have not been explicitly addressed. Applicant's arguments for the patentability of a claim should not be understood as implying that no other reasons for the patentability of that claim exist. Nothing in this response should be construed as an intent to concede any issue regarding any claim, except as specifically stated in this response, and the amendment of any claim does not necessarily signify concession of unpatentability of the claim prior to its amendment. Nothing stated or unstated in this response should be interpreted as an explicit or implicit admission regarding the applicability of art applied or cited or that there is any compatibility between disparate references. The application is in condition for allowance. An early notice to that effect is requested. The Commissioner is hereby authorized to charge any deficiency, or credit any overpayment, in the fee(s) filed, or asserted to be filed, or which should have been filed herewith (or with any paper hereafter filed in this application by this firm) to Deposit Account No. 14-1140. Respectfully submitted, NIXON & VANDERHYE P.C. By: /John R. Lastova/ John R. Lastova Reg. No. 33,149 JRL: 901 North Glebe Road, 11th Floor Arlington, VA 22203-1808 Telephone: (703) 816-4000 Facsimile: (703) 816-4100

NEXT OFFICE ACTION: DETAILED ACTION
Notice of Pre-AIA  or AIA  Status
The present application, filed on or after March 16, 2013, is being examined under the first inventor to file provisions of the AIA .
Continued Examination Under 37 CFR 1.114
A request for continued examination under 37 CFR 1.114 was filed in this application after appeal to the Patent Trial and Appeal Board, but prior to a decision on the appeal. Since this application is eligible for continued examination under 37 CFR 1.114 and the fee set forth in 37 CFR 1.17(e) has been timely paid, the appeal has been withdrawn pursuant to 37 CFR 1.114 and prosecution in this application has been reopened pursuant to 37 CFR 1.114. Applicant’s submission filed on 21 October 2024 has been entered.
Response to Arguments
Applicant’s arguments, see Response to Final Office Action mailed 8 May 2024, filed 21 October 2024, with respect to Claim Rejections under 35 USC §102 and §103 have been fully considered and are persuasive.  The Claim Rejections under 35 USC §102 and §103 of Claims 26, 29, 33-35, and 38 has been withdrawn.
Allowable Subject Matter
Claims 26, 29, 33-35, and 38 are allowed.
The following is an examiner’s statement of reasons for allowance: While the prior art shows setting a high level flag to indicate RRC or not along with transform skip (see, Karczewicz et al. (US 2021/0112279 A1): ¶ [0069], [0083], and [0085]) as well as determining the rice parameter based on whether transform skip is used (see, Yoo et al. (US 2021/0385478 A1): ¶ [0171]), the requirement of transform skip and the high-level flag at a specific setting for determination of the Rice parameter along with all other limitations has not been found in the prior art.
Any comments considered necessary by applicant must be submitted no later than the payment of the issue fee and, to avoid processing delays, should preferably accompany the issue fee.  Such submissions should be clearly labeled “Comments on Statement of Reasons for Allowance.”
Conclusion

CITED REFERENCE SUMMARIES: Ref US20210385478A1: Claims:
An image decoding method performed by a decoding apparatus, comprising: receiving residual information for a current block; deriving a context model for a sign flag of a current residual coefficient in a current sub-block of the current block; decoding the sign flag based on the context model; deriving the current residual coefficient based on the sign flag; deriving a residual sample based on the current residual coefficient; and generating a reconstructed picture based on the residual sample, wherein the context model for the sign flag is derived based on a sign flag of a residual coefficient decoded prior to the current residual coefficient in the current sub-block.
receiving residual information for a current block;
deriving a context model for a sign flag of a current residual coefficient in a current sub-block of the current block;
decoding the sign flag based on the context model;
deriving the current residual coefficient based on the sign flag;
deriving a residual sample based on the current residual coefficient; and
generating a reconstructed picture based on the residual sample,
wherein the context model for the sign flag is derived based on a sign flag of a residual coefficient decoded prior to the current residual coefficient in the current sub-block.
The image decoding method of claim 1 , wherein, when a value of the sign flag of the residual coefficient decoded prior to the current residual coefficient is 0, the context model for the sign flag of the current residual coefficient is derived as a context model 0, and wherein, when the value of the sign flag of the residual coefficient decoded prior to the current residual coefficient is 1, the context model for the sign flag of the current residual coefficient is derived as a context model 1.
wherein, when a value of the sign flag of the residual coefficient decoded prior to the current residual coefficient is 0, the context model for the sign flag of the current residual coefficient is derived as a context model 0, and
wherein, when the value of the sign flag of the residual coefficient decoded prior to the current residual coefficient is 1, the context model for the sign flag of the current residual coefficient is derived as a context model 1.
The image decoding method of claim 1 , further comprising determining whether the sign flag is decoded based on the context model, by comparing a specific value and the number of non-zero residual coefficients in the current sub-block.
The image decoding method of claim 3 , wherein the sign flag is bypass-decoded when the number of non-zero residual coefficients is less than the specific value, and wherein the sign flag is decoded based on the context model when the number of non-zero residual coefficients is greater than or equal to the specific value.
wherein the sign flag is bypass-decoded when the number of non-zero residual coefficients is less than the specific value, and
wherein the sign flag is decoded based on the context model when the number of non-zero residual coefficients is greater than or equal to the specific value.
The image decoding method of claim 3 , wherein the specific value is derived based on a size of the current block.
The image decoding method of claim 5 , wherein the specific value is derived as 5 when the size of the current block is an 8Ã8 size, and wherein the specific value is derived as 4 when the size of the current block is a 4Ã4 size.
wherein the specific value is derived as 5 when the size of the current block is an 8Ã8 size, and
wherein the specific value is derived as 4 when the size of the current block is a 4Ã4 size.
The image decoding method of claim 3 , wherein the specific value is derived based on a size of the current block and a position of the current sub-block in the current block.
The image decoding method of claim 7 , wherein the specific value is derived as 5 when the size of the current block is an 8Ã8 size and the current sub-block is a bottom-right sub-block of the current block, and wherein the specific value is derived as 4 when the size of the current block is the 8Ã8 size and the current sub-block is a top-left block of the current block.
wherein the specific value is derived as 5 when the size of the current block is an 8Ã8 size and the current sub-block is a bottom-right sub-block of the current block, and
wherein the specific value is derived as 4 when the size of the current block is the 8Ã8 size and the current sub-block is a top-left block of the current block.
The image decoding method of claim 3 , wherein the specific value is derived based on a size of the current block, a position of the sub-block in the current block, and a prediction mode of the current block.
The image decoding method of claim 9 , wherein the specific value is derived as 5 when the size of the current block is the 8Ã8 size, the current sub-block is a bottom-right sub-block of the current block, and the prediction mode of the current block is an intra prediction mode, and wherein the specific value is derived as 0 when the size of the current block is the 8Ã8 size, the current sub-block is a top-left sub-block of the current block, and the prediction mode of the current block is the intra prediction mode.
wherein the specific value is derived as 5 when the size of the current block is the 8Ã8 size, the current sub-block is a bottom-right sub-block of the current block, and the prediction mode of the current block is an intra prediction mode, and
wherein the specific value is derived as 0 when the size of the current block is the 8Ã8 size, the current sub-block is a top-left sub-block of the current block, and the prediction mode of the current block is the intra prediction mode.
The image decoding method of claim 1 , wherein the context model for the sign flag is derived as one of a plurality of context models based on sign flags of a plurality of residual coefficients decoded prior to the current residual coefficient in the current sub-block.
An image encoding method performed by an encoding apparatus, comprising: deriving a current residual coefficient in a current sub-block of a current block; deriving a context model for a sign flag of the current residual coefficient; encoding the sign flag based on the context model; and generating a bitstream including the sign flag, wherein the context model for the sign flag is derived based on a sign flag of a residual coefficient encoded prior to the current residual coefficient in the current sub-block.
deriving a current residual coefficient in a current sub-block of a current block;
deriving a context model for a sign flag of the current residual coefficient;
encoding the sign flag based on the context model; and
generating a bitstream including the sign flag,
wherein the context model for the sign flag is derived based on a sign flag of a residual coefficient encoded prior to the current residual coefficient in the current sub-block.
The image encoding method of claim 12 , wherein, when a value of the sign flag of the residual coefficient encoded prior to the current residual coefficient is 0, the context model for the sign flag of the current residual coefficient is derived as a context model 0, and wherein, when the value of the sign flag of the residual coefficient encoded prior to the current residual coefficient is 1, the context model for the sign flag of the current residual coefficient is derived as a context model 1.
wherein, when a value of the sign flag of the residual coefficient encoded prior to the current residual coefficient is 0, the context model for the sign flag of the current residual coefficient is derived as a context model 0, and
wherein, when the value of the sign flag of the residual coefficient encoded prior to the current residual coefficient is 1, the context model for the sign flag of the current residual coefficient is derived as a context model 1.
The image encoding method of claim 12 , further comprising determining whether the sign flag is encoded based on the context model, by comparing a specific value and the number of non-zero residual coefficients in the current sub-block.
The image encoding method of claim 14 , wherein the sign flag is bypass-encoded when the number of non-zero residual coefficients is less than the specific value, and wherein the sign flag is encoded based on the context model when the number of non-zero residual coefficients is greater than or equal to the specific value.
wherein the sign flag is bypass-encoded when the number of non-zero residual coefficients is less than the specific value, and
wherein the sign flag is encoded based on the context model when the number of non-zero residual coefficients is greater than or equal to the specific value.
A non-transitory computer-readable storage medium storing a bitstream generated by a method, the method comprising: deriving a current residual coefficient in a current sub-block of a current block; deriving a context model for a sign flag of the current residual coefficient; encoding the sign flag based on the context model; and generating the bitstream including the sign flag, wherein the context model for the sign flag is derived based on a sign flag of a residual coefficient encoded prior to the current residual coefficient in the current sub-block.
generating the bitstream including the sign flag,
Ref US20200177882A1: Claims:
A method for image decoding performed by a decoding apparatus, the method comprising: receiving residual information including first size related information for a first residual coefficient and second size related information for a second residual coefficient of a current block; setting a Rice parameter of the first size related information and the second size related information as a specific value; deriving available binary values for the first size related information and the second size related information based on the Rice parameter; deriving a binary value of the first size related information and a binary value of the second size related information by decoding the first size related information and the second size related information; deriving values of the first size related information and the second size related information by comparing the binary values and the available binary values; deriving the first residual coefficient and the second residual coefficient based on the values of the first size related information and the second size related information; and reconstructing a current picture based on the first residual coefficient and the second residual coefficient.
receiving residual information including first size related information for a first residual coefficient and second size related information for a second residual coefficient of a current block;
setting a Rice parameter of the first size related information and the second size related information as a specific value;
deriving available binary values for the first size related information and the second size related information based on the Rice parameter;
deriving a binary value of the first size related information and a binary value of the second size related information by decoding the first size related information and the second size related information;
deriving values of the first size related information and the second size related information by comparing the binary values and the available binary values;
deriving the first residual coefficient and the second residual coefficient based on the values of the first size related information and the second size related information; and
reconstructing a current picture based on the first residual coefficient and the second residual coefficient.
The method of claim 1 , wherein the residual information includes a transform skip flag for the current block, wherein the transform skip flag represents whether to apply transform of residual coefficients, and wherein the Rice parameter is set based on the transform skip flag.
wherein the transform skip flag represents whether to apply transform of residual coefficients, and
wherein the Rice parameter is set based on the transform skip flag.
The method of claim 2 , wherein when a value of the transform skip flag is 1, wherein the Rice parameter of the first size related information and the second size related information is set to the specific value.
The method of claim 1 , wherein the specific value is 1.
The method of claim 1 , wherein the specific value is one of 2, 3, 4 and 5.
The method of claim 1 , wherein the Rice parameter is set based on a size of the current block.
The method of claim 6 , wherein when a size of the current block is less than a specific size, wherein the Rice parameter is set to 0, and when the size of the current block is greater than or equal to the specific size, wherein the Rice parameter for residual coefficients of the current block is set to 1.
when the size of the current block is greater than or equal to the specific size, wherein the Rice parameter for residual coefficients of the current block is set to 1.
The method of claim 6 , wherein when a sample number of the current block is less than 256, wherein the Rice parameter is set to 1, and when a sample number of the current block is greater than or equal to 256, wherein the Rice parameter is set to 2.
when a sample number of the current block is greater than or equal to 256, wherein the Rice parameter is set to 2.
The method of claim 1 , wherein the Rice parameter is set based on a ratio between a width and a height of the current block.
The method of claim 9 , when the ratio between the width and the height of the current block is greater than 2 and less than Â½, wherein the Rice parameter is set to 0, and when the ratio between the width and the height of the current block is Â½ or more and 2 or less, wherein the Rice parameter is set to 1.
when the ratio between the width and the height of the current block is Â½ or more and 2 or less, wherein the Rice parameter is set to 1.
A method for image encoding performed by an encoding apparatus, the method comprising: deriving a first residual coefficient and a second residual coefficient of a current block; setting a Rice parameter for the first residual coefficient and the second residual coefficient as a specific value; deriving binary values for first size related information for the first residual coefficient and second size related information for the second residual coefficient based on the Rice parameter; and generating residual information including the first size related information and the second size related information by encoding the binary values for the first size related information and the second size related information.
deriving a first residual coefficient and a second residual coefficient of a current block;
setting a Rice parameter for the first residual coefficient and the second residual coefficient as a specific value;
deriving binary values for first size related information for the first residual coefficient and second size related information for the second residual coefficient based on the Rice parameter; and
generating residual information including the first size related information and the second size related information by encoding the binary values for the first size related information and the second size related information.
The method of claim 11 , wherein the residual information includes a transform skip flag for the current block, wherein the transform skip flag represents whether to apply transform of residual coefficients, and wherein the Rice parameter is set based on the transform skip flag.
The method of claim 12 , wherein when a value of the transform skip flag is 1, the Rice parameter of the first size related information and the second size related information is set to the specific value.
The method of claim 11 , wherein the specific value is 1.
The method of claim 11 , wherein the specific value is one of 2, 3, 4 and 5.