# Codec framework feature flags.
#
# !!! Please add flags in alphabetical order. !!!

package: "android.media.codec"
container: "system"

flag {
  name: "aidl_hal_input_surface"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flags for enabling AIDL HAL InputSurface handling"
  bug: "201479783"
}

flag {
  name: "apv_support"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for Android support for APV Content"
  bug: "375464302"
}

flag {
  name: "codec_availability"
  namespace: "codec_fwk"
  description: "Feature flag for codec availability HAL API support"
  bug: "363282971"
}

flag {
  name: "codec_availability_support"
  namespace: "codec_fwk"
  description: "Feature flag for codec availability HAL API implementation"
  bug: "363282971"
}

flag {
  name: "codec_buffer_state_cleanup"
  namespace: "codec_fwk"
  description: "Bugfix flag for more buffer state cleanup in MediaCodec"
  bug: "343502509"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "dataspace_v0_partial"
  namespace: "codec_fwk"
  description: "Bugfix flag for using V0 dataspace in some cases"
  bug: "313827126"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "dynamic_color_aspects"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for dynamic color aspect support"
  bug: "297914560"
}

flag {
  name: "hlg_editing"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for HLG editing support"
  bug: "316397061"
}

flag {
  name: "in_process_sw_audio_codec"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for in-process software audio codec API"
  bug: "297922713"
}

flag {
  name: "in_process_sw_audio_codec_support"
  namespace: "codec_fwk"
  description: "Feature flag for in-process software audio codec support"
  bug: "325520135"
}

flag {
  name: "input_surface_throttle"
  namespace: "codec_fwk"
  description: "Bugfix flag for input surface throttle"
  bug: "342269852"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "large_audio_frame_finish"
  namespace: "codec_fwk"
  description: "Implementation flag for large audio frame finishing tasks"
  bug: "325512893"
}

flag {
  name: "native_capabilites"
  namespace: "codec_fwk"
  description: "Feature flag for native codec capabilities"
  bug: "306023029"
}

flag {
  name: "null_output_surface"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for null output Surface API"
  bug: "297920102"
}

flag {
  name: "null_output_surface_support"
  namespace: "codec_fwk"
  description: "Feature flag for null output Surface support"
  bug: "325550522"
}

flag {
  name: "num_input_slots"
  namespace: "codec_fwk"
  description: "Feature flag for exposing number of input slots"
  bug: "159891571"
}

flag {
  name: "p210_format_support"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for Android support for P210 YCbCr format"
  bug: "368395888"
}

flag {
  name: "region_of_interest"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for region of interest API"
  bug: "299191092"
}

flag {
  name: "region_of_interest_support"
  namespace: "codec_fwk"
  description: "Feature flag for region of interest support"
  bug: "325549730"
}

flag {
  name: "rendering_depth_removal"
  namespace: "codec_fwk"
  description: "Feature flag for removing rendering depth"
  bug: "275527219"
}

flag {
  name: "secure_codecs_require_crypto"
  namespace: "codec_fwk"
  description: "Bugfix flag for requiring setting crypto for secure codecs"
  bug: "365162324"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "set_callback_stall"
  namespace: "codec_fwk"
  description: "Bugfix flag for setCallback stall"
  bug: "326010604"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "set_state_early"
  namespace: "codec_fwk"
  description: "Bugfix flag for setting state early to avoid a race condition"
  bug: "298613712"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "stop_hal_before_surface"
  namespace: "codec_fwk"
  description: "Bugfix flag for setting state early to avoid a race condition"
  bug: "339247977"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "subsession_metrics"
  namespace: "codec_fwk"
  description: "Feature flag for subsession codec metrics"
  bug: "363382811"
}

flag {
  name: "teamfood"
  namespace: "codec_fwk"
  description: "Feature flag to track teamfood population"
  bug: "328770262"
}

flag {
  name: "thumbnail_block_model"
  namespace: "codec_fwk"
  description: "Feature flag for using block model decoder in thumbnail generation"
  bug: "329521645"
}
