This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OSD supported formats

Hello, Texas Instruments!

In VPBE User Guide (SPRUFG9C) I met that maximum width of one bitmap pixel is 8 bit (p.98). Also it supports RGB 16-bit and RGB 24-bit. 
Is it possible to set transparency attributes in OSD1_window for OSD0_window which displays RGB or it is only for bitmap? And what is the difference between blend effect and transparency effect, could somebody explain, please? Theoretically both effects take each color from mixing windows with appropriate coefficients.

Does OSD recognize the format (bitmap vs RGB) only by corresponding bootarg? (I mean for example osd0=720x480x16). And what depth will be set when writing more than possible depth, e.g. 32 bits?

Thanks in advance.

  • Hi,

    Is it possible to set transparency attributes in OSD1_window for OSD0_window which displays RGB or it is only for bitmap? And what is the difference between blend effect and transparency effect, could somebody explain, please? Theoretically both effects take each color from mixing windows with appropriate coefficients.

    You have separate register set for OSD0 and OSD1 to enable the transparency and

    these are independent of each other.   And to set transparency for OSD1 it shouldnt

    be in attribute mode (ie it should be in OSD window mode look look OASW bit of OSDWIN1MD

    register).  So now the question arises why do you want to enable transparency for OSD0

    through OSD1?

    When transparency is enabled in bitmap mode transparency is only performed for pixels

    whose bitmap value is 0, according to BLND0/BLND1 and if enabled in RGB

    mode  the pixel value is the same as in the transparency value setup register (TRANSPVAL),

    the YCbCr data converted from the RGB value and video windows are blended according to the

    blending ratio specified in BLND0/BLND1.

    The OSD also supports transparency blending mode. If transparency is enabled, any pixel on

    the bitmap display that has a value of 0 will be transparent (or partially transparent) and

    allow the underlying video pixel to be displayed based on the blending factor.

    Thx,

    --Prabhakar Lad