你好,使用dm8148的vin port hdvpss采集摄像头的分辨率为640x480 30fs,BT656输入。摄像头测试过信号是正常的。
使用的是DVRRDK_04.01.00.02来开发。
prm_cap_inst->standard = VSYS_STD_VGA_60;
prm_cap_inst->videoIfMode = DEVICE_CAPT_VIDEO_IF_MODE_8BIT;
prm_cap_inst->videoCaptureMode = DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
/* setting vcap input resolution: THIS MUST late of caplink create */
vcapSetRes.queId = 0;
vcapSetRes.chId = 0;
vcapSetRes.width = 640;
vcapSetRes.height = 480;
System_linkControl(gVcapModuleContext.captureId, CAPTURE_LINK_CMD_SET_RESOLUTION, &(vcapSetRes),sizeof(vcapSetRes), TRUE);
实际信息打印:
[m3vpss ] 205879: CAPTURE: Create in progress !!!
[m3vpss ] 205917: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Non-mux Embedded Sync] !!!
...
[m3vpss ] 207691: CAPTURE: Start in progress !!!
[m3vpss ] 207791: CAPTURE: Enabled Time Stamping !!!
[m3vpss ] 207793: CAPTURE: Start Done !!!
[m3vpss ] 207842: CAPTURE: Dynamic resolution change: width: 640, height: 480!
[m3vpss ] DISPLAY:Runtime Size change:[1920x1080->640x480] for Inst 0
..
[m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
[m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
[m3vpss ] ------------------------------------------------------------------------------------------------------------
[m3vpss ] 000 | 37 19 18 0 0 0 720 / 720 288 / 288 15 0 0/0 (0/0)
[m3vpss ]
[m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ]
[m3vpss ] *** Capture List Manager Advanced Statistics ***
是否hdvpss 不支持640*480分辨率采集,或者需要如何配置,才能改变HDVPSS的采集分辨率?