Go Back   DisplayLink Forum > DisplayLink Applications > Embedded Applications

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-27-2016, 05:14 AM   #1
Jim2220
Junior Member
 
Join Date: Nov 2015
Posts: 11
Default Bug fix: dlo_grfx.c function cmd_stripe24 with width exactly 256 pixels

I had a problem calling dlo_copy_host_bmp with a width of exactly 256 bytes. The resulting display had only one line. The line with my comment fixed it.

end = base8 + (BYTES_PER_8BPP * width); // line 724 of dlo_grfx.c
/* Jim adds this guess */ rem=width;
for (; base8 < end; base8 += BYTES_PER_8BPP * RAW_MAX_PIXELS)

Is libdlo under active support?
Jim2220 is offline   Reply With Quote
Reply

Tags
256 pixels, bug, cmd_stripe24, dlo_copy_host_bmp, libdlo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.