File: motion_vector.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 (17 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from libc.stdint cimport int16_t, int32_t, uint8_t, uint16_t, uint64_t


cdef extern from "libavutil/motion_vector.h" nogil:

    cdef struct AVMotionVector:
        int32_t     source
        uint8_t     w
        uint8_t     h
        int16_t     src_x
        int16_t     src_y
        int16_t     dst_x
        int16_t     dst_y
        uint64_t    flags
        int32_t     motion_x
        int32_t     motion_y
        uint16_t    motion_scale