FaustDerLegende's picture
Upload folder using huggingface_hub (part 3)
4244f27 verified
Raw History Blame Contribute Delete
595 Bytes
cimport libav as lib
from av.codec.codec cimport Codec
cdef class HWConfig:
cdef object __weakref__
cdef const lib.AVCodecHWConfig *ptr
cdef void _init(self, const lib.AVCodecHWConfig *ptr)
cdef HWConfig wrap_hwconfig(const lib.AVCodecHWConfig *ptr)
cdef class HWAccel:
cdef int _device_type
cdef str _device
cdef readonly Codec codec
cdef readonly HWConfig config
cdef lib.AVBufferRef *ptr
cdef readonly int device_id
cdef readonly bint is_hw_owned
cdef public bint allow_software_fallback
cdef public dict options
cdef public int flags