You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
328 B
15 lines
328 B
# distutils: language = c++
|
|
#cython: language_level=3
|
|
|
|
from .visionipc cimport VisionBuf as cppVisionBuf
|
|
from .visionipc cimport cl_device_id, cl_context
|
|
|
|
cdef class CLContext:
|
|
cdef cl_device_id device_id
|
|
cdef cl_context context
|
|
|
|
cdef class VisionBuf:
|
|
cdef cppVisionBuf * buf
|
|
|
|
@staticmethod
|
|
cdef create(cppVisionBuf*)
|
|
|