File: utils.pxd

package info (click to toggle)
python-av 14.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,664 kB
  • sloc: python: 4,712; sh: 175; ansic: 174; makefile: 123
file content (12 lines) | stat: -rw-r--r-- 452 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
cimport libav as lib
from libc.stdint cimport uint64_t


cdef dict avdict_to_dict(lib.AVDictionary *input, str encoding, str errors)
cdef dict_to_avdict(lib.AVDictionary **dst, dict src, str encoding, str errors)

cdef object avrational_to_fraction(const lib.AVRational *input)
cdef void to_avrational(object frac, lib.AVRational *input)

cdef check_ndarray(object array, object dtype, int ndim)
cdef flag_in_bitfield(uint64_t bitfield, uint64_t flag)