Skip to content

Instantly share code, notes, and snippets.

View zhanwang-sky's full-sized avatar
:octocat:
Building future...

zhanwang-sky

:octocat:
Building future...
View GitHub Profile
@yohhoy
yohhoy / yuvrgb.md
Last active April 2, 2025 23:15
RGB <=> YCbCr(YPbPr) color space conversion
Y  = a * R + b * G + c * B
Cb = (B - Y) / d
Cr = (R - Y) / e
BT.601 BT.709 BT.2020
a 0.299 0.2126 0.2627
b 0.587 0.7152 0.6780