File: motion_vector.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 (17 lines) | stat: -rw-r--r-- 450 bytes parent folder | download
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