Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
|
|
@ -38,6 +38,39 @@ class ColorRange(IntEnum):
|
|||
JPEG = 2
|
||||
NB = 3
|
||||
|
||||
class ColorTrc(IntEnum):
|
||||
BT709 = cast(int, ...)
|
||||
UNSPECIFIED = cast(int, ...)
|
||||
GAMMA22 = cast(int, ...)
|
||||
GAMMA28 = cast(int, ...)
|
||||
SMPTE170M = cast(int, ...)
|
||||
SMPTE240M = cast(int, ...)
|
||||
LINEAR = cast(int, ...)
|
||||
LOG = cast(int, ...)
|
||||
LOG_SQRT = cast(int, ...)
|
||||
IEC61966_2_4 = cast(int, ...)
|
||||
BT1361_ECG = cast(int, ...)
|
||||
IEC61966_2_1 = cast(int, ...)
|
||||
BT2020_10 = cast(int, ...)
|
||||
BT2020_12 = cast(int, ...)
|
||||
SMPTE2084 = cast(int, ...)
|
||||
SMPTE428 = cast(int, ...)
|
||||
ARIB_STD_B67 = cast(int, ...)
|
||||
|
||||
class ColorPrimaries(IntEnum):
|
||||
BT709 = cast(int, ...)
|
||||
UNSPECIFIED = cast(int, ...)
|
||||
BT470M = cast(int, ...)
|
||||
BT470BG = cast(int, ...)
|
||||
SMPTE170M = cast(int, ...)
|
||||
SMPTE240M = cast(int, ...)
|
||||
FILM = cast(int, ...)
|
||||
BT2020 = cast(int, ...)
|
||||
SMPTE428 = cast(int, ...)
|
||||
SMPTE431 = cast(int, ...)
|
||||
SMPTE432 = cast(int, ...)
|
||||
EBU3213 = cast(int, ...)
|
||||
|
||||
class VideoReformatter:
|
||||
def reformat(
|
||||
self,
|
||||
|
|
@ -50,4 +83,7 @@ class VideoReformatter:
|
|||
interpolation: int | str | None = None,
|
||||
src_color_range: int | str | None = None,
|
||||
dst_color_range: int | str | None = None,
|
||||
dst_color_trc: int | ColorTrc | None = None,
|
||||
dst_color_primaries: int | ColorPrimaries | None = None,
|
||||
threads: int | None = None,
|
||||
) -> VideoFrame: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue