// Copyright (c) 2023, Alliance for Open Media. All rights reserved
//
// This source code is subject to the terms of the BSD 3-Clause Clear License
// and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear
// License was not distributed with this source code in the LICENSE file, you
// can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the
// Alliance for Open Media Patent License 1.0 was not distributed with this
// source code in the PATENTS file, you can obtain it at
// www.aomedia.org/license/patent.

edition = "2023";

package iamf_tools_cli_proto;

import "iamf/cli/proto/obu_header.proto";

enum ProfileVersion {
  option features.enum_type = CLOSED;

  PROFILE_VERSION_INVALID = 0;
  PROFILE_VERSION_SIMPLE = 1;
  PROFILE_VERSION_BASE = 2;
  PROFILE_VERSION_BASE_ENHANCED = 3;
  PROFILE_VERSION_RESERVED_255 = 256;
}

message IASequenceHeaderObuMetadata {
  uint32 ia_code = 1 [
    default = 0x69616d66 /* "iamf" */
  ];

  ProfileVersion primary_profile = 2;
  ProfileVersion additional_profile = 3;
  ObuHeaderMetadata obu_header = 4;
}
