perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
111 lines (92 loc) • 3.6 kB
text/typescript
//
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/trace/android/view/display.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/view/display.proto.
*/
export const file_protos_perfetto_trace_android_view_display: GenFile = /*@__PURE__*/
fileDesc("CjBwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2Rpc3BsYXkucHJvdG8SD3BlcmZldHRvLnByb3RvcyLOAgoQVmlld0Rpc3BsYXlQcm90byK5AgoJQ29sb3JNb2RlEh8KEkNPTE9SX01PREVfSU5WQUxJRBD///////////8BEhYKEkNPTE9SX01PREVfREVGQVVMVBAAEhgKFENPTE9SX01PREVfQlQ2MDFfNjI1EAESIwofQ09MT1JfTU9ERV9CVDYwMV82MjVfVU5BREpVU1RFRBACEhgKFENPTE9SX01PREVfQlQ2MDFfNTI1EAMSIwofQ09MT1JfTU9ERV9CVDYwMV81MjVfVU5BREpVU1RFRBAEEhQKEENPTE9SX01PREVfQlQ3MDkQBRIVChFDT0xPUl9NT0RFX0RDSV9QMxAGEhMKD0NPTE9SX01PREVfU1JHQhAHEhgKFENPTE9SX01PREVfQURPQkVfUkdCEAgSGQoVQ09MT1JfTU9ERV9ESVNQTEFZX1AzEAk");
/**
* @generated from message perfetto.protos.ViewDisplayProto
*/
export type ViewDisplayProto = Message<"perfetto.protos.ViewDisplayProto"> & {
};
/**
* Describes the message perfetto.protos.ViewDisplayProto.
* Use `create(ViewDisplayProtoSchema)` to create a new message.
*/
export const ViewDisplayProtoSchema: GenMessage<ViewDisplayProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_view_display, 0);
/**
* @generated from enum perfetto.protos.ViewDisplayProto.ColorMode
*/
export enum ViewDisplayProto_ColorMode {
/**
* @generated from enum value: COLOR_MODE_INVALID = -1;
*/
INVALID = -1,
/**
* The default or native gamut of the display.
*
* @generated from enum value: COLOR_MODE_DEFAULT = 0;
*/
DEFAULT = 0,
/**
* @generated from enum value: COLOR_MODE_BT601_625 = 1;
*/
BT601_625 = 1,
/**
* @generated from enum value: COLOR_MODE_BT601_625_UNADJUSTED = 2;
*/
BT601_625_UNADJUSTED = 2,
/**
* @generated from enum value: COLOR_MODE_BT601_525 = 3;
*/
BT601_525 = 3,
/**
* @generated from enum value: COLOR_MODE_BT601_525_UNADJUSTED = 4;
*/
BT601_525_UNADJUSTED = 4,
/**
* @generated from enum value: COLOR_MODE_BT709 = 5;
*/
BT709 = 5,
/**
* @generated from enum value: COLOR_MODE_DCI_P3 = 6;
*/
DCI_P3 = 6,
/**
* @generated from enum value: COLOR_MODE_SRGB = 7;
*/
SRGB = 7,
/**
* @generated from enum value: COLOR_MODE_ADOBE_RGB = 8;
*/
ADOBE_RGB = 8,
/**
* @generated from enum value: COLOR_MODE_DISPLAY_P3 = 9;
*/
DISPLAY_P3 = 9,
}
/**
* Describes the enum perfetto.protos.ViewDisplayProto.ColorMode.
*/
export const ViewDisplayProto_ColorModeSchema: GenEnum<ViewDisplayProto_ColorMode> = /*@__PURE__*/
enumDesc(file_protos_perfetto_trace_android_view_display, 0, 0);