public class postproc extends postproc
Modifier and Type | Field and Description |
---|---|
static int |
PP_CPU_CAPS_3DNOW |
static int |
PP_CPU_CAPS_ALTIVEC |
static int |
PP_CPU_CAPS_AUTO |
static int |
PP_CPU_CAPS_MMX |
static int |
PP_CPU_CAPS_MMX2 |
static int |
PP_FORMAT |
static int |
PP_FORMAT_411 |
static int |
PP_FORMAT_420 |
static int |
PP_FORMAT_422 |
static int |
PP_FORMAT_440 |
static int |
PP_FORMAT_444 |
static int |
PP_PICT_TYPE_QP2
MPEG2 style QScale
|
static int |
PP_QUALITY_MAX |
Constructor and Description |
---|
postproc() |
Modifier and Type | Method and Description |
---|---|
static BytePointer |
postproc_configuration()
Return the libpostproc build-time configuration.
|
static BytePointer |
postproc_license()
Return the libpostproc license.
|
static int |
postproc_version()
Return the LIBPOSTPROC_VERSION_INT constant.
|
static void |
pp_free_context(pp_context ppContext) |
static void |
pp_free_mode(pp_mode mode) |
static pp_context |
pp_get_context(int width,
int height,
int flags) |
static pp_mode |
pp_get_mode_by_name_and_quality(BytePointer name,
int quality)
Return a pp_mode or NULL if an error occurred.
|
static pp_mode |
pp_get_mode_by_name_and_quality(String name,
int quality) |
static BytePointer |
pp_help() |
static byte |
pp_help(int i)
a simple help text
|
static void |
pp_postprocess(byte[] src,
int[] srcStride,
byte[] dst,
int[] dstStride,
int horizontalSize,
int verticalSize,
byte[] QP_store,
int QP_stride,
pp_mode mode,
pp_context ppContext,
int pict_type) |
static void |
pp_postprocess(ByteBuffer src,
IntBuffer srcStride,
ByteBuffer dst,
IntBuffer dstStride,
int horizontalSize,
int verticalSize,
ByteBuffer QP_store,
int QP_stride,
pp_mode mode,
pp_context ppContext,
int pict_type) |
static void |
pp_postprocess(BytePointer src,
IntPointer srcStride,
BytePointer dst,
IntPointer dstStride,
int horizontalSize,
int verticalSize,
BytePointer QP_store,
int QP_stride,
pp_mode mode,
pp_context ppContext,
int pict_type) |
static void |
pp_postprocess(PointerPointer src,
IntPointer srcStride,
PointerPointer dst,
IntPointer dstStride,
int horizontalSize,
int verticalSize,
BytePointer QP_store,
int QP_stride,
pp_mode mode,
pp_context ppContext,
int pict_type) |
public static final int PP_QUALITY_MAX
public static final int PP_CPU_CAPS_MMX
public static final int PP_CPU_CAPS_MMX2
public static final int PP_CPU_CAPS_3DNOW
public static final int PP_CPU_CAPS_ALTIVEC
public static final int PP_CPU_CAPS_AUTO
public static final int PP_FORMAT
public static final int PP_FORMAT_420
public static final int PP_FORMAT_422
public static final int PP_FORMAT_411
public static final int PP_FORMAT_444
public static final int PP_FORMAT_440
public static final int PP_PICT_TYPE_QP2
@NoException @Cast(value="unsigned") public static int postproc_version()
@NoException @Cast(value="const char*") public static BytePointer postproc_configuration()
@NoException @Cast(value="const char*") public static BytePointer postproc_license()
@MemberGetter public static byte pp_help(int i)
@MemberGetter @Cast(value="const char*") public static BytePointer pp_help()
@NoException public static void pp_postprocess(@Cast(value="const uint8_t**") PointerPointer src, @Const IntPointer srcStride, @Cast(value="uint8_t**") PointerPointer dst, @Const IntPointer dstStride, int horizontalSize, int verticalSize, @Const BytePointer QP_store, int QP_stride, pp_mode mode, pp_context ppContext, int pict_type)
@NoException public static void pp_postprocess(@Cast(value="const uint8_t**") @ByPtrPtr BytePointer src, @Const IntPointer srcStride, @Cast(value="uint8_t**") @ByPtrPtr BytePointer dst, @Const IntPointer dstStride, int horizontalSize, int verticalSize, @Const BytePointer QP_store, int QP_stride, pp_mode mode, pp_context ppContext, int pict_type)
@NoException public static void pp_postprocess(@Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer src, @Const IntBuffer srcStride, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer dst, @Const IntBuffer dstStride, int horizontalSize, int verticalSize, @Const ByteBuffer QP_store, int QP_stride, pp_mode mode, pp_context ppContext, int pict_type)
@NoException public static void pp_postprocess(@Cast(value="const uint8_t**") @ByPtrPtr byte[] src, @Const int[] srcStride, @Cast(value="uint8_t**") @ByPtrPtr byte[] dst, @Const int[] dstStride, int horizontalSize, int verticalSize, @Const byte[] QP_store, int QP_stride, pp_mode mode, pp_context ppContext, int pict_type)
@NoException public static pp_mode pp_get_mode_by_name_and_quality(@Cast(value="const char*") BytePointer name, int quality)
name
- the string after "-pp" on the command linequality
- a number from 0 to PP_QUALITY_MAX@NoException public static pp_mode pp_get_mode_by_name_and_quality(String name, int quality)
@NoException public static void pp_free_mode(pp_mode mode)
@NoException public static pp_context pp_get_context(int width, int height, int flags)
@NoException public static void pp_free_context(pp_context ppContext)
Copyright © 2020. All rights reserved.