struct Protocol::SystemInfo::VideoDecodeAcceleratorCapability

Overview

Describes a supported video decoding profile with its associated minimum and maximum resolutions.

Included Modules

Defined in:

protocol/system_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def max_resolution : Size #

Maximum video dimensions in pixels supported for this |profile|.


[View source]
def min_resolution : Size #

Minimum video dimensions in pixels supported for this |profile|.


[View source]
def profile : String #

Video codec profile that is supported, e.g. VP9 Profile 2.


[View source]