code: def bricon_ref(
      input,
      brightness,
      brightness_shift,
      contrast,
      contrast_center,
      out_dtype,
  ):
      output_range = max_range(out_dtype)
      output = brightness_shift * output_range + brightness * (
          contrast_center + contrast * (input - contrast_center)
      )
      return convert_sat(output, out_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 5 for calling a global function with example usage: bricon_ref(input, brightness, brightness_shift, contrast, contrast_center, out_dtype) and returns: convert_sat