Patent ID: 11870995
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 7:
8. A non-transitory computer-readable medium storing a bitstream, the bitstream being decoded by a decoding method,
wherein the decoding method comprises:
acquiring first information indicating whether a left luma block adjacent to a current luma block is available and second information indicating whether an upper luma block adjacent to the current luma block is available;
down-sampling luma samples of at least one luma block adjacent to the current luma block, wherein the down-sampled luma samples are acquired based on the left luma block when the first information indicates that the left luma block is available and the down-sampled luma samples are acquired based on the upper luma block when the second information indicates that the upper luma block is available;
acquiring a maximum luma average value, based on a maximum luma value and a next highest luma value of the down-sampled luma samples, wherein the maximum luma value is acquired based on a first index and the next highest luma value is acquired based on a second index;
acquiring a minimum luma average value, based on a minimum luma value and a next lowest luma value of the down-sampled luma samples, wherein the next lowest luma value is acquired based on a third index and the minimum luma value is acquired based on a fourth index;
acquiring a maximum chroma average value, based on a first chroma value and a second chroma value of chroma samples corresponding to the down-sampled luma samples, wherein the first chroma value is acquired based on the first index and the second chroma value is acquired based on the second index;
acquiring a minimum chroma average value, based on a third chroma value and a fourth chroma value of the chroma samples, wherein the third chroma value is acquired based on the third index and the fourth chroma value is acquired based on the fourth index;
acquiring one or more elements of an equation for acquiring a predicted chroma sample based on a luma sample, based on the maximum luma average value, the minimum luma average value, the maximum chroma average value, and the minimum chroma average value; and
acquiring the predicted chroma sample of a current chroma block by applying a down-sampled luma sample of the current luma block and the one or more elements to the equation.