Tool/software: TI-RTOS
Hi All,
I am using VSDK usecase to display two png images using VID2 pipeline. One of the image (smaller resolution image) needs to be overlayed on other background image.The smaller image has some part as transparent background. But when I try display, the transparent part is shown as black on top of background image. So please guide me on how to control the transparancy for the smaller image.
and also I have tried to play with DISPC Overlay Optimization, DISPC Transparency Color Keys and color key transparency in chains_common.c file in ChainsCommon_SetDctrlConfig function but nothing helpful. Below is the snippet.
ovlyPrms->deltaLinesPerPanel = 0;
ovlyPrms->alphaBlenderEnable = 0;
ovlyPrms->backGroundColor = 0x0;
ovlyPrms->colorKeyEnable = 1;
ovlyPrms->colorKeySel = SYSTEM_DSS_DISPC_TRANS_COLOR_KEY_SRC;
ovlyPrms->ovlyOptimization = SYSTEM_DSS_DISPC_OVLY_FETCH_OPTIMIZED;
ovlyPrms->transColorKey = DRAW2D_TRANSPARENT_COLOR;