internal GRAPHICS VideoStart(VIDEO_INPUT input) { if ((video == null) && (VideoCaptureDeviceIndex >= 0)) { video = new VideoCapture(); video.Open(VideoCaptureDeviceIndex); } return(GRAPHICS.OK); }
internal GRAPHICS VideoStop(VIDEO_INPUT input) { if (video != null) { //video.Release(); //video.Dispose(); //video = null; } return(GRAPHICS.OK); }
public GRAPHICS video_write_setting(VIDEO_INPUT input, DRV_COL_SYS col_sys, IntPtr framebuff, uint fb_stride, DRV_VIDEO_FORMAT video_format, DRV_WR_RD wr_rd_swa, ushort video_write_buff_vw, ushort video_write_buff_hw, DRV_VIDEO_ADC_VINSEL video_adc_vinsel) { return(graphics.VideoWriteSetting(input, col_sys, framebuff, fb_stride, video_format, wr_rd_swa, video_write_buff_vw, video_write_buff_hw, video_adc_vinsel)); }
public GRAPHICS video_stop(VIDEO_INPUT input) { return(graphics.VideoStop(input)); }
internal GRAPHICS VideoWriteSetting(VIDEO_INPUT input, DRV_COL_SYS col_sys, IntPtr framebuff, uint fb_stride, DRV_VIDEO_FORMAT video_format, DRV_WR_RD wr_rd_swa, ushort video_write_buff_vw, ushort video_write_buff_hw, DRV_VIDEO_ADC_VINSEL video_adc_vinsel) { this.framebuff = framebuff; return(GRAPHICS.OK); }