Searched refs:VideoBackendType (Results 1 – 5 of 5) sorted by relevance
/external/crosvm/devices/src/virtio/video/ |
D | mod.rs | 78 use super::device_constants::video::VideoBackendType; 133 backend: VideoBackendType, 143 backend: VideoBackendType, in new() argument 165 pub fn build_config(backend: VideoBackendType) -> virtio_video_config { in build_config() 169 VideoBackendType::Libvda => device_name[0..6].copy_from_slice("libvda".as_bytes()), in build_config() 171 VideoBackendType::LibvdaVd => device_name[0..8].copy_from_slice("libvdavd".as_bytes()), in build_config() 173 VideoBackendType::Ffmpeg => device_name[0..6].copy_from_slice("ffmpeg".as_bytes()), in build_config() 175 VideoBackendType::Vaapi => device_name[0..5].copy_from_slice("vaapi".as_bytes()), in build_config() 267 VideoBackendType::Libvda => { in activate() 285 VideoBackendType::LibvdaVd => { in activate() [all …]
|
/external/crosvm/devices/src/virtio/ |
D | device_constants.rs | 192 pub enum VideoBackendType { enum 205 pub backend: VideoBackendType, 227 pub fn backend_supported_virtio_features(backend: VideoBackendType) -> u64 { in backend_supported_virtio_features() 230 VideoBackendType::Libvda | VideoBackendType::LibvdaVd => { in backend_supported_virtio_features() 234 VideoBackendType::Ffmpeg => ffmpeg_supported_virtio_features(), in backend_supported_virtio_features() 236 VideoBackendType::Vaapi => vaapi_supported_virtio_features(), in backend_supported_virtio_features()
|
D | media.rs | 54 use crate::virtio::device_constants::video::VideoBackendType; 730 backend: VideoBackendType, in create_virtio_media_decoder_adapter_device() argument 757 VideoBackendType::Libvda => { in create_virtio_media_decoder_adapter_device() 761 VideoBackendType::LibvdaVd => { in create_virtio_media_decoder_adapter_device() 765 VideoBackendType::Vaapi => VaapiDecoder::new()?.into_trait_object(), in create_virtio_media_decoder_adapter_device() 767 VideoBackendType::Ffmpeg => FfmpegDecoder::new().into_trait_object(), in create_virtio_media_decoder_adapter_device()
|
/external/crosvm/src/crosvm/sys/linux/ |
D | device_helpers.rs | 37 use devices::virtio::device_constants::video::VideoBackendType; 1050 backend: VideoBackendType, in create_video_device_jail() argument 1070 VideoBackendType::Libvda => true, in create_video_device_jail() 1072 VideoBackendType::LibvdaVd => true, in create_video_device_jail() 1074 VideoBackendType::Vaapi => true, in create_video_device_jail() 1076 VideoBackendType::Ffmpeg => false, in create_video_device_jail() 1106 backend: VideoBackendType, in create_video_device() argument 1131 backend: VideoBackendType, in register_video_device() argument 1177 backend: VideoBackendType, in create_virtio_media_adapter() argument
|
/external/crosvm/src/crosvm/ |
D | config.rs | 1935 use devices::virtio::device_constants::video::VideoBackendType; in parse_video() 1940 assert_eq!(params.backend, VideoBackendType::Libvda); in parse_video() 1943 assert_eq!(params.backend, VideoBackendType::LibvdaVd); in parse_video() 1949 assert_eq!(params.backend, VideoBackendType::Ffmpeg); in parse_video() 1955 assert_eq!(params.backend, VideoBackendType::Vaapi); in parse_video()
|