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.
16 lines
328 B
16 lines
328 B
2 years ago
|
# distutils: language = c++
|
||
|
#cython: language_level=3
|
||
|
|
||
|
from .visionipc cimport VisionBuf as cppVisionBuf
|
||
1 year ago
|
from .visionipc cimport cl_device_id, cl_context
|
||
|
|
||
|
cdef class CLContext:
|
||
|
cdef cl_device_id device_id
|
||
|
cdef cl_context context
|
||
2 years ago
|
|
||
|
cdef class VisionBuf:
|
||
|
cdef cppVisionBuf * buf
|
||
|
|
||
|
@staticmethod
|
||
|
cdef create(cppVisionBuf*)
|