I'm stuck on what constant to use. framebuffer[i] = 0x80108010; /* black in YCbCr 4:2:2*/ Y: 16.000, Cb: 128.000, Cr: 128.000 hex: 10 80 80
somehow that is 80 10 80 10 I'm trying to do this: YCbCr (84, 130, 213) = debian red https://encycolorpedia.com/d70a53 hex: 54 82 d5 framebuffer[i] = 0x ??? On Tue, Jun 18, 2019 at 2:39 AM Tim 'mithro' Ansell <m...@mith.ro> wrote: > > That seems pretty likely. Give it a go and see what happens? > > Tim 'mithro' Ansell > > On Tue, 18 Jun 2019 at 06:15, Carl Karsten <c...@nextdayvideo.com> wrote: >> >> if there is no input signal, we get black. >> I would like there to be something else, like purple. >> >> is this the bit that needs changing? >> >> framebuffer[i] = 0x80108010; /* black in YCbCr 4:2:2*/ >> https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/firmware/hdmi_in0.c#L170 >> >> -- >> Carl K >> >> -- >> You received this message because you are subscribed to the Google Groups >> "hdmi2usb - A HDMI capture solution" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to hdmi2usb+unsubscr...@googlegroups.com. >> To view this discussion on the web, visit >> https://groups.google.com/d/msgid/hdmi2usb/CADmzSSjZ0t4vDaz5mc%2BnejY3Zdz_cQwA8t4gsX22Q%2Bjii0Hpnw%40mail.gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "hdmi2usb - A HDMI capture solution" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to hdmi2usb+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/hdmi2usb/CAHLUNMyMhMUhndSUP2M8FhL4oxpnLRQwfaJWndVOaLbx8t%3DzPw%40mail.gmail.com. -- Carl K -- You received this message because you are subscribed to the Google Groups "hdmi2usb - A HDMI capture solution" group. To unsubscribe from this group and stop receiving emails from it, send an email to hdmi2usb+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/hdmi2usb/CADmzSSiXz11jAhnJVfy0s%3DrAnkuwJp2oid4hM2cMfWE8yiqxWA%40mail.gmail.com.