1'''Autogenerated by xml_generate script, do not edit!''' 2from OpenGL import platform as _p, arrays 3# Code generation uses this 4from OpenGL.raw.GLX import _types as _cs 5# End users want this... 6from OpenGL.raw.GLX._types import * 7from OpenGL.raw.GLX import _errors 8from OpenGL.constant import Constant as _C 9 10import ctypes 11_EXTENSION_NAME = 'GLX_NV_video_out' 12def _f( function ): 13 return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_NV_video_out',error_checker=_errors._error_checker) 14GLX_VIDEO_OUT_ALPHA_NV=_C('GLX_VIDEO_OUT_ALPHA_NV',0x20C4) 15GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV=_C('GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV',0x20C6) 16GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV=_C('GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV',0x20C7) 17GLX_VIDEO_OUT_COLOR_NV=_C('GLX_VIDEO_OUT_COLOR_NV',0x20C3) 18GLX_VIDEO_OUT_DEPTH_NV=_C('GLX_VIDEO_OUT_DEPTH_NV',0x20C5) 19GLX_VIDEO_OUT_FIELD_1_NV=_C('GLX_VIDEO_OUT_FIELD_1_NV',0x20C9) 20GLX_VIDEO_OUT_FIELD_2_NV=_C('GLX_VIDEO_OUT_FIELD_2_NV',0x20CA) 21GLX_VIDEO_OUT_FRAME_NV=_C('GLX_VIDEO_OUT_FRAME_NV',0x20C8) 22GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV=_C('GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV',0x20CB) 23GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV=_C('GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV',0x20CC) 24@_f 25@_p.types(_cs.c_int,ctypes.POINTER(_cs.Display),_cs.GLXVideoDeviceNV,_cs.GLXPbuffer,_cs.c_int) 26def glXBindVideoImageNV(dpy,VideoDevice,pbuf,iVideoBuffer):pass 27@_f 28@_p.types(_cs.c_int,ctypes.POINTER(_cs.Display),_cs.c_int,_cs.c_int,ctypes.POINTER(_cs.GLXVideoDeviceNV)) 29def glXGetVideoDeviceNV(dpy,screen,numVideoDevices,pVideoDevice):pass 30@_f 31@_p.types(_cs.c_int,ctypes.POINTER(_cs.Display),_cs.c_int,_cs.GLXVideoDeviceNV,ctypes.POINTER(_cs.c_ulong),ctypes.POINTER(_cs.c_ulong)) 32def glXGetVideoInfoNV(dpy,screen,VideoDevice,pulCounterOutputPbuffer,pulCounterOutputVideo):pass 33@_f 34@_p.types(_cs.c_int,ctypes.POINTER(_cs.Display),_cs.c_int,_cs.GLXVideoDeviceNV) 35def glXReleaseVideoDeviceNV(dpy,screen,VideoDevice):pass 36@_f 37@_p.types(_cs.c_int,ctypes.POINTER(_cs.Display),_cs.GLXPbuffer) 38def glXReleaseVideoImageNV(dpy,pbuf):pass 39@_f 40@_p.types(_cs.c_int,ctypes.POINTER(_cs.Display),_cs.GLXPbuffer,_cs.c_int,ctypes.POINTER(_cs.c_ulong),_cs.GLboolean) 41def glXSendPbufferToVideoNV(dpy,pbuf,iBufferType,pulCounterPbuffer,bBlock):pass 42