nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
pvideo_tests.h
1#pragma once
2
3#include <memory>
4#include <string>
5
6#include "test_host.h"
7#include "test_suite.h"
8
12class PvideoTests : public TestSuite {
13 public:
14 PvideoTests(TestHost &host, std::string output_dir, const Config &config);
15 void Initialize() override;
16 void Deinitialize() override;
17
18 private:
19 void TestStopBehavior();
20 void TestAlternateStopBehavior();
21
22 void TestSizeInMaxUnityDeltas();
23 void TestSizeInMaxLargeDelta();
24 void TestSizeInMaxSmallDelta();
25 void TestSizeMaxOutSmallUnityDeltas();
26 void TestSizeMaxOutSmallCorrectDeltas();
27
28 void TestPALIntoNTSC();
29 void TestSizeInLargerThanSizeOutUnityDeltas();
30 void TestSizeInLargerThanSizeOutCorrectDeltas();
31
32 void TestSizeInSmallerThanSizeOutUnityDeltas();
33 void TestSizeInSmallerThanSizeOutCorrectDeltas();
34
35 void TestPitchLessThanCompact();
36 void TestPitchLargerThanCompact();
37 void TestPitch();
38
39 void TestColorKey();
40
41 void TestSimpleFullscreenOverlay0();
42 void TestOverlay1();
43 void TestOverlappedOverlays();
44
45 void TestInPoint();
46 void TestInSize();
47 void TestOutPoint();
48 void TestOutSize();
49 void TestRatios();
50
51 void DrawFullscreenOverlay();
52
53 private:
54 uint8_t *video_{nullptr};
55 uint8_t *video2_{nullptr};
56};
Definition pvideo_tests.h:12
void Initialize() override
Called to initialize the test suite.
Definition pvideo_tests.cpp:81
void Deinitialize() override
Called to tear down the test suite.
Definition pvideo_tests.cpp:97
Definition test_host.h:33
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23