|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.dtv.media.format.Transformation
public class Transformation
This class represents a container for transformation information for a video transformation. It is used as an input to the VideoFormatControl. Clipping, scaling and position of the video. All transformations have to be applied after ETR154 up-scaling.
Constructor Summary | |
---|---|
Transformation(Rectangle clippingRectangle,
float horizontalScalingFactor,
float verticalScalingFactor,
Point position)
Creates a new instance of a Transformation for a video stream. |
Method Summary | |
---|---|
float |
getHorizontalScalingFactor()
Returns the horizontal scaling factor. |
Point |
getPosition()
Returns the position of the video. |
Rectangle |
getRegion()
This method returns a rectangle giving the display region of the video. |
float |
getVerticalScalingFactor()
Returns the vertical scaling factor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transformation(Rectangle clippingRectangle, float horizontalScalingFactor, float verticalScalingFactor, Point position)
clippingRectangle
- defines the clipping rectangle for the
decoded video after ETR154 up-sampling, if any; or null if clipping
is not supportedhorizontalScalingFactor
- the horizontal scaling factor for this videoverticalScalingFactor
- the vertical scaling factor for this videoposition
- the position on the screen for the videoMethod Detail |
---|
public Rectangle getRegion()
public float getHorizontalScalingFactor()
public float getVerticalScalingFactor()
public Point getPosition()
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |