Skip to content

Commit

Permalink
colorspace_conversion: remove dither_type
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 committed Nov 26, 2024
1 parent f1561d6 commit feb8f0d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vsadjust/colorspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from vskernels import Point
from vstools import (
FunctionUtil, ColorRange, ColorRangeT, DitherType, Matrix, MatrixT, Primaries, PrimariesT, Transfer, TransferT, vs
FunctionUtil, ColorRange, ColorRangeT, Matrix, MatrixT, Primaries, PrimariesT, Transfer, TransferT, vs
)

__all__ = [
Expand All @@ -16,12 +16,11 @@ def colorspace_conversion(
primaries: PrimariesT | None = None, color_range: ColorRangeT | None = None,
matrix_in: MatrixT | None = None, transfer_in: TransferT | None = None,
primaries_in: PrimariesT | None = None, color_range_in: ColorRangeT | None = None,
dither_type: DitherType = DitherType.AUTO,
) -> vs.VideoNode:

func = FunctionUtil(clip, colorspace_conversion, bitdepth=32)

resample_kwargs = dict[str, Any](dither_type=dither_type)
resample_kwargs = dict[str, Any]()

if matrix is not None:
if matrix_in is not None:
Expand Down

0 comments on commit feb8f0d

Please sign in to comment.