Carlos Ojea ha scritto:
I don't know if it is related to your problem, but I think you have 2 bytes per pixel (try to adjust OSDWIN0XL, etc to (num_pixels*2))
I've found the problem, but I have no idea in how to solve it: apparently the VPBE "zooms" the pixels in horizontal. I have a 240 columns display, but I have to set OSDWIN0XL to 120, and therefore the display shows only the first 120 columns. if I set OSDWIN0XL to 240 (or 480) the visualization gets corrupted. The hardware signals are ok (i.e. I get 240 pixel clocks for each line); apparently it's the VPBE that "doubles" each pixel. Before you ask, the horizontal 2x zoom is disabled; if I enable it, the number of columns halves again. Someone has a clue on this? P.S. Another thing I've noticed (but it is the last of my concerns now :-)) is that in the RGB888 mode (MISCCTL.RGBWIN=0 and MISCCTL.RGBEN=1) the pixel size isn't 32 bit as stated in SPRUE37 page 51; it's 24 bits, i.e. three bytes per pixel, there isn't the dummy byte for 32-bit packing. Also in this case OSDWIN0XL has to be 120 and I just see the first 120 columns. Cheers, Lorenzo _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
