Package ws.schild.jave.info
Class VideoSize
- java.lang.Object
-
- ws.schild.jave.info.VideoSize
-
- All Implemented Interfaces:
java.io.Serializable
public class VideoSize extends java.lang.Object implements java.io.SerializableInstances of this class report information about videos size.- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VideoSize(int width, int height)It builds the bean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasEncoderArgument()java.lang.StringaspectRatioExpression()booleanequals(java.lang.Object o)java.lang.IntegergetHeight()Returns the video height.java.lang.IntegergetWidth()Returns the video width.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
width
private final java.lang.Integer width
The video width.
-
height
private final java.lang.Integer height
The video height.
-
ntsc
public static final VideoSize ntsc
-
pal
public static final VideoSize pal
-
qntsc
public static final VideoSize qntsc
-
qpal
public static final VideoSize qpal
-
sntsc
public static final VideoSize sntsc
-
spal
public static final VideoSize spal
-
film
public static final VideoSize film
-
ntsc_film
public static final VideoSize ntsc_film
-
sqcif
public static final VideoSize sqcif
-
qcif
public static final VideoSize qcif
-
cif
public static final VideoSize cif
-
FOUR_cif
public static final VideoSize FOUR_cif
-
SIXTEEN_cif
public static final VideoSize SIXTEEN_cif
-
qqvga
public static final VideoSize qqvga
-
qvga
public static final VideoSize qvga
-
vga
public static final VideoSize vga
-
svga
public static final VideoSize svga
-
xga
public static final VideoSize xga
-
uxga
public static final VideoSize uxga
-
qxga
public static final VideoSize qxga
-
sxga
public static final VideoSize sxga
-
qsxga
public static final VideoSize qsxga
-
hsxga
public static final VideoSize hsxga
-
wvga
public static final VideoSize wvga
-
wxga
public static final VideoSize wxga
-
wsxga
public static final VideoSize wsxga
-
wuxga
public static final VideoSize wuxga
-
woxga
public static final VideoSize woxga
-
wqsxga
public static final VideoSize wqsxga
-
wquxga
public static final VideoSize wquxga
-
whsxga
public static final VideoSize whsxga
-
whuxga
public static final VideoSize whuxga
-
cga
public static final VideoSize cga
-
ega
public static final VideoSize ega
-
hd480
public static final VideoSize hd480
-
hd720
public static final VideoSize hd720
-
hd1080
public static final VideoSize hd1080
-
TWOk
public static final VideoSize TWOk
-
TWOkflat
public static final VideoSize TWOkflat
-
TWOkscope
public static final VideoSize TWOkscope
-
FOURk
public static final VideoSize FOURk
-
FOURkflat
public static final VideoSize FOURkflat
-
FOURkscope
public static final VideoSize FOURkscope
-
nhd
public static final VideoSize nhd
-
hqvga
public static final VideoSize hqvga
-
wqvga
public static final VideoSize wqvga
-
fwqvga
public static final VideoSize fwqvga
-
hvga
public static final VideoSize hvga
-
qhd
public static final VideoSize qhd
-
TWOkdci
public static final VideoSize TWOkdci
-
FOURkdci
public static final VideoSize FOURkdci
-
uhd2160
public static final VideoSize uhd2160
-
uhd4320
public static final VideoSize uhd4320
-
-
Method Detail
-
getWidth
public java.lang.Integer getWidth()
Returns the video width.- Returns:
- The video width.
-
getHeight
public java.lang.Integer getHeight()
Returns the video height.- Returns:
- The video height.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
asEncoderArgument
public java.lang.String asEncoderArgument()
-
aspectRatioExpression
public java.lang.String aspectRatioExpression()
-
-