|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.hardware.VideoOutputPort
public abstract class VideoOutputPort
An object of this class represents an analog or digital video output of the OCAP terminal. If the type is the analog video output, it is mapped to a physical pin plug of the video output. If the type is the digital serial output, it is mapped to a physical pin plug of the video output. If the type is the digital bus output, it is mapped to a bus node that has several output ports. For example, if the type is the 1394 bus, the VideoOutputPort instance represents not the 1394 port (physical pin plug) but the 1394 node that has several 1394 ports.
An application cannot construct an instance of this class directly. Instead, the Host.getVideoOutputPorts() method is used to obtain a java.util.Enumeration of references to VideoOutputPort instances. The Enumeration.nextElement() method can be used to obtain references to individual VideoOutputPort instances.
The video port is a scarce resource, but the resource management framework is not applied. At most only one 1394 connection is available for a single OCAP implementation. If some applications call VideoOutputPort.select1394sink(), only the last call is effective. The other calls are ignored or disconnected without any notification.
Field Summary | |
---|---|
static int |
AV_OUTPUT_PORT_TYPE_1394
AV Output Port Type 1394 (Firewire) |
static int |
AV_OUTPUT_PORT_TYPE_BB
AV Output Port Type Baseband (RCA connector) |
static int |
AV_OUTPUT_PORT_TYPE_COMPONENT_VIDEO
AV Output Port Type Component Video |
static int |
AV_OUTPUT_PORT_TYPE_DVI
AV Output Port Type DVI (Panel Link, HDCP) |
static int |
AV_OUTPUT_PORT_TYPE_HDMI
AV Output Port Type HDMI |
static int |
AV_OUTPUT_PORT_TYPE_INTERNAL
AV Output Port Type Internal (integrated/internal display) |
static int |
AV_OUTPUT_PORT_TYPE_RF
AV Output Port Type RF channel 3/4 |
static int |
AV_OUTPUT_PORT_TYPE_SVIDEO
AV Output Port Type S-Video |
static int |
CAPABILITY_TYPE_DTCP
AV Output Port Capability Type DTCP |
static int |
CAPABILITY_TYPE_HDCP
AV Output Port Capability Type HDCP |
static int |
CAPABILITY_TYPE_RESOLUTION_RESTRICTION
AV Output Port Capability Type Resolution Restriction for HD Video |
Constructor Summary | |
---|---|
protected |
VideoOutputPort()
OCAP applications SHALL NOT use this constructor - it is provided for internal use by the OCAP implementation. |
Method Summary | |
---|---|
abstract void |
disable()
Disable the video output port, that is, prevent the video output from this port. |
abstract void |
enable()
Enable the video output port, that is, allow the video output from this port. |
abstract IEEE1394Node[] |
getIEEE1394Node()
Get the list of IEEE1394Node corresponding to all the 1394 nodes that were discovered by the OpenCable Host device. |
abstract int |
getType()
Get the type of this VideoOutputPort. |
abstract java.lang.Object |
queryCapability(int capabilityType)
Query the value related to specified capabilityType. |
abstract void |
selectIEEE1394Sink(byte[] eui64,
short subunitType)
Select an IEEE1394 sink node which will establish a stream connection to the node of the OCAP implementation and give a parameter to establish a point to point AV connection. |
abstract boolean |
status()
This method returns a current status of this video output port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AV_OUTPUT_PORT_TYPE_RF
public static final int AV_OUTPUT_PORT_TYPE_BB
public static final int AV_OUTPUT_PORT_TYPE_SVIDEO
public static final int AV_OUTPUT_PORT_TYPE_1394
public static final int AV_OUTPUT_PORT_TYPE_DVI
public static final int AV_OUTPUT_PORT_TYPE_COMPONENT_VIDEO
public static final int AV_OUTPUT_PORT_TYPE_HDMI
public static final int AV_OUTPUT_PORT_TYPE_INTERNAL
public static final int CAPABILITY_TYPE_DTCP
public static final int CAPABILITY_TYPE_HDCP
public static final int CAPABILITY_TYPE_RESOLUTION_RESTRICTION
Constructor Detail |
---|
protected VideoOutputPort()
Method Detail |
---|
public abstract void enable()
java.lang.SecurityException
- if the caller has not been granted
MonitorAppPermission("setVideoPort")
java.lang.IllegalStateException
- if the host couldn’t enable
the port in cases where the Host is unable to start a signal from
the port, e.g. in the case where another 1394 port has a connection
that prevents a new connection.public abstract void disable()
java.lang.SecurityException
- if the caller has not been granted
MonitorAppPermission("setVideoPort")
java.lang.IllegalStateException
- if this method is called for a
VideoOutputPort which does not support disabling, or the host couldn’t
disable the port in cases where the Host is unable to terminate a
signal from the port, e.g. in the case where a 1394 port has overlayed
connections.public abstract boolean status()
public abstract java.lang.Object queryCapability(int capabilityType)
capabilityType
- The capability type to query the value
CAPABILITY_TYPE_xxx
public abstract IEEE1394Node[] getIEEE1394Node()
java.lang.IllegalStateException
- if this method is called for the
VideoOutputPort which does not represent AV_OUTPUT_PORT_TYPE_1394.
java.lang.SecurityException
- if the caller has not been granted
MonitorAppPermission("setVideoPort")public abstract void selectIEEE1394Sink(byte[] eui64, short subunitType)
eui64
- an unsigned big endian 64-bits value of EUI-64 of a sink node.subunitType
- type value of a sink AV subunit to be connected.
java.lang.IllegalArgumentException
- if eui64 is not valid.
java.lang.IllegalStateException
- if this method is called for the
VideoOutputPort which does not represent AV_OUTPUT_PORT_TYPE_1394.
java.lang.SecurityException
- if the caller has not been granted
MonitorAppPermission("setVideoPort")public abstract int getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |