| 1 |
cimport libav as lib |
| 2 |
|
| 3 |
|
| 4 |
cdef class Codec: |
| 5 |
|
| 6 |
cdef const lib.AVCodec *ptr |
| 7 |
cdef const lib.AVCodecDescriptor *desc |
| 8 |
cdef readonly bint is_encoder |
| 9 |
|
| 10 |
cdef tuple _hardware_configs |
| 11 |
|
| 12 |
cdef _init(self, name=?) |
| 13 |
|
| 14 |
|
| 15 |
cdef Codec wrap_codec(const lib.AVCodec *ptr) |