| /utopia/UTPA2-700.0.x/modules/pq/hal/manhattan/pq/ |
| H A D | mhal_pq_adaptive.c | 1056 void DEBUG_LC_DBKWidth(void *pInstance, const MS_U8 width ) in DEBUG_LC_DBKWidth() argument 1061 if ( width == 8 ) in DEBUG_LC_DBKWidth() 1065 else if ( width == 16 ) in DEBUG_LC_DBKWidth() 1069 else if ( width <=22 && width>=20 ) in DEBUG_LC_DBKWidth() 5910 MS_U16 width = stXCStatus->ScaledCropWin.width; in MDrv_SC_GetNoiseLevel() local 5913 MS_U16 hEnd = ( __max( width - letterBoxState->lbCntR - 50, 0 ) ) / 10; in MDrv_SC_GetNoiseLevel() 8958 int DBK_StPtLeft( int width, MS_U8 *BLKN_adj, int rangeLeft, int rangeRight) //Left to right search in DBK_StPtLeft() argument 8969 int L1Index = __minmax(bin-width , 0, frameWidth-1); in DBK_StPtLeft() 8970 int L1Index2 = __minmax(bin-width-1, 0, frameWidth-1); in DBK_StPtLeft() 8978 int L2Index = __minmax(l1 -width , 0, frameWidth-1); in DBK_StPtLeft() [all …]
|
| /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 #define IS_INPUT_4K2K(eWindow) ((gSrcInfo[eWindow].stCapWin.width > 3000) && (gSrcInfo[eWindow].s… 998 #define IS_INPUT_4K1K(eWindow) ((gSrcInfo[eWindow].stCapWin.width > 3000) && (gSrcInfo[eWindow].s… 999 #define IS_INPUT_2K2K(eWindow) ((gSrcInfo[eWindow].stCapWin.width>=XC_2K2K_WIDTH_MIN)&&(gSrcInfo[… 1000 #define IS_OUTPUT_4K2K(width, height) (((width) >= XC_4K2K_WIDTH_MIN) && ((height) >= XC_4K2K_HIGH… argument 1001 #define IS_OUTPUT_FHD(width, height) (((width) >= XC_FHD_WIDTH_MIN) && ((width) <= XC_FHD_WIDTH_MA… argument 1002 #define IS_OUTPUT_720(width, height) (((width) >= XC_720_WIDTH_MIN) && ((width) <= XC_720_WIDTH_MA… argument 1003 #define IS_OUTPUT_576(width, height) (((width) >= XC_576_WIDTH_MIN) && ((width) <= XC_576_WIDTH_MA… argument [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); 26 static void print_line(WINDOW * win, int row, 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() 78 width = initial_width; in dialog_textbox() 80 if (width > 5) in dialog_textbox() 81 width -= 5; in dialog_textbox() 83 width = 0; in dialog_textbox() 86 x = (COLS - width) / 2; in dialog_textbox() [all …]
|
| H A D | inputbox.c | 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 31 int x = width / 2 - 11; in print_buttons() 44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument 60 if (getmaxx(stdscr) <= (width - 2)) in dialog_inputbox() 64 x = (COLS - width) / 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() 76 for (i = 0; i < width - 2; i++) in dialog_inputbox() 81 print_title(dialog, title, width); in dialog_inputbox() [all …]
|
| H A D | util.c | 239 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument 246 for (j = 0; j < width; j++) in attr_clear() 273 int height, width; in init_dialog() local 276 getmaxyx(stdscr, height, width); in init_dialog() 277 if (height < 19 || width < 80) { in init_dialog() 312 void print_title(WINDOW *dialog, const char *title, int width) in print_title() argument 315 int tlen = MIN(width - 2, strlen(title)); in print_title() 317 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' '); in print_title() 318 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen); in print_title() 329 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) in print_autowrap() argument [all …]
|
| H A D | menubox.c | 155 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument 157 int x = width / 2 - 16; in print_buttons() 186 int height, width, menu_height; in dialog_menu() local 193 width = getmaxx(stdscr); in dialog_menu() 194 if (height < 15 || width < 65) in dialog_menu() 198 width -= 5; in dialog_menu() 204 x = (COLS - width) / 2; in dialog_menu() 207 draw_shadow(stdscr, y, x, height, width); in dialog_menu() 209 dialog = newwin(height, width, y, x); in dialog_menu() 212 draw_box(dialog, 0, 0, height, width, in dialog_menu() [all …]
|
| H A D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 29 int x = width / 2 - 10; in print_buttons() 42 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument 50 if (getmaxx(stdscr) < (width + 4)) in dialog_yesno() 54 x = (COLS - width) / 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() 66 for (i = 0; i < width - 2; i++) in dialog_yesno() 71 print_title(dialog, title, width); in dialog_yesno() [all …]
|
| H A D | checklist.c | 101 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 103 int x = width / 2 - 11; in print_buttons() 118 int width, int list_height) in dialog_checklist() argument 137 if (getmaxx(stdscr) < (width + 6)) in dialog_checklist() 143 x = (COLS - width) / 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() 151 draw_box(dialog, 0, 0, height, width, in dialog_checklist() 155 for (i = 0; i < width - 2; i++) in dialog_checklist() 160 print_title(dialog, title, width); in dialog_checklist() [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 249 image_x = width; in ConvertYuvFromTile() 251 MB_in_width = width >> 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() 323 MS_S32 width; 337 width = atoi(argv[1]); 346 yuv = ( MS_U8 *) malloc( width * height * 1.5 ) ; [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 251 image_x = width; in ConvertYuvFromTile() 253 MB_in_width = width >> 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() 325 int width; 339 width = atoi(argv[1]); 348 yuv = ( unsigned char *) malloc( width * height * 1.5 ) ; 357 gogo(width,height,0); [all …]
|
| H A D | madp_mfe.c | 599 g_avs[0].width = Width; in MAdp_TSMUX_Init() 698 appPVR_Info.width = Width; 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 977 appPVR_Info.nDispWidth= width; in MPEG2TS_Init_Buf_Info() 979 appPVR_Info.nBufWidth = width/16*16 + (width%16!=0 ? 16:0); in MPEG2TS_Init_Buf_Info() 981 appPVR_Info.width = appPVR_Info.nBufWidth; 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/xc/hal/k6/xc/ |
| H A D | mhal_sc.c | 1201 &&(gSrcInfo[MAIN_WINDOW].stCapWin.width == 0) in _Hal_SC1_LoadVSPFilter() 1210 if((gSrcInfo[MAIN_WINDOW].stCapWin.width < 1200) in _Hal_SC1_LoadVSPFilter() 1361 …== HAL_SC_CVBS_TEST_STREAM_WIDTH) && (gSrcInfo[MAIN_WINDOW].ScaledCropWin.width == HAL_SC_CVBS_TES… in _Hal_SC_fill_main_sw_db_burst() 1463 stCropInfo.u16XSize = gSrcInfo[MAIN_WINDOW].stCropWin.width; in _Hal_SC_fill_main_sw_db_burst() 1743 …ize == HAL_SC_CVBS_TEST_STREAM_WIDTH) && (gSrcInfo[eWindow].ScaledCropWin.width == HAL_SC_CVBS_TES… in Hal_SC_sw_db() 1845 stCropInfo.u16XSize = gSrcInfo[MAIN_WINDOW].stCropWin.width; in Hal_SC_sw_db() 2058 stCropInfo.u16XSize = gSrcInfo[eWindow].stCropWin.width; in Hal_SC_SWDS_AddCmd() 2214 pWin->width = SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_05_L) - pWin->x + 1; in Hal_SC_get_disp_de_window() 3319 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_09_L, pdspwin->x+pdspwin->width-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3327 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_08_L, pdspwin->x+pdspwin->width-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() [all …]
|
| /utopia/UTPA2-700.0.x/projects/tools/lint/aeon_include/machine/ |
| H A D | spr_defs.h | 1215 #define L_EXT(v, width, bitpos) \ argument 1217 __asm__ volatile ("l.ext\t%0,%1,%2,%3" : "=r"(_result_) : "r"(_v_), "K"(width), "r"(_b_)); \ 1220 #define L_EXTI(v, width, bitpos) \ argument 1222 __asm__ volatile ("l.exti\t%0,%1,%2,%3" : "=r"(_result_) : "r"(_v_), "K"(width), "K"(bitpos)); \ 1225 #define L_EXTU(v, width, bitpos) \ argument 1227 __asm__ volatile ("l.extu\t%0,%1,%2,%3" : "=r"(_result_) : "r"(_v_), "K"(width), "r"(_b_)); \ 1230 #define L_EXTUI(v, width, bitpos) \ argument 1232 … __asm__ volatile ("l.extui\t%0,%1,%2,%3" : "=r"(_result_) : "r"(_v_), "K"(width), "K"(bitpos)); \ 1235 #define L_EXTR(v, width, bitpos) \ argument 1236 ({ int _result_, _v_ = v, _width_ = width, _b_ = bitpos; \ [all …]
|
| /utopia/UTPA2-700.0.x/modules/graphic/api/gfx/ |
| H A D | mapiGFX.c | 935 v1->x = rect.width + v0->x - 1; in MApi_GFX_GetClip_U02() 1082 …Result) MDrv_GE_DrawLine(g_apiGFXLocal.g_pGEContext, &v0, &v1, color, color2, flags, pline->width); in MApi_GFX_DrawLine_U02() 1100 rect.width = pfillblock->dstBlock.width; in MApi_GFX_RectFill_U02() 1173 if( (pfillblock->clip_box.width != 0) && (pfillblock->clip_box.height != 0) ) in MApi_GFX_TriFill_U02() 1177 clip_x1 = pfillblock->clip_box.x + pfillblock->clip_box.width; in MApi_GFX_TriFill_U02() 1203 rectInfo.dstBlock.width = ABS(dda0.xi - dda1.xi); in MApi_GFX_TriFill_U02() 1206 if ( (bClip == 1) && (clip_x1 < rectInfo.dstBlock.x + rectInfo.dstBlock.width) ) in MApi_GFX_TriFill_U02() 1207 rectInfo.dstBlock.width = clip_x1 - rectInfo.dstBlock.x + 1; in MApi_GFX_TriFill_U02() 1209 if (rectInfo.dstBlock.width > 0) { in MApi_GFX_TriFill_U02() 1211 rectInfo.dstBlock.width -= (clip_x0 - rectInfo.dstBlock.x); in MApi_GFX_TriFill_U02() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/kano/xc/ |
| H A D | mhal_sc.c | 1176 …== HAL_SC_CVBS_TEST_STREAM_WIDTH) && (gSrcInfo[MAIN_WINDOW].ScaledCropWin.width == HAL_SC_CVBS_TES… in _Hal_SC_fill_main_sw_db_burst() 1282 stCropInfo.u16XSize = gSrcInfo[MAIN_WINDOW].stCropWin.width; in _Hal_SC_fill_main_sw_db_burst() 1548 …ize == HAL_SC_CVBS_TEST_STREAM_WIDTH) && (gSrcInfo[eWindow].ScaledCropWin.width == HAL_SC_CVBS_TES… in Hal_SC_sw_db() 1654 stCropInfo.u16XSize = gSrcInfo[MAIN_WINDOW].stCropWin.width; in Hal_SC_sw_db() 1865 stCropInfo.u16XSize = gSrcInfo[eWindow].stCropWin.width; in Hal_SC_SWDS_AddCmd() 2026 pWin->width = SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_05_L) - pWin->x + 1; in Hal_SC_get_disp_de_window() 3088 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_09_L, pdspwin->x+pdspwin->width-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3096 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_08_L, pdspwin->x+pdspwin->width-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3110 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_09_L, pdspwin->x+pdspwin->width-1); // Display H… in Hal_SC_set_disp_window() 3118 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK0F_08_L, pdspwin->x+pdspwin->width-1); // Display H… in Hal_SC_set_disp_window() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/curry/xc/ |
| H A D | mhal_sc.c | 1089 …== HAL_SC_CVBS_TEST_STREAM_WIDTH) && (gSrcInfo[MAIN_WINDOW].ScaledCropWin.width == HAL_SC_CVBS_TES… in _Hal_SC_fill_main_sw_db_burst() 1195 stCropInfo.u16XSize = gSrcInfo[MAIN_WINDOW].stCropWin.width; in _Hal_SC_fill_main_sw_db_burst() 1461 …ize == HAL_SC_CVBS_TEST_STREAM_WIDTH) && (gSrcInfo[eWindow].ScaledCropWin.width == HAL_SC_CVBS_TES… in Hal_SC_sw_db() 1567 stCropInfo.u16XSize = gSrcInfo[MAIN_WINDOW].stCropWin.width; in Hal_SC_sw_db() 1778 stCropInfo.u16XSize = gSrcInfo[eWindow].stCropWin.width; in Hal_SC_SWDS_AddCmd() 1939 pWin->width = SC_R2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_05_L) - pWin->x + 1; in Hal_SC_get_disp_de_window() 3001 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_09_L, pdspwin->x+pdspwin->width-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3009 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_08_L, pdspwin->x+pdspwin->width-1,0x1FFF); // Disp… in Hal_SC_set_disp_window() 3023 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_09_L, pdspwin->x+pdspwin->width-1); // Display H… in Hal_SC_set_disp_window() 3031 …SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK0F_08_L, pdspwin->x+pdspwin->width-1); // Display H… in Hal_SC_set_disp_window() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/drv/xc/ |
| H A D | mdrv_sc_3d.c | 417 return ((((pSrcInfo->stCapWin.width > SCALER_LINE_BUFFER_MAX) // 4K2K or 2560x720 SBS-FULL in MDrv_SC_3D_Is2TapModeSupportedFormat() 420 || ((pSrcInfo->stCapWin.width > MS_3D_LINE_BFF_MAX) in MDrv_SC_3D_Is2TapModeSupportedFormat() 439 return ((pSrcInfo->stCapWin.width > MS_3D_LINE_BFF_MAX) in MDrv_SC_3D_Is2TapModeSupportedFormat() 894 if(pSrcInfo->u16H_SizeAfterPreScaling >= pSrcInfo->stDispWin.width) in MDrv_SC_3D_Adjust_PreHorDstSize() 898 … ((pSrcInfo->stCropWin.x != 0) || (pSrcInfo->stCropWin.width != pSrcInfo->stCapWin.width))) in MDrv_SC_3D_Adjust_PreHorDstSize() 901 …Scaling = ((pSrcInfo->stCapWin.width*pSrcInfo->stDispWin.width)+(pSrcInfo->stCropWin.width/2))/pS… in MDrv_SC_3D_Adjust_PreHorDstSize() 906 pSrcInfo->u16H_SizeAfterPreScaling = pSrcInfo->stDispWin.width; in MDrv_SC_3D_Adjust_PreHorDstSize() 919 if(pSrcInfo->u16H_SizeAfterPreScaling > pSrcInfo->stDispWin.width) in MDrv_SC_3D_Adjust_PreHorDstSize() 921 pSrcInfo->u16H_SizeAfterPreScaling = pSrcInfo->stDispWin.width; in MDrv_SC_3D_Adjust_PreHorDstSize() 987 pSrcInfo->u16H_SizeAfterPreScaling = pSrcInfo->stCapWin.width; in MDrv_SC_3D_Adjust_PreHorDstSize() [all …]
|
| H A D | mdrv_sc_scaling.c | 1597 …XCResourcePrivate->stdrvXC_MVideo_Context.stDBreg.u16H_CapSize = gSrcInfo[eWindow].stCapWin.width; in MDrv_sc_set_capture_window() 1634 if ( gSrcInfo[eWindow].stDispWin.width == 0 ) in MDrv_SC_set_display_window() 1637 …ntext.stDBreg.u16H_DisEnd = gSrcInfo[eWindow].stDispWin.x + gSrcInfo[eWindow].stDispWin.width - 1; in MDrv_SC_set_display_window() 1688 …gSrcInfo[eWindow].stDispWin.width = 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 …printf("XC CapWin is error ! (Width=%d,Height=%d)\n",pSrcInfo->stCapWin.width,pSrcInfo->stCapWin.h… in MDrv_SC_set_crop_window() 1721 … = (MS_U16)((MS_U32)pCropWin->x * pSrcInfo->u16H_SizeAfterPreScaling / pSrcInfo->stCapWin.width); in MDrv_SC_set_crop_window() 1722 …Win.width = (MS_U16)( ( (MS_U32)pCropWin->width * pSrcInfo->u16H_SizeAfterPreScaling + ( pSrcInfo-… in MDrv_SC_set_crop_window() 1726 …XC_LOG_TRACE(XC_DBGLEVEL_SETWINDOW,"W=%u, W PSD=%u\n", pSrcInfo->stCapWin.width , pSrcInfo->u16H_… in MDrv_SC_set_crop_window() 1727 …Win.x, gSrcInfo[eWindow].ScaledCropWin.y, gSrcInfo[eWindow].ScaledCropWin.width, gSrcInfo[eWindow]… in MDrv_SC_set_crop_window() [all …]
|
| /utopia/UTPA2-700.0.x/mxlib/include/ |
| H A D | apiGOP.h | 539 MS_U16 width; 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 …esult MApi_GOP_GWIN_GetWinAttr(MS_U8 gId, MS_U16 *x0, MS_U16 *y0, MS_U16 *width, MS_U16 *height, … 2131 …esult MApi_GOP_GWIN_GetWinAttr(MS_U8 gId, MS_U16 *x0, MS_U16 *y0, MS_U16 *width, MS_U16 *height, … 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/graphic/api/gop/ |
| H A D | apiGOP.c | 342 static MS_U32 GOP_CalcPitch(MS_U8 fbFmt, MS_U16 width) in GOP_CalcPitch() argument 349 pitch = (width) >> 3; in GOP_CalcPitch() 352 pitch = (width<<1) >> 3; in GOP_CalcPitch() 355 pitch = (width<<2) >> 3; in GOP_CalcPitch() 358 pitch = width; in GOP_CalcPitch() 374 pitch = width << 1; in GOP_CalcPitch() 381 pitch = width << 2; in GOP_CalcPitch() 569 pinfo->u16RBlkHPixSize = win_info.width; in MApi_GOP_GWIN_GetWinInfo() 2177 win_info.width = pinfo->u16RBlkHPixSize; 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 [all …]
|
| /utopia/UTPA2-700.0.x/modules/graphic/drv/ge/ |
| H A D | drvGE.c | 548 (rect0->x+rect0->width-1 < rect1->dstblk.x) || in GE_RectOverlap() 549 (rect0->x > rect1->dstblk.x+rect1->dstblk.width-1) || in GE_RectOverlap() 642 if((pGeRect->x > u16CheckMajorX0) || ((pGeRect->x+pGeRect->width-1)<u16CheckMinorX0)) in GE_TrapezoidOverlap() 650 if((pGeRect->x > u16CheckMajorX1) || ((pGeRect->x+pGeRect->width-1)<u16CheckMinorX1)) in GE_TrapezoidOverlap() 1017 geBlitSrc.width = pTrapeBatchBlitObj->u32SrcW; in GE_TrapezoidBlitEx() 1022 geBlitDst.dstblk.width = FIX32_TO_INT(s32FixDstX1) - geBlitDst.dstblk.x + 1; in GE_TrapezoidBlitEx() 1055 …litObj.u32SrcX = (u32Flags & E_GE_FLAG_BLT_MIRROR_H) ? pSrcRect->x : (pSrcRect->x+pSrcRect->width); in GE_TrapezoidBlit() 1079 …tObj.u32SrcX = (u32Flags & E_GE_FLAG_BLT_MIRROR_H) ? (pSrcRect->x+pSrcRect->width-1) : pSrcRect->x; in GE_TrapezoidBlit() 1081 geTrapeBatchBlitObj.u32SrcW = pSrcRect->width; in GE_TrapezoidBlit() 1129 geFillDst.width = FIX32_TO_INT(s32FixDstX1) - geFillDst.x + 1; in GE_TrapezoidFillEx() [all …]
|
| /utopia/UTPA2-700.0.x/modules/gpd/drv/gpd/ |
| H A D | dgif_lib.c | 253 MS_U32 width, MS_U32 height, MS_U32 pitch) in FillBkColor() argument 313 for (i = 0; i < width * pixelbytes; i += pixelbytes) in FillBkColor() 325 for (i = 0; i < width * pixelbytes; i += pixelbytes) in FillBkColor() 337 for (i = 0; i < width * pixelbytes; i += pixelbytes) in FillBkColor() 343 memcpy(framebuff + pitch * i, framebuff, width * pixelbytes); in FillBkColor() 356 if (left > image_roi.hstart + image_roi.width) in GetFrameROI() 357 left = image_roi.hstart + image_roi.width; in GetFrameROI() 361 if (right > image_roi.hstart + image_roi.width) in GetFrameROI() 362 right = image_roi.hstart + image_roi.width; in GetFrameROI() 376 frame_roi.width = right - left; in GetFrameROI() [all …]
|
| H A D | drvgpd.c | 488 void drv_gpd_set_gif_swidth_sheight(MS_U32 width ,MS_U32 height) 491 GPDreg.h8348 |=(width<<GPD_ROI_WIDTH_SHF); 498 void drv_gpd_set_iwidth_height(MS_U32 width, MS_U32 height) 500 GPDreg.h8330 = ((height<<GPD_IHEIGHT_SHF)|width); 502 pwidth=width; 513 void drv_gpd_set_ROI(MS_U32 enable,MS_U32 hstart, MS_U32 vstart, MS_U32 width, MS_U32 height) 516 GPDreg.h8348 = vstart|(width<<16); 563 void drv_gpd_set_gif_swidth_sheight(MS_U32 width ,MS_U32 height) in drv_gpd_set_gif_swidth_sheight() argument 565 GPD_SET_MS_U32REG(reg_gpd_roi_width, width); 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/ve/drv/ve/ |
| H A D | drvTVEncoder.c | 1804 …if(stDispWin.x + stDispWin.width > u16Out_Hsize) {stDispWin.width = u16Out_Hsize ; MSG_DRV_VE("wid… 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() 1873 if(stDispWin.x + stDispWin.width > u16Out_Hsize) { in MDrv_VE_set_be_display_window() 1885 if((stDispWin.width & 0x1) == 0x1) in MDrv_VE_set_be_display_window() 1887 stDispWin.width = stDispWin.width + 1; 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() 1893 Hal_VE_Set_HScale_Output_Line_Number(stDispWin.width); in MDrv_VE_set_be_display_window() 2382 u8PackPerLine = (stCropWin.width / u16PixelPerUnit) - 1; in MDrv_VE_set_crop_window() [all …]
|
| /utopia/UTPA2-700.0.x/modules/xc/hal/maxim/xc/ |
| H A D | mhal_pip.c | 146 MS_U16 DispWinEnd = pstDispWin->x + pstDispWin->width-1 ; in Hal_SC_Sub_SetDisplayWindow_burst() 176 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_08_L, pstDispWin->width + pstDispWin->x - 1,0xFFFF);… in Hal_SC_Sub_SetDisplayWindow_burst() 186 … MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_11_L, pstDispWin->width/2 + u16DsipX - 1, 0x3FFF); in Hal_SC_Sub_SetDisplayWindow_burst() 193 … MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK68_11_L, pstDispWin->width + u16DsipX - 1, 0x3FFF); in Hal_SC_Sub_SetDisplayWindow_burst() 205 …MDrv_XC_MLoad_WriteCmd(g_pDevice0Instance, REG_SC_BK0F_08_L, pstDispWin->width + pstDispWin->x - 1… in Hal_SC_Sub_SetDisplayWindow_burst() 211 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_09_L, (u16HDEStart/2+ pstDispWin->width - 1),VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 215 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK10_05_L, (u16HDEStart/2+ pstDispWin->width - 1),VOP_DIS… in Hal_SC_Sub_SetDisplayWindow_burst() 239 …MDrv_XC_MLoad_WriteCmd(pInstance, REG_SC_BK0F_08_L, pstDispWin->width + pstDispWin->x - 1, 0xFFFF)… in Hal_SC_Sub_SetDisplayWindow_burst() 262 SC_W2BYTE(0, REG_SC_BK0F_08_L, pstDispWin->width + pstDispWin->x - 1); // Display H end in Hal_SC_Sub_SetDisplayWindow() 269 … SC_W2BYTE(psXCInstPri->u32DeviceID, REG_SC_BK10_09_L, (u16HDEStart/2+ pstDispWin->width - 1)); in Hal_SC_Sub_SetDisplayWindow() [all …]
|