code: def bricon_pipe(
      data_iterator, contrast_center, bri, con, dtype, dev="cpu"
  ):
      if bri:
          brightness, brightness_shift = brightness_params()
      if con:
          contrast = contrast_param()
      if contrast_center is None:
          contrast_center = contrast_center_param()
      inp = fn.external_source(source=data_iterator)
      if dev == "gpu":
          inp = inp.gpu()
      if bri and con:
          return fn.brightness_contrast(
              inp,
              brightness=brightness,
              brightness_shift=brightness_shift,
              contrast=contrast,
              contrast_center=contrast_center,
              dtype=dtype,
          )
      elif bri:
          return fn.brightness_contrast(
              inp,
              brightness=brightness,
              brightness_shift=brightness_shift,
              dtype=dtype,
          )
      elif con:
          return fn.brightness_contrast(
              inp,
              contrast=contrast,
              contrast_center=contrast_center,
              dtype=dtype,
          )
  
imports: import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  import nvidia.dali.types
  import numpy
  from test_utils import compare_pipelines, python_function
  from test_utils import RandomDataIterator
  from sequences_test_utils import ArgCb, video_suite_helper
  import random
label_desc: Use image node_id 11 for calling a global function with example usage: bricon_pipe(data_iterator, contrast_center, bri, con, dtype, dev) and returns: fn, fn, fn