Searched refs:CtrlVal (Results 1 – 8 of 8) sorted by relevance
66 pub enum CtrlVal { enum76 impl Response for CtrlVal { implementation79 CtrlVal::Bitrate(r) => w.write_obj(virtio_video_control_val_bitrate { in write()83 CtrlVal::BitratePeak(r) => w.write_obj(virtio_video_control_val_bitrate_peak { in write()87 CtrlVal::BitrateMode(m) => w.write_obj(virtio_video_control_val_bitrate_mode { in write()91 CtrlVal::Profile(p) => w.write_obj(virtio_video_control_val_profile { in write()95 CtrlVal::Level(l) => w.write_obj(virtio_video_control_val_level { in write()99 CtrlVal::ForceKeyframe => Err(io::Error::new( in write()103 CtrlVal::PrependSpsPpsToIdr(p) => { in write()
115 ctrl_val: CtrlVal,339 VIRTIO_VIDEO_CONTROL_BITRATE => CtrlVal::Bitrate( in from_reader()344 VIRTIO_VIDEO_CONTROL_BITRATE_PEAK => CtrlVal::BitratePeak( in from_reader()349 VIRTIO_VIDEO_CONTROL_BITRATE_MODE => CtrlVal::BitrateMode( in from_reader()354 VIRTIO_VIDEO_CONTROL_PROFILE => CtrlVal::Profile( in from_reader()359 VIRTIO_VIDEO_CONTROL_LEVEL => CtrlVal::Level( in from_reader()364 VIRTIO_VIDEO_CONTROL_FORCE_KEYFRAME => CtrlVal::ForceKeyframe, in from_reader()365 VIRTIO_VIDEO_CONTROL_PREPEND_SPSPPS_TO_IDR => CtrlVal::PrependSpsPpsToIdr( in from_reader()
50 GetControl(CtrlVal),
1230 CtrlType::BitrateMode => CtrlVal::BitrateMode(stream.dst_bitrate.mode()), in get_control()1231 CtrlType::Bitrate => CtrlVal::Bitrate(stream.dst_bitrate.target()), in get_control()1232 CtrlType::BitratePeak => CtrlVal::BitratePeak(match stream.dst_bitrate { in get_control()1237 CtrlType::Profile => CtrlVal::Profile(stream.dst_profile), in get_control()1244 Format::H264 => CtrlVal::Level(stream.dst_h264_level.ok_or_else(|| { in get_control()1257 CtrlType::PrependSpsPpsToIdr => CtrlVal::PrependSpsPpsToIdr(true), in get_control()1268 ctrl_val: CtrlVal, in set_control() argument1278 CtrlVal::BitrateMode(bitrate_mode) => { in set_control()1296 CtrlVal::Bitrate(bitrate) => { in set_control()1314 CtrlVal::BitratePeak(bitrate) => { in set_control()[all …]
274 public static final double CtrlVal = 0.5522847498307933; in getPathIterator() local275 private final double ncv = 1.0 - CtrlVal; in getPathIterator()
22 use crate::virtio::video::control::CtrlVal;815 Ok(CtrlVal::Profile(profile)) in get_control()830 Ok(CtrlVal::Level(level)) in get_control()