Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Newstruct and DVB-C with QAM_256



Sergei Haller wrote:
 > On Thu, 4 Jul 2002, Holger Waechtler (HW) wrote:
 >
 > So why don't you scale by 257: [0x00...0xFF]*257 = [0x0000...0xFFFF]
 >
 > ... but wait, 257 = 0x101, so 0xXY * 0x101 = 0xXYXY ...
 >
 > so scaling by 257 is the same as duplicating the 8 bit values...
 >

but computationally a little more expensive -- a multiplication costs 
more than the shift-or combination
;)

well it does not really matter, I'm sure there are still about 100 other 
ways to do it...

Holger




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index