mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-03 22:53:44 +08:00
7d7f0054e5
date: 2024-02-21T23:02:42 master commit: 0b4d08fab8e35a264bc7383e878538f8083c33e5
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*)
|