church_archive_script/Programs/doc/_sources/functions/video/limiter.rst.txt

24 lines
774 B
Text
Raw Normal View History

2023-11-29 16:12:35 +00:00
Limiter
=======
.. function:: Limiter(vnode clip[, float[] min, float[] max, int[] planes=[0, 1, 2]])
:module: std
Limits the pixel values to the range [*min*, *max*].
*clip*
Clip to process. It must have integer sample type and bit depth
between 8 and 16, or float sample type and bit depth of 32. If
there are any frames with other formats, an error will be
returned.
*min*
Lower bound. Defaults to the lowest allowed value for the input. Can be specified for each plane individually.
*max*
Upper bound. Defaults to the highest allowed value for the input. Can be specified for each plane individually.
*planes*
Specifies which planes will be processed. Any unprocessed planes
will be simply copied.