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.

Alpha blending on captured video with DM6467

Hi,

I need to display timestamps with transparent background (Capture date/time) on the captured video on DM6467.But In DM6467 VDCE is support only 2-bits(4 colors).
I suspect VDCE can support alpha blending.
Could you give me some advises to solve OSD problem.
Thanks!
  • just set the bConfigParams.palette can fixed the problem

    Blend_Config_Params bConfigParams = Blend_Config_Params_DEFAULT;

    Int8 palette[4][4] = {    
    { 0x80, 0x80, 0x01, 0x00 },     
    { 0x80, 0x80, 0xf0, 0xff },    
    { 0x80, 0x80, 0xf8, 0xff },    
    { 0x80, 0x80, 0xff, 0xff },
    };  //change Transparency from 0xff to 0x00 for compeletely transparent
        int i, j;
        for (i=0; i<4; i++)
        {
            for (j=0; j<4; j++)
            {
                bConfigParams.palette[i][j] = palette[i][j];
            }
        }