Web lists-archives.com

Re: Any update on em28xx on igevp2 ?




On Thu, Mar 18, 2010 at 9:09 AM, John Banks <john.banks@xxxxxxxxxxxxxxx> wrote:
> On Thu, 2010-03-18 at 13:26 +0100, Gert-Jan de Jonge wrote:
>> Hi Devin,
>>
>> just some extra info:
>>
>> I have tested the difference on the arm board compared to the pc:
>>   int  height=576;
>>   height >>= 576;
>>   printf("%d\n", height);
>>
>> on arm it gives a 0, on the pc it gives 576.
>> on both i get a warning from the compiler, as in my test code the 576 is
>> hardcoded in stead of a variable
>> warning: right shift count >= width of type ( which is logical ;) )

Well, rotating an 8-bit unsigned integer 576 places to the right would
definitely not be a good thing.  :-)

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list