Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandSystemInfoGetInfo + const CommandSystemInfoGetProcessInfo + type GPUDevice struct + DeviceID float64 + DeviceString string + DriverVendor string + DriverVersion string + Revision float64 + SubSysID float64 + VendorID float64 + VendorString string + type GPUInfo struct + AuxAttributes *json.RawMessage + Devices []GPUDevice + DriverBugWorkarounds []string + FeatureStatus *json.RawMessage + ImageDecoding []ImageDecodeAcceleratorCapability + VideoDecoding []VideoDecodeAcceleratorCapability + VideoEncoding []VideoEncodeAcceleratorCapability + type GetInfoArgs struct + func (a *GetInfoArgs) MarshalJSON() ([]byte, error) + func (a *GetInfoArgs) UnmarshalJSON(b []byte) error + type GetInfoReply struct + CommandLine string + GPU GPUInfo + ModelName string + ModelVersion string + func (a *GetInfoReply) GetFrameID() string + func (a *GetInfoReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetInfoReply) UnmarshalJSON(b []byte) error + type GetProcessInfoArgs struct + func (a *GetProcessInfoArgs) MarshalJSON() ([]byte, error) + func (a *GetProcessInfoArgs) UnmarshalJSON(b []byte) error + type GetProcessInfoReply struct + ProcessInfo []ProcessInfo + func (a *GetProcessInfoReply) GetFrameID() string + func (a *GetProcessInfoReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetProcessInfoReply) UnmarshalJSON(b []byte) error + type ImageDecodeAcceleratorCapability struct + ImageType ImageType + MaxDimensions Size + MinDimensions Size + Subsamplings []SubsamplingFormat + type ImageType string + const ImageTypeJpeg + const ImageTypeNotSet + const ImageTypeUnknown + const ImageTypeWebp + func (e ImageType) String() string + func (e ImageType) Valid() bool + type ProcessInfo struct + CPUTime float64 + ID int + Type string + type Size struct + Height int + Width int + type SubsamplingFormat string + const SubsamplingFormatNotSet + const SubsamplingFormatYuv420 + const SubsamplingFormatYuv422 + const SubsamplingFormatYuv444 + func (e SubsamplingFormat) String() string + func (e SubsamplingFormat) Valid() bool + type VideoDecodeAcceleratorCapability struct + MaxResolution Size + MinResolution Size + Profile string + type VideoEncodeAcceleratorCapability struct + MaxFramerateDenominator int + MaxFramerateNumerator int + MaxResolution Size + Profile string