Skip to content

Commit

Permalink
gateware/csc: fix color issue (cc and cd coefs were swapped in ycbcr2rgb
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jan 24, 2016
1 parent b8d8787 commit a6bf3bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateware/csc/ycbcr2rgb.py
Expand Up @@ -9,8 +9,8 @@
def ycbcr2rgb_coefs(dw, cw=None):
ca = 0.1819
cb = 0.0618
cc = 0.5512
cd = 0.6495
cc = 0.6495
cd = 0.5512
xcoef_w = None if cw is None else cw-2
return {
"ca" : coef(ca, cw),
Expand Down

0 comments on commit a6bf3bb

Please sign in to comment.