Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.directshow
Class DSFormat

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.directshow.DSFormat

public class DSFormat
extends Object

DirectShow video format.

Author:
Sebastien Vincent

Field Summary
static long ARGB32
          The ARGB32 constant.
static long I420
          The I420 constant.
static long NV12
          The NV12 constant.
static long RGB24
          The RGB24 constant.
static long RGB32
          The RGB32 constant.
static long UYVY
          The UYVY constant.
static long Y411
          The Y411 constant.
static long Y41P
          The Y41P constant.
static long YUY2
          The YUY2 constant.
 
Constructor Summary
DSFormat(int width, int height, long pixelFormat)
          Constructor.
 
Method Summary
static long getARGBPixelFormat()
          Get the ARGB32 native pixel format
static long getAYUVPixelFormat()
          Get the AYUV native pixel format
 int getHeight()
          Get video height.
static long getI420PixelFormat()
          Get the I420 native pixel format
static long getIF09PixelFormat()
          Get the IF09 native pixel format
static long getIMC1PixelFormat()
          Get the IMC1 native pixel format
static long getIMC2PixelFormat()
          Get the IMC2 native pixel format
static long getIMC3PixelFormat()
          Get the IMC3 native pixel format
static long getIMC4PixelFormat()
          Get the IMC4 native pixel format
static long getIYUVPixelFormat()
          Get the IYUV native pixel format
static long getNV12PixelFormat()
          Get the NV12 native pixel format
 long getPixelFormat()
          Get color space.
static long getRGB24PixelFormat()
          Get the RGB24 native pixel format
static long getRGB32PixelFormat()
          Get the RGB32 native pixel format
static long getUYVYPixelFormat()
          Get the UYVY native pixel format
 int getWidth()
          Get video width.
static long getY211PixelFormat()
          Get the Y211 native pixel format
static long getY411PixelFormat()
          Get the Y411 native pixel format
static long getY41PPixelFormat()
          Get the Y41P native pixel format
static long getYUY2PixelFormat()
          Get the YUY2 native pixel format
static long getYV12PixelFormat()
          Get the YV12 native pixel format
static long getYVU9PixelFormat()
          Get the YVU9 native pixel format
static long getYVYUPixelFormat()
          Get the YVYU native pixel format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RGB24

public static final long RGB24
The RGB24 constant.


RGB32

public static final long RGB32
The RGB32 constant.


ARGB32

public static final long ARGB32
The ARGB32 constant.


YUY2

public static final long YUY2
The YUY2 constant.


UYVY

public static final long UYVY
The UYVY constant.


Y411

public static final long Y411
The Y411 constant.


Y41P

public static final long Y41P
The Y41P constant.


NV12

public static final long NV12
The NV12 constant.


I420

public static final long I420
The I420 constant.

Constructor Detail

DSFormat

public DSFormat(int width,
                int height,
                long pixelFormat)
Constructor.

Parameters:
width - video width
height - video height
pixelFormat - pixel format
Method Detail

getWidth

public int getWidth()
Get video width.

Returns:
video width

getHeight

public int getHeight()
Get video height.

Returns:
video height

getPixelFormat

public long getPixelFormat()
Get color space.

Returns:
color space

getRGB24PixelFormat

public static long getRGB24PixelFormat()
Get the RGB24 native pixel format

Returns:
RGB24 native format value

getRGB32PixelFormat

public static long getRGB32PixelFormat()
Get the RGB32 native pixel format

Returns:
RGB32 native format value

getARGBPixelFormat

public static long getARGBPixelFormat()
Get the ARGB32 native pixel format

Returns:
ARGB32 native format value

getAYUVPixelFormat

public static long getAYUVPixelFormat()
Get the AYUV native pixel format

Returns:
AYUV native format value

getYUY2PixelFormat

public static long getYUY2PixelFormat()
Get the YUY2 native pixel format

Returns:
YUY2 native format value

getUYVYPixelFormat

public static long getUYVYPixelFormat()
Get the UYVY native pixel format

Returns:
UYVY native format value

getIMC1PixelFormat

public static long getIMC1PixelFormat()
Get the IMC1 native pixel format

Returns:
IMC1 native format value

getIMC2PixelFormat

public static long getIMC2PixelFormat()
Get the IMC2 native pixel format

Returns:
IMC2 native format value

getIMC3PixelFormat

public static long getIMC3PixelFormat()
Get the IMC3 native pixel format

Returns:
IMC3 native format value

getIMC4PixelFormat

public static long getIMC4PixelFormat()
Get the IMC4 native pixel format

Returns:
IMC4 native format value

getYV12PixelFormat

public static long getYV12PixelFormat()
Get the YV12 native pixel format

Returns:
YV12 native format value

getNV12PixelFormat

public static long getNV12PixelFormat()
Get the NV12 native pixel format

Returns:
NV12 native format value

getIF09PixelFormat

public static long getIF09PixelFormat()
Get the IF09 native pixel format

Returns:
IF09 native format value

getIYUVPixelFormat

public static long getIYUVPixelFormat()
Get the IYUV native pixel format

Returns:
IYUV native format value

getY211PixelFormat

public static long getY211PixelFormat()
Get the Y211 native pixel format

Returns:
Y211 native format value

getY411PixelFormat

public static long getY411PixelFormat()
Get the Y411 native pixel format

Returns:
Y411 native format value

getY41PPixelFormat

public static long getY41PPixelFormat()
Get the Y41P native pixel format

Returns:
Y41P native format value

getYVU9PixelFormat

public static long getYVU9PixelFormat()
Get the YVU9 native pixel format

Returns:
YVU9 native format value

getYVYUPixelFormat

public static long getYVYUPixelFormat()
Get the YVYU native pixel format

Returns:
YVYU native format value

getI420PixelFormat

public static long getI420PixelFormat()
Get the I420 native pixel format

Returns:
I420 native format value

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.