User:Shellylin/InputPort: Difference between revisions

Line 52: Line 52:
=== Specific Port Interfaces ===
=== Specific Port Interfaces ===
==== A/V ====
==== A/V ====
   enum AVVideoType { "composite", "component", "scart-rgb" };
   enum AVVideoType { "composite", "component" };


   interface AVInputPort : InputPort {
   interface AVInputPort : InputPort {
     sequence<AVVideoType> getSupportedVideoTypes ();
     sequence<AVVideoType> getSupportedAVVideoTypes ();
    attribute AVVideoTypeEnum currentVideoType;
   }
   }


==== HDMI/DisplayPort ====
==== HDMI/DisplayPort ====
   enum HDMIPictureQuality { "xvycc", "colorymetory", "photo-graphics" };
   enum HDMIPictureQuality { "xvycc", "colorymetory", "photo-graphics" };
  enum HDMIConnectedSourceType { "hdmi", "dvi" }
  enum HDMIAudioType { "digital", "analog" };


   interface HDMIInputPort : InputPort {
   interface HDMIInputPort : InputPort {
    sequence<AVVideoType> getSupportedAudioTypes ();
     readonly attribute HDMIPictureQuality? pictureQuality;
     readonly attribute HDMIPictureQuality? pictureQuality;
    readonly attribute HDMIConnectedSourceType connectedSourceType;
            attribute HDMIAudioType currentAudioType;
   }
   }


Confirmed users
220

edits