Interface FFMPEGLibrary

All Superinterfaces:
com.sun.jna.Library
All Known Subinterfaces:
AVCodecLibrary, AVFormatLibrary, AVUtilLibrary, SWScaleLibrary

public interface FFMPEGLibrary extends com.sun.jna.Library
Based on FFMPEG Aug 12 2007. Contains general structure definitions common to libavcodec and libavformat. From: libavutil/log.h, rational.h, and avutil.h - all incomplete. No method/function declarations should be in this class, they should be in subclasses, as this is a base interface with no actual associated native library.
Author:
Ken Larson
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    < Packed RGB 8:8:8, 24bpp, RGBRGB...
    static final int
    < Packed YUV 4:1:1, 12bpp, Cb Y0 Y1 Cr Y2 Y3
    static final int
    < Packed RGB 8:8:8, 32bpp, (msb)8R 8G 8B 8A(lsb), in cpu endianness
    static final int
    < Packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)
    static final int
    < Packed RGB 1:2:1, 4bpp, (msb)1B 2G 1R(lsb)
    static final int
    < Packed RGB 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), in cpu endianness
    static final int
    < Packed RGB 8:8:8, 32bpp, (msb)8A 8B 8G 8R(lsb), in cpu endianness
    static final int
    < Packed RGB 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), in cpu endianness most significant bit to 1
    static final int
    < Packed RGB 8:8:8, 32bpp, (msb)8B 8G 8R 8A(lsb), in cpu endianness
    static final int
    < Y , 16bpp, big-endian
    static final int
    < Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), in cpu endianness most significant bit to 0
    static final int
    < Y , 1bpp, 0 is white, 1 is black
    static final int
    < Y , 8bpp
    static final int
    < Planar YUV 4:4:0 full scale (jpeg)
    static final int
     
    static final int
    < Packed RGB 1:2:1, 8bpp, (msb)2R 3G 3B(lsb)
    static final int
    < Planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 for UV
    static final int
    < Y , 1bpp, 0 is black, 1 is white
    static final int
    < Packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
    static final int
    < Planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
    static final int
    < as above, but U and V bytes are swapped
    static final int
    < Packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
    static final int
    < Packed RGB 1:2:1, 4bpp, (msb)2R 3G 3B(lsb)
    static final int
    < Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), in cpu endianness
    static final int
    < Planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
    static final int
    < Packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)
    static final int
     
    static final int
    < Packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
    static final int
    < XVideo Motion Acceleration via common packet passing(xvmc_render.h)
    static final int
    < Planar YUV 4:4:4, 24bpp, full scale (jpeg)
    static final int
    < Packed RGB 8:8:8, 32bpp, (msb)8A 8R 8G 8B(lsb), in cpu endianness
    static final int
    < Planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
    static final int
     
    static final int
    < Packed RGB 8:8:8, 24bpp, BGRBGR...
    static final int
    < Y , 16bpp, little-endian
    static final int
    < Planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
    static final int
    < 8 bit with PIX_FMT_RGB32 palette
    static final int
    < Planar YUV 4:2:0, 12bpp, full scale (jpeg)
    static final int
    < Planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
    static final int
    < Planar YUV 4:2:2, 16bpp, full scale (jpeg)
    static final int
    < Planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)

    Fields inherited from interface com.sun.jna.Library

    OPTION_FUNCTION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
  • Field Details

    • PIX_FMT_NONE

      static final int PIX_FMT_NONE
      See Also:
    • PIX_FMT_YUV420P

      static final int PIX_FMT_YUV420P
      See Also:
    • PIX_FMT_YUYV422

      static final int PIX_FMT_YUYV422
      < Planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
      See Also:
    • PIX_FMT_RGB24

      static final int PIX_FMT_RGB24
      < Packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
      See Also:
    • PIX_FMT_BGR24

      static final int PIX_FMT_BGR24
      < Packed RGB 8:8:8, 24bpp, RGBRGB...
      See Also:
    • PIX_FMT_YUV422P

      static final int PIX_FMT_YUV422P
      < Packed RGB 8:8:8, 24bpp, BGRBGR...
      See Also:
    • PIX_FMT_YUV444P

      static final int PIX_FMT_YUV444P
      < Planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
      See Also:
    • PIX_FMT_RGB32

      static final int PIX_FMT_RGB32
      < Planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
      See Also:
    • PIX_FMT_YUV410P

      static final int PIX_FMT_YUV410P
      < Packed RGB 8:8:8, 32bpp, (msb)8A 8R 8G 8B(lsb), in cpu endianness
      See Also:
    • PIX_FMT_YUV411P

      static final int PIX_FMT_YUV411P
      < Planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
      See Also:
    • PIX_FMT_RGB565

      static final int PIX_FMT_RGB565
      < Planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
      See Also:
    • PIX_FMT_RGB555

      static final int PIX_FMT_RGB555
      < Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), in cpu endianness
      See Also:
    • PIX_FMT_GRAY8

      static final int PIX_FMT_GRAY8
      < Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), in cpu endianness most significant bit to 0
      See Also:
    • PIX_FMT_MONOWHITE

      static final int PIX_FMT_MONOWHITE
      < Y , 8bpp
      See Also:
    • PIX_FMT_MONOBLACK

      static final int PIX_FMT_MONOBLACK
      < Y , 1bpp, 0 is white, 1 is black
      See Also:
    • PIX_FMT_PAL8

      static final int PIX_FMT_PAL8
      < Y , 1bpp, 0 is black, 1 is white
      See Also:
    • PIX_FMT_YUVJ420P

      static final int PIX_FMT_YUVJ420P
      < 8 bit with PIX_FMT_RGB32 palette
      See Also:
    • PIX_FMT_YUVJ422P

      static final int PIX_FMT_YUVJ422P
      < Planar YUV 4:2:0, 12bpp, full scale (jpeg)
      See Also:
    • PIX_FMT_YUVJ444P

      static final int PIX_FMT_YUVJ444P
      < Planar YUV 4:2:2, 16bpp, full scale (jpeg)
      See Also:
    • PIX_FMT_XVMC_MPEG2_MC

      static final int PIX_FMT_XVMC_MPEG2_MC
      < Planar YUV 4:4:4, 24bpp, full scale (jpeg)
      See Also:
    • PIX_FMT_XVMC_MPEG2_IDCT

      static final int PIX_FMT_XVMC_MPEG2_IDCT
      < XVideo Motion Acceleration via common packet passing(xvmc_render.h)
      See Also:
    • PIX_FMT_UYVY422

      static final int PIX_FMT_UYVY422
      See Also:
    • PIX_FMT_UYYVYY411

      static final int PIX_FMT_UYYVYY411
      < Packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
      See Also:
    • PIX_FMT_BGR32

      static final int PIX_FMT_BGR32
      < Packed YUV 4:1:1, 12bpp, Cb Y0 Y1 Cr Y2 Y3
      See Also:
    • PIX_FMT_BGR565

      static final int PIX_FMT_BGR565
      < Packed RGB 8:8:8, 32bpp, (msb)8A 8B 8G 8R(lsb), in cpu endianness
      See Also:
    • PIX_FMT_BGR555

      static final int PIX_FMT_BGR555
      < Packed RGB 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), in cpu endianness
      See Also:
    • PIX_FMT_BGR8

      static final int PIX_FMT_BGR8
      < Packed RGB 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), in cpu endianness most significant bit to 1
      See Also:
    • PIX_FMT_BGR4

      static final int PIX_FMT_BGR4
      < Packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)
      See Also:
    • PIX_FMT_BGR4_BYTE

      static final int PIX_FMT_BGR4_BYTE
      < Packed RGB 1:2:1, 4bpp, (msb)1B 2G 1R(lsb)
      See Also:
    • PIX_FMT_RGB8

      static final int PIX_FMT_RGB8
      < Packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)
      See Also:
    • PIX_FMT_RGB4

      static final int PIX_FMT_RGB4
      < Packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
      See Also:
    • PIX_FMT_RGB4_BYTE

      static final int PIX_FMT_RGB4_BYTE
      < Packed RGB 1:2:1, 4bpp, (msb)2R 3G 3B(lsb)
      See Also:
    • PIX_FMT_NV12

      static final int PIX_FMT_NV12
      < Packed RGB 1:2:1, 8bpp, (msb)2R 3G 3B(lsb)
      See Also:
    • PIX_FMT_NV21

      static final int PIX_FMT_NV21
      < Planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 for UV
      See Also:
    • PIX_FMT_RGB32_1

      static final int PIX_FMT_RGB32_1
      < as above, but U and V bytes are swapped
      See Also:
    • PIX_FMT_BGR32_1

      static final int PIX_FMT_BGR32_1
      < Packed RGB 8:8:8, 32bpp, (msb)8R 8G 8B 8A(lsb), in cpu endianness
      See Also:
    • PIX_FMT_GRAY16BE

      static final int PIX_FMT_GRAY16BE
      < Packed RGB 8:8:8, 32bpp, (msb)8B 8G 8R 8A(lsb), in cpu endianness
      See Also:
    • PIX_FMT_GRAY16LE

      static final int PIX_FMT_GRAY16LE
      < Y , 16bpp, big-endian
      See Also:
    • PIX_FMT_YUV440P

      static final int PIX_FMT_YUV440P
      < Y , 16bpp, little-endian
      See Also:
    • PIX_FMT_YUVJ440P

      static final int PIX_FMT_YUVJ440P
      < Planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
      See Also:
    • PIX_FMT_NB

      static final int PIX_FMT_NB
      < Planar YUV 4:4:0 full scale (jpeg)
      See Also: