github.com/boki/go-xmp@v1.0.1/models/xmp_dm/enum.go (about)

     1  // Copyright (c) 2017-2018 Alexander Eichhorn
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License"): you may
     4  // not use this file except in compliance with the License. You may obtain
     5  // a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    11  // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    12  // License for the specific language governing permissions and limitations
    13  // under the License.
    14  
    15  package xmpdm
    16  
    17  // Part 1: 8.2.2.8 RenditionClass
    18  type RenditionClass string
    19  
    20  const (
    21  	RenditionClassInvalid   RenditionClass = ""
    22  	RenditionClassDefault   RenditionClass = "default"
    23  	RenditionClassDraft     RenditionClass = "draft"
    24  	RenditionClassLowRes    RenditionClass = "low-res"
    25  	RenditionClassProof     RenditionClass = "proof"
    26  	RenditionClassScreen    RenditionClass = "screen"
    27  	RenditionClassThumbnail RenditionClass = "thumbnail"
    28  )
    29  
    30  type AudioChannelType string
    31  
    32  const (
    33  	AudioChannelTypeInvalid AudioChannelType = ""
    34  	AudioChannelTypeMono    AudioChannelType = "Mono"
    35  	AudioChannelTypeStereo  AudioChannelType = "Stereo"
    36  	AudioChannelType5_1     AudioChannelType = "5.1"
    37  	AudioChannelType7_1     AudioChannelType = "7.1"
    38  	AudioChannelType16Ch    AudioChannelType = "16 Channel"
    39  	AudioChannelTypeOther   AudioChannelType = "Other"
    40  )
    41  
    42  type AudioSampleType string
    43  
    44  const (
    45  	AudioSampleTypeInvalid    AudioSampleType = ""
    46  	AudioSampleType8i         AudioSampleType = "8Int"
    47  	AudioSampleType16i        AudioSampleType = "16Int"
    48  	AudioSampleType24i        AudioSampleType = "24Int"
    49  	AudioSampleType32i        AudioSampleType = "32Int"
    50  	AudioSampleType32f        AudioSampleType = "32Float"
    51  	AudioSampleTypeCompressed AudioSampleType = "Compressed"
    52  	AudioSampleTypePacked     AudioSampleType = "Packed"
    53  	AudioSampleTypeOther      AudioSampleType = "Other"
    54  )
    55  
    56  type CameraAngle string
    57  
    58  const (
    59  	CameraAngleInvalid         CameraAngle = ""
    60  	CameraAngleLowAngle        CameraAngle = "Low Angle"
    61  	CameraAngleEyeLevel        CameraAngle = "Eye Level"
    62  	CameraAngleHighAngle       CameraAngle = "High Angle"
    63  	CameraAngleOverheadShot    CameraAngle = "Overhead Shot"
    64  	CameraAngleBirdsEyeShot    CameraAngle = "Birds Eye Shot"
    65  	CameraAngleDutchAngle      CameraAngle = "Dutch Angle"
    66  	CameraAnglePOV             CameraAngle = "POV"
    67  	CameraAngleOverTheShoulder CameraAngle = "Over the Shoulder"
    68  	CameraAngleReactionShot    CameraAngle = "Reaction Shot"
    69  )
    70  
    71  type CameraMove string
    72  
    73  const (
    74  	CameraMoveInvalid      CameraMove = ""
    75  	CameraMoveAerial       CameraMove = "Aerial"
    76  	CameraMoveBoomUp       CameraMove = "Boom Up"
    77  	CameraMoveBoomDown     CameraMove = "Boom Down"
    78  	CameraMoveCraneUp      CameraMove = "Crane Up"
    79  	CameraMoveCraneDown    CameraMove = "Crane Down"
    80  	CameraMoveDollyIn      CameraMove = "Dolly In"
    81  	CameraMoveDollyOut     CameraMove = "Dolly Out"
    82  	CameraMovePanLeft      CameraMove = "Pan Left"
    83  	CameraMovePanRight     CameraMove = "Pan Right"
    84  	CameraMovePedestalUp   CameraMove = "Pedestal Up"
    85  	CameraMovePedestalDown CameraMove = "Pedestal Down"
    86  	CameraMoveTiltUp       CameraMove = "Tilt Up"
    87  	CameraMoveTiltDown     CameraMove = "Tilt Down"
    88  	CameraMoveTracking     CameraMove = "Tracking"
    89  	CameraMoveTruckLeft    CameraMove = "Truck Left"
    90  	CameraMoveTruckRight   CameraMove = "Truck Right"
    91  	CameraMoveZoomIn       CameraMove = "Zoom In"
    92  	CameraMoveZoomOut      CameraMove = "Zoom Out"
    93  )
    94  
    95  type MusicalKey string
    96  
    97  const (
    98  	MusicalKeyInvalid MusicalKey = ""
    99  	MusicalKeyC       MusicalKey = "C"
   100  	MusicalKeyC_      MusicalKey = "C#"
   101  	MusicalKeyD       MusicalKey = "D"
   102  	MusicalKeyD_      MusicalKey = "D#"
   103  	MusicalKeyE       MusicalKey = "E"
   104  	MusicalKeyF       MusicalKey = "F"
   105  	MusicalKeyF_      MusicalKey = "F#"
   106  	MusicalKeyG       MusicalKey = "G"
   107  	MusicalKeyG_      MusicalKey = "G#"
   108  	MusicalKeyA       MusicalKey = "A"
   109  	MusicalKeyA_      MusicalKey = "A#"
   110  	MusicalKeyB       MusicalKey = "B"
   111  )
   112  
   113  type MusicalScale string
   114  
   115  const (
   116  	MusicalScaleInvalid MusicalScale = ""
   117  	MusicalScaleMajor   MusicalScale = "Major"
   118  	MusicalScaleMinor   MusicalScale = "Minor"
   119  	MusicalScaleBoth    MusicalScale = "Both"
   120  	MusicalScaleNeither MusicalScale = "Neither"
   121  )
   122  
   123  type PullDown string
   124  
   125  const (
   126  	PullDownInvalid PullDown = ""
   127  	PullDownWSSWW   PullDown = "WSSWW"
   128  	PullDownSSWWW   PullDown = "SSWWW"
   129  	PullDownSWWWS   PullDown = "SWWWS"
   130  	PullDownWWWSS   PullDown = "WWWSS"
   131  	PullDownWWSSW   PullDown = "WWSSW"
   132  	PullDownWWWSW   PullDown = "WWWSW"
   133  	PullDownWWSWW   PullDown = "WWSWW"
   134  	PullDownWSWWW   PullDown = "WSWWW"
   135  	PullDownSWWWW   PullDown = "SWWWW"
   136  	PullDownWWWWS   PullDown = "WWWWS"
   137  )
   138  
   139  type ShotSize string
   140  
   141  const (
   142  	ShotSizeInvalid ShotSize = ""    // implementation internal
   143  	ShotSizeECU     ShotSize = "ECU" // extreme close-up
   144  	ShotSizeMCU     ShotSize = "MCU" //  medium close-up
   145  	ShotSizeCU      ShotSize = "CU"  //  close-up
   146  	ShotSizeMS      ShotSize = "MS"  //  medium shot
   147  	ShotSizeWS      ShotSize = "WS"  //  wide shot
   148  	ShotSizeMWS     ShotSize = "MWS" //  medium wide shot
   149  	ShotSizeEWS     ShotSize = "EWS" //  extreme wide shot
   150  )
   151  
   152  type StretchMode string
   153  
   154  const (
   155  	StretchModeInvalid     StretchMode = ""
   156  	StretchModeFixedLength StretchMode = "Fixed length"
   157  	StretchModeTimeScale   StretchMode = "Time-Scale"
   158  	StretchModeResample    StretchMode = "Resample"
   159  	StretchModeBeatSplice  StretchMode = "Beat Splice"
   160  	StretchModeHybrid      StretchMode = "Hybrid"
   161  )
   162  
   163  type TimeSignature string
   164  
   165  const (
   166  	TimeSignatureInvalid TimeSignature = ""
   167  	TimeSignature2_4     TimeSignature = "2/4"
   168  	TimeSignature3_4     TimeSignature = "3/4"
   169  	TimeSignature4_4     TimeSignature = "4/4"
   170  	TimeSignature5_4     TimeSignature = "5/4"
   171  	TimeSignature7_4     TimeSignature = "7/4"
   172  	TimeSignature6_8     TimeSignature = "6/8"
   173  	TimeSignature9_8     TimeSignature = "9/8"
   174  	TimeSignature12_8    TimeSignature = "12/8"
   175  )
   176  
   177  type AlphaMode string
   178  
   179  const (
   180  	AlphaModeInvalid       AlphaMode = ""
   181  	AlphaModeStraight      AlphaMode = "straight"
   182  	AlphaModePreMultiplied AlphaMode = "pre-multiplied"
   183  	AlphaModeNone          AlphaMode = "none"
   184  )
   185  
   186  type ColorSpace string
   187  
   188  const (
   189  	ColorSpaceInvalid ColorSpace = ""
   190  	ColorSpaceSRGB    ColorSpace = "sRGB"
   191  	ColorSpaceCCIR601 ColorSpace = "CCIR-601"
   192  	ColorSpaceCCIR709 ColorSpace = "CCIR-709"
   193  )
   194  
   195  type FieldOrder string
   196  
   197  const (
   198  	FieldOrderInvalid     FieldOrder = ""
   199  	FieldOrderUpper       FieldOrder = "Upper"
   200  	FieldOrderLower       FieldOrder = "Lower"
   201  	FieldOrderProgressive FieldOrder = "Progressive"
   202  )
   203  
   204  type PixelDepth string
   205  
   206  const (
   207  	PixelDepthInvalid PixelDepth = ""
   208  	PixelDepth8       PixelDepth = "8Int"
   209  	PixelDepth16      PixelDepth = "16Int"
   210  	PixelDepth24      PixelDepth = "24Int"
   211  	PixelDepth32      PixelDepth = "32Int"
   212  	PixelDepth32f     PixelDepth = "32Float"
   213  	PixelDepthOther   PixelDepth = "Other"
   214  )
   215  
   216  type TimecodeFormat string
   217  
   218  const (
   219  	TimecodeFormatInvalid TimecodeFormat = ""
   220  	TimecodeFormat24      TimecodeFormat = "24Timecode"
   221  	TimecodeFormat25      TimecodeFormat = "25Timecode"
   222  	TimecodeFormat2997    TimecodeFormat = "2997DropTimecode" // (semicolon delimiter)
   223  	TimecodeFormat2997ND  TimecodeFormat = "2997NonDropTimecode"
   224  	TimecodeFormat30      TimecodeFormat = "30Timecode"
   225  	TimecodeFormat50      TimecodeFormat = "50Timecode"
   226  	TimecodeFormat5994    TimecodeFormat = "5994DropTimecode" // (semicolon delimiter)
   227  	TimecodeFormat5994ND  TimecodeFormat = "5994NonDropTimecode"
   228  	TimecodeFormat60      TimecodeFormat = "60Timecode"
   229  	TimecodeFormat23976   TimecodeFormat = "23976Timecode"
   230  )
   231  
   232  type Quality string
   233  
   234  const (
   235  	QualityInvalid Quality = ""
   236  	QualityHigh    Quality = "High"
   237  	QualityMedium  Quality = "Medium"
   238  	QualityLow     Quality = "Low"
   239  )
   240  
   241  type FileType string
   242  
   243  const (
   244  	FileTypeInvalid FileType = ""
   245  	FileTypeMovie   FileType = "movie"
   246  	FileTypeStill   FileType = "still"
   247  	FileTypeAudio   FileType = "audio"
   248  	FileTypeCustom  FileType = "custom"
   249  )
   250  
   251  type MarkerType string
   252  
   253  const (
   254  	MarkerTypeInvalid      MarkerType = ""                            // implementation internal
   255  	MarkerTypeChapter      MarkerType = "Chapter"                     // XMP DM
   256  	MarkerTypeCue          MarkerType = "Cue"                         // XMP DM
   257  	MarkerTypeIndex        MarkerType = "Index"                       // XMP DM
   258  	MarkerTypeSpeech       MarkerType = "Speech"                      // XMP DM
   259  	MarkerTypeTrack        MarkerType = "Track"                       // XMP DM
   260  	MarkerTypeIptcDuration MarkerType = "ivqu:editorialDuration"      // IPTC Video Metadata Nov 2016
   261  	MarkerTypeIptcStart    MarkerType = "ivqu:editorialDurationStart" // IPTC Video Metadata Nov 2016
   262  	MarkerTypeIptcEnd      MarkerType = "ivqu:editorialDurationEnd"   // IPTC Video Metadata Nov 2016
   263  )