18-05-26 result

This commit is contained in:
Johanness
2026-05-18 01:26:21 +03:00
parent ea7e73d6a4
commit ad215f32bc
34 changed files with 1616 additions and 395 deletions
+17
View File
@@ -576,6 +576,21 @@ std::string MxlSdkFeed::sourceInfo() const
uint64_t MxlSdkFeed::frameVersion() const { return mFrameVersion; }
bool MxlSdkFeed::hasGrainIndex() const { return mFlowOpened; }
uint64_t MxlSdkFeed::grainIndex() const { return mLastDisplayedIndex; }
bool MxlSdkFeed::hasFrameRate() const
{
return mGrainRate.denominator > 0 &&
mGrainRate.numerator > 0;
}
double MxlSdkFeed::frameRate() const
{
if (!hasFrameRate())
{
return 0.0;
}
return static_cast<double>(mGrainRate.numerator) /
static_cast<double>(mGrainRate.denominator);
}
float MxlSdkFeed::srcAspectRatio() const
{
@@ -604,6 +619,8 @@ std::string MxlSdkFeed::sourceInfo() const { return ""; }
uint64_t MxlSdkFeed::frameVersion() const { return 0; }
bool MxlSdkFeed::hasGrainIndex() const { return false; }
uint64_t MxlSdkFeed::grainIndex() const { return 0; }
bool MxlSdkFeed::hasFrameRate() const { return false; }
double MxlSdkFeed::frameRate() const { return 0.0; }
float MxlSdkFeed::srcAspectRatio() const { return 16.0f / 9.0f; }
bool MxlSdkFeed::hasV210() const { return false; }
const uint8_t* MxlSdkFeed::v210Data() const { return nullptr; }