Class DSFormat


  • public class DSFormat
    extends Object
    DirectShow video format.
    Author:
    Sebastien Vincent, Lyubomir Marinov
    • Field Detail

      • ARGB32

        public static final int ARGB32
        The ARGB32 constant.
      • I420

        public static final int I420
        The I420 constant.
      • NV12

        public static final int NV12
        The NV12 constant.
      • RGB24

        public static final int RGB24
        The RGB24 constant.
      • RGB32

        public static final int RGB32
        The RGB32 constant.
      • UYVY

        public static final int UYVY
        The UYVY constant.
      • Y411

        public static final int Y411
        The Y411 constant.
      • Y41P

        public static final int Y41P
        The Y41P constant.
      • YUY2

        public static final int YUY2
        The YUY2 constant.
      • MJPG

        public static final int MJPG
        The MJPEG constant.
    • Constructor Detail

      • DSFormat

        public DSFormat​(int width,
                        int height,
                        int pixelFormat)
        Constructor.
        Parameters:
        width - video width
        height - video height
        pixelFormat - pixel format
    • Method Detail

      • AYUV

        public static int AYUV()
      • IF09

        public static int IF09()
      • IMC1

        public static int IMC1()
      • IMC2

        public static int IMC2()
      • IMC3

        public static int IMC3()
      • IMC4

        public static int IMC4()
      • IYUV

        public static int IYUV()
      • Y211

        public static int Y211()
      • YV12

        public static int YV12()
      • YVU9

        public static int YVU9()
      • YVYU

        public static int YVYU()
      • getHeight

        public int getHeight()
        Get video height.
        Returns:
        video height
      • getPixelFormat

        public int getPixelFormat()
        Get color space.
        Returns:
        color space
      • getWidth

        public int getWidth()
        Get video width.
        Returns:
        video width