# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/sensor/camera/proto/image.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from FireSpark.protos.src.avs.messages import lyft_car_time_pb2 as src_dot_avs_dot_messages_dot_lyft__car__time__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='src/sensor/camera/proto/image.proto',
  package='avsoftware.sensor.camera.proto',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n#src/sensor/camera/proto/image.proto\x12\x1e\x61vsoftware.sensor.camera.proto\x1a$src/avs/messages/lyft_car_time.proto\"\x81\x04\n\rImageMetadata\x12-\n\x0ctrigger_time\x18\x01 \x01(\x0b\x32\x17.avsoftware.LyftCarTime\x12\x34\n\x13\x65xposure_start_time\x18\x02 \x01(\x0b\x32\x17.avsoftware.LyftCarTime\x12\x1c\n\x14\x65xposure_duration_ns\x18\x03 \x01(\x03\x12\x0f\n\x07gain_db\x18\x04 \x01(\x02\x12\x10\n\x08width_px\x18\x05 \x01(\x05\x12\x11\n\theight_px\x18\x06 \x01(\x05\x12\x11\n\twb_red_db\x18\x07 \x01(\x01\x12\x12\n\nwb_blue_db\x18\x08 \x01(\x01\x12\x13\n\x0b\x66rame_count\x18\t \x01(\x03\x12O\n\x0cimage_source\x18\n \x01(\x0e\x32\x39.avsoftware.sensor.camera.proto.ImageMetadata.ImageSource\"\xa9\x01\n\x0bImageSource\x12\x18\n\x14IMAGE_SOURCE_UNKNOWN\x10\x00\x12\x1d\n\x19IMAGE_SOURCE_FLIR_ROSETTE\x10\x01\x12\x1d\n\x19IMAGE_SOURCE_FLIR_TRAFFIC\x10\x02\x12 \n\x1cIMAGE_SOURCE_GAMMERA_ROSETTE\x10\x03\x12 \n\x1cIMAGE_SOURCE_GAMMERA_TRAFFIC\x10\x04\"\x98\x02\n\x08RawImage\x12?\n\x08metadata\x18\x01 \x01(\x0b\x32-.avsoftware.sensor.camera.proto.ImageMetadata\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12J\n\x0cpixel_format\x18\x03 \x01(\x0e\x32\x34.avsoftware.sensor.camera.proto.RawImage.PixelFormat\x12\x18\n\x10row_length_bytes\x18\x04 \x01(\x05\"W\n\x0bPixelFormat\x12\x18\n\x14PIXEL_FORMAT_NOT_SET\x10\x00\x12\x15\n\x11PIXEL_FORMAT_BGR8\x10\x01\x12\x17\n\x13PIXEL_FORMAT_YUV422\x10\x02\"\xb5\x02\n\x0f\x43ompressedImage\x12?\n\x08metadata\x18\x01 \x01(\x0b\x32-.avsoftware.sensor.camera.proto.ImageMetadata\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12]\n\x12\x63ompression_format\x18\x03 \x01(\x0e\x32\x41.avsoftware.sensor.camera.proto.CompressedImage.CompressionFormat\"t\n\x11\x43ompressionFormat\x12\x1e\n\x1a\x43OMPRESSION_FORMAT_NOT_SET\x10\x00\x12\x1b\n\x17\x43OMPRESSION_FORMAT_JPEG\x10\x01\x12\"\n\x1e\x43OMPRESSION_FORMAT_HEVC_IFRAME\x10\x02\x62\x06proto3')
  ,
  dependencies=[src_dot_avs_dot_messages_dot_lyft__car__time__pb2.DESCRIPTOR,])



_IMAGEMETADATA_IMAGESOURCE = _descriptor.EnumDescriptor(
  name='ImageSource',
  full_name='avsoftware.sensor.camera.proto.ImageMetadata.ImageSource',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='IMAGE_SOURCE_UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='IMAGE_SOURCE_FLIR_ROSETTE', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='IMAGE_SOURCE_FLIR_TRAFFIC', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='IMAGE_SOURCE_GAMMERA_ROSETTE', index=3, number=3,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='IMAGE_SOURCE_GAMMERA_TRAFFIC', index=4, number=4,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=454,
  serialized_end=623,
)
_sym_db.RegisterEnumDescriptor(_IMAGEMETADATA_IMAGESOURCE)

_RAWIMAGE_PIXELFORMAT = _descriptor.EnumDescriptor(
  name='PixelFormat',
  full_name='avsoftware.sensor.camera.proto.RawImage.PixelFormat',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='PIXEL_FORMAT_NOT_SET', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PIXEL_FORMAT_BGR8', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PIXEL_FORMAT_YUV422', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=819,
  serialized_end=906,
)
_sym_db.RegisterEnumDescriptor(_RAWIMAGE_PIXELFORMAT)

_COMPRESSEDIMAGE_COMPRESSIONFORMAT = _descriptor.EnumDescriptor(
  name='CompressionFormat',
  full_name='avsoftware.sensor.camera.proto.CompressedImage.CompressionFormat',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='COMPRESSION_FORMAT_NOT_SET', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='COMPRESSION_FORMAT_JPEG', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='COMPRESSION_FORMAT_HEVC_IFRAME', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1102,
  serialized_end=1218,
)
_sym_db.RegisterEnumDescriptor(_COMPRESSEDIMAGE_COMPRESSIONFORMAT)


_IMAGEMETADATA = _descriptor.Descriptor(
  name='ImageMetadata',
  full_name='avsoftware.sensor.camera.proto.ImageMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='trigger_time', full_name='avsoftware.sensor.camera.proto.ImageMetadata.trigger_time', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='exposure_start_time', full_name='avsoftware.sensor.camera.proto.ImageMetadata.exposure_start_time', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='exposure_duration_ns', full_name='avsoftware.sensor.camera.proto.ImageMetadata.exposure_duration_ns', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='gain_db', full_name='avsoftware.sensor.camera.proto.ImageMetadata.gain_db', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='width_px', full_name='avsoftware.sensor.camera.proto.ImageMetadata.width_px', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='height_px', full_name='avsoftware.sensor.camera.proto.ImageMetadata.height_px', index=5,
      number=6, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='wb_red_db', full_name='avsoftware.sensor.camera.proto.ImageMetadata.wb_red_db', index=6,
      number=7, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='wb_blue_db', full_name='avsoftware.sensor.camera.proto.ImageMetadata.wb_blue_db', index=7,
      number=8, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='frame_count', full_name='avsoftware.sensor.camera.proto.ImageMetadata.frame_count', index=8,
      number=9, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='image_source', full_name='avsoftware.sensor.camera.proto.ImageMetadata.image_source', index=9,
      number=10, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _IMAGEMETADATA_IMAGESOURCE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=110,
  serialized_end=623,
)


_RAWIMAGE = _descriptor.Descriptor(
  name='RawImage',
  full_name='avsoftware.sensor.camera.proto.RawImage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='metadata', full_name='avsoftware.sensor.camera.proto.RawImage.metadata', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='avsoftware.sensor.camera.proto.RawImage.data', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='pixel_format', full_name='avsoftware.sensor.camera.proto.RawImage.pixel_format', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='row_length_bytes', full_name='avsoftware.sensor.camera.proto.RawImage.row_length_bytes', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _RAWIMAGE_PIXELFORMAT,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=626,
  serialized_end=906,
)


_COMPRESSEDIMAGE = _descriptor.Descriptor(
  name='CompressedImage',
  full_name='avsoftware.sensor.camera.proto.CompressedImage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='metadata', full_name='avsoftware.sensor.camera.proto.CompressedImage.metadata', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='avsoftware.sensor.camera.proto.CompressedImage.data', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='compression_format', full_name='avsoftware.sensor.camera.proto.CompressedImage.compression_format', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _COMPRESSEDIMAGE_COMPRESSIONFORMAT,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=909,
  serialized_end=1218,
)

_IMAGEMETADATA.fields_by_name['trigger_time'].message_type = src_dot_avs_dot_messages_dot_lyft__car__time__pb2._LYFTCARTIME
_IMAGEMETADATA.fields_by_name['exposure_start_time'].message_type = src_dot_avs_dot_messages_dot_lyft__car__time__pb2._LYFTCARTIME
_IMAGEMETADATA.fields_by_name['image_source'].enum_type = _IMAGEMETADATA_IMAGESOURCE
_IMAGEMETADATA_IMAGESOURCE.containing_type = _IMAGEMETADATA
_RAWIMAGE.fields_by_name['metadata'].message_type = _IMAGEMETADATA
_RAWIMAGE.fields_by_name['pixel_format'].enum_type = _RAWIMAGE_PIXELFORMAT
_RAWIMAGE_PIXELFORMAT.containing_type = _RAWIMAGE
_COMPRESSEDIMAGE.fields_by_name['metadata'].message_type = _IMAGEMETADATA
_COMPRESSEDIMAGE.fields_by_name['compression_format'].enum_type = _COMPRESSEDIMAGE_COMPRESSIONFORMAT
_COMPRESSEDIMAGE_COMPRESSIONFORMAT.containing_type = _COMPRESSEDIMAGE
DESCRIPTOR.message_types_by_name['ImageMetadata'] = _IMAGEMETADATA
DESCRIPTOR.message_types_by_name['RawImage'] = _RAWIMAGE
DESCRIPTOR.message_types_by_name['CompressedImage'] = _COMPRESSEDIMAGE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ImageMetadata = _reflection.GeneratedProtocolMessageType('ImageMetadata', (_message.Message,), dict(
  DESCRIPTOR = _IMAGEMETADATA,
  __module__ = 'src.sensor.camera.proto.image_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.sensor.camera.proto.ImageMetadata)
  ))
_sym_db.RegisterMessage(ImageMetadata)

RawImage = _reflection.GeneratedProtocolMessageType('RawImage', (_message.Message,), dict(
  DESCRIPTOR = _RAWIMAGE,
  __module__ = 'src.sensor.camera.proto.image_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.sensor.camera.proto.RawImage)
  ))
_sym_db.RegisterMessage(RawImage)

CompressedImage = _reflection.GeneratedProtocolMessageType('CompressedImage', (_message.Message,), dict(
  DESCRIPTOR = _COMPRESSEDIMAGE,
  __module__ = 'src.sensor.camera.proto.image_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.sensor.camera.proto.CompressedImage)
  ))
_sym_db.RegisterMessage(CompressedImage)


# @@protoc_insertion_point(module_scope)
