pub fn create_decoder_device(
    backend: VideoBackendType,
    resource_bridge: Tube,
    mem: GuestMemory
) -> Result<Box<dyn Device>, Error>