-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(automatic) update dialects to rev https://github.com/mavlink/mavlink…
- Loading branch information
gomavlib-bot
committed
Jul 18, 2024
1 parent
2c23f88
commit 294ea7b
Showing
28 changed files
with
324 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package all | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package ardupilotmega | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package asluav | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package avssuas | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package common | ||
|
||
import ( | ||
"fmt" | ||
"strconv" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING uint64 | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = 0 | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = 1 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = 2 | ||
) | ||
|
||
var labels_VIDEO_STREAM_ENCODING = map[VIDEO_STREAM_ENCODING]string{ | ||
VIDEO_STREAM_ENCODING_UNKNOWN: "VIDEO_STREAM_ENCODING_UNKNOWN", | ||
VIDEO_STREAM_ENCODING_H264: "VIDEO_STREAM_ENCODING_H264", | ||
VIDEO_STREAM_ENCODING_H265: "VIDEO_STREAM_ENCODING_H265", | ||
} | ||
|
||
var values_VIDEO_STREAM_ENCODING = map[string]VIDEO_STREAM_ENCODING{ | ||
"VIDEO_STREAM_ENCODING_UNKNOWN": VIDEO_STREAM_ENCODING_UNKNOWN, | ||
"VIDEO_STREAM_ENCODING_H264": VIDEO_STREAM_ENCODING_H264, | ||
"VIDEO_STREAM_ENCODING_H265": VIDEO_STREAM_ENCODING_H265, | ||
} | ||
|
||
// MarshalText implements the encoding.TextMarshaler interface. | ||
func (e VIDEO_STREAM_ENCODING) MarshalText() ([]byte, error) { | ||
if name, ok := labels_VIDEO_STREAM_ENCODING[e]; ok { | ||
return []byte(name), nil | ||
} | ||
return []byte(strconv.Itoa(int(e))), nil | ||
} | ||
|
||
// UnmarshalText implements the encoding.TextUnmarshaler interface. | ||
func (e *VIDEO_STREAM_ENCODING) UnmarshalText(text []byte) error { | ||
if value, ok := values_VIDEO_STREAM_ENCODING[string(text)]; ok { | ||
*e = value | ||
} else if value, err := strconv.Atoi(string(text)); err == nil { | ||
*e = VIDEO_STREAM_ENCODING(value) | ||
} else { | ||
return fmt.Errorf("invalid label '%s'", text) | ||
} | ||
return nil | ||
} | ||
|
||
// String implements the fmt.Stringer interface. | ||
func (e VIDEO_STREAM_ENCODING) String() string { | ||
val, _ := e.MarshalText() | ||
return string(val) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package cubepilot | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package development | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package matrixpilot | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package paparazzi | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
pkg/dialects/pythonarraytest/enum_video_stream_encoding.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package pythonarraytest | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//autogenerated:yes | ||
//nolint:revive,misspell,govet,lll,dupl,gocritic | ||
package storm32 | ||
|
||
import ( | ||
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common" | ||
) | ||
|
||
// Video stream encodings | ||
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING | ||
|
||
const ( | ||
// Stream encoding is unknown | ||
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN | ||
// Stream encoding is H.264 | ||
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264 | ||
// Stream encoding is H.265 | ||
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.