Patent ID: 11924411
Assignee: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 7:
8. The computing device of claim 5, wherein deriving the first parameter α and the second parameter β by using four neighboring down-sampled luma samples and four corresponding chroma samples comprises:
obtaining the first parameter α and the second parameter β by using a weighted average luma value xA of two smaller luma samples xA0, xA1 from the four neighboring down-sampled luma samples, a weighted average luma value xB of two larger luma samples xB0, xB1 from the four neighboring down-sampled luma samples, a weighted average chroma value yA of two chroma samples yA0, yA1 corresponding to the two smaller luma samples, and a weighted average chroma value yB of two chroma samples yB0, yB1 corresponding to the two larger luma samples,
wherein xA, xB, yA, and yB are obtained based on following equations:

xA=(w1*xA0+w2*xA1+offset1)>>N1;

xB=(w3*xB0+w4*xB1+offset2)>>N2;

yA=(w1*yA0+w2*yA1+offset1)>>N1;

yB=(w3*yB0+w4*yB1+offset2)>>N2;

wherein w1+w2=(1<<N1), offset1=1(N1−1), w3+w4=(1<<N2), offset2=1<<(N2−1),
wherein w1 is a first weight factor, w2 is a second weight factor, w3 is a third weight factor, w4 is a fourth weight factor, N1 is the first average value, N2 is the second average value, offset1 is a first offset factor, and offset2 is a second offset factor.