pub struct VideoDecodeCapabilities { /* private fields */ }Implementations§
Source§impl VideoDecodeCapabilities
impl VideoDecodeCapabilities
Sourcepub const fn profile(self) -> VideoDecodeProfile
pub const fn profile(self) -> VideoDecodeProfile
Return the exact profile used for this query.
Sourcepub const fn min_coded_extent(self) -> VideoExtent
pub const fn min_coded_extent(self) -> VideoExtent
Return the smallest supported coded extent.
Sourcepub const fn max_coded_extent(self) -> VideoExtent
pub const fn max_coded_extent(self) -> VideoExtent
Return the largest supported coded extent.
Sourcepub const fn picture_access_granularity(self) -> VideoExtent
pub const fn picture_access_granularity(self) -> VideoExtent
Return the device’s coded-picture access granularity.
Sourcepub const fn min_bitstream_offset_alignment(self) -> u64
pub const fn min_bitstream_offset_alignment(self) -> u64
Return the minimum encoded-bitstream buffer offset alignment in bytes.
Sourcepub const fn min_bitstream_size_alignment(self) -> u64
pub const fn min_bitstream_size_alignment(self) -> u64
Return the minimum encoded-bitstream buffer size alignment in bytes.
Sourcepub const fn max_dpb_slots(self) -> u32
pub const fn max_dpb_slots(self) -> u32
Return the maximum number of decoded-picture-buffer slots.
Sourcepub const fn max_active_reference_pictures(self) -> u32
pub const fn max_active_reference_pictures(self) -> u32
Return the maximum number of simultaneously active reference pictures.
Sourcepub const fn level(self) -> VideoDecodeLevel
pub const fn level(self) -> VideoDecodeLevel
Return the codec-specific maximum supported level.
Sourcepub const fn field_offset_granularity(self) -> Option<(i32, i32)>
pub const fn field_offset_granularity(self) -> Option<(i32, i32)>
Return H.264 field-offset granularity, or None for another codec.
Sourcepub const fn dpb_and_output_coincide(self) -> bool
pub const fn dpb_and_output_coincide(self) -> bool
Return whether decoded output may alias its DPB picture.
Sourcepub const fn dpb_and_output_distinct(self) -> bool
pub const fn dpb_and_output_distinct(self) -> bool
Return whether decoded output may be distinct from its DPB picture.
Sourcepub const fn protected_content(self) -> bool
pub const fn protected_content(self) -> bool
Return whether this profile supports protected video sessions.
Sourcepub const fn separate_reference_images(self) -> bool
pub const fn separate_reference_images(self) -> bool
Return whether each DPB slot may use a separate reference image.