org.ocap.media
Class S3DSignalingChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.dvb.media.VideoFormatEvent
          extended by org.ocap.media.S3DSignalingChangedEvent
All Implemented Interfaces:
Serializable

public class S3DSignalingChangedEvent
extends VideoFormatEvent

This class represents an event that will be reported to an application with an org.ocap.media.VideoFormatControl. For a presenting Player the implementation SHALL monitor the signaling of 3D formatting data, as defined by [OCCEP], and generate this event when:

See Also:
VideoFormatControl, Serialized Form

Field Summary
static int TRANSITION_FROM_2D_TO_3D
          3D formatting data in content transitioned from no 3D formatting data present (i.e., 2D content), to 3D formatting data present in content.
static int TRANSITION_FROM_3D_TO_2D
          3D formatting data in content transitioned from 3D formatting data present in content to no 3D formatting data present in content (i.e., 2D content).
static int TRANSITION_OF_3D_FORMAT
          3D formatting data in content transitioned from one format to another; e.g., Side by Side to Top and Bottom, Top and Bottom to Side by Side.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
S3DSignalingChangedEvent(Player source, int transitionType, S3DConfiguration config)
          Constructs an event.
 
Method Summary
 S3DConfiguration getConfig()
          Gets the config value passed to the constructor.
 int getTransitionType()
          Gets the transitionType value passed to the constructor.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRANSITION_FROM_2D_TO_3D

public static final int TRANSITION_FROM_2D_TO_3D
3D formatting data in content transitioned from no 3D formatting data present (i.e., 2D content), to 3D formatting data present in content.

See Also:
Constant Field Values

TRANSITION_FROM_3D_TO_2D

public static final int TRANSITION_FROM_3D_TO_2D
3D formatting data in content transitioned from 3D formatting data present in content to no 3D formatting data present in content (i.e., 2D content).

See Also:
Constant Field Values

TRANSITION_OF_3D_FORMAT

public static final int TRANSITION_OF_3D_FORMAT
3D formatting data in content transitioned from one format to another; e.g., Side by Side to Top and Bottom, Top and Bottom to Side by Side.

See Also:
Constant Field Values
Constructor Detail

S3DSignalingChangedEvent

public S3DSignalingChangedEvent(Player source,
                                int transitionType,
                                S3DConfiguration config)
Constructs an event.

Parameters:
source - The source of the event.
transitionType - Indicates the type of content format change. When the content type transitions from 2D to 3D this parameter is set to TRANSITION_FROM_2D_TO_3D. When the content type transitions from 3D to 2D this parameter is set to TRANSITION_FROM_3D_TO_2D. When the content type transitions between 3D formats this parameter is set to TRANSITION_OF_3D_FORMAT.
config - The 3D configuration that was signaled. The value SHALL be null when 2D content is currently signaled.
Method Detail

getTransitionType

public int getTransitionType()
Gets the transitionType value passed to the constructor.

Returns:
The 3D signaling transition type.

getConfig

public S3DConfiguration getConfig()
Gets the config value passed to the constructor.

Returns:
The signaled 3D configuration, or null if 2D content is currently signaled. Note: Rapid changes in 3D signaling may cause the returned S3DConfiguration object to be stale as soon as this method completes.


Copyright © 2011. All Rights Reserved.