mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 03:13:48 +08:00
db0642ec47
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
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*)
|