1// Copyright (c) 2023, Alliance for Open Media. All rights reserved 2// 3// This source code is subject to the terms of the BSD 3-Clause Clear License 4// and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear 5// License was not distributed with this source code in the LICENSE file, you 6// can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the 7// Alliance for Open Media Patent License 1.0 was not distributed with this 8// source code in the PATENTS file, you can obtain it at 9// www.aomedia.org/license/patent. 10 11syntax = "proto2"; 12 13package iamf_tools_cli_proto; 14 15message ObuHeaderMetadata { 16 reserved 1, 5; 17 18 optional bool obu_redundant_copy = 2 [default = false]; 19 optional bool obu_trimming_status_flag = 3 [default = false]; 20 optional bool obu_extension_flag = 4 [default = false]; 21 optional uint32 num_samples_to_trim_at_end = 6 [default = 0]; 22 optional uint32 num_samples_to_trim_at_start = 7 [default = 0]; 23 optional uint32 extension_header_size = 8 [default = 0]; 24 optional bytes extension_header_bytes = 9 [default = ""]; 25} 26