亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? parse_capture_cmdline.c

?? SigmDesign SMP8634 media decode chip development SDK
?? C
?? 第 1 頁 / 共 3 頁
字號:
					options->override.ColorFormat = EMhwlibInputColorFormat_16BPP_565;				} else if (! strcmp(argv[argi], "16_1555")) {					options->override.ColorFormat = EMhwlibInputColorFormat_16BPP_1555;				} else if (! strcmp(argv[argi], "16_4444")) {					options->override.ColorFormat = EMhwlibInputColorFormat_16BPP_4444;				} else if (! strcmp(argv[argi], "31_7888")) {					options->override.ColorFormat = EMhwlibInputColorFormat_31BPP_7888;				} else {					RMDBGPRINT((ENABLE, "unknown color format: %s!\n", argv[argi]));					err = RM_ERROR;				}				SCANPARAM(options->override.Width, "please specify a width", 2);				SCANPARAM(options->override.Height, "please specify a height", 3);			} else {				RMDBGPRINT((ENABLE, "please specify a color format after %s\n", argv[argi - 1]));				err = RM_ERROR;			}		}		else if (! strcmp(&(argv[argi][1]), "freerun")) {			if ((argi + 1 < argc) && (argv[argi + 1][0] != '-')) {				SCANPARAM(options->audio_free_run, "please specify a value", 1);			} else {				options->audio_free_run = TRUE;			}		}		else {			err = RM_PENDING;		}	}	if (err == RM_OK) 		*index = argi + 1;		return err;}// return frame size and interlaced statusstatic RMstatus get_video_size(	struct RUA *pInstance, 	enum EMhwlibTVStandard standard,	RMuint32 *x_size,	RMuint32 *y_size, 	RMbool *interlaced){	RMstatus err;	struct EMhwlibTVFormatDigital format;		err = RUAExchangeProperty(pInstance, DisplayBlock, 		RMDisplayBlockPropertyID_TVFormatDigital, 		&standard, sizeof(standard), 		&format, sizeof(format));	if (RMSUCCEEDED(err)) {		*interlaced = format.TopFieldHeight ? TRUE : FALSE;		*x_size = format.ActiveWidth;		*y_size = format.ActiveHeight;		if (*interlaced) {			*y_size += format.ActiveHeight - format.YOffsetBottom + format.YOffsetTop;		}	}		return err;}void get_aspect_ratio_from_video_mode(	enum EMhwlibTVStandard TVStandard, 	struct EMhwlibTVFormatDigital *pTVFormat, 	RMbool wide,  // ambiguous modes (SDTV,EDTV): FALSE=4:3, TRUE=16:9 anamorphic	RMuint32 *asp_x, 	RMuint32 *asp_y){	if (!asp_x || !asp_y) return;		// determine aspect ratio from video mode	switch (TVStandard) {	case EMhwlibTVStandard_Custom:		if (pTVFormat) {			*asp_x = pTVFormat->ActiveWidth;			*asp_y = pTVFormat->ActiveHeight;			reduce_aspect_ratio(asp_x, asp_y, 0);		} else {			*asp_x = 4;			*asp_y = 3;		}		break;	case EMhwlibTVStandard_HDMI_720p59: 	case EMhwlibTVStandard_HDMI_720p60: 	case EMhwlibTVStandard_HDMI_1080i59: 	case EMhwlibTVStandard_HDMI_1080i60: 	case EMhwlibTVStandard_HDMI_1080p59: 	case EMhwlibTVStandard_HDMI_1080p60: 	case EMhwlibTVStandard_HDMI_720p50: 	case EMhwlibTVStandard_HDMI_1080i50: 	case EMhwlibTVStandard_HDMI_1080p50: 	case EMhwlibTVStandard_HDMI_1080p23: 	case EMhwlibTVStandard_HDMI_1080p24: 	case EMhwlibTVStandard_HDMI_1080p25: 	case EMhwlibTVStandard_HDMI_1080p29: 	case EMhwlibTVStandard_HDMI_1080p30: 	case EMhwlibTVStandard_HDMI_1080i50_1250: 	case EMhwlibTVStandard_HDMI_1080i100: 	case EMhwlibTVStandard_HDMI_720p100: 	case EMhwlibTVStandard_HDMI_1080i119: 	case EMhwlibTVStandard_HDMI_1080i120: 	case EMhwlibTVStandard_HDMI_720p119: 	case EMhwlibTVStandard_HDMI_720p120: 	case EMhwlibTVStandard_1080p60: 	case EMhwlibTVStandard_1080p59: 	case EMhwlibTVStandard_1080p50: 	case EMhwlibTVStandard_1080i60: 	case EMhwlibTVStandard_1080i59: 	case EMhwlibTVStandard_1080i50: 	case EMhwlibTVStandard_1080i48: 	case EMhwlibTVStandard_1080i47: 	case EMhwlibTVStandard_1080p30: 	case EMhwlibTVStandard_1080p29: 	case EMhwlibTVStandard_1080p25: 	case EMhwlibTVStandard_1080p24: 	case EMhwlibTVStandard_1080p23: 	case EMhwlibTVStandard_1080i50_1250: 	case EMhwlibTVStandard_1080p50_1250: 	case EMhwlibTVStandard_720p60: 	case EMhwlibTVStandard_720p59: 	case EMhwlibTVStandard_720p50: 	case EMhwlibTVStandard_720p30: 	case EMhwlibTVStandard_720p29: 	case EMhwlibTVStandard_720p25: 	case EMhwlibTVStandard_720p24: 	case EMhwlibTVStandard_720p23: 	case EMhwlibTVStandard_VESA_1360x768x60: 	case EMhwlibTVStandard_VESA_1280x720x60: 	case EMhwlibTVStandard_VESA_1280x720x75: 	case EMhwlibTVStandard_VESA_1920x1080x60i: 		*asp_x = 16;		*asp_y = 9;		break;	case EMhwlibTVStandard_VESA_1280x768x60RB: 	case EMhwlibTVStandard_VESA_1280x768x60: 	case EMhwlibTVStandard_VESA_1280x768x75: 	case EMhwlibTVStandard_VESA_1280x768x85: 		*asp_x = 5;		*asp_y = 3;		break;	case EMhwlibTVStandard_VESA_1280x1024x60: 	case EMhwlibTVStandard_VESA_1280x1024x75: 	case EMhwlibTVStandard_VESA_1280x1024x85: 	case EMhwlibTVStandard_CVT_1280x1024x50: 	case EMhwlibTVStandard_CVT_1280x1024x60: 	case EMhwlibTVStandard_CVT_1280x1024x75: 	case EMhwlibTVStandard_CVT_1280x1024x85: 		*asp_x = 5;		*asp_y = 4;		break;	case EMhwlibTVStandard_VESA_1920x1200x60RB: 	case EMhwlibTVStandard_VESA_1920x1200x60: 	case EMhwlibTVStandard_VESA_1920x1200x75: 	case EMhwlibTVStandard_VESA_1920x1200x85: 	case EMhwlibTVStandard_VESA_1440x900x60RB: 	case EMhwlibTVStandard_VESA_1440x900x60: 	case EMhwlibTVStandard_VESA_1440x900x75: 	case EMhwlibTVStandard_VESA_1680x1050x60RB: 	case EMhwlibTVStandard_VESA_1680x1050x60: 		*asp_x = 8;		*asp_y = 5;		break;	case EMhwlibTVStandard_VESA_720x400x70: 		*asp_x = 9;		*asp_y = 5;		break;		// SD/ED modes, ambiguous	case EMhwlibTVStandard_HDMI_480p59: 	case EMhwlibTVStandard_HDMI_480p60: 	case EMhwlibTVStandard_HDMI_480i59: 	case EMhwlibTVStandard_HDMI_480i60: 	case EMhwlibTVStandard_HDMI_1440x480i59: 	case EMhwlibTVStandard_HDMI_1440x480i60: 	case EMhwlibTVStandard_HDMI_240p59: 	case EMhwlibTVStandard_HDMI_240p60: 	case EMhwlibTVStandard_HDMI_1440x240p59: 	case EMhwlibTVStandard_HDMI_1440x240p60: 	case EMhwlibTVStandard_HDMI_2880x480i59: 	case EMhwlibTVStandard_HDMI_2880x480i60: 	case EMhwlibTVStandard_HDMI_2880x240p59: 	case EMhwlibTVStandard_HDMI_2880x240p60: 	case EMhwlibTVStandard_HDMI_1440x480p59: 	case EMhwlibTVStandard_HDMI_1440x480p60: 	case EMhwlibTVStandard_HDMI_576p50: 	case EMhwlibTVStandard_HDMI_576i50: 	case EMhwlibTVStandard_HDMI_1440x576i50: 	case EMhwlibTVStandard_HDMI_288p50: 	case EMhwlibTVStandard_HDMI_1440x288p50: 	case EMhwlibTVStandard_HDMI_2880x576i50: 	case EMhwlibTVStandard_HDMI_2880x288p50: 	case EMhwlibTVStandard_HDMI_1440x576p50: 	case EMhwlibTVStandard_HDMI_2880x480p59: 	case EMhwlibTVStandard_HDMI_2880x480p60: 	case EMhwlibTVStandard_HDMI_2880x576p50: 	case EMhwlibTVStandard_HDMI_576p100: 	case EMhwlibTVStandard_HDMI_576i100: 	case EMhwlibTVStandard_HDMI_1440x576i100: 	case EMhwlibTVStandard_HDMI_480p119: 	case EMhwlibTVStandard_HDMI_480p120: 	case EMhwlibTVStandard_HDMI_480i119: 	case EMhwlibTVStandard_HDMI_480i120: 	case EMhwlibTVStandard_HDMI_1440x480i119: 	case EMhwlibTVStandard_HDMI_1440x480i120: 	case EMhwlibTVStandard_HDMI_576p200: 	case EMhwlibTVStandard_HDMI_576i200: 	case EMhwlibTVStandard_HDMI_1440x576i200: 	case EMhwlibTVStandard_HDMI_480p239: 	case EMhwlibTVStandard_HDMI_480p240: 	case EMhwlibTVStandard_HDMI_480i239: 	case EMhwlibTVStandard_HDMI_480i240: 	case EMhwlibTVStandard_HDMI_1440x480i239: 	case EMhwlibTVStandard_HDMI_1440x480i240: 	case EMhwlibTVStandard_ITU_Bt656_525: 	case EMhwlibTVStandard_ITU_Bt656_240p: 	case EMhwlibTVStandard_NTSC_M_Japan: 	case EMhwlibTVStandard_NTSC_M: 	case EMhwlibTVStandard_PAL_60: 	case EMhwlibTVStandard_PAL_M: 	case EMhwlibTVStandard_480p59: 	case EMhwlibTVStandard_NTSC_M_Japan_714: 	case EMhwlibTVStandard_NTSC_M_714: 	case EMhwlibTVStandard_PAL_60_714: 	case EMhwlibTVStandard_PAL_M_714: 	case EMhwlibTVStandard_480p59_714: 	case EMhwlibTVStandard_ITU_Bt656_625: 	case EMhwlibTVStandard_ITU_Bt656_288p: 	case EMhwlibTVStandard_PAL_BG: 	case EMhwlibTVStandard_PAL_N: 	case EMhwlibTVStandard_576p50: 	case EMhwlibTVStandard_PAL_BG_702: 	case EMhwlibTVStandard_PAL_N_702: 	case EMhwlibTVStandard_576p50_702: 		if (wide) {			*asp_x = 16;			*asp_y = 9;			break;		}		// all others, 4:3	default:		*asp_x = 4;		*asp_y = 3;		break;	}}static RMstatus build_capture_profile(	struct RUA *pInstance, 	struct capture_cmdline *ip, 	struct DCCCaptureProfile *cp){	RMstatus err;	RMuint32 x_size, y_size;	RMbool interlaced;		if (ip->SurfaceColorSpace == EMhwlibColorSpace_None) 		ip->SurfaceColorSpace = ip->InputColorSpace;		err = get_video_size(pInstance, ip->TVStandard, &x_size, &y_size, &interlaced);	if (RMFAILED(err)) {		RMDBGLOG((ENABLE, "Could not find video format #%u: %s\n", ip->TVStandard, RMstatusToString(err)));		return err;	}		ip->over_pos_x = ip->shift_x - (ip->ov_lft << ((ip->bussize == 8) ? 1 : 0));	ip->over_pos_y = ip->shift_y - ip->ov_top;	ip->over_width = (ip->ov_lft + ip->ov_rgt) << ((ip->bussize == 8) ? 1 : 0);	ip->over_height = ip->ov_top + ip->ov_bot;		cp->SamplingMode = ip->SamplingMode;	cp->ColorMode = ip->ColorMode;	cp->Width = x_size + ip->over_width;	cp->Height = y_size + ip->over_height;	cp->OrigWidth = x_size;	cp->OrigHeight = y_size;	cp->Interlaced = interlaced;	cp->ColorSpace = ip->SurfaceColorSpace;	cp->DeInt = ip->DeInt;	cp->UseV2Pads = ip->UseV2Pads;		if (ip->bussize == 8) {		cp->ColorFormat = EMhwlibColorFormat_16BPP_565;	} else if (ip->bussize == 16) {		switch(ip->InputColorFormat) {		case EMhwlibInputColorFormat_24BPP:		case EMhwlibInputColorFormat_16BPP_565:			cp->ColorFormat = EMhwlibColorFormat_16BPP_565;			break;		case EMhwlibInputColorFormat_24BPP_8565:		case EMhwlibInputColorFormat_24BPP_5676:		case EMhwlibInputColorFormat_32BPP:		case EMhwlibInputColorFormat_16BPP_4444:		case EMhwlibInputColorFormat_31BPP_7888:			cp->ColorFormat = EMhwlibColorFormat_16BPP_4444;			break;		case EMhwlibInputColorFormat_16BPP_1555:			cp->ColorFormat = EMhwlibColorFormat_16BPP_1555;			break;		}	} else if (ip->bussize == 32) {		switch(ip->InputColorFormat) {		case EMhwlibInputColorFormat_24BPP:		case EMhwlibInputColorFormat_16BPP_565:			cp->ColorFormat = EMhwlibColorFormat_24BPP;			break;		case EMhwlibInputColorFormat_24BPP_8565:		case EMhwlibInputColorFormat_24BPP_5676:		case EMhwlibInputColorFormat_32BPP:		case EMhwlibInputColorFormat_16BPP_1555:		case EMhwlibInputColorFormat_16BPP_4444:		case EMhwlibInputColorFormat_31BPP_7888:			cp->ColorFormat = EMhwlibColorFormat_32BPP;			break;		}	}		// convert picture aspect ratio to pixel aspect ratio or vice versa	// TODO use picture aspect ratio directly, when implemented in irq handler.	if (ip->PixelAspectRatio.X && ip->PixelAspectRatio.Y) {		cp->PixelAspectRatio = ip->PixelAspectRatio;		cp->PictureAspectRatio.X = cp->PixelAspectRatio.X * cp->OrigWidth;		cp->PictureAspectRatio.Y = cp->PixelAspectRatio.Y * cp->OrigHeight;		reduce_aspect_ratio(&(cp->PictureAspectRatio.X), &(cp->PictureAspectRatio.Y), 255);	} else {		cp->PictureAspectRatio = ip->PictureAspectRatio;		cp->PixelAspectRatio.X = cp->PictureAspectRatio.X * cp->OrigHeight;		cp->PixelAspectRatio.Y = cp->PictureAspectRatio.Y * cp->OrigWidth;		reduce_aspect_ratio(&(cp->PixelAspectRatio.X), &(cp->PixelAspectRatio.Y), 255);	}		return err;}RMstatus setup_capture(	struct dcc_context *dcc_info, 	struct DCCVideoSource **ppVideoSource, 	struct capture_cmdline *capture_opt, 	RMuint16 **ppVBIData, 	struct ReceiveObject_type **ppR, 	struct RUABufferPool **ppDmaReceive, 	RMuint32 TimerNumber, 	RMbool use_gpio, 	RMbool inv_fid){	RMstatus err;	struct DCCCaptureProfile cp;	RMuint32 old_vbi_size;		if (! ppVideoSource) {		RMDBGLOG((ENABLE, "ppVideoSource can not be NULL!\n"));		return RM_FATALINVALIDPOINTER;	}	// create capture profile from options	err = build_capture_profile(dcc_info->pRUA, capture_opt, &cp);	if (RMFAILED(err)) {		RMDBGLOG((ENABLE, "Could not build capture profile: %s\n", RMstatusToString(err)));		return err;	}		// open (and potentially create) video source	if (EMHWLIB_MODULE_CATEGORY(capture_opt->InputModuleID) == DispVideoInput) {		err = DCCOpenVideoInputSource(dcc_info->pDCC, &cp, TimerNumber, capture_opt->dram, ppVideoSource);	} else if (EMHWLIB_MODULE_CATEGORY(capture_opt->InputModuleID) == DispGraphicInput) {		err = DCCOpenGraphicInputSource(dcc_info->pDCC, &cp, TimerNumber, capture_opt->dram, ppVideoSource);	} else if (EMHWLIB_MODULE_CATEGORY(capture_opt->InputModuleID) == DispColorBars) {		capture_opt->disablescaler = TRUE;		capture_opt->guess = FALSE;		return RM_OK;	} else {		err = RM_ERROR;	}	if (RMFAILED(err)) {		RMDBGLOG((ENABLE, "Could not open video source: %s\n", RMstatusToString(err)));		return err;	}		// set up input	if (capture_opt->InputModuleID == DispGraphicInput) {		err = DCCSetupGraphicInput(dcc_info->pDCC, 			capture_opt->TVStandard, 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情文学综合网| 精品国产乱码久久久久久久| 国产精品第13页| 日韩欧美另类在线| 一区二区三区日本| 欧美精品少妇一区二区三区| 亚洲国产视频直播| 日韩一区二区三区av| 麻豆一区二区三| 国产亚洲人成网站| 色欧美乱欧美15图片| 亚洲人成网站在线| 91精品婷婷国产综合久久| 激情综合网av| 亚洲日本在线观看| 日韩一级片在线播放| www.日韩av| 日本亚洲免费观看| 中文字幕在线观看不卡| 欧美日韩国产一二三| 国产伦精品一区二区三区免费迷| 中文字幕日本不卡| 精品久久久久一区二区国产| 国产成人在线视频网站| 天堂蜜桃一区二区三区 | 婷婷六月综合亚洲| 中文字幕国产一区| 日韩一级二级三级| 欧美图区在线视频| 播五月开心婷婷综合| 久久99精品久久久久久动态图| 国产精品高潮呻吟| 精品嫩草影院久久| 日韩丝袜情趣美女图片| 欧美亚洲综合久久| av激情成人网| 成人av在线资源| 国产福利一区二区| 久久97超碰国产精品超碰| 天天操天天色综合| 中文字幕制服丝袜成人av| 日韩三级视频在线看| 国产suv一区二区三区88区| 精彩视频一区二区三区| 免费不卡在线视频| 青青草国产精品97视觉盛宴| 亚洲电影一区二区| 五月婷婷色综合| 日本视频一区二区三区| 蜜桃久久av一区| 久草中文综合在线| 国产成人久久精品77777最新版本| 狠狠色狠狠色合久久伊人| 久久精品免费看| 免费观看久久久4p| 国内精品免费在线观看| 成人蜜臀av电影| 色婷婷狠狠综合| 91精品蜜臀在线一区尤物| 日韩免费高清av| 亚洲欧洲99久久| 天天综合网天天综合色| 国产精品正在播放| 色综合久久九月婷婷色综合| 91麻豆精品国产91| 日本一区二区三区高清不卡| 最新国产の精品合集bt伙计| 一区二区三区四区在线免费观看| 亚洲成va人在线观看| 国产激情偷乱视频一区二区三区| 91天堂素人约啪| 日韩美女在线视频| 亚洲免费在线观看视频| 久久精品999| 91视频在线观看免费| 亚洲天堂免费看| 免费人成在线不卡| 在线视频国内自拍亚洲视频| 26uuu精品一区二区在线观看| 亚洲精品高清在线| 成人av午夜影院| 国产女人18水真多18精品一级做| 天堂蜜桃一区二区三区| 日本精品一级二级| 日韩一区中文字幕| 国产91综合网| 国产婷婷色一区二区三区四区| 亚洲成av人影院| 欧美日韩综合在线| 一区二区三区高清| 成人美女在线观看| 久久亚洲精品国产精品紫薇| 性感美女久久精品| 在线观看免费一区| 亚洲综合视频网| 色哟哟一区二区在线观看| 国产精品久99| 91丨porny丨在线| 亚洲精品高清在线观看| 欧美日韩在线三区| 亚洲国产成人高清精品| 欧美卡1卡2卡| 美腿丝袜亚洲综合| 久久精品一区二区三区不卡牛牛| 精品一区二区三区欧美| 亚洲国产精品av| 日本韩国精品在线| 麻豆freexxxx性91精品| 久久久国产午夜精品| 色综合咪咪久久| 日日夜夜免费精品视频| 久久综合九色综合97婷婷| 国产精品资源在线| 亚洲在线视频免费观看| 欧美电影免费观看高清完整版在 | 亚洲视频一区二区在线| 丁香网亚洲国际| 亚洲综合av网| 精品久久久久久最新网址| 国产一区二区三区久久悠悠色av | 亚洲欧美一区二区三区孕妇| 色综合久久99| 久久国产综合精品| 国产精品视频一二| 精品视频一区二区三区免费| 99综合电影在线视频| 自拍偷自拍亚洲精品播放| 欧美日韩一区二区在线观看| 蜜臀av一区二区在线免费观看 | 色婷婷av一区二区三区之一色屋| 日韩精品乱码免费| 国产精品国产a| 欧美成人精品福利| 91电影在线观看| 成人精品gif动图一区| 日韩黄色片在线观看| 国产精品久久久久久久久果冻传媒 | 国产亚洲自拍一区| 制服.丝袜.亚洲.另类.中文| 成人午夜精品在线| 国产原创一区二区三区| 亚洲一区二区精品视频| 亚洲精品欧美专区| 国产精品福利一区二区| 国产精品色在线观看| 国产精品每日更新| 亚洲图片另类小说| 狠狠色综合色综合网络| 石原莉奈在线亚洲二区| 亚洲777理论| 亚洲精选视频在线| 中文字幕一区二区5566日韩| 国产性天天综合网| 国产日韩av一区| 久久久电影一区二区三区| 久久久久久久久久久久久夜| 国产三级一区二区| 亚洲人一二三区| 亚洲欧美一区二区久久| 艳妇臀荡乳欲伦亚洲一区| 亚洲一二三四区不卡| 一区二区三区**美女毛片| 日本不卡中文字幕| 国产乱淫av一区二区三区| 99精品视频一区| 4hu四虎永久在线影院成人| 国产欧美日本一区视频| 一区二区视频免费在线观看| 日韩综合小视频| 成人av网站在线| 91精品国产综合久久久久久漫画 | 国产在线精品不卡| av电影天堂一区二区在线观看| 在线视频欧美精品| 欧美zozo另类异族| 亚洲综合在线观看视频| 久久国内精品自在自线400部| 不卡在线观看av| 91精品国产综合久久久久久久久久| 日韩美女久久久| 国产老妇另类xxxxx| 欧美一区三区二区| 亚洲国产精品综合小说图片区| 成人高清av在线| 久久青草欧美一区二区三区| 亚洲黄色在线视频| 春色校园综合激情亚洲| 久久影院视频免费| 天堂一区二区在线免费观看| 色综合色狠狠天天综合色| 中文在线一区二区| 国产乱一区二区| www日韩大片| 久久99国产精品麻豆| 日韩三级免费观看| 日韩精品欧美精品| 久久老女人爱爱| 成人午夜短视频| 亚洲男人的天堂av| 欧美日韩亚洲综合一区|