Skip to content
Merged
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions fluster/decoders/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def output_format_to_gst(output_format: OutputFormat) -> str:
mapping = {
OutputFormat.GRAY: "GRAY8",
OutputFormat.GRAY10LE: "GRAY10_LE16",
OutputFormat.GRAY12LE: "GRAY12_LE",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not exist, yet.

OutputFormat.GRAY16LE: "GRAY16_LE",
OutputFormat.YUV420P: "I420",
OutputFormat.YUV422P: "Y42B",
Expand All @@ -71,7 +72,12 @@ def output_format_to_gst(output_format: OutputFormat) -> str:
OutputFormat.YUV444P: "Y444",
OutputFormat.YUV444P10LE: "Y444_10LE",
OutputFormat.YUV444P12LE: "Y444_12LE",
OutputFormat.YUV444P14LE: "Y444_14LE",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not exist, yet.

OutputFormat.YUV444P16LE: "Y444_16LE",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one exists, but not in videocodectestsink yet.

OutputFormat.GBRP: "GBR",
OutputFormat.GBRP10LE: "GBR_10LE",
OutputFormat.GBRP12LE: "GBR_12LE",
OutputFormat.GBRP14LE: "GBR_14LE",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14bit is missing, others missing videocodectestssink.

}
return mapping[output_format]

Expand Down
Loading