Performance chasing
This commit is contained in:
@@ -93,9 +93,10 @@ void TestPolicyNormalization()
|
||||
policy.maxReadyFrames = 2;
|
||||
|
||||
VideoPlayoutPolicy normalized = NormalizeVideoPlayoutPolicy(policy);
|
||||
Expect(normalized.outputFramePoolSize == 1, "policy normalization keeps at least one output frame");
|
||||
Expect(normalized.targetPrerollFrames == 1, "policy normalization keeps at least one preroll frame");
|
||||
Expect(normalized.maxReadyFrames == normalized.targetReadyFrames, "policy normalization keeps max ready frames above target");
|
||||
Expect(normalized.outputFramePoolSize >= normalized.targetPrerollFrames + normalized.maxReadyFrames + normalized.minimumSpareDeviceFrames,
|
||||
"policy normalization keeps enough output frames for preroll and ready queue ownership");
|
||||
}
|
||||
|
||||
void TestFrameBudgets()
|
||||
|
||||
Reference in New Issue
Block a user