public final class NVideoFormat extends NMediaFormat
| Modifier and Type | Field and Description |
|---|---|
static int |
AI44
Value for video format AI44.
|
static int |
ARGB32
Value for video format RGB, 32 bpp with alpha channel.
|
static int |
AYUV
Value for video format AYUV.
|
static int |
DV25
Value for video format DVCPRO 25 (525-60 or 625-50).
|
static int |
DV50
Value for video format DVCPRO 50 (525-60 or 625-50).
|
static int |
DVC
Value for video format DVC/DV Video.
|
static int |
DVH1
Value for video format DVC/DV Video.
|
static int |
DVHD
Value for video format HD-DVCR (1125-60 or 1250-50).
|
static int |
DVSD
Value for video format SDL-DVCR (525-60 or 625-50).
|
static int |
DVSL
Value for video format SD-DVCR (525-60 or 625-50).
|
static int |
DX50
Value for video format DX50.
|
static int |
H264
Value for video format H.264.
|
static int |
I420
Value for video format I420.
|
static int |
IYUV
Value for video format IYUV.
|
static int |
L16
Value for video format L16.
|
static int |
L8
Value for video format L8.
|
static int |
M4S2
Value for video format MPEG-4 part 2 video.
|
static int |
MJPG
Value for video format Motion JPEG.
|
static int |
MP43
Value for video format Microsoft MPEG 4 codec version 3.
|
static int |
MP4S
Value for video format ISO MPEG 4 codec version 1.
|
static int |
MP4V
Value for video format MPEG-4 part 2 video.
|
static int |
MPG1
Value for video format MPEG-1 video.
|
static int |
MSS1
Value for video format Windows Media Screen codec version 1.
|
static int |
MSS2
Value for video format Windows Media Video 9 Screen codec.
|
static int |
NV11
Value for video format NV11.
|
static int |
NV12
Value for video format NV12.
|
static int |
NV21
Value for video format NV21.
|
static int |
P010
Value for video format P010.
|
static int |
P016
Value for video format P016.
|
static int |
P210
Value for video format P210.
|
static int |
P216
Value for video format P216.
|
static int |
RGB24
Value for video format RGB, 24 bpp.
|
static int |
RGB32
Value for video format RGB, 32 bpp.
|
static int |
RGB555
Value for video format RGB 555, 16 bpp.
|
static int |
RGB565
Value for video format RGB 565, 16 bpp.
|
static int |
RGB8
Value for video format RGB, 8bpp.
|
static int |
UNKNOWN
Value for unknown video format.
|
static int |
UYVY
Value for video format UYVY.
|
static int |
V210
Value for video format V210.
|
static int |
V216
Value for video format V216.
|
static int |
V410
Value for video format V40.
|
static int |
WMV1
Value for video format Windows Media Video codec version 7.
|
static int |
WMV2
Value for video format Windows Media Video 8 codec.
|
static int |
WMV3
Value for video format Windows Media Video 9 codec.
|
static int |
WVC1
Value for video format SMPTE 421M ("VC-1").
|
static int |
Y210
Value for video format Y210.
|
static int |
Y216
Value for video format Y216.
|
static int |
Y410
Value for video format Y40.
|
static int |
Y416
Value for video format Y416.
|
static int |
Y41P
Value for video format Y41P.
|
static int |
Y41T
Value for video format Y41T.
|
static int |
Y42T
Value for video format Y42T.
|
static int |
YUY2
Value for video format YUY2.
|
static int |
YV12
Value for video format YV12.
|
static int |
YVU9
Value for video format YVU9.
|
static int |
YVYU
Value for video format YVYU.
|
| Constructor and Description |
|---|
NVideoFormat()
Default NVideoFormat constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.neurotec.lang.NRational |
getFrameRate()
Gets video format frame rate.
|
int |
getHeight()
Gets video format frame height.
|
NVideoInterlaceMode |
getInterlaceMode()
Gets video interlace mode.
|
long |
getLongStride() |
com.neurotec.lang.NRational |
getPixelAspectRatio()
Gets video format frame aspect ratio.
|
int |
getStride() |
int |
getWidth()
Gets video format frame width.
|
String |
mediaSubtypeToString(int value)
Creates media subtype representing string.
|
static String |
mediaSubtypeToString(int value,
String format)
Converts media subtype to string.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
setFrameRate(com.neurotec.lang.NRational value)
Sets video format frame height.
|
void |
setHeight(int value)
Sets video format frame height.
|
void |
setInterlaceMode(NVideoInterlaceMode value)
Sets video interlace mode.
|
void |
setLongStride(long value) |
void |
setPixelAspectRatio(com.neurotec.lang.NRational value)
Sets video format frame aspect ratio.
|
void |
setStride(int value) |
void |
setWidth(int value)
Sets video format frame width.
|
getMediaSubtype, getMediaType, isCompatibleWith, setMediaSubtypeaddListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementspublic static final int UNKNOWN
public static final int RGB24
public static final int ARGB32
public static final int RGB32
public static final int RGB555
public static final int RGB565
public static final int RGB8
public static final int L8
public static final int L16
public static final int AI44
public static final int AYUV
public static final int YUY2
public static final int YVYU
public static final int YVU9
public static final int UYVY
public static final int NV11
public static final int NV12
public static final int NV21
public static final int YV12
public static final int I420
public static final int IYUV
public static final int Y210
public static final int Y216
public static final int Y410
public static final int Y416
public static final int Y41P
public static final int Y41T
public static final int Y42T
public static final int P210
public static final int P216
public static final int P010
public static final int P016
public static final int V210
public static final int V216
public static final int V410
public static final int MP43
public static final int MP4S
public static final int M4S2
public static final int MP4V
public static final int WMV1
public static final int WMV2
public static final int WMV3
public static final int WVC1
public static final int MSS1
public static final int MSS2
public static final int MPG1
public static final int DVSL
public static final int DVSD
public static final int DVHD
public static final int DV25
public static final int DV50
public static final int DVH1
public static final int DVC
public static final int H264
public static final int MJPG
public static final int DX50
public NVideoFormat()
public static com.neurotec.lang.NType nativeTypeOf()
public String mediaSubtypeToString(int value)
value - Video format value.public static String mediaSubtypeToString(int value, String format)
value - Subtype value (int).format - Reserved.public int getWidth()
public void setWidth(int value)
value - Value represents video frame width in pixels.public int getHeight()
public void setHeight(int value)
value - Value represents video frame height in pixels.public int getStride()
public void setStride(int value)
public long getLongStride()
public void setLongStride(long value)
public com.neurotec.lang.NRational getFrameRate()
public void setFrameRate(com.neurotec.lang.NRational value)
value - Value represents video frames per second rate.public NVideoInterlaceMode getInterlaceMode()
public void setInterlaceMode(NVideoInterlaceMode value)
value - Value represents video interlace mode.public com.neurotec.lang.NRational getPixelAspectRatio()
public void setPixelAspectRatio(com.neurotec.lang.NRational value)
value - Value represents pixel aspect ratio.Copyright © 2016 Neurotechnology. All rights reserved.