]> git.sesse.net Git - casparcg/blob - test/mock/mock_frame.h
2.0.2: image_mixer: Fixed blending modes. Use straight alpha in calculations.
[casparcg] / test / mock / mock_frame.h
1 #pragma once\r
2 \r
3 #include <core/processor/frame.h>\r
4 \r
5 struct mock_frame : public caspar::core::frame\r
6 {\r
7         mock_frame(void* tag, short volume = 100) : caspar::core::frame(0,0), tag(tag)\r
8         {\r
9                 audio_data().resize(100, volume);\r
10         }\r
11         void* tag;\r
12 };