Hi , please my problem is how to use real constant for example 0.1913 and multiply it with an std_logic_vector(7 downto 0) and as an exmple to remplace reals b std_logic_vector , i did find that
-- Y = 0.299 * R.000 + 0.587 * G.000 + 0.114 * B.000 -- Y = 0x132 * R + 0x259 * G + 0x074 * B -- -- Cr = 0.713(R - Y) -- Cr = 0.500 * R.000 + -0.419 * G.000 - 0.0813 * B.000 -- Cr = (R >> 1) - 0x1AD * G - 0x053 * B
-- Cb = 0.565(B - Y) -- Cb = -0.169 * R.000 + -0.332 * G.000 + 0.500 * B.000 -- Cb = (B >> 1) - 0x0AD * R - 0x153 * G
please i cant get how the reals are converted like that (hexadecimal), is any one can explain it to me ? please and thank you