Skip to content

Commit a6bf3bb

Browse files
committedJan 24, 2016
gateware/csc: fix color issue (cc and cd coefs were swapped in ycbcr2rgb
1 parent b8d8787 commit a6bf3bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎gateware/csc/ycbcr2rgb.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
def ycbcr2rgb_coefs(dw, cw=None):
1010
ca = 0.1819
1111
cb = 0.0618
12-
cc = 0.5512
13-
cd = 0.6495
12+
cc = 0.6495
13+
cd = 0.5512
1414
xcoef_w = None if cw is None else cw-2
1515
return {
1616
"ca" : coef(ca, cw),

0 commit comments

Comments
 (0)
Please sign in to comment.