Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbandes committed Nov 26, 2024
1 parent d073552 commit 3d83b9d
Show file tree
Hide file tree
Showing 13 changed files with 180 additions and 44 deletions.
20 changes: 16 additions & 4 deletions internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,22 @@ export type CompressedVideo = {
/**
* Video format.
*
* Supported values:
* - \`h264\` (Annex B formatted data only)
* - \`h265\` (HEVC; Annex B formatted data only)
* - \`av1\` (Low overhead bitstream format)
* Supported formats:
*
* - \`h264\`
* - Use Annex B formatted data
* - Each CompressedVideo message should contain enough NAL units to decode exactly one video frame
* - Each message containing a key frame (IDR) must also include a SPS NAL unit
*
* - \`h265\` (HEVC)
* - Use Annex B formatted data
* - Each CompressedVideo message should contain enough NAL units to decode exactly one video frame
* - Each message containing a key frame (IRAP) must also include relevant VPS/SPS/PPS NAL units
*
* - \`av1\`
* - Use the "Low overhead bitstream format" (section 5.2)
* - Each CompressedVideo message should contain enough OBUs to decode exactly one video frame
* - Each message containing a key frame must also include a Sequence Header OBU
*/
format: string;
};
Expand Down
20 changes: 18 additions & 2 deletions internal/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,24 @@ const CompressedVideo: FoxgloveMessageSchema = {
{
name: "format",
type: { type: "primitive", name: "string" },
description:
"Video format.\n\nSupported values:\n- `h264` (Annex B formatted data only)\n- `h265` (HEVC; Annex B formatted data only)\n- `av1` (Low overhead bitstream format)",
description: `Video format.
Supported formats:
- \`h264\`
- Use Annex B formatted data
- Each CompressedVideo message should contain enough NAL units to decode exactly one video frame
- Each message containing a key frame (IDR) must also include a SPS NAL unit
- \`h265\` (HEVC)
- Use Annex B formatted data
- Each CompressedVideo message should contain enough NAL units to decode exactly one video frame
- Each message containing a key frame (IRAP) must also include relevant VPS/SPS/PPS NAL units
- \`av1\`
- Use the "Low overhead bitstream format" (section 5.2)
- Each CompressedVideo message should contain enough OBUs to decode exactly one video frame
- Each message containing a key frame must also include a Sequence Header OBU`,
},
],
};
Expand Down
20 changes: 16 additions & 4 deletions ros_foxglove_msgs/ros1/CompressedVideo.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions ros_foxglove_msgs/ros2/CompressedVideo.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/flatbuffer/CompressedVideo.fbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion schemas/jsonschema/CompressedVideo.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion schemas/jsonschema/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/omgidl/foxglove/CompressedVideo.idl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/proto/foxglove/CompressedVideo.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/ros1/CompressedVideo.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/ros2/CompressedVideo.msg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions schemas/typescript/CompressedVideo.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d83b9d

Please sign in to comment.