Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
22
venv/lib/python3.12/site-packages/av/video/frame.pxd
Normal file
22
venv/lib/python3.12/site-packages/av/video/frame.pxd
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
cimport libav as lib
|
||||
from libc.stdint cimport uint8_t
|
||||
|
||||
from av.frame cimport Frame
|
||||
from av.video.format cimport VideoFormat
|
||||
from av.video.reformatter cimport VideoReformatter
|
||||
|
||||
|
||||
cdef class VideoFrame(Frame):
|
||||
# This is the buffer that is used to back everything in the AVFrame.
|
||||
# We don't ever actually access it directly.
|
||||
cdef uint8_t *_buffer
|
||||
cdef object _np_buffer
|
||||
|
||||
cdef VideoReformatter reformatter
|
||||
cdef readonly VideoFormat format
|
||||
|
||||
cdef _init(self, lib.AVPixelFormat format, unsigned int width, unsigned int height)
|
||||
cdef _init_user_attributes(self)
|
||||
cpdef save(self, object filepath)
|
||||
|
||||
cdef VideoFrame alloc_video_frame()
|
||||
Loading…
Add table
Add a link
Reference in a new issue