Home
last modified time | relevance | path

Searched refs:u32BaseWidth (Results 1 – 1 of 1) sorted by relevance

/utopia/UTPA2-700.0.x/modules/ve/drv/ve/
H A DdrvTVEncoder.c3690 const MS_U32 u32BaseWidth = 720; // maximun down-scaled width in MDrv_VE_SetWindow() local
3727 if ((stSrcWin->width > u32BaseWidth) || (stSrcWin->height > u32BaseHeight)) in MDrv_VE_SetWindow()
3729 if ((stSrcWin->width >= ((u32BaseWidth * stSrcWin->height) / u32BaseHeight))) in MDrv_VE_SetWindow()
3735 stScaledSrcWin.x = u32BaseWidth * stSrcWin->x / stSrcWin->width; in MDrv_VE_SetWindow()
3736 stScaledSrcWin.y = u32BaseWidth * stSrcWin->y / stSrcWin->width; in MDrv_VE_SetWindow()
3737 stScaledSrcWin.width = u32BaseWidth; in MDrv_VE_SetWindow()
3738 stScaledSrcWin.height = u32BaseWidth * stSrcWin->height / stSrcWin->width; in MDrv_VE_SetWindow()
3740 stScaledCropWin.x = u32BaseWidth * stCropWin->x / stSrcWin->width; in MDrv_VE_SetWindow()
3741 stScaledCropWin.y = u32BaseWidth * stCropWin->y / stSrcWin->width; in MDrv_VE_SetWindow()
3742 stScaledCropWin.width = u32BaseWidth * stCropWin->width / stSrcWin->width; in MDrv_VE_SetWindow()
[all …]