public class S3DSignalingChangedEvent extends VideoFormatEvent
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:
VideoFormatControl
,
Serialized FormModifier and Type | Field and Description |
---|---|
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.
|
source
Constructor and Description |
---|
S3DSignalingChangedEvent(Player source,
int transitionType,
S3DConfiguration config)
Constructs an event.
|
Modifier and Type | Method and Description |
---|---|
S3DConfiguration |
getConfig()
Gets the
config value passed to the constructor. |
int |
getTransitionType()
Gets the
transitionType value passed to the constructor. |
getSource, toString
public static final int TRANSITION_FROM_2D_TO_3D
public static final int TRANSITION_FROM_3D_TO_2D
public static final int TRANSITION_OF_3D_FORMAT
public S3DSignalingChangedEvent(Player source, int transitionType, S3DConfiguration config)
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.public int getTransitionType()
transitionType
value passed to the constructor.public S3DConfiguration getConfig()
config
value passed to the constructor.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 © 2013 CableLabs. All rights reserved.