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