Debian Codegraph @

av/codec/hwaccel.pxd

raw
1 cimport libav as lib
2
3 from av.codec.codec cimport Codec
4
5
6 cdef class HWConfig:
7 cdef object __weakref__
8 cdef const lib.AVCodecHWConfig *ptr
9 cdef void _init(self, const lib.AVCodecHWConfig *ptr)
10
11 cdef HWConfig wrap_hwconfig(const lib.AVCodecHWConfig *ptr)
12
13 cdef class HWAccel:
14 cdef int _device_type
15 cdef str _device
16 cdef readonly Codec codec
17 cdef readonly HWConfig config
18 cdef lib.AVBufferRef *ptr
19 cdef readonly int device_id
20 cdef readonly bint is_hw_owned
21 cdef public bint allow_software_fallback
22 cdef public dict options
23 cdef public int flags