code: def test_video():
      def hue(sample_desc):
          return np.float32(360 * sample_desc.rng.random())
  
      def saturation(sample_desc):
          return np.float32(sample_desc.rng.random())
  
      def value(sample_desc):
          return np.float32(sample_desc.rng.random())
  
      def contrast(sample_desc):
          return np.float32(2 * sample_desc.rng.random())
  
      def brightness(sample_desc):
          return np.float32(2 * sample_desc.rng.random())
  
      video_test_cases = [
          (fn.hue, {}, [ArgCb("hue", hue, True)]),
          (fn.saturation, {}, [ArgCb("saturation", saturation, True)]),
          (
              fn.hsv,
              {},
              [
                  ArgCb("hue", hue, True),
                  ArgCb("saturation", saturation, True),
                  ArgCb("value", value, True),
              ],
          ),
          (
              fn.hsv,
              {},
              [
                  ArgCb("hue", hue, False),
                  ArgCb("saturation", saturation, True),
                  ArgCb("value", value, False),
              ],
          ),
          (
              fn.color_twist,
              {},
              [
                  ArgCb("brightness", brightness, True),
                  ArgCb("hue", hue, True),
                  ArgCb("saturation", saturation, True),
                  ArgCb("contrast", contrast, True),
              ],
          ),
          (
              fn.color_twist,
              {},
              [
                  ArgCb("brightness", brightness, True),
                  ArgCb("hue", hue, False),
              ],
          ),
      ]
  
      yield from video_suite_helper(
          video_test_cases, test_channel_first=False
      )
  
file_path: DALI/dali/test/python/operator_1/test_color_twist.py
imports: import math
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  import random
  from nvidia.dali import pipeline_def
  from sequences_test_utils import ArgCb, video_suite_helper
  from test_utils import RandomDataIterator
label_desc: Use image node_id 8 for calling a global function with example usage: test_video() and returns: np, np, np, np, np