Beta/venv/lib/python3.12/site-packages/av/sidedata/sidedata.pxd
2026-06-16 17:09:34 +00:00

19 lines
447 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