Files
voice_bridge/venv/lib/python3.12/site-packages/av/sidedata/sidedata.pxd
2026-01-09 10:28:44 +11:00

24 lines
453 B
Cython

cimport libav as lib
from av.buffer cimport Buffer
from av.dictionary cimport _Dictionary, wrap_dictionary
from av.frame cimport Frame
cdef class SideData(Buffer):
cdef Frame frame
cdef lib.AVFrameSideData *ptr
cdef _Dictionary metadata
cdef SideData wrap_side_data(Frame frame, int index)
cdef int get_display_rotation(Frame frame)
cdef class _SideDataContainer:
cdef Frame frame
cdef list _by_index
cdef dict _by_type