Debian Codegraph @

av/subtitles/subtitle.pxd

raw
1 cimport libav as lib
2
3
4 cdef class SubtitleProxy:
5 cdef lib.AVSubtitle struct
6
7 cdef class SubtitleSet:
8 cdef SubtitleProxy proxy
9 cdef readonly tuple rects
10
11 cdef class Subtitle:
12 cdef SubtitleProxy proxy
13 cdef lib.AVSubtitleRect *ptr
14 cdef readonly bytes type
15
16 cdef class TextSubtitle(Subtitle):
17 pass
18
19 cdef class ASSSubtitle(Subtitle):
20 pass
21
22 cdef class BitmapSubtitle(Subtitle):
23 cdef readonly planes
24
25 cdef class BitmapSubtitlePlane:
26 cdef readonly BitmapSubtitle subtitle
27 cdef readonly int index
28 cdef readonly long buffer_size
29 cdef void *_buffer