mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
6d316f2bc7
date: 2024-06-11T01:36:39 master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
16 lines
328 B
Cython
16 lines
328 B
Cython
# 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*)
|