background image

UFG-10 Family 

Frame Grabbers

 

Easy  
Programming 
Guide  

Windows

 

Содержание UFG-10 series

Страница 1: ...UFG 10 Family Frame Grabbers Easy Programming Guide Windows ...

Страница 2: ...duct and to revise the information about the products contained in this manual without an obligation to notify any persons about such revisions or changes Edition UFG 10 Easy Programming Guide Rev 1 1 0 129 8 Document identifier Date 02 October 2014 Trademarks Unigraf and UFG are trademarks of Unigraf Oy Windows 8 Windows 7 and Windows XP are trademarks of Microsoft Inc All other trademarks are pr...

Страница 3: ...tialize Device APIs 4 4 Start Channel Record APIs 5 5 Stop Channel Record APIs 5 6 Start Share Record APIs 5 7 Set Share Record Data APIs 5 8 Stop Share Record APIs 6 9 Start Broadcast APIs 8 10 Set Broadcast Data APIs 8 11 Stop Broadcast APIs 8 12 Broadcast with Multi Threading 9 13 Custom Property for UFG 10 11 ...

Страница 4: ... executable exe file 2 INITIALIZE DEVICE APIS QCAP_SET_SYSTEM_CONFIGURATION QCAP_CREATE SA7160 PCI 0 QCAP_REGISTER_FORMAT_CHANGED_CALLBACK pDevice on_format_changed_callback QCAP_REGISTER_NO_SIGNAL_DETECTED_CALLBACK m_pDevice on_no_signal_detected_callback QCAP_REGISTER_SIGNAL_REMOVED_CALLBACK m_pDevice on_no_signal_removed_callback QCAP_REGISTER_VIDEO_PREVIEW_CALLBACK m_pDevice on_video_preview_c...

Страница 5: ...4 dwFlags Note For compression data user the QCAP_RECORD_FLAG_ENCODE flag should be cleared from the parameters dwFlags in QCAP_START_SHARE_RECORD API to disable the software encoder s resource 7 SET SHARE RECORD DATAAPIS QRETURN on_video_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen if g_n_share_record_state 0 QCAP_SET_VIDEO_SHARE_RECORD_UNCOMPRESSION_BUFFER pFrameBuffer nFrameBufferLe...

Страница 6: ..._p_share_record_buffers 0 ULONG sz g_n_share_record_buffer_lengths 0 if g_n_share_record_state 0 LeaveCriticalSection g_h_share_record_access_critical_sections 0 QCAP_SET_VIDEO_SHARE_RECORD_UNCOMPRESSION_BUFFER po sz else LeaveCriticalSection g_h_share_record_access_critical_sections 0 QRETURN on_video_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen EnterCriticalSection g_h_share_record_a...

Страница 7: ...n_share_record_buffer_lengths 1 if g_n_share_record_state 0 LeaveCriticalSection g_h_share_record_access_critical_sections 1 QCAP_SET_AUDIO_SHARE_RECORD_UNCOMPRESSION_BUFFER po sz else LeaveCriticalSection g_h_share_record_access_critical_sections 1 QRETURN on_audio_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen EnterCriticalSection g_h_share_record_access_critical_sections 1 if g_n_shar...

Страница 8: ...lags in QCAP_START_SHARE_RECORD API to disable the software encoder s resource 10 SET BROADCAST DATAAPIS QRETURN on_video_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen if g_n_broadcast_server_state 0 QCAP_SET_VIDEO_BROADCAST_SERVER_UNCOMPRESSION_BUFFER pFrameBuffer nFrameBufferLen QRETURN on_audio_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen if g_n_broadcast_server_state 0 Q...

Страница 9: ...g_n_broadcast_server_buffer_lengths 0 if g_n_broadcast_server_state 0 LeaveCriticalSection g_h_broadcast_server_access_critical_sections 0 QCAP_SET_VIDEO_BROADCAST_SERVER_UNCOMPRESSION_BUFFER po sz else LeaveCriticalSection g_h_broadcast_server_access_critical_sections 0 QRETURN on_video_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen EnterCriticalSection g_h_broadcast_server_access_criti...

Страница 10: ..._server_buffer_lengths 1 if g_n_broadcast_server_state 0 LeaveCriticalSection g_h_broadcast_server_access_critical_sections 1 QCAP_SET_AUDIO_BROADCAST_SERVER_UNCOMPRESSION_BUFFER po sz else LeaveCriticalSection g_h_broadcast_server_access_critical_sections 1 QRETURN on_audio_preview_callback BYTE pFrameBuffer ULONG nFrameBufferLen EnterCriticalSection g_h_broadcast_server_access_critical_sections ...

Страница 11: ... 10 13 CUSTOM PROPERTY FOR UFG 10 Example for video input s media content owns HDCP or MarcoVision protection QCAP_GET_DEVICE_CUSTOM_PROPERTY pDevice 202 HDCP IF HDCP 1 RECORD_FUNCTION DISABLE IF HDCP 0 RECORD_FUNCTION ENABLE ...

Отзывы: