Patent ID: 11909981
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 1:
2. An encoding apparatus for a video encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
derive prediction information for a current coding block;
derive a current luma transform block from the current coding block;
derive a split flag information that specifies whether the current coding block is split;
determine a value of a syntax element cbf_luma that specifies whether a luma residual other than 0 is present in the current luma transform block;
derive a bin constituting a codeword of the syntax element cbf_luma based on the value of the syntax element cbf_luma;
derive context information on the bin constituting the codeword of the syntax element cbf_luma; and
encode the split flag information, the prediction information, and the bin based on the context information,
wherein the context information is derived based on information on a transform depth (trafoDepth) of the current luma transform block,
wherein the luma residual other than 0 is not present in the current luma transform block based on the value of the syntax element cbf_luma being 0, and
wherein at least one luma residual other than 0 is present in the current luma transform block based on the value of the syntax element cbf_luma being 1.