Skip to content

Commit

Permalink
Added buf_cl attribute to cython VisionBuf definition (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellgoffpc authored Jul 20, 2023
1 parent aed9fd2 commit fdb3080
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions visionipc/visionipc.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ from libc.stdint cimport uint32_t, uint64_t
from libcpp cimport bool, int

cdef extern from "cereal/visionipc/visionbuf.h":
struct _cl_mem
ctypedef _cl_mem * cl_mem

cdef enum VisionStreamType:
pass

Expand All @@ -19,6 +22,7 @@ cdef extern from "cereal/visionipc/visionbuf.h":
size_t height
size_t stride
size_t uv_offset
cl_mem buf_cl
void set_frame_id(uint64_t id)

cdef extern from "cereal/visionipc/visionipc.h":
Expand Down

0 comments on commit fdb3080

Please sign in to comment.