| /utopia/UTPA2-700.0.x/modules/xc/drv/xc/include/ |
| H A D | mvideo_context.h | 994 #define IS_4K2K_MODE(width, height) (((width) >= XC_4K2K_WIDTH_MIN) && ((height) >= XC_4K2K_HIGH_… argument 995 #define IS_4K1K_MODE(width, height) (((width) >= XC_4K2K_WIDTH_MIN) && ((height) >= XC_4K1K_HIGH_… argument 996 #define IS_2K2K_MODE(width, height) (((width) >= XC_2K2K_WIDTH_MIN)&&((height) >= XC_2K2K_HIGH_MI… argument 997 …eWindow) ((gSrcInfo[eWindow].stCapWin.width > 3000) && (gSrcInfo[eWindow].stCapWin.height> 2000)) 998 …eWindow) ((gSrcInfo[eWindow].stCapWin.width > 3000) && (gSrcInfo[eWindow].stCapWin.height> 1050)) 999 …eWindow].stCapWin.width>=XC_2K2K_WIDTH_MIN)&&(gSrcInfo[eWindow].stCapWin.height>=XC_2K2K_HIGH_MIN)) 1000 #define IS_OUTPUT_4K2K(width, height) (((width) >= XC_4K2K_WIDTH_MIN) && ((height) >= XC_4K2K_HIGH… argument 1001 …OUTPUT_FHD(width, height) (((width) >= XC_FHD_WIDTH_MIN) && ((width) <= XC_FHD_WIDTH_MAX) && ((he… argument 1002 …OUTPUT_720(width, height) (((width) >= XC_720_WIDTH_MIN) && ((width) <= XC_720_WIDTH_MAX) && ((he… argument 1003 …OUTPUT_576(width, height) (((width) >= XC_576_WIDTH_MIN) && ((width) <= XC_576_WIDTH_MAX) && ((he… argument [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/drv/xc/ |
| H A D | mdrv_sc_3d.c | 349 …fo[eWindow].stCapWin.height=%u, Input Vfreq=%u\n",gSrcInfo[eWindow].stCapWin.height, u16InputVFreq) in MDrv_SC_3D_IsOutputVfreq48hz() 571 && (gSrcInfo[eWindow].stCapWin.height == DOUBLEHD_720X2P_VSIZE)) in MDrv_SC_3D_IsIPMFetchNoLimitCase() 730 if(gSrcInfo[eWindow].stCapWin.height == DOUBLEHD_1080X2I_VSIZE) in MDrv_SC_3D_Adjust_PreVLength() 744 pSrcInfo->u16V_Length = pSrcInfo->stDispWin.height; in MDrv_SC_3D_Adjust_PreVLength() 931 && ((gSrcInfo[eWindow].stCapWin.height == DOUBLEHD_1080X2P_VSIZE) in MDrv_SC_3D_Adjust_PreHorDstSize() 932 || (gSrcInfo[eWindow].stCapWin.height == DOUBLEHD_1080X2I_VSIZE))) in MDrv_SC_3D_Adjust_PreHorDstSize() 1073 && ((gSrcInfo[eWindow].stCapWin.height == DOUBLEHD_1080X2P_VSIZE) in MDrv_SC_3D_Adjust_PreHorDstSize() 1074 || (gSrcInfo[eWindow].stCapWin.height == DOUBLEHD_1080X2I_VSIZE))) in MDrv_SC_3D_Adjust_PreHorDstSize() 1080 u16TempWidth = 1920 * (MS_U32)pSrcInfo->stDispWin.height * 13 / 10800; in MDrv_SC_3D_Adjust_PreHorDstSize() 1282 u16ScaleSrc = pSrcInfo->stCapWin.height; in MDrv_SC_3D_Adjust_PreVerDstSize() [all …]
|
| H A D | mdrv_sc_scaling.c | 1596 …CResourcePrivate->stdrvXC_MVideo_Context.stDBreg.u16V_CapSize = gSrcInfo[eWindow].stCapWin.height; in MDrv_sc_set_capture_window() 1641 if ( gSrcInfo[eWindow].stDispWin.height == 0 ) in MDrv_SC_set_display_window() 1653 if(gSrcInfo[eWindow].stDispWin.y >= gSrcInfo[eWindow].stDispWin.height) in MDrv_SC_set_display_window() 1655 gSrcInfo[eWindow].stDispWin.y -= gSrcInfo[eWindow].stDispWin.height; in MDrv_SC_set_display_window() 1664 ….stDBreg.u16V_DisEnd = gSrcInfo[eWindow].stDispWin.y + gSrcInfo[eWindow].stDispWin.height * 2 - 1; in MDrv_SC_set_display_window() 1669 …text.stDBreg.u16V_DisEnd = gSrcInfo[eWindow].stDispWin.y + gSrcInfo[eWindow].stDispWin.height - 1; in MDrv_SC_set_display_window() 1689 …gSrcInfo[eWindow].stDispWin.height = pXCResourcePrivate->stdrvXC_MVideo_Context.g_XC_InitData.stP… in MDrv_SC_set_std_display_window() 1713 if(pSrcInfo->stCapWin.width == 0 || pSrcInfo->stCapWin.height == 0) in MDrv_SC_set_crop_window() 1715 …("XC CapWin is error ! (Width=%d,Height=%d)\n",pSrcInfo->stCapWin.width,pSrcInfo->stCapWin.height); in MDrv_SC_set_crop_window() 1724 …= (MS_U16)( (MS_U32) pCropWin->y * pSrcInfo->u16V_SizeAfterPreScaling / pSrcInfo->stCapWin.height); in MDrv_SC_set_crop_window() [all …]
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/lxdialog/ |
| H A D | textbox.c | 25 static void print_page(WINDOW * win, int height, int width); 55 int height, width, boxh, boxw; in dialog_textbox() local 67 getmaxyx(stdscr, height, width); in dialog_textbox() 68 if (height < 8 || width < 8) in dialog_textbox() 71 height = initial_height; in dialog_textbox() 73 if (height > 4) in dialog_textbox() 74 height -= 4; in dialog_textbox() 76 height = 0; in dialog_textbox() 87 y = (LINES - height) / 2; in dialog_textbox() 89 draw_shadow(stdscr, y, x, height, width); in dialog_textbox() [all …]
|
| H A D | menubox.c | 112 int height) in print_arrows() argument 132 y = y + height + 1; in print_arrows() 136 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows() 155 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument 158 int y = height - 2; in print_buttons() 186 int height, width, menu_height; in dialog_menu() local 192 height = getmaxy(stdscr); in dialog_menu() 194 if (height < 15 || width < 65) in dialog_menu() 197 height -= 4; in dialog_menu() 199 menu_height = height - 10; in dialog_menu() [all …]
|
| H A D | inputbox.c | 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 32 int y = height - 2; in print_buttons() 44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument 58 if (getmaxy(stdscr) <= (height - 2)) in dialog_inputbox() 65 y = (LINES - height) / 2; in dialog_inputbox() 67 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox() 69 dialog = newwin(height, width, y, x); in dialog_inputbox() 72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox() 75 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox() 94 print_buttons(dialog, height, width, 0); in dialog_inputbox() [all …]
|
| H A D | checklist.c | 66 int y, int x, int height) in print_arrows() argument 82 y = y + height + 1; in print_arrows() 85 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows() 101 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 104 int y = height - 2; in print_buttons() 117 int dialog_checklist(const char *title, const char *prompt, int height, in dialog_checklist() argument 135 if (getmaxy(stdscr) < (height + 6)) in dialog_checklist() 144 y = (LINES - height) / 2; in dialog_checklist() 146 draw_shadow(stdscr, y, x, height, width); in dialog_checklist() 148 dialog = newwin(height, width, y, x); in dialog_checklist() [all …]
|
| H A D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 30 int y = height - 2; in print_buttons() 42 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument 48 if (getmaxy(stdscr) < (height + 4)) in dialog_yesno() 55 y = (LINES - height) / 2; in dialog_yesno() 57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno() 59 dialog = newwin(height, width, y, x); in dialog_yesno() 62 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 65 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno() 76 print_buttons(dialog, height, width, 0); in dialog_yesno() [all …]
|
| /utopia/UTPA2-700.0.x/modules/mfe/api/mfe/ |
| H A D | yuvgen.c | 116 void YuvGen(unsigned char seed, int width, int height, volatile unsigned char *buff); 239 void ConvertYuvFromTile(int width, int height, int mode, unsigned char *in_yuv, unsigned char *out_… in ConvertYuvFromTile() argument 254 MB_in_height = height >> 4 ; in ConvertYuvFromTile() 296 u_point = out_yuv + width * height + chrstart; in ConvertYuvFromTile() 297 v_point = out_yuv + width * height + ( width >> 1 ) * ( height >> 1 ) + chrstart; in ConvertYuvFromTile() 326 int height; 340 height = atoi(argv[2]); 348 yuv = ( unsigned char *) malloc( width * height * 1.5 ) ; 357 gogo(width,height,0); 363 gogo(width,height,1); [all …]
|
| H A D | madp_mfe.c | 600 g_avs[0].height = Height; in MAdp_TSMUX_Init() 699 appPVR_Info.height = Height; in MAdp_TSMUX_Init() 972 void MPEG2TS_Init_Buf_Info(MFE_U8 frameBufferCount, MFE_U16 width, MFE_U16 height) //for DIP buffer… in MPEG2TS_Init_Buf_Info() argument 978 appPVR_Info.nDispHeight= height; in MPEG2TS_Init_Buf_Info() 980 appPVR_Info.nBufHeight= height/16*16 + (height%16!=0 ? 16:0); in MPEG2TS_Init_Buf_Info() 982 appPVR_Info.height = appPVR_Info.nBufHeight; in MPEG2TS_Init_Buf_Info() 1114 void ConvertYUVToTile(MEMMAP_t* pmmapDest, MEMMAP_t* pmmapSrc, int width, int height) in ConvertYUVToTile() argument 1116 yuv2tile(pmmapDest->miuPointer, width, height, pmmapSrc->miuPointer, 1); in ConvertYUVToTile() 1117 yuv2tile((MFE_U8 *)((MFE_U32)pmmapDest->miuPointer+width*height), width, height, in ConvertYUVToTile() 1118 (MFE_U8 *)((MFE_U32)pmmapSrc->miuPointer+width*height), 0); in ConvertYUVToTile() [all …]
|
| /utopia/UTPA2-700.0.x/modules/mfe/api/mfe_ex/ |
| H A D | yuvgen.c | 113 void YuvGen(MS_U8 seed, MS_S32 width, MS_S32 height, volatile MS_U8 *buff); 114 void YuvGen_422(MS_U8 seed, MS_S32 width, MS_S32 height, volatile MS_U8 *buff); 237 void ConvertYuvFromTile(MS_S32 width, MS_S32 height, MS_S32 mode, MS_U8 *in_yuv, MS_U8 *out_yuv) in ConvertYuvFromTile() argument 252 MB_in_height = height >> 4 ; in ConvertYuvFromTile() 294 u_point = out_yuv + width * height + chrstart; in ConvertYuvFromTile() 295 v_point = out_yuv + width * height + ( width >> 1 ) * ( height >> 1 ) + chrstart; in ConvertYuvFromTile() 324 MS_S32 height; 338 height = atoi(argv[2]); 346 yuv = ( MS_U8 *) malloc( width * height * 1.5 ) ; 355 gogo(width,height,0); [all …]
|
| /utopia/UTPA2-700.0.x/modules/graphic/api/gfx/ |
| H A D | mapiGFX.c | 936 v1->y = rect.height + v0->y - 1; in MApi_GFX_GetClip_U02() 1101 rect.height = pfillblock->dstBlock.height; in MApi_GFX_RectFill_U02() 1173 if( (pfillblock->clip_box.width != 0) && (pfillblock->clip_box.height != 0) ) in MApi_GFX_TriFill_U02() 1179 clip_y1 = pfillblock->clip_box.y + pfillblock->clip_box.height; in MApi_GFX_TriFill_U02() 1215 rectInfo.dstBlock.height = 1; in MApi_GFX_TriFill_U02() 1238 (clip.y >= dstBlock->y + dstBlock->height) || in clip_rectangle() 1239 ((clip.y + clip.height) < dstBlock->y)) in clip_rectangle() 1248 dstBlock->height += dstBlock->y - clip.y; in clip_rectangle() 1255 if ((clip.y + clip.height) < dstBlock->y + dstBlock->height - 1) in clip_rectangle() 1256 dstBlock->height = (clip.y + clip.height) - dstBlock->y + 1; in clip_rectangle() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/k6/xc/ |
| H A D | mhal_sc.c | 1202 &&(gSrcInfo[MAIN_WINDOW].stCapWin.height == 0)) in _Hal_SC1_LoadVSPFilter() 1211 &&(gSrcInfo[MAIN_WINDOW].stCapWin.height < 700)) in _Hal_SC1_LoadVSPFilter() 1464 stCropInfo.u16YSize = gSrcInfo[MAIN_WINDOW].stCropWin.height; in _Hal_SC_fill_main_sw_db_burst() 1846 stCropInfo.u16YSize = gSrcInfo[MAIN_WINDOW].stCropWin.height; in Hal_SC_sw_db() 2059 stCropInfo.u16YSize = gSrcInfo[eWindow].stCropWin.height; in Hal_SC_SWDS_AddCmd() 2215 pWin->height= SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_07_L) - pWin->y + 1; in Hal_SC_get_disp_de_window() 3321 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pdspwin->y+pdspwin->height-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3329 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pdspwin->y+pdspwin->height-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3343 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pdspwin->y+pdspwin->height-1); // Display V… in Hal_SC_set_disp_window() 3351 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK0F_0A_L, pdspwin->y+pdspwin->height-1); // Display V… in Hal_SC_set_disp_window() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/maxim/xc/ |
| H A D | mhal_pip.c | 178 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1,0xFFFF)… in Hal_SC_Sub_SetDisplayWindow_burst() 188 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height/2 + pstDispWin->y/2 - 1, 0x… in Hal_SC_Sub_SetDisplayWindow_burst() 195 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height + pstDispWin->y - 1, 0x1FFF… in Hal_SC_Sub_SetDisplayWindow_burst() 207 …MDrv_XC_MLoad_WriteCmd(g_pDevice0Instance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - … in Hal_SC_Sub_SetDisplayWindow_burst() 220 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 224 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_07_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 229 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 233 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_07_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 241 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1, 0xFFFF… in Hal_SC_Sub_SetDisplayWindow_burst() 264 SC_W2BYTE(0, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1); // Display V end in Hal_SC_Sub_SetDisplayWindow() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/M7621/xc/ |
| H A D | mhal_pip.c | 178 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1,0xFFFF)… in Hal_SC_Sub_SetDisplayWindow_burst() 188 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height/2 + pstDispWin->y/2 - 1, 0x… in Hal_SC_Sub_SetDisplayWindow_burst() 195 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height + pstDispWin->y - 1, 0x1FFF… in Hal_SC_Sub_SetDisplayWindow_burst() 207 …MDrv_XC_MLoad_WriteCmd(g_pDevice0Instance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - … in Hal_SC_Sub_SetDisplayWindow_burst() 220 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 224 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_07_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 229 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 233 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_07_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 241 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1, 0xFFFF… in Hal_SC_Sub_SetDisplayWindow_burst() 264 SC_W2BYTE(0, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1); // Display V end in Hal_SC_Sub_SetDisplayWindow() [all …]
|
| /utopia/UTPA2-700.0.x/mxlib/include/ |
| H A D | apiGOP.h | 541 MS_U16 height; member 1870 …ETCHWIN(MS_U8 u8GOP_num, EN_GOP_DST_TYPE eDstType,MS_U16 x, MS_U16 y, MS_U16 width, MS_U16 height); 2129 …WIN_GetWinAttr(MS_U8 gId, MS_U16 *x0, MS_U16 *y0, MS_U16 *width, MS_U16 *height, MS_U16 *fbPitch,… 2131 …WIN_GetWinAttr(MS_U8 gId, MS_U16 *x0, MS_U16 *y0, MS_U16 *width, MS_U16 *height, MS_U16 *fbPitch,… 2313 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateWin(MS_U16 width, MS_U16 height, MS_U16 fbFmt); 2319 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateWin2(MS_U16 width, MS_U16 height, MS_U16 fbFmt, EN_GOP_FRAMEBU… 2345 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateStaticWin(MS_U8 u8WinId, MS_U16 width, MS_U16 height, MS_U16 f… 2351 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateStaticWin2(MS_U8 u8WinId, MS_U16 width, MS_U16 height, MS_U16 … 2737 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateFBFrom3rdSurf(MS_U16 width, MS_U16 height, MS_U16 fbFmt, MS_U… 2739 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateFBFrom3rdSurf(MS_U16 width, MS_U16 height, MS_U16 fbFmt, MS_P… [all …]
|
| /utopia/UTPA2-700.0.x/modules/gpd/drv/gpd/ |
| H A D | drvgpd.c | 488 void drv_gpd_set_gif_swidth_sheight(MS_U32 width ,MS_U32 height) 493 GPDreg.h834c |=height; 498 void drv_gpd_set_iwidth_height(MS_U32 width, MS_U32 height) 500 GPDreg.h8330 = ((height<<GPD_IHEIGHT_SHF)|width); 503 pheight=height; 513 void drv_gpd_set_ROI(MS_U32 enable,MS_U32 hstart, MS_U32 vstart, MS_U32 width, MS_U32 height) 520 GPDreg.h834c |= height|(enable<<16); 563 void drv_gpd_set_gif_swidth_sheight(MS_U32 width ,MS_U32 height) in drv_gpd_set_gif_swidth_sheight() argument 566 GPD_SET_MS_U32REG(reg_gpd_roi_height, height); in drv_gpd_set_gif_swidth_sheight() 586 void drv_gpd_set_ROI(MS_U32 enable, MS_U32 hstart, MS_U32 vstart, MS_U32 width, MS_U32 height) in drv_gpd_set_ROI() argument [all …]
|
| /utopia/UTPA2-700.0.x/modules/graphic/drv/ge/ |
| H A D | drvGE.c | 550 (rect0->y+rect0->height-1 < rect1->dstblk.y) || in GE_RectOverlap() 551 (rect0->y > rect1->dstblk.y+rect1->dstblk.height-1)) in GE_RectOverlap() 571 if((pGeRect->y > u16MajorY) || ((pGeRect->y+pGeRect->height-1) < u16MajorY)) in GE_TrapezoidOverlap() 596 … if(((pGeRect->y+pGeRect->height-1) >= u16MinorY) && ((pGeRect->y+pGeRect->height-1) <= u16MajorY)) in GE_TrapezoidOverlap() 601 u16CheckMinorX1 += ((u16DeltaX/u16DeltaY) * (pGeRect->y+pGeRect->height-1-u16MinorY)); in GE_TrapezoidOverlap() 605 u16CheckMinorX1 -= ((u16DeltaX/u16DeltaY) * (pGeRect->y+pGeRect->height-1-u16MinorY)); in GE_TrapezoidOverlap() 627 … if(((pGeRect->y+pGeRect->height-1) >= u16MinorY) && ((pGeRect->y+pGeRect->height-1) <= u16MajorY)) in GE_TrapezoidOverlap() 632 u16CheckMajorX1 += ((u16DeltaX/u16DeltaY) * (pGeRect->y+pGeRect->height-1-u16MinorY)); in GE_TrapezoidOverlap() 636 u16CheckMajorX1 -= ((u16DeltaX/u16DeltaY) * (pGeRect->y+pGeRect->height-1-u16MinorY)); in GE_TrapezoidOverlap() 1018 geBlitSrc.height = pTrapeBatchBlitObj->u32SrcH; in GE_TrapezoidBlitEx() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/M7821/xc/ |
| H A D | mhal_pip.c | 178 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1,0xFFFF)… in Hal_SC_Sub_SetDisplayWindow_burst() 188 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height/2 + pstDispWin->y/2 - 1, 0x… in Hal_SC_Sub_SetDisplayWindow_burst() 195 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height + pstDispWin->y - 1, 0x1FFF… in Hal_SC_Sub_SetDisplayWindow_burst() 207 …MDrv_XC_MLoad_WriteCmd(g_pDevice0Instance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - … in Hal_SC_Sub_SetDisplayWindow_burst() 216 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 221 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 229 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1, 0xFFFF… in Hal_SC_Sub_SetDisplayWindow_burst() 252 SC_W2BYTE(0, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1); // Display V end in Hal_SC_Sub_SetDisplayWindow() 261 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1); in Hal_SC_Sub_SetDisplayWindow() 266 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1); in Hal_SC_Sub_SetDisplayWindow() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/manhattan/xc/ |
| H A D | mhal_pip.c | 178 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1,0xFFFF)… in Hal_SC_Sub_SetDisplayWindow_burst() 186 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height/2 + pstDispWin->y/2 - 1, 0x… in Hal_SC_Sub_SetDisplayWindow_burst() 193 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height + pstDispWin->y - 1, 0x1FFF… in Hal_SC_Sub_SetDisplayWindow_burst() 205 …MDrv_XC_MLoad_WriteCmd(g_pDevice0Instance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - … in Hal_SC_Sub_SetDisplayWindow_burst() 214 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 219 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 227 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1, 0xFFFF… in Hal_SC_Sub_SetDisplayWindow_burst() 250 SC_W2BYTE(0, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1); // Display V end in Hal_SC_Sub_SetDisplayWindow() 259 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1); in Hal_SC_Sub_SetDisplayWindow() 264 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1); in Hal_SC_Sub_SetDisplayWindow() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/maserati/xc/ |
| H A D | mhal_pip.c | 178 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1,0xFFFF)… in Hal_SC_Sub_SetDisplayWindow_burst() 188 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height/2 + pstDispWin->y/2 - 1, 0x… in Hal_SC_Sub_SetDisplayWindow_burst() 195 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_13_L, pstDispWin->height + pstDispWin->y - 1, 0x1FFF… in Hal_SC_Sub_SetDisplayWindow_burst() 207 …MDrv_XC_MLoad_WriteCmd(g_pDevice0Instance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - … in Hal_SC_Sub_SetDisplayWindow_burst() 216 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 221 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1,VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 229 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1, 0xFFFF… in Hal_SC_Sub_SetDisplayWindow_burst() 252 SC_W2BYTE(0, REG_SC_BK0F_0A_L, pstDispWin->height + pstDispWin->y - 1); // Display V end in Hal_SC_Sub_SetDisplayWindow() 261 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1); in Hal_SC_Sub_SetDisplayWindow() 266 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pstDispWin->height + pstDispWin->y - 1); in Hal_SC_Sub_SetDisplayWindow() [all …]
|
| /utopia/UTPA2-700.0.x/modules/graphic/api/gop/ |
| H A D | apiGOP.c | 570 pinfo->u16RBlkVPixSize = win_info.height; in MApi_GOP_GWIN_GetWinInfo() 2178 win_info.height = pinfo->u16RBlkVPixSize; in MApi_GOP_GWIN_SetWinInfo() 2279 MS_U8 MApi_GOP_GWIN_CreateWin(MS_U16 width, MS_U16 height, MS_U16 fbFmt) in MApi_GOP_GWIN_CreateWin() argument 2287 MApi_GOP_GWIN_Create32FB(u32FBId,0,0,width,height,fbFmt); in MApi_GOP_GWIN_CreateWin() 2306 MS_U8 MApi_GOP_GWIN_CreateWin2(MS_U16 width, MS_U16 height, MS_U16 fbFmt, EN_GOP_FRAMEBUFFER_STRING… in MApi_GOP_GWIN_CreateWin2() argument 2314 MApi_GOP_GWIN_Create32FB2_EXT(u32FBId, 0, 0, width, height, fbFmt ,FBString); in MApi_GOP_GWIN_CreateWin2() 2362 MS_U8 MApi_GOP_GWIN_CreateStaticWin(MS_U8 u8WinId, MS_U16 width, MS_U16 height, MS_U16 fbFmt) in MApi_GOP_GWIN_CreateStaticWin() argument 2369 MApi_GOP_GWIN_Create32FB(u32FBId,0,0,width,height,fbFmt); in MApi_GOP_GWIN_CreateStaticWin() 2384 MS_U8 MApi_GOP_GWIN_CreateStaticWin2(MS_U8 u8WinId, MS_U16 width, MS_U16 height, MS_U16 fbFmt, EN_G… in MApi_GOP_GWIN_CreateStaticWin2() argument 2391 MApi_GOP_GWIN_Create32FB2_EXT(u32FBId, 0, 0, width, height, fbFmt ,FBString); in MApi_GOP_GWIN_CreateStaticWin2() [all …]
|
| /utopia/UTPA2-700.0.x/modules/ve/drv/ve/ |
| H A D | drvTVEncoder.c | 1805 …if(stDispWin.y + stDispWin.height > u16Out_Vsize) {stDispWin.height = u16Out_Vsize ; MSG_DRV_VE("h… in _MDrv_VE_set_display_window() 1806 … Window: x/y/w/h = %u, %u, %u, %u\n", stDispWin.x, stDispWin.y, stDispWin.width, stDispWin.height); in _MDrv_VE_set_display_window() 1813 MDrv_VE_set_scaling_ratio(stDispWin.width,stDispWin.height); in _MDrv_VE_set_display_window() 1878 if(stDispWin.y + stDispWin.height > u16Out_Vsize) { in MDrv_VE_set_be_display_window() 1890 … Window: x/y/w/h = %u, %u, %u, %u\n", stDispWin.x, stDispWin.y, stDispWin.width, stDispWin.height); in MDrv_VE_set_be_display_window() 1892 MDrv_VE_set_scaling_ratio(stDispWin.width, stDispWin.height); in MDrv_VE_set_be_display_window() 1894 Hal_VE_Set_VScale_Output_Line_Number((stDispWin.height) / 2); // field size in MDrv_VE_set_be_display_window() 2390 u16FieldLineNum = ((stCropWin.height) / 2) - 1; in MDrv_VE_set_crop_window() 2397 g_VEInfo.u16V_CapSize = stCropWin.height; in MDrv_VE_set_crop_window() 3727 if ((stSrcWin->width > u32BaseWidth) || (stSrcWin->height > u32BaseHeight)) in MDrv_VE_SetWindow() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/kano/xc/ |
| H A D | mhal_sc.c | 1283 stCropInfo.u16YSize = gSrcInfo[MAIN_WINDOW].stCropWin.height; in _Hal_SC_fill_main_sw_db_burst() 1655 stCropInfo.u16YSize = gSrcInfo[MAIN_WINDOW].stCropWin.height; in Hal_SC_sw_db() 1866 stCropInfo.u16YSize = gSrcInfo[eWindow].stCropWin.height; in Hal_SC_SWDS_AddCmd() 2027 pWin->height= SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_07_L) - pWin->y + 1; in Hal_SC_get_disp_de_window() 3090 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_0B_L, pdspwin->y+pdspwin->height-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3098 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_0A_L, pdspwin->y+pdspwin->height-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3112 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L, pdspwin->y+pdspwin->height-1); // Display V… in Hal_SC_set_disp_window() 3120 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK0F_0A_L, pdspwin->y+pdspwin->height-1); // Display V… in Hal_SC_set_disp_window() 3140 …pdspwin->height = SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_0B_L) - pdspwin->y + 1; // Displ… in Hal_SC_get_disp_window() 3148 …pdspwin->height = SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK0F_0A_L) - pdspwin->y + 1; // Displ… in Hal_SC_get_disp_window() [all …]
|
| /utopia/UTPA2-700.0.x/projects/tmplib/include/ |
| H A D | apiGOP.h | 509 MS_U16 height; member 1760 …ETCHWIN(MS_U8 u8GOP_num, EN_GOP_DST_TYPE eDstType,MS_U16 x, MS_U16 y, MS_U16 width, MS_U16 height); 2006 …WIN_GetWinAttr(MS_U8 gId, MS_U16 *x0, MS_U16 *y0, MS_U16 *width, MS_U16 *height, MS_U16 *fbPitch,… 2187 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateWin(MS_U16 width, MS_U16 height, MS_U16 fbFmt); 2193 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateWin2(MS_U16 width, MS_U16 height, MS_U16 fbFmt, EN_GOP_FRAMEBU… 2219 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateStaticWin(MS_U8 u8WinId, MS_U16 width, MS_U16 height, MS_U16 f… 2225 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateStaticWin2(MS_U8 u8WinId, MS_U16 width, MS_U16 height, MS_U16 … 2594 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_CreateFBFrom3rdSurf(MS_U16 width, MS_U16 height, MS_U16 fbFmt, MS_P… 2607 DLL_PUBLIC MS_U8 MApi_GOP_GWIN_Create32FBFrom3rdSurf(MS_U16 width, MS_U16 height, MS_U16 fbFmt, MS… 2613 …yStaticAddr(MS_U8 fbId, MS_U16 dispX, MS_U16 dispY, MS_U16 width, MS_U16 height, MS_U16 fbFmt, MS… [all …]
|