File: dict.pxd

package info (click to toggle)
python-av 16.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,684 kB
  • sloc: python: 7,607; sh: 182; ansic: 174; makefile: 135
file content (38 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
cdef extern from "libavutil/dict.h" nogil:

    # See: http://ffmpeg.org/doxygen/trunk/structAVDictionary.html
    ctypedef struct AVDictionary:
        pass

    cdef void av_dict_free(AVDictionary **)

    # See: http://ffmpeg.org/doxygen/trunk/structAVDictionaryEntry.html
    ctypedef struct AVDictionaryEntry:
        char *key
        char *value

    cdef int AV_DICT_IGNORE_SUFFIX

    cdef AVDictionaryEntry* av_dict_get(
        AVDictionary *dict,
        char *key,
        AVDictionaryEntry *prev,
        int flags,
    )

    cdef int av_dict_set(
        AVDictionary **pm,
        const char *key,
        const char *value,
        int flags
    )

    cdef int av_dict_count(
        AVDictionary *m
    )

    cdef int av_dict_copy(
        AVDictionary **dst,
        AVDictionary *src,
        int flags
    )