|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VideoFormatControl
Provides the means to retrieve informations about the format and aspect ratio of the video.
Field Summary | |
---|---|
static int |
AF_149_CENTRAL
Constant representing an active format description of 14:9 (central). |
static int |
AF_169_CENTRAL
Constant representing an active format description of 16:9 (central). |
static int |
AF_169_SHOOT_149_CENTRAL
Constant representing an active format description of 16:9 (with shoot & protect 14:9 central). |
static int |
AF_169_SHOOT_43_CENTRAL
Constant representing an active format description of 16:9 (with shoot & protect 4:3 central). |
static int |
AF_43_CENTRAL
Constant representing an active format description of 4:3 (central). |
static int |
AF_43_SHOOT_149_CENTRAL
Constant representing an active format description of 4:3 (with shoot & protect 14:9 central). |
static int |
AF_AS_THE_CODED_FRAME
Constant representing an active format as the coded frame. |
static int |
AF_BOX_149_UPPER
Constant representing an active format description of Box 14:9 (upper). |
static int |
AF_BOX_169_CENTRAL
Constant representing an active format description of Box > 16:9 (central). |
static int |
AF_BOX_169_UPPER
Constant representing an active format description of Box 16:9 (upper). |
static int |
AF_NOT_PRESENT
Constant representing a not present active format description. |
static int |
ASPECT_RATIO_169
The 16x9 aspect ratio. |
static int |
ASPECT_RATIO_43
The 4x3 aspect ratio. |
static int |
ASPECT_RATIO_NOT_PRESENT
No aspect ratio not known. |
static int |
DF_CENTER
Constant representing a decoder format description of center (only the central part of the 16:9 video will be displayed on a 4:3 frame. |
static int |
DF_FULL
Constant representing a decoder format description of fullscreen. |
static int |
DF_LETTERBOX
Constant representing a decoder format description of letterbox (the full 16:9 video will be displayed in the central part of a 4:3 frame black bars on top and bottom of the frame. |
static int |
DF_NOT_PRESENT
Constant representing a not present decoder format description. |
static int |
DF_PANSCAN
Constant representing a decoder format description of pan scan (only the central part of the 16:9 video will be displayed on a 4:3 frame using pan scan vectors). |
static int |
DF_SYSTEM
Constant representing that the decoder format description is set by the system. |
static int |
DF_ZOOM
Constant representing a decoder format description of zoom (only the central part of the 4:3 video will be displayed on a 16:9 frame. |
Method Summary | |
---|---|
void |
addVideoFormatListener(VideoFormatListener listener)
Add a listener to the VideoFormatControl. |
int |
getActiveFormatDefinition()
Gives the active_format of the Active Format Description (in ABNT NBR 15602-1:2007) if present as one of the defined AFD constant values. |
int |
getAspectRatio()
Gives the aspect ratio defined for the media under the control of this Player as it is displayed, i.e. after all transformations have been applied to it. |
int |
getDecoderFormatDefinition()
Gives the actual format definition that is currently used by the decoder. |
int |
getOriginalAspectRatio()
Gives the original aspect ratio defined for the media (as it has been transmitted). |
Transformation |
getTransformation(int decoderFormatConversion)
Returns the Transformation that describes the given decoder format conversion. |
void |
removeVideoFormatListener(VideoFormatListener listener)
Removes a VideoFormatListener object. |
Methods inherited from interface javax.media.Control |
---|
getControlComponent |
Field Detail |
---|
static final int ASPECT_RATIO_43
static final int ASPECT_RATIO_169
static final int ASPECT_RATIO_NOT_PRESENT
static final int AF_NOT_PRESENT
static final int AF_BOX_169_UPPER
static final int AF_BOX_149_UPPER
static final int AF_BOX_169_CENTRAL
static final int AF_AS_THE_CODED_FRAME
static final int AF_43_CENTRAL
static final int AF_169_CENTRAL
static final int AF_149_CENTRAL
static final int AF_43_SHOOT_149_CENTRAL
static final int AF_169_SHOOT_149_CENTRAL
static final int AF_169_SHOOT_43_CENTRAL
static final int DF_NOT_PRESENT
static final int DF_SYSTEM
static final int DF_FULL
static final int DF_LETTERBOX
static final int DF_ZOOM
static final int DF_CENTER
static final int DF_PANSCAN
Method Detail |
---|
int getAspectRatio()
ASPECT_RATIO_*
constant values defined in this interface that
indicates the aspect ratio of the media as it is displayed.int getOriginalAspectRatio()
ASPECT_RATIO_*
constant values defined in this interface that
indicates the aspect ratio of the media as originally
transmitted.int getActiveFormatDefinition()
int getDecoderFormatDefinition()
Transformation getTransformation(int decoderFormatConversion)
decoderFormatConversion
- one of the DF_ constants values.
void addVideoFormatListener(VideoFormatListener listener)
listener
- The object implementing the listener interface to be
added to the Control.removeVideoFormatListener(com.sun.dtv.media.format.VideoFormatListener)
void removeVideoFormatListener(VideoFormatListener listener)
listener
- The object to be removed from the Control.addVideoFormatListener(com.sun.dtv.media.format.VideoFormatListener)
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |