Connector encoder in a DRM context.
More...
Connector encoder in a DRM context.
An SRMEncoder represents a connector encoder device responsible for driving displays (e.g., monitors or screens). This module provides functions to work with display encoders, including retrieving their information and associated resources.
- Note
- This module is primarily used by SRM internally and may not be of much use to external users.
◆ SRMEncoder
◆ srmEncoderGetID()
Get the unique identifier of the encoder.
- Parameters
-
- Returns
- The ID of the encoder.
◆ srmEncoderGetDevice()
Get the device to which this encoder belongs.
- Parameters
-
- Returns
- A pointer to the SRMDevice representing the device to which the encoder belongs.
◆ srmEncoderGetCrtcs()
Get a list of CRTCs (Cathode Ray Tube Controllers) compatible with this encoder.
- Parameters
-
- Returns
- A list of pointers to the CRTCs (SRMCrtc) compatible with the encoder.
◆ srmEncoderGetCurrentConnector()
Get the connector that is currently using this encoder.
- Parameters
-
- Returns
- A pointer to the SRMConnector currently utilizing this encoder, or
NULL
if not in use.