Mailing List archive

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

[linux-dvb] Re: Need help understanding OSD ioctls, mostly SetColor and SetBlock.



Klaus Schmidinger wrote:

> Chris Worley wrote:
> You can have 1, 2, 4 or 8 bpp. However, since OSD memory is very limited,
> using more than 4bpp leaves you with only a very small usable OSD area.
> 
> Another drawback of the DVB card's OSD is that it isn't very fast.
> Drawing a lot of text with many separate calls is way too slow to be
> useful. That's why VDR mainly uses the OSD_SetBlock call to transfer
> a bitmap (or parts of it) from VDR's memory to the OSD. This works fast
> enough to be useful (IMHO).

Klaus,

Thanks for responding.

4bpp works, 8bpp doesn't (for SetPixel, FillBlock, or SetBlock).  The 
routines all return zero, but nothing is drawn.  I fill all 256 color 
palette entries with a valid color (and 0xf0 blend), but no graphics. 
  It works fine if I switch to 4bpp (and make a 16 entry color table).
Where can I learn more about OSD memory (and what I need to handle 
8bpp graphics correctly)?

Another reply to this post said DirectFB works for the DVB cards.  Is 
that true?  If so, then there should be some way to get a memory 
mapped pointer directly into the DVB-S cards graphics framebuffer memory?

Thanks,

Chris




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



Home | Main Index | Thread Index