1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use {
    crate::{
        cx::Cx,
        decoding_api::{CxDecodingApi, VideoDecodingInputFn},
        makepad_live_id::LiveId,
    },
    std::{
        collections::HashMap,
        sync::{Arc, Mutex},
    },
};

#[derive(Default)]
pub struct CxLinuxDecoding {
    pub video_decoding_input_cb: HashMap<LiveId, Arc<Mutex<Option<VideoDecodingInputFn>>>>,
}

impl Cx {}

impl CxDecodingApi for Cx {
    fn video_decoding_input_box(&mut self, _video_id: LiveId, _f: VideoDecodingInputFn) {

    }
}