makepad_platform/os/linux/
linux_decoding.rs1use {
2 crate::{
3 cx::Cx,
4 decoding_api::{CxDecodingApi, VideoDecodingInputFn},
5 makepad_live_id::LiveId,
6 },
7 std::{
8 collections::HashMap,
9 sync::{Arc, Mutex},
10 },
11};
12
13#[derive(Default)]
14pub struct CxLinuxDecoding {
15 pub video_decoding_input_cb: HashMap<LiveId, Arc<Mutex<Option<VideoDecodingInputFn>>>>,
16}
17
18impl Cx {}
19
20impl CxDecodingApi for Cx {
21 fn video_decoding_input_box(&mut self, _video_id: LiveId, _f: VideoDecodingInputFn) {
22
23 }
24}