Download python_embeded/Lib/site-packages/av/video/format.pxd from hxrron/VTONmodels: direct link, hf CLI and curl.
- Browser
- Download file 754 Bytes
-
https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/av/video/format.pxd
- Command line
-
hf download hf://hxrron/VTONmodels/python_embeded/Lib/site-packages/av/video/format.pxd
-
curl -L -o format.pxd https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/av/video/format.pxd
754 Bytes
| cimport libav as lib | |
| cdef class VideoFormat: | |
| cdef lib.AVPixelFormat pix_fmt | |
| cdef const lib.AVPixFmtDescriptor *ptr | |
| cdef readonly unsigned int width, height | |
| cdef readonly tuple components | |
| cdef _init(self, lib.AVPixelFormat pix_fmt, unsigned int width, unsigned int height) | |
| cpdef chroma_width(self, int luma_width=?) | |
| cpdef chroma_height(self, int luma_height=?) | |
| cdef class VideoFormatComponent: | |
| cdef VideoFormat format | |
| cdef readonly unsigned int index | |
| cdef const lib.AVComponentDescriptor *ptr | |
| cdef VideoFormat get_video_format(lib.AVPixelFormat c_format, unsigned int width, unsigned int height) | |
| cdef lib.AVPixelFormat get_pix_fmt(const char *name) except lib.AV_PIX_FMT_NONE | |