Lines Matching defs:alphaBlendingStruct
641 M4xVSS_internalEffectsAlphaBlending* alphaBlendingStruct =
642 (M4xVSS_internalEffectsAlphaBlending*)((M4xVSS_FramingContext*)userData)->alphaBlendingStruct;
644 M4xVSS_internalEffectsAlphaBlending* alphaBlendingStruct =
645 (M4xVSS_internalEffectsAlphaBlending*)((M4xVSS_FramingStruct*)userData)->alphaBlendingStruct;
648 if(alphaBlendingStruct != M4OSA_NULL)
650 if(pProgress->uiProgress < (M4OSA_UInt32)(alphaBlendingStruct->m_fadeInTime*10))
652 alphaBlending = ((M4OSA_Float)(alphaBlendingStruct->m_middle - alphaBlendingStruct->m_start)*pProgress->uiProgress/(alphaBlendingStruct->m_fadeInTime*10));
653 alphaBlending += alphaBlendingStruct->m_start;
656 else if(pProgress->uiProgress >= (M4OSA_UInt32)(alphaBlendingStruct->m_fadeInTime*10) && pProgress->uiProgress < 1000 - (M4OSA_UInt32)(alphaBlendingStruct->m_fadeOutTime*10))
658 alphaBlending = (M4OSA_Float)((M4OSA_Float)alphaBlendingStruct->m_middle/100);
660 else if(pProgress->uiProgress >= 1000 - (M4OSA_UInt32)(alphaBlendingStruct->m_fadeOutTime*10))
662 alphaBlending = ((M4OSA_Float)(alphaBlendingStruct->m_middle - alphaBlendingStruct->m_end))*(1000 - pProgress->uiProgress)/(alphaBlendingStruct->m_fadeOutTime*10);
663 alphaBlending += alphaBlendingStruct->m_end;
3124 framingCtx->alphaBlendingStruct =
3129 framingCtx->alphaBlendingStruct->m_fadeInTime =
3132 framingCtx->alphaBlendingStruct->m_fadeOutTime =
3135 framingCtx->alphaBlendingStruct->m_end =
3138 framingCtx->alphaBlendingStruct->m_middle =
3141 framingCtx->alphaBlendingStruct->m_start =
3472 free(framingCtx.alphaBlendingStruct);