Add synthetic v210 feed source

This commit is contained in:
Johanness
2026-05-19 14:56:13 +03:00
parent 70b536e014
commit 1f45a72638
6 changed files with 337 additions and 1 deletions
+13
View File
@@ -4,6 +4,7 @@
#include "MxlFeed.hpp"
#include "MxlSdkFeed.hpp"
#include "SmpteBarsFeed.hpp"
#include "SyntheticV210Feed.hpp"
#include <iostream>
@@ -74,6 +75,18 @@ std::unique_ptr<IVideoFeed> createFeed(
frameHeight
);
case FeedKind::SyntheticV210:
if (verbose)
{
std::cerr << "Feed " << (feedIndex + 1)
<< ": synthetic v210" << std::endl;
}
return std::make_unique<SyntheticV210Feed>(
feedIndex,
frameWidth,
frameHeight
);
case FeedKind::NoSignal:
default:
if (verbose)