1 //! Definition of USER class controls.
2 
3 use crate::bindings;
4 use crate::controls::ExtControlTrait;
5 
6 pub struct Brightness;
7 impl ExtControlTrait for Brightness {
8     const ID: u32 = bindings::V4L2_CID_BRIGHTNESS;
9     type PAYLOAD = i32;
10 }
11 
12 pub struct Contrast;
13 impl ExtControlTrait for Contrast {
14     const ID: u32 = bindings::V4L2_CID_CONTRAST;
15     type PAYLOAD = i32;
16 }
17