Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
cd6487b
added lva sdk package
hivyas Nov 17, 2020
9b01c04
Merge remote-tracking branch 'upstream/master'
hivyas Dec 11, 2020
9297d4f
updating ci file
hivyas Dec 11, 2020
40a1827
Merge remote-tracking branch 'upstream/master'
hivyas Dec 15, 2020
9e71cfe
Merge remote-tracking branch 'upstream/master'
hivyas Jan 6, 2021
dbeed32
Merge remote-tracking branch 'upstream/master'
hivyas Jan 8, 2021
e667530
fixing confict\
hivyas Mar 24, 2021
f102840
deleteing folder
hivyas Mar 24, 2021
d9d30e3
Merge remote-tracking branch 'upstream/master'
hivyas Mar 24, 2021
75e7827
regenerated and renamed to pipeline terminology
hivyas Mar 25, 2021
db5306e
changing package name
hivyas Apr 15, 2021
8c372e5
changed package name
hivyas Apr 16, 2021
bd53b5a
changing name
hivyas Apr 27, 2021
82e6962
Merge branch 'master' into lvaSdkUpdate
hivyas Apr 29, 2021
db59141
restoring old lva sdk
hivyas Apr 29, 2021
5edd22e
Merge branch 'lvaSdkUpdate' of https://github.com/hivyas/azure-sdk-fo…
hivyas Apr 29, 2021
96a47bb
restored old lva sdk autorest.md
hivyas Apr 29, 2021
e6a89f5
ignoring nspkg readme
hivyas Apr 29, 2021
6a85c74
removing nspkg from dev_requirements
hivyas Apr 29, 2021
dba64bc
rebasing
hivyas Apr 29, 2021
eeff79b
rebasing
hivyas Apr 29, 2021
200bc69
adding back deleted file
hivyas Apr 29, 2021
7dc0b69
corectin nspkg
hivyas Apr 29, 2021
d0c54e7
updating readme
hivyas May 7, 2021
ea6f2de
fixing broken link
hivyas May 7, 2021
d6ed32c
removing media-nspkg from ci file
hivyas May 7, 2021
952dc26
removing old terminology
hivyas May 11, 2021
73d6ac9
generated path is 3 parts
hivyas May 12, 2021
c8831a7
rebasing with master
hivyas May 13, 2021
b7c18bd
updating namespace name
hivyas May 13, 2021
62b94e8
reverting old sdk folder'
hivyas May 13, 2021
8c9dc34
removing video-nspkg
hivyas May 13, 2021
45fa708
fixing linting issue
hivyas May 13, 2021
f222b0d
addressing pr comments
hivyas May 13, 2021
6610202
pr comments
hivyas May 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adding back deleted file
  • Loading branch information
hivyas committed Apr 29, 2021
commit 200bc69637ee00c1e6c1cb09bb4f7cf46942750c
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from enum import Enum, EnumMeta
from six import with_metaclass

class _CaseInsensitiveEnumMeta(EnumMeta):
def __getitem__(self, name):
return super().__getitem__(name.upper())

def __getattr__(cls, name):
"""Return the enum member matching `name`
We use __getattr__ instead of descriptors or inserting into the enum
class' __dict__ in order to support `name` and `value` being both
properties for enum members (which live in the class' __dict__) and
enum members themselves.
"""
try:
return cls._member_map_[name.upper()]
except KeyError:
raise AttributeError(name)


class MediaGraphGrpcExtensionDataTransferMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""How frame data should be transmitted to the inference engine.
"""

#: Frames are transferred embedded into the gRPC messages.
EMBEDDED = "Embedded"
#: Frames are transferred through shared memory.
SHARED_MEMORY = "SharedMemory"

class MediaGraphImageFormatRawPixelFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The pixel format that will be used to encode images.
"""

#: Planar YUV 4:2:0, 12bpp, (1 Cr and Cb sample per 2x2 Y samples).
YUV420_P = "Yuv420p"
#: Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian.
RGB565_BE = "Rgb565be"
#: Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian.
RGB565_LE = "Rgb565le"
#: Packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined.
RGB555_BE = "Rgb555be"
#: Packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined.
RGB555_LE = "Rgb555le"
#: Packed RGB 8:8:8, 24bpp, RGBRGB.
RGB24 = "Rgb24"
#: Packed RGB 8:8:8, 24bpp, BGRBGR.
BGR24 = "Bgr24"
#: Packed ARGB 8:8:8:8, 32bpp, ARGBARGB.
ARGB = "Argb"
#: Packed RGBA 8:8:8:8, 32bpp, RGBARGBA.
RGBA = "Rgba"
#: Packed ABGR 8:8:8:8, 32bpp, ABGRABGR.
ABGR = "Abgr"
#: Packed BGRA 8:8:8:8, 32bpp, BGRABGRA.
BGRA = "Bgra"

class MediaGraphImageScaleMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Describes the modes for scaling an input video frame into an image, before it is sent to an
inference engine.
"""

#: Use the same aspect ratio as the input frame.
PRESERVE_ASPECT_RATIO = "PreserveAspectRatio"
#: Center pad the input frame to match the given dimensions.
PAD = "Pad"
#: Stretch input frame to match given dimensions.
STRETCH = "Stretch"

class MediaGraphInstanceState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Allowed states for a graph instance.
"""

#: The media graph instance is idle and not processing media.
INACTIVE = "Inactive"
#: The media graph instance is transitioning into the active state.
ACTIVATING = "Activating"
#: The media graph instance is active and processing media.
ACTIVE = "Active"
#: The media graph instance is transitioning into the inactive state.
DEACTIVATING = "Deactivating"

class MediaGraphMotionDetectionSensitivity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Enumeration that specifies the sensitivity of the motion detection processor.
"""

#: Low Sensitivity.
LOW = "Low"
#: Medium Sensitivity.
MEDIUM = "Medium"
#: High Sensitivity.
HIGH = "High"

class MediaGraphOutputSelectorOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The operator to compare streams by.
"""

#: A media type is the same type or a subtype.
IS_ENUM = "is"
#: A media type is not the same type or a subtype.
IS_NOT = "isNot"

class MediaGraphOutputSelectorProperty(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The stream property to compare with.
"""

#: The stream's MIME type or subtype.
MEDIA_TYPE = "mediaType"

class MediaGraphParameterType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The type of the parameter.
"""

#: A string parameter value.
STRING = "String"
#: A string to hold sensitive information as parameter value.
SECRET_STRING = "SecretString"
#: A 32-bit signed integer as parameter value.
INT = "Int"
#: A 64-bit double-precision floating point type as parameter value.
DOUBLE = "Double"
#: A boolean value that is either true or false.
BOOL = "Bool"

class MediaGraphRtspTransport(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Underlying RTSP transport. This is used to enable or disable HTTP tunneling.
"""

#: HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
HTTP = "Http"
#: TCP transport. This should be used when HTTP tunneling is NOT desired.
TCP = "Tcp"