Home
last modified time | relevance | path

Searched refs:CtrlType (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/devices/src/virtio/video/
Dcommand.rs111 ctrl_type: CtrlType,
320 VIRTIO_VIDEO_CONTROL_BITRATE => CtrlType::Bitrate, in from_reader()
321 VIRTIO_VIDEO_CONTROL_BITRATE_PEAK => CtrlType::BitratePeak, in from_reader()
322 VIRTIO_VIDEO_CONTROL_BITRATE_MODE => CtrlType::BitrateMode, in from_reader()
323 VIRTIO_VIDEO_CONTROL_PROFILE => CtrlType::Profile, in from_reader()
324 VIRTIO_VIDEO_CONTROL_LEVEL => CtrlType::Level, in from_reader()
325 VIRTIO_VIDEO_CONTROL_FORCE_KEYFRAME => CtrlType::ForceKeyframe, in from_reader()
326 VIRTIO_VIDEO_CONTROL_PREPEND_SPSPPS_TO_IDR => CtrlType::PrependSpsPpsToIdr, in from_reader()
Derror.rs10 use crate::virtio::video::control::CtrlType;
42 UnsupportedControl(CtrlType),
Dcontrol.rs55 pub enum CtrlType { enum
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs1185 return Err(VideoError::UnsupportedControl(CtrlType::Profile)); in query_control()
1209 return Err(VideoError::UnsupportedControl(CtrlType::Level)); in query_control()
1223 ctrl_type: CtrlType, in get_control() argument
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()
1238 CtrlType::Level => { in get_control()
1254 CtrlType::ForceKeyframe => return Err(VideoError::UnsupportedControl(ctrl_type)), in get_control()
1257 CtrlType::PrependSpsPpsToIdr => CtrlVal::PrependSpsPpsToIdr(true), in get_control()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs21 use crate::virtio::video::control::CtrlType;
795 ctrl_type: CtrlType, in get_control() argument
799 CtrlType::Profile => { in get_control()
817 CtrlType::Level => { in get_control()