X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=core%2Fproducer%2Fscene%2Fscene_producer.h;h=08b2e7fb6f704d0608ef996846facac3c2445954;hb=ceffb3558efafb706af50c04b4b150250e2963f0;hp=c954f12ccc01923b3e8cfa0c411165d41e67936e;hpb=0eab6d7ef8ee618924b4aac7c86f6f1b78d19fc5;p=casparcg diff --git a/core/producer/scene/scene_producer.h b/core/producer/scene/scene_producer.h index c954f12cc..08b2e7fb6 100644 --- a/core/producer/scene/scene_producer.h +++ b/core/producer/scene/scene_producer.h @@ -54,10 +54,24 @@ struct corners struct adjustments { binding opacity; + binding contrast; + binding saturation; + binding brightness; adjustments(); }; +struct levels +{ + binding min_input; + binding max_input; + binding gamma; + binding min_output; + binding max_output; + + levels(); +}; + struct chroma_key { binding enable; @@ -77,14 +91,17 @@ struct layer scene::coord position; scene::rect crop; scene::corners perspective; + scene::rect clip; binding rotation; scene::adjustments adjustments; + scene::levels levels; binding> producer; binding hidden; binding is_key; binding use_mipmap; binding blend_mode; scene::chroma_key chroma_key; + binding volume; explicit layer(const std::wstring& name, const spl::shared_ptr& producer); };