public class avutil extends avutil
Modifier and Type | Field and Description |
---|---|
static int |
AES_CTR_IV_SIZE |
static int |
AES_CTR_KEY_SIZE
\}
|
static int |
AV_AFD_14_9
enum AVActiveFormatDescription
|
static int |
AV_AFD_16_9
enum AVActiveFormatDescription
|
static int |
AV_AFD_16_9_SP_14_9
enum AVActiveFormatDescription
|
static int |
AV_AFD_4_3
enum AVActiveFormatDescription
|
static int |
AV_AFD_4_3_SP_14_9
enum AVActiveFormatDescription
|
static int |
AV_AFD_SAME
enum AVActiveFormatDescription
|
static int |
AV_AFD_SP_4_3
enum AVActiveFormatDescription
|
static int |
AV_BF_ROUNDS
\defgroup lavu_blowfish Blowfish
\ingroup lavu_crypto
\{
|
static int |
AV_BPRINT_SIZE_AUTOMATIC |
static int |
AV_BPRINT_SIZE_COUNT_ONLY |
static int |
AV_BPRINT_SIZE_UNLIMITED
Convenience macros for special values for av_bprint_init() size_max
parameter.
|
static int |
AV_BUFFER_FLAG_READONLY
Always treat the buffer as read-only, even when it has only one
reference.
|
static long |
AV_CH_BACK_CENTER |
static long |
AV_CH_BACK_LEFT |
static long |
AV_CH_BACK_RIGHT |
static long |
AV_CH_FRONT_CENTER |
static long |
AV_CH_FRONT_LEFT
\defgroup channel_masks Audio channel masks
A channel layout is a 64-bits integer with a bit set for every channel.
|
static long |
AV_CH_FRONT_LEFT_OF_CENTER |
static long |
AV_CH_FRONT_RIGHT |
static long |
AV_CH_FRONT_RIGHT_OF_CENTER |
static long |
AV_CH_LAYOUT_2_1 |
static long |
AV_CH_LAYOUT_2_2 |
static long |
AV_CH_LAYOUT_2POINT1 |
static long |
AV_CH_LAYOUT_3POINT1 |
static long |
AV_CH_LAYOUT_4POINT0 |
static long |
AV_CH_LAYOUT_4POINT1 |
static long |
AV_CH_LAYOUT_5POINT0 |
static long |
AV_CH_LAYOUT_5POINT0_BACK |
static long |
AV_CH_LAYOUT_5POINT1 |
static long |
AV_CH_LAYOUT_5POINT1_BACK |
static long |
AV_CH_LAYOUT_6POINT0 |
static long |
AV_CH_LAYOUT_6POINT0_FRONT |
static long |
AV_CH_LAYOUT_6POINT1 |
static long |
AV_CH_LAYOUT_6POINT1_BACK |
static long |
AV_CH_LAYOUT_6POINT1_FRONT |
static long |
AV_CH_LAYOUT_7POINT0 |
static long |
AV_CH_LAYOUT_7POINT0_FRONT |
static long |
AV_CH_LAYOUT_7POINT1 |
static long |
AV_CH_LAYOUT_7POINT1_WIDE |
static long |
AV_CH_LAYOUT_7POINT1_WIDE_BACK |
static long |
AV_CH_LAYOUT_HEXADECAGONAL |
static long |
AV_CH_LAYOUT_HEXAGONAL |
static long |
AV_CH_LAYOUT_MONO
\}
\defgroup channel_mask_c Audio channel layouts
\{
|
static long |
AV_CH_LAYOUT_NATIVE
Channel mask value used for AVCodecContext.request_channel_layout
to indicate that the user requests the channel order of the decoder output
to be the native codec channel order.
|
static long |
AV_CH_LAYOUT_OCTAGONAL |
static long |
AV_CH_LAYOUT_QUAD |
static long |
AV_CH_LAYOUT_STEREO |
static long |
AV_CH_LAYOUT_STEREO_DOWNMIX |
static long |
AV_CH_LAYOUT_SURROUND |
static long |
AV_CH_LOW_FREQUENCY |
static long |
AV_CH_LOW_FREQUENCY_2 |
static long |
AV_CH_SIDE_LEFT |
static long |
AV_CH_SIDE_RIGHT |
static long |
AV_CH_STEREO_LEFT
Stereo downmix.
|
static long |
AV_CH_STEREO_RIGHT
See AV_CH_STEREO_LEFT.
|
static long |
AV_CH_SURROUND_DIRECT_LEFT |
static long |
AV_CH_SURROUND_DIRECT_RIGHT |
static long |
AV_CH_TOP_BACK_CENTER |
static long |
AV_CH_TOP_BACK_LEFT |
static long |
AV_CH_TOP_BACK_RIGHT |
static long |
AV_CH_TOP_CENTER |
static long |
AV_CH_TOP_FRONT_CENTER |
static long |
AV_CH_TOP_FRONT_LEFT |
static long |
AV_CH_TOP_FRONT_RIGHT |
static long |
AV_CH_WIDE_LEFT |
static long |
AV_CH_WIDE_RIGHT |
static int |
AV_CLASS_CATEGORY_BITSTREAM_FILTER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DECODER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEMUXER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEVICE_INPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEVICE_OUTPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_ENCODER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_FILTER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_INPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_MUXER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_NA
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_NB
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_OUTPUT
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_SWRESAMPLER
enum AVClassCategory
|
static int |
AV_CLASS_CATEGORY_SWSCALER
enum AVClassCategory
|
static int |
AV_CPU_FLAG_3DNOW
AMD 3DNOW
|
static int |
AV_CPU_FLAG_3DNOWEXT
AMD 3DNowExt
|
static int |
AV_CPU_FLAG_AESNI
Advanced Encryption Standard functions
|
static int |
AV_CPU_FLAG_ALTIVEC
standard
|
static int |
AV_CPU_FLAG_ARMV5TE |
static int |
AV_CPU_FLAG_ARMV6 |
static int |
AV_CPU_FLAG_ARMV6T2 |
static int |
AV_CPU_FLAG_ARMV8 |
static int |
AV_CPU_FLAG_ATOM
Atom processor, some SSSE3 instructions are slower
|
static int |
AV_CPU_FLAG_AVX
AVX functions: requires OS support even if YMM registers aren't used
|
static int |
AV_CPU_FLAG_AVX2
AVX2 functions: requires OS support even if YMM registers aren't used
|
static int |
AV_CPU_FLAG_AVX512
AVX-512 functions: requires OS support even if YMM/ZMM registers aren't used
|
static int |
AV_CPU_FLAG_AVXSLOW
AVX supported, but slow when using YMM registers (e.g.
|
static int |
AV_CPU_FLAG_BMI1
Bit Manipulation Instruction Set 1
|
static int |
AV_CPU_FLAG_BMI2
Bit Manipulation Instruction Set 2
|
static int |
AV_CPU_FLAG_CMOV
supports cmov instruction
|
static int |
AV_CPU_FLAG_FMA3
Haswell FMA3 functions
|
static int |
AV_CPU_FLAG_FMA4
Bulldozer FMA4 functions
|
static int |
AV_CPU_FLAG_FORCE
\}
\}
|
static int |
AV_CPU_FLAG_MMX
standard MMX
|
static int |
AV_CPU_FLAG_MMX2
SSE integer functions or AMD MMX ext
|
static int |
AV_CPU_FLAG_MMXEXT
SSE integer functions or AMD MMX ext
|
static int |
AV_CPU_FLAG_NEON |
static int |
AV_CPU_FLAG_POWER8
ISA 2.07
|
static int |
AV_CPU_FLAG_SETEND |
static int |
AV_CPU_FLAG_SSE
SSE functions
|
static int |
AV_CPU_FLAG_SSE2
PIV SSE2 functions
|
static int |
AV_CPU_FLAG_SSE2SLOW
SSE2 supported, but usually not faster
than regular MMX/SSE (e.g.
|
static int |
AV_CPU_FLAG_SSE3
Prescott SSE3 functions
|
static int |
AV_CPU_FLAG_SSE3SLOW
SSE3 supported, but usually not faster
than regular MMX/SSE (e.g.
|
static int |
AV_CPU_FLAG_SSE4
Penryn SSE4.1 functions
|
static int |
AV_CPU_FLAG_SSE42
Nehalem SSE4.2 functions
|
static int |
AV_CPU_FLAG_SSSE3
Conroe SSSE3 functions
|
static int |
AV_CPU_FLAG_SSSE3SLOW
SSSE3 supported, but usually not faster
|
static int |
AV_CPU_FLAG_VFP |
static int |
AV_CPU_FLAG_VFP_VM
VFPv2 vector mode, deprecated in ARMv7-A and unavailable in various CPUs implementations
|
static int |
AV_CPU_FLAG_VFPV3 |
static int |
AV_CPU_FLAG_VSX
ISA 2.06
|
static int |
AV_CPU_FLAG_XOP
Bulldozer XOP functions
|
static int |
AV_CRC_16_ANSI
enum AVCRCId
|
static int |
AV_CRC_16_ANSI_LE
enum AVCRCId
|
static int |
AV_CRC_16_CCITT
enum AVCRCId
|
static int |
AV_CRC_24_IEEE
enum AVCRCId
|
static int |
AV_CRC_32_IEEE
enum AVCRCId
|
static int |
AV_CRC_32_IEEE_LE
enum AVCRCId
|
static int |
AV_CRC_8_ATM
enum AVCRCId
|
static int |
AV_CRC_8_EBU
enum AVCRCId
|
static int |
AV_CRC_MAX
enum AVCRCId
|
static int |
AV_DICT_APPEND
If the entry already exists, append to it.
|
static int |
AV_DICT_DONT_OVERWRITE
Don't overwrite existing entries.
|
static int |
AV_DICT_DONT_STRDUP_KEY
Take ownership of a key that's been
allocated with av_malloc() or another memory allocation function.
|
static int |
AV_DICT_DONT_STRDUP_VAL
Take ownership of a value that's been
allocated with av_malloc() or another memory allocation function.
|
static int |
AV_DICT_IGNORE_SUFFIX
Return first entry in a dictionary whose first part corresponds to the search key,
ignoring the suffix of the found key string.
|
static int |
AV_DICT_MATCH_CASE
Only get an entry with exact-case key match.
|
static int |
AV_DICT_MULTIKEY
Allow to store several equal keys in the dictionary
|
static int |
AV_DOWNMIX_TYPE_DPLII
enum AVDownmixType
|
static int |
AV_DOWNMIX_TYPE_LORO
enum AVDownmixType
|
static int |
AV_DOWNMIX_TYPE_LTRT
enum AVDownmixType
|
static int |
AV_DOWNMIX_TYPE_NB
enum AVDownmixType
|
static int |
AV_DOWNMIX_TYPE_UNKNOWN
enum AVDownmixType
|
static int |
AV_ERROR_MAX_STRING_SIZE |
static int |
AV_ESCAPE_FLAG_STRICT
Escape only specified special characters.
|
static int |
AV_ESCAPE_FLAG_WHITESPACE
Consider spaces special and escape them even in the middle of the
string.
|
static int |
AV_ESCAPE_MODE_AUTO
enum AVEscapeMode
|
static int |
AV_ESCAPE_MODE_BACKSLASH
enum AVEscapeMode
|
static int |
AV_ESCAPE_MODE_QUOTE
enum AVEscapeMode
|
static int |
AV_FOURCC_MAX_STRING_SIZE |
static int |
AV_FRAME_CROP_UNALIGNED
enum
|
static int |
AV_FRAME_DATA_A53_CC
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_AFD
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_AUDIO_SERVICE_TYPE
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_CONTENT_LIGHT_LEVEL
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_DISPLAYMATRIX
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_DOWNMIX_INFO
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_DYNAMIC_HDR_PLUS
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_GOP_TIMECODE
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_ICC_PROFILE
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_MASTERING_DISPLAY_METADATA
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_MATRIXENCODING
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_MOTION_VECTORS
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_PANSCAN
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_QP_TABLE_DATA
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_QP_TABLE_PROPERTIES
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_REGIONS_OF_INTEREST
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_REPLAYGAIN
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_S12M_TIMECODE
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_SKIP_SAMPLES
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_SPHERICAL
enum AVFrameSideDataType
|
static int |
AV_FRAME_DATA_STEREO3D
enum AVFrameSideDataType
|
static int |
AV_HASH_MAX_SIZE
Maximum value that av_hash_get_size() will currently return.
|
static int |
AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING
enum AVHDRPlusOverlapProcessOption
|
static int |
AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING
enum AVHDRPlusOverlapProcessOption
|
static int |
AV_HMAC_MD5
enum AVHMACType
|
static int |
AV_HMAC_SHA1
enum AVHMACType
|
static int |
AV_HMAC_SHA224
enum AVHMACType
|
static int |
AV_HMAC_SHA256
enum AVHMACType
|
static int |
AV_HMAC_SHA384
enum AVHMACType
|
static int |
AV_HMAC_SHA512
enum AVHMACType
|
static int |
AV_HWDEVICE_TYPE_CUDA
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_D3D11VA
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_DRM
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_DXVA2
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_MEDIACODEC
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_NONE
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_OPENCL
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_QSV
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_VAAPI
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_VDPAU
enum AVHWDeviceType
|
static int |
AV_HWDEVICE_TYPE_VIDEOTOOLBOX
enum AVHWDeviceType
|
static int |
AV_HWFRAME_MAP_DIRECT
enum
|
static int |
AV_HWFRAME_MAP_OVERWRITE
enum
|
static int |
AV_HWFRAME_MAP_READ
enum
|
static int |
AV_HWFRAME_MAP_WRITE
enum
|
static int |
AV_HWFRAME_TRANSFER_DIRECTION_FROM
enum AVHWFrameTransferDirection
|
static int |
AV_HWFRAME_TRANSFER_DIRECTION_TO
enum AVHWFrameTransferDirection
|
static int |
AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
|
static int |
AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
|
static int |
AV_LOG_FATAL
Something went wrong and recovery is not possible.
|
static int |
AV_LOG_INFO
Standard information.
|
static int |
AV_LOG_MAX_OFFSET |
static int |
AV_LOG_PANIC
Something went really wrong and we will crash now.
|
static int |
AV_LOG_PRINT_LEVEL
Include the log severity in messages originating from codecs.
|
static int |
AV_LOG_QUIET
Print no output.
|
static int |
AV_LOG_SKIP_REPEATED
Skip repeated messages, this requires the user app to use av_log() instead of
(f)printf as the 2 would otherwise interfere and lead to
"Last message repeated x times" messages below (f)printf messages with some
bad luck.
|
static int |
AV_LOG_TRACE
Extremely verbose debugging, useful for libav* development.
|
static int |
AV_LOG_VERBOSE
Detailed information.
|
static int |
AV_LOG_WARNING
Something somehow does not look correct.
|
static int |
AV_MATRIX_ENCODING_DOLBY
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_DOLBYEX
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_DOLBYHEADPHONE
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_DPLII
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_DPLIIX
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_DPLIIZ
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_NB
enum AVMatrixEncoding
|
static int |
AV_MATRIX_ENCODING_NONE
enum AVMatrixEncoding
|
static long |
AV_NOPTS_VALUE |
static int |
AV_OPT_ALLOW_NULL
In av_opt_get, return NULL if the option has a pointer type and is set to NULL,
rather than returning an empty string.
|
static int |
AV_OPT_FLAG_IMPLICIT_KEY
enum
|
static int |
AV_OPT_MULTI_COMPONENT_RANGE
Allows av_opt_query_ranges and av_opt_query_ranges_default to return more than
one component for certain option types.
|
static int |
AV_OPT_SEARCH_CHILDREN
Search in possible children of the
given object first.
|
static int |
AV_OPT_SEARCH_FAKE_OBJ
The obj passed to av_opt_find() is fake -- only a double pointer to AVClass
instead of a required pointer to a struct containing AVClass.
|
static int |
AV_OPT_SERIALIZE_OPT_FLAGS_EXACT
Serialize options that exactly match opt_flags only.
|
static int |
AV_OPT_SERIALIZE_SKIP_DEFAULTS
Serialize options that are not set to default values only.
|
static int |
AV_OPT_TYPE_BINARY
enum AVOptionType
|
static int |
AV_OPT_TYPE_BOOL
enum AVOptionType
|
static int |
AV_OPT_TYPE_CHANNEL_LAYOUT
enum AVOptionType
|
static int |
AV_OPT_TYPE_COLOR
enum AVOptionType
|
static int |
AV_OPT_TYPE_CONST
enum AVOptionType
|
static int |
AV_OPT_TYPE_DICT
enum AVOptionType
|
static int |
AV_OPT_TYPE_DOUBLE
enum AVOptionType
|
static int |
AV_OPT_TYPE_DURATION
enum AVOptionType
|
static int |
AV_OPT_TYPE_FLAGS
enum AVOptionType
|
static int |
AV_OPT_TYPE_FLOAT
enum AVOptionType
|
static int |
AV_OPT_TYPE_IMAGE_SIZE
enum AVOptionType
|
static int |
AV_OPT_TYPE_INT
enum AVOptionType
|
static int |
AV_OPT_TYPE_INT64
enum AVOptionType
|
static int |
AV_OPT_TYPE_PIXEL_FMT
enum AVOptionType
|
static int |
AV_OPT_TYPE_RATIONAL
enum AVOptionType
|
static int |
AV_OPT_TYPE_SAMPLE_FMT
enum AVOptionType
|
static int |
AV_OPT_TYPE_STRING
enum AVOptionType
|
static int |
AV_OPT_TYPE_UINT64
enum AVOptionType
|
static int |
AV_OPT_TYPE_VIDEO_RATE
enum AVOptionType
|
static int |
AV_PICTURE_TYPE_B
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_BI
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_I
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_NONE
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_P
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_S
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_SI
enum AVPictureType
|
static int |
AV_PICTURE_TYPE_SP
enum AVPictureType
|
static int |
AV_PIX_FMT_0BGR
enum AVPixelFormat
|
static int |
AV_PIX_FMT_0BGR32 |
static int |
AV_PIX_FMT_0RGB
enum AVPixelFormat
|
static int |
AV_PIX_FMT_0RGB32 |
static int |
AV_PIX_FMT_ABGR
enum AVPixelFormat
|
static int |
AV_PIX_FMT_ARGB
enum AVPixelFormat
|
static int |
AV_PIX_FMT_AYUV64 |
static int |
AV_PIX_FMT_AYUV64BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_AYUV64LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_BGGR16 |
static int |
AV_PIX_FMT_BAYER_BGGR16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_BGGR16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_BGGR8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_GBRG16 |
static int |
AV_PIX_FMT_BAYER_GBRG16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_GBRG16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_GBRG8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_GRBG16 |
static int |
AV_PIX_FMT_BAYER_GRBG16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_GRBG16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_GRBG8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_RGGB16 |
static int |
AV_PIX_FMT_BAYER_RGGB16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_RGGB16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BAYER_RGGB8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR0
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR24
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR32 |
static int |
AV_PIX_FMT_BGR32_1 |
static int |
AV_PIX_FMT_BGR4
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR4_BYTE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR444 |
static int |
AV_PIX_FMT_BGR444BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR444LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR48 |
static int |
AV_PIX_FMT_BGR48BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR48LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR555 |
static int |
AV_PIX_FMT_BGR555BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR555LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR565 |
static int |
AV_PIX_FMT_BGR565BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR565LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGR8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGRA
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGRA64 |
static int |
AV_PIX_FMT_BGRA64BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_BGRA64LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_CUDA
enum AVPixelFormat
|
static int |
AV_PIX_FMT_D3D11
enum AVPixelFormat
|
static int |
AV_PIX_FMT_D3D11VA_VLD
enum AVPixelFormat
|
static int |
AV_PIX_FMT_DRM_PRIME
enum AVPixelFormat
|
static int |
AV_PIX_FMT_DXVA2_VLD
enum AVPixelFormat
|
static int |
AV_PIX_FMT_FLAG_ALPHA
The pixel format has an alpha channel.
|
static int |
AV_PIX_FMT_FLAG_BAYER
The pixel format is following a Bayer pattern
|
static int |
AV_PIX_FMT_FLAG_BE
Pixel format is big-endian.
|
static int |
AV_PIX_FMT_FLAG_BITSTREAM
All values of a component are bit-wise packed end to end.
|
static int |
AV_PIX_FMT_FLAG_FLOAT
The pixel format contains IEEE-754 floating point values.
|
static int |
AV_PIX_FMT_FLAG_HWACCEL
Pixel format is an HW accelerated format.
|
static int |
AV_PIX_FMT_FLAG_PAL
Pixel format has a palette in data[1], values are indexes in this palette.
|
static int |
AV_PIX_FMT_FLAG_PLANAR
At least one pixel component is not in the first data plane.
|
static int |
AV_PIX_FMT_FLAG_PSEUDOPAL
Deprecated.
This flag is deprecated, and will be removed. When it is removed,
the extra palette allocation in AVFrame.data[1] is removed as well. Only
actual paletted formats (as indicated by AV_PIX_FMT_FLAG_PAL) will have a
palette. Starting with FFmpeg versions which have this flag deprecated, the
extra "pseudo" palette is already ignored, and API users are not required to
allocate a palette for AV_PIX_FMT_FLAG_PSEUDOPAL formats (it was required
before the deprecation, though).
|
static int |
AV_PIX_FMT_FLAG_RGB
The pixel format contains RGB-like data (as opposed to YUV/grayscale).
|
static int |
AV_PIX_FMT_GBR24P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP10 |
static int |
AV_PIX_FMT_GBRAP10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP12 |
static int |
AV_PIX_FMT_GBRAP12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP16 |
static int |
AV_PIX_FMT_GBRAP16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAP16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAPF32 |
static int |
AV_PIX_FMT_GBRAPF32BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRAPF32LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP10 |
static int |
AV_PIX_FMT_GBRP10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP12 |
static int |
AV_PIX_FMT_GBRP12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP14 |
static int |
AV_PIX_FMT_GBRP14BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP14LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP16 |
static int |
AV_PIX_FMT_GBRP16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP9 |
static int |
AV_PIX_FMT_GBRP9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRP9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRPF32 |
static int |
AV_PIX_FMT_GBRPF32BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GBRPF32LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY10 |
static int |
AV_PIX_FMT_GRAY10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY12 |
static int |
AV_PIX_FMT_GRAY12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY14 |
static int |
AV_PIX_FMT_GRAY14BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY14LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY16 |
static int |
AV_PIX_FMT_GRAY16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY8A
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY9 |
static int |
AV_PIX_FMT_GRAY9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAY9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAYF32 |
static int |
AV_PIX_FMT_GRAYF32BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_GRAYF32LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_MEDIACODEC
enum AVPixelFormat
|
static int |
AV_PIX_FMT_MMAL
enum AVPixelFormat
|
static int |
AV_PIX_FMT_MONOBLACK
enum AVPixelFormat
|
static int |
AV_PIX_FMT_MONOWHITE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NB
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NONE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV12
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV16
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV20 |
static int |
AV_PIX_FMT_NV20BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV20LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV21
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV24
enum AVPixelFormat
|
static int |
AV_PIX_FMT_NV42
enum AVPixelFormat
|
static int |
AV_PIX_FMT_OPENCL
enum AVPixelFormat
|
static int |
AV_PIX_FMT_P010 |
static int |
AV_PIX_FMT_P010BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_P010LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_P016 |
static int |
AV_PIX_FMT_P016BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_P016LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_PAL8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_QSV
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB0
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB24
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB32 |
static int |
AV_PIX_FMT_RGB32_1 |
static int |
AV_PIX_FMT_RGB4
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB4_BYTE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB444 |
static int |
AV_PIX_FMT_RGB444BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB444LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB48 |
static int |
AV_PIX_FMT_RGB48BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB48LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB555 |
static int |
AV_PIX_FMT_RGB555BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB555LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB565 |
static int |
AV_PIX_FMT_RGB565BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB565LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGB8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGBA
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGBA64 |
static int |
AV_PIX_FMT_RGBA64BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_RGBA64LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_UYVY422
enum AVPixelFormat
|
static int |
AV_PIX_FMT_UYYVYY411
enum AVPixelFormat
|
static int |
AV_PIX_FMT_VAAPI
enum AVPixelFormat
|
static int |
AV_PIX_FMT_VAAPI_IDCT
enum AVPixelFormat
|
static int |
AV_PIX_FMT_VAAPI_MOCO
enum AVPixelFormat
|
static int |
AV_PIX_FMT_VAAPI_VLD
enum AVPixelFormat
|
static int |
AV_PIX_FMT_VDPAU
enum AVPixelFormat
|
static int |
AV_PIX_FMT_VIDEOTOOLBOX
enum AVPixelFormat
|
static int |
AV_PIX_FMT_XVMC
enum AVPixelFormat
|
static int |
AV_PIX_FMT_XYZ12 |
static int |
AV_PIX_FMT_XYZ12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_XYZ12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_Y400A
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YA16 |
static int |
AV_PIX_FMT_YA16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YA16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YA8
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV410P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV411P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P10 |
static int |
AV_PIX_FMT_YUV420P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P12 |
static int |
AV_PIX_FMT_YUV420P12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P14 |
static int |
AV_PIX_FMT_YUV420P14BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P14LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P16 |
static int |
AV_PIX_FMT_YUV420P16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P9 |
static int |
AV_PIX_FMT_YUV420P9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV420P9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P10 |
static int |
AV_PIX_FMT_YUV422P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P12 |
static int |
AV_PIX_FMT_YUV422P12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P14 |
static int |
AV_PIX_FMT_YUV422P14BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P14LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P16 |
static int |
AV_PIX_FMT_YUV422P16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P9 |
static int |
AV_PIX_FMT_YUV422P9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV422P9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV440P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV440P10 |
static int |
AV_PIX_FMT_YUV440P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV440P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV440P12 |
static int |
AV_PIX_FMT_YUV440P12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV440P12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P10 |
static int |
AV_PIX_FMT_YUV444P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P12 |
static int |
AV_PIX_FMT_YUV444P12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P14 |
static int |
AV_PIX_FMT_YUV444P14BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P14LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P16 |
static int |
AV_PIX_FMT_YUV444P16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P9 |
static int |
AV_PIX_FMT_YUV444P9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUV444P9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P10 |
static int |
AV_PIX_FMT_YUVA420P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P16 |
static int |
AV_PIX_FMT_YUVA420P16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P9 |
static int |
AV_PIX_FMT_YUVA420P9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA420P9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P10 |
static int |
AV_PIX_FMT_YUVA422P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P12 |
static int |
AV_PIX_FMT_YUVA422P12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P16 |
static int |
AV_PIX_FMT_YUVA422P16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P9 |
static int |
AV_PIX_FMT_YUVA422P9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA422P9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P10 |
static int |
AV_PIX_FMT_YUVA444P10BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P10LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P12 |
static int |
AV_PIX_FMT_YUVA444P12BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P12LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P16 |
static int |
AV_PIX_FMT_YUVA444P16BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P16LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P9 |
static int |
AV_PIX_FMT_YUVA444P9BE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVA444P9LE
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVJ411P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVJ420P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVJ422P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVJ440P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUVJ444P
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YUYV422
enum AVPixelFormat
|
static int |
AV_PIX_FMT_YVYU422
enum AVPixelFormat
|
static int |
AV_ROUND_DOWN
enum AVRounding
|
static int |
AV_ROUND_INF
enum AVRounding
|
static int |
AV_ROUND_NEAR_INF
enum AVRounding
|
static int |
AV_ROUND_PASS_MINMAX
enum AVRounding
|
static int |
AV_ROUND_UP
enum AVRounding
|
static int |
AV_ROUND_ZERO
enum AVRounding
|
static int |
AV_SAMPLE_FMT_DBL
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_DBLP
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_FLT
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_FLTP
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_NB
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_NONE
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_S16
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_S16P
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_S32
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_S32P
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_S64
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_S64P
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_U8
enum AVSampleFormat
|
static int |
AV_SAMPLE_FMT_U8P
enum AVSampleFormat
|
static int |
AV_SPHERICAL_CUBEMAP
enum AVSphericalProjection
|
static int |
AV_SPHERICAL_EQUIRECTANGULAR
enum AVSphericalProjection
|
static int |
AV_SPHERICAL_EQUIRECTANGULAR_TILE
enum AVSphericalProjection
|
static int |
AV_STEREO3D_2D
enum AVStereo3DType
|
static int |
AV_STEREO3D_CHECKERBOARD
enum AVStereo3DType
|
static int |
AV_STEREO3D_COLUMNS
enum AVStereo3DType
|
static int |
AV_STEREO3D_FLAG_INVERT
Inverted views, Right/Bottom represents the left view.
|
static int |
AV_STEREO3D_FRAMESEQUENCE
enum AVStereo3DType
|
static int |
AV_STEREO3D_LINES
enum AVStereo3DType
|
static int |
AV_STEREO3D_SIDEBYSIDE
enum AVStereo3DType
|
static int |
AV_STEREO3D_SIDEBYSIDE_QUINCUNX
enum AVStereo3DType
|
static int |
AV_STEREO3D_TOPBOTTOM
enum AVStereo3DType
|
static int |
AV_STEREO3D_VIEW_LEFT
enum AVStereo3DView
|
static int |
AV_STEREO3D_VIEW_PACKED
enum AVStereo3DView
|
static int |
AV_STEREO3D_VIEW_RIGHT
enum AVStereo3DView
|
static int |
AV_THREAD_MESSAGE_NONBLOCK
enum AVThreadMessageFlags
|
static int |
AV_TIME_BASE
Internal time base represented as integer
|
static int |
AV_TIMECODE_FLAG_24HOURSMAX
enum AVTimecodeFlag
|
static int |
AV_TIMECODE_FLAG_ALLOWNEGATIVE
enum AVTimecodeFlag
|
static int |
AV_TIMECODE_FLAG_DROPFRAME
enum AVTimecodeFlag
|
static int |
AV_TIMECODE_STR_SIZE
\file
Timecode helpers header
|
static int |
AV_TS_MAX_STRING_SIZE
\file
timestamp utils, mostly useful for debugging/logging purposes
|
static int |
AV_TX_FLOAT_FFT
enum AVTXType
|
static int |
AV_TX_FLOAT_MDCT
enum AVTXType
|
static int |
AV_UTF8_FLAG_ACCEPT_ALL |
static int |
AV_UTF8_FLAG_ACCEPT_INVALID_BIG_CODES
accept codepoints over 0x10FFFF
|
static int |
AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS
accept non-characters - 0xFFFE and 0xFFFF
|
static int |
AV_UTF8_FLAG_ACCEPT_SURROGATES
accept UTF-16 surrogates codes
|
static int |
AV_UTF8_FLAG_EXCLUDE_XML_INVALID_CONTROL_CODES
exclude control codes not accepted by XML
|
static int |
AVCHROMA_LOC_BOTTOM
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_BOTTOMLEFT
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_CENTER
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_LEFT
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_NB
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_TOP
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_TOPLEFT
enum AVChromaLocation
|
static int |
AVCHROMA_LOC_UNSPECIFIED
enum AVChromaLocation
|
static int |
AVCOL_PRI_BT2020
enum AVColorPrimaries
|
static int |
AVCOL_PRI_BT470BG
enum AVColorPrimaries
|
static int |
AVCOL_PRI_BT470M
enum AVColorPrimaries
|
static int |
AVCOL_PRI_BT709
enum AVColorPrimaries
|
static int |
AVCOL_PRI_FILM
enum AVColorPrimaries
|
static int |
AVCOL_PRI_JEDEC_P22
enum AVColorPrimaries
|
static int |
AVCOL_PRI_NB
enum AVColorPrimaries
|
static int |
AVCOL_PRI_RESERVED
enum AVColorPrimaries
|
static int |
AVCOL_PRI_RESERVED0
enum AVColorPrimaries
|
static int |
AVCOL_PRI_SMPTE170M
enum AVColorPrimaries
|
static int |
AVCOL_PRI_SMPTE240M
enum AVColorPrimaries
|
static int |
AVCOL_PRI_SMPTE428
enum AVColorPrimaries
|
static int |
AVCOL_PRI_SMPTE431
enum AVColorPrimaries
|
static int |
AVCOL_PRI_SMPTE432
enum AVColorPrimaries
|
static int |
AVCOL_PRI_SMPTEST428_1
enum AVColorPrimaries
|
static int |
AVCOL_PRI_UNSPECIFIED
enum AVColorPrimaries
|
static int |
AVCOL_RANGE_JPEG
enum AVColorRange
|
static int |
AVCOL_RANGE_MPEG
enum AVColorRange
|
static int |
AVCOL_RANGE_NB
enum AVColorRange
|
static int |
AVCOL_RANGE_UNSPECIFIED
enum AVColorRange
|
static int |
AVCOL_SPC_BT2020_CL
enum AVColorSpace
|
static int |
AVCOL_SPC_BT2020_NCL
enum AVColorSpace
|
static int |
AVCOL_SPC_BT470BG
enum AVColorSpace
|
static int |
AVCOL_SPC_BT709
enum AVColorSpace
|
static int |
AVCOL_SPC_CHROMA_DERIVED_CL
enum AVColorSpace
|
static int |
AVCOL_SPC_CHROMA_DERIVED_NCL
enum AVColorSpace
|
static int |
AVCOL_SPC_FCC
enum AVColorSpace
|
static int |
AVCOL_SPC_ICTCP
enum AVColorSpace
|
static int |
AVCOL_SPC_NB
enum AVColorSpace
|
static int |
AVCOL_SPC_RESERVED
enum AVColorSpace
|
static int |
AVCOL_SPC_RGB
enum AVColorSpace
|
static int |
AVCOL_SPC_SMPTE170M
enum AVColorSpace
|
static int |
AVCOL_SPC_SMPTE2085
enum AVColorSpace
|
static int |
AVCOL_SPC_SMPTE240M
enum AVColorSpace
|
static int |
AVCOL_SPC_UNSPECIFIED
enum AVColorSpace
|
static int |
AVCOL_SPC_YCGCO
enum AVColorSpace
|
static int |
AVCOL_SPC_YCOCG
enum AVColorSpace
|
static int |
AVCOL_TRC_ARIB_STD_B67
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_BT1361_ECG
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_BT2020_10
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_BT2020_12
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_BT709
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_GAMMA22
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_GAMMA28
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_IEC61966_2_1
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_IEC61966_2_4
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_LINEAR
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_LOG
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_LOG_SQRT
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_NB
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_RESERVED
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_RESERVED0
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_SMPTE170M
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_SMPTE2084
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_SMPTE240M
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_SMPTE428
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_SMPTEST2084
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_SMPTEST428_1
enum AVColorTransferCharacteristic
|
static int |
AVCOL_TRC_UNSPECIFIED
enum AVColorTransferCharacteristic
|
static int |
AVERROR_BSF_NOT_FOUND |
static int |
AVERROR_BUFFER_TOO_SMALL |
static int |
AVERROR_BUG |
static int |
AVERROR_BUG2 |
static int |
AVERROR_DECODER_NOT_FOUND |
static int |
AVERROR_DEMUXER_NOT_FOUND |
static int |
AVERROR_ENCODER_NOT_FOUND |
static int |
AVERROR_EOF |
static int |
AVERROR_EXIT |
static int |
AVERROR_EXPERIMENTAL
Requested feature is flagged experimental.
|
static int |
AVERROR_EXTERNAL |
static int |
AVERROR_FILTER_NOT_FOUND |
static int |
AVERROR_HTTP_BAD_REQUEST |
static int |
AVERROR_HTTP_FORBIDDEN |
static int |
AVERROR_HTTP_NOT_FOUND |
static int |
AVERROR_HTTP_OTHER_4XX |
static int |
AVERROR_HTTP_SERVER_ERROR |
static int |
AVERROR_HTTP_UNAUTHORIZED |
static int |
AVERROR_INPUT_CHANGED
Input changed between calls.
|
static int |
AVERROR_INVALIDDATA |
static int |
AVERROR_MUXER_NOT_FOUND |
static int |
AVERROR_OPTION_NOT_FOUND |
static int |
AVERROR_OUTPUT_CHANGED
Output changed between calls.
|
static int |
AVERROR_PATCHWELCOME |
static int |
AVERROR_PROTOCOL_NOT_FOUND |
static int |
AVERROR_STREAM_NOT_FOUND |
static int |
AVERROR_UNKNOWN |
static int |
AVMEDIA_TYPE_ATTACHMENT
enum AVMediaType
|
static int |
AVMEDIA_TYPE_AUDIO
enum AVMediaType
|
static int |
AVMEDIA_TYPE_DATA
enum AVMediaType
|
static int |
AVMEDIA_TYPE_NB
enum AVMediaType
|
static int |
AVMEDIA_TYPE_SUBTITLE
enum AVMediaType
|
static int |
AVMEDIA_TYPE_UNKNOWN
enum AVMediaType
|
static int |
AVMEDIA_TYPE_VIDEO
enum AVMediaType
|
static int |
AVPALETTE_COUNT |
static int |
AVPALETTE_SIZE
\file
pixel format definitions
|
static int |
FF_LAMBDA_MAX |
static int |
FF_LAMBDA_SCALE |
static int |
FF_LAMBDA_SHIFT
\defgroup lavu_const Constants
\{
\defgroup lavu_enc Encoding specific
\note those definition should move to avcodec
\{
|
static int |
FF_LOSS_ALPHA
loss of alpha bits
|
static int |
FF_LOSS_CHROMA
loss of chroma (e.g.
|
static int |
FF_LOSS_COLORQUANT
loss due to color quantization
|
static int |
FF_LOSS_COLORSPACE
loss due to color space conversion
|
static int |
FF_LOSS_DEPTH
loss due to color depth change
|
static int |
FF_LOSS_RESOLUTION
loss due to resolution change
|
static int |
FF_QP2LAMBDA
factor to convert from H.263 QP to lambda
|
static int |
FF_QUALITY_SCALE |
static String |
FFMPEG_VERSION
\}
\}
|
static double |
INFINITY |
static double |
M_E
\file
\addtogroup lavu_math
Mathematical utilities for working with timestamp and time base.
|
static double |
M_LN10 |
static double |
M_LN2 |
static double |
M_LOG2_10 |
static double |
M_PHI |
static double |
M_PI |
static double |
M_PI_2 |
static double |
M_SQRT1_2 |
static double |
M_SQRT2 |
static double |
NAN |
Constructor and Description |
---|
avutil() |
Modifier and Type | Method and Description |
---|---|
static AVRational |
av_add_q(AVRational b,
AVRational c)
Add two rationals.
|
static long |
av_add_stable(AVRational ts_tb,
long ts,
AVRational inc_tb,
long inc)
Add a value to a timestamp.
|
static long |
av_adler32_update(long adler,
byte[] buf,
int len) |
static long |
av_adler32_update(long adler,
ByteBuffer buf,
int len) |
static long |
av_adler32_update(long adler,
BytePointer buf,
int len)
Calculate the Adler32 checksum of a buffer.
|
static AVAES |
av_aes_alloc()
Allocate an AVAES context.
|
static void |
av_aes_crypt(AVAES a,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_aes_crypt(AVAES a,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_aes_crypt(AVAES a,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context.
|
static AVAESCTR |
av_aes_ctr_alloc()
Allocate an AVAESCTR context.
|
static void |
av_aes_ctr_crypt(AVAESCTR a,
byte[] dst,
byte[] src,
int size) |
static void |
av_aes_ctr_crypt(AVAESCTR a,
ByteBuffer dst,
ByteBuffer src,
int size) |
static void |
av_aes_ctr_crypt(AVAESCTR a,
BytePointer dst,
BytePointer src,
int size)
Process a buffer using a previously initialized context.
|
static void |
av_aes_ctr_free(AVAESCTR a)
Release an AVAESCTR context.
|
static BytePointer |
av_aes_ctr_get_iv(AVAESCTR a)
Get the current iv
|
static void |
av_aes_ctr_increment_iv(AVAESCTR a)
Increment the top 64 bit of the iv (performed after each frame)
|
static int |
av_aes_ctr_init(AVAESCTR a,
byte[] key) |
static int |
av_aes_ctr_init(AVAESCTR a,
ByteBuffer key) |
static int |
av_aes_ctr_init(AVAESCTR a,
BytePointer key)
Initialize an AVAESCTR context.
|
static void |
av_aes_ctr_set_full_iv(AVAESCTR a,
byte[] iv) |
static void |
av_aes_ctr_set_full_iv(AVAESCTR a,
ByteBuffer iv) |
static void |
av_aes_ctr_set_full_iv(AVAESCTR a,
BytePointer iv)
Forcefully change the "full" 16-byte iv, including the counter
|
static void |
av_aes_ctr_set_iv(AVAESCTR a,
byte[] iv) |
static void |
av_aes_ctr_set_iv(AVAESCTR a,
ByteBuffer iv) |
static void |
av_aes_ctr_set_iv(AVAESCTR a,
BytePointer iv)
Forcefully change the 8-byte iv
|
static void |
av_aes_ctr_set_random_iv(AVAESCTR a)
Generate a random iv
|
static int |
av_aes_init(AVAES a,
byte[] key,
int key_bits,
int decrypt) |
static int |
av_aes_init(AVAES a,
ByteBuffer key,
int key_bits,
int decrypt) |
static int |
av_aes_init(AVAES a,
BytePointer key,
int key_bits,
int decrypt)
Initialize an AVAES context.
|
static int |
av_aes_size()
\defgroup lavu_aes AES
\ingroup lavu_crypto
\{
|
static BytePointer |
av_append_path_component(BytePointer path,
BytePointer component)
Append path component to the existing path.
|
static ByteBuffer |
av_append_path_component(String path,
String component) |
static BytePointer |
av_asprintf(BytePointer fmt)
Print arguments following specified format into a large enough auto
allocated buffer.
|
static ByteBuffer |
av_asprintf(String fmt) |
static AVAudioFifo |
av_audio_fifo_alloc(int sample_fmt,
int channels,
int nb_samples)
Allocate an AVAudioFifo.
|
static int |
av_audio_fifo_drain(AVAudioFifo af,
int nb_samples)
Drain data from an AVAudioFifo.
|
static void |
av_audio_fifo_free(AVAudioFifo af)
Free an AVAudioFifo.
|
static int |
av_audio_fifo_peek_at(AVAudioFifo af,
Pointer data,
int nb_samples,
int offset) |
static int |
av_audio_fifo_peek_at(AVAudioFifo af,
PointerPointer data,
int nb_samples,
int offset)
Peek data from an AVAudioFifo.
|
static int |
av_audio_fifo_peek(AVAudioFifo af,
Pointer data,
int nb_samples) |
static int |
av_audio_fifo_peek(AVAudioFifo af,
PointerPointer data,
int nb_samples)
Peek data from an AVAudioFifo.
|
static int |
av_audio_fifo_read(AVAudioFifo af,
Pointer data,
int nb_samples) |
static int |
av_audio_fifo_read(AVAudioFifo af,
PointerPointer data,
int nb_samples)
Read data from an AVAudioFifo.
|
static int |
av_audio_fifo_realloc(AVAudioFifo af,
int nb_samples)
Reallocate an AVAudioFifo.
|
static void |
av_audio_fifo_reset(AVAudioFifo af)
Reset the AVAudioFifo buffer.
|
static int |
av_audio_fifo_size(AVAudioFifo af)
Get the current number of samples in the AVAudioFifo available for reading.
|
static int |
av_audio_fifo_space(AVAudioFifo af)
Get the current number of samples in the AVAudioFifo available for writing.
|
static int |
av_audio_fifo_write(AVAudioFifo af,
Pointer data,
int nb_samples) |
static int |
av_audio_fifo_write(AVAudioFifo af,
PointerPointer data,
int nb_samples)
Write data to an AVAudioFifo.
|
static int |
av_base64_decode(byte[] out,
BytePointer in,
int out_size) |
static int |
av_base64_decode(byte[] out,
String in,
int out_size) |
static int |
av_base64_decode(ByteBuffer out,
BytePointer in,
int out_size) |
static int |
av_base64_decode(ByteBuffer out,
String in,
int out_size) |
static int |
av_base64_decode(BytePointer out,
BytePointer in,
int out_size)
Decode a base64-encoded string.
|
static int |
av_base64_decode(BytePointer out,
String in,
int out_size) |
static byte[] |
av_base64_encode(byte[] out,
int out_size,
byte[] in,
int in_size) |
static ByteBuffer |
av_base64_encode(ByteBuffer out,
int out_size,
ByteBuffer in,
int in_size) |
static BytePointer |
av_base64_encode(BytePointer out,
int out_size,
BytePointer in,
int in_size)
Encode data to base64 and null-terminate.
|
static BytePointer |
av_basename(BytePointer path)
Thread safe basename.
|
static String |
av_basename(String path) |
static AVBlowfish |
av_blowfish_alloc()
Allocate an AVBlowfish context.
|
static void |
av_blowfish_crypt_ecb(AVBlowfish ctx,
int[] xl,
int[] xr,
int decrypt) |
static void |
av_blowfish_crypt_ecb(AVBlowfish ctx,
IntBuffer xl,
IntBuffer xr,
int decrypt) |
static void |
av_blowfish_crypt_ecb(AVBlowfish ctx,
IntPointer xl,
IntPointer xr,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context.
|
static void |
av_blowfish_crypt(AVBlowfish ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_blowfish_crypt(AVBlowfish ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_blowfish_crypt(AVBlowfish ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context.
|
static void |
av_blowfish_init(AVBlowfish ctx,
byte[] key,
int key_len) |
static void |
av_blowfish_init(AVBlowfish ctx,
ByteBuffer key,
int key_len) |
static void |
av_blowfish_init(AVBlowfish ctx,
BytePointer key,
int key_len)
Initialize an AVBlowfish context.
|
static void |
av_bmg_get(AVLFG lfg,
double[] out) |
static void |
av_bmg_get(AVLFG lfg,
DoubleBuffer out) |
static void |
av_bmg_get(AVLFG lfg,
DoublePointer out)
Get the next two numbers generated by a Box-Muller Gaussian
generator using the random numbers issued by lfg.
|
static void |
av_bprint_append_data(AVBPrint buf,
BytePointer data,
int size)
Append data to a print buffer.
|
static void |
av_bprint_append_data(AVBPrint buf,
String data,
int size) |
static void |
av_bprint_channel_layout(AVBPrint bp,
int nb_channels,
long channel_layout)
Append a description of a channel layout to a bprint buffer.
|
static void |
av_bprint_chars(AVBPrint buf,
byte c,
int n)
Append char c n times to a print buffer.
|
static void |
av_bprint_clear(AVBPrint buf)
Reset the string to "" but keep internal allocated data.
|
static void |
av_bprint_escape(AVBPrint dstbuf,
BytePointer src,
BytePointer special_chars,
int mode,
int flags)
Escape the content in src and append it to dstbuf.
|
static void |
av_bprint_escape(AVBPrint dstbuf,
String src,
String special_chars,
int mode,
int flags) |
static int |
av_bprint_finalize(AVBPrint buf,
byte[] ret_str) |
static int |
av_bprint_finalize(AVBPrint buf,
ByteBuffer ret_str) |
static int |
av_bprint_finalize(AVBPrint buf,
BytePointer ret_str) |
static int |
av_bprint_finalize(AVBPrint buf,
PointerPointer ret_str)
Finalize a print buffer.
|
static void |
av_bprint_get_buffer(AVBPrint buf,
int size,
byte[] mem,
int[] actual_size) |
static void |
av_bprint_get_buffer(AVBPrint buf,
int size,
ByteBuffer mem,
IntBuffer actual_size) |
static void |
av_bprint_get_buffer(AVBPrint buf,
int size,
BytePointer mem,
IntPointer actual_size) |
static void |
av_bprint_get_buffer(AVBPrint buf,
int size,
PointerPointer mem,
IntPointer actual_size)
Allocate bytes in the buffer for external use.
|
static void |
av_bprint_init_for_buffer(AVBPrint buf,
byte[] buffer,
int size) |
static void |
av_bprint_init_for_buffer(AVBPrint buf,
ByteBuffer buffer,
int size) |
static void |
av_bprint_init_for_buffer(AVBPrint buf,
BytePointer buffer,
int size)
Init a print buffer using a pre-existing buffer.
|
static void |
av_bprint_init(AVBPrint buf,
int size_init,
int size_max)
Init a print buffer.
|
static int |
av_bprint_is_complete(AVBPrint buf)
Test if the print buffer is complete (not truncated).
|
static void |
av_bprint_strftime(AVBPrint buf,
BytePointer fmt,
tm tm)
Append a formatted date and time to a print buffer.
|
static void |
av_bprint_strftime(AVBPrint buf,
String fmt,
tm tm) |
static void |
av_bprintf(AVBPrint buf,
BytePointer fmt)
Append a formatted string to a print buffer.
|
static void |
av_bprintf(AVBPrint buf,
String fmt) |
static AVBufferRef |
av_buffer_alloc(int size)
Allocate an AVBuffer of the given size using av_malloc().
|
static AVBufferRef |
av_buffer_allocz(int size)
Same as av_buffer_alloc(), except the returned buffer will be initialized
to zero.
|
static AVBufferRef |
av_buffer_create(byte[] data,
int size,
Free_Pointer_byte__ _free,
Pointer opaque,
int flags) |
static AVBufferRef |
av_buffer_create(ByteBuffer data,
int size,
Free_Pointer_ByteBuffer _free,
Pointer opaque,
int flags) |
static AVBufferRef |
av_buffer_create(BytePointer data,
int size,
Free_Pointer_BytePointer _free,
Pointer opaque,
int flags) |
static void |
av_buffer_default_free(Pointer opaque,
byte[] data) |
static void |
av_buffer_default_free(Pointer opaque,
ByteBuffer data) |
static void |
av_buffer_default_free(Pointer opaque,
BytePointer data)
Default free callback, which calls av_free() on the buffer data.
|
static Pointer |
av_buffer_get_opaque(AVBufferRef buf) |
static int |
av_buffer_get_ref_count(AVBufferRef buf) |
static int |
av_buffer_is_writable(AVBufferRef buf) |
static int |
av_buffer_make_writable(AVBufferRef buf) |
static int |
av_buffer_make_writable(PointerPointer buf)
Create a writable reference from a given buffer reference, avoiding data copy
if possible.
|
static AVBufferRef |
av_buffer_pool_get(AVBufferPool pool)
Allocate a new AVBuffer, reusing an old buffer from the pool when available.
|
static AVBufferPool |
av_buffer_pool_init(int size,
Alloc_int alloc) |
static AVBufferPool |
av_buffer_pool_init2(int size,
Pointer opaque,
Alloc_Pointer_int alloc,
Pool_free_Pointer pool_free) |
static void |
av_buffer_pool_uninit(AVBufferPool pool) |
static void |
av_buffer_pool_uninit(PointerPointer pool)
Mark the pool as being available for freeing.
|
static int |
av_buffer_realloc(AVBufferRef buf,
int size) |
static int |
av_buffer_realloc(PointerPointer buf,
int size)
Reallocate a given buffer.
|
static AVBufferRef |
av_buffer_ref(AVBufferRef buf)
Create a new reference to an AVBuffer.
|
static void |
av_buffer_unref(AVBufferRef buf) |
static void |
av_buffer_unref(PointerPointer buf)
Free a given reference and automatically free the buffer if there are no more
references to it.
|
static Pointer |
av_calloc(long nmemb,
long size)
Non-inlined equivalent of av_mallocz_array().
|
static AVCAMELLIA |
av_camellia_alloc()
Allocate an AVCAMELLIA context
To free the struct: av_free(ptr)
|
static void |
av_camellia_crypt(AVCAMELLIA ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_camellia_crypt(AVCAMELLIA ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_camellia_crypt(AVCAMELLIA ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context
|
static int |
av_camellia_init(AVCAMELLIA ctx,
byte[] key,
int key_bits) |
static int |
av_camellia_init(AVCAMELLIA ctx,
ByteBuffer key,
int key_bits) |
static int |
av_camellia_init(AVCAMELLIA ctx,
BytePointer key,
int key_bits)
Initialize an AVCAMELLIA context.
|
static int |
av_camellia_size()
\file
\brief Public header for libavutil CAMELLIA algorithm
\defgroup lavu_camellia CAMELLIA
\ingroup lavu_crypto
\{
|
static AVCAST5 |
av_cast5_alloc()
Allocate an AVCAST5 context
To free the struct: av_free(ptr)
|
static void |
av_cast5_crypt(AVCAST5 ctx,
byte[] dst,
byte[] src,
int count,
int decrypt) |
static void |
av_cast5_crypt(AVCAST5 ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
int decrypt) |
static void |
av_cast5_crypt(AVCAST5 ctx,
BytePointer dst,
BytePointer src,
int count,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context, ECB mode only
|
static void |
av_cast5_crypt2(AVCAST5 ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_cast5_crypt2(AVCAST5 ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_cast5_crypt2(AVCAST5 ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context
|
static int |
av_cast5_init(AVCAST5 ctx,
byte[] key,
int key_bits) |
static int |
av_cast5_init(AVCAST5 ctx,
ByteBuffer key,
int key_bits) |
static int |
av_cast5_init(AVCAST5 ctx,
BytePointer key,
int key_bits)
Initialize an AVCAST5 context.
|
static int |
av_cast5_size()
\file
\brief Public header for libavutil CAST5 algorithm
\defgroup lavu_cast5 CAST5
\ingroup lavu_crypto
\{
|
static int |
av_ceil_log2_c(int x)
Compute ceil(log2(x)).
|
static long |
av_channel_layout_extract_channel(long channel_layout,
int index)
Get the channel with the given index in channel_layout.
|
static int |
av_chroma_location_from_name(BytePointer name) |
static int |
av_chroma_location_from_name(String name) |
static BytePointer |
av_chroma_location_name(int location) |
static int |
av_clip_c(int a,
int amin,
int amax)
Clip a signed integer value into the amin-amax range.
|
static short |
av_clip_int16_c(int a)
Clip a signed integer value into the -32768,32767 range.
|
static byte |
av_clip_int8_c(int a)
Clip a signed integer value into the -128,127 range.
|
static int |
av_clip_intp2_c(int a,
int p)
Clip a signed integer into the -(2^p),(2^p-1) range.
|
static short |
av_clip_uint16_c(int a)
Clip a signed integer value into the 0-65535 range.
|
static byte |
av_clip_uint8_c(int a)
Clip a signed integer value into the 0-255 range.
|
static int |
av_clip_uintp2_c(int a,
int p)
Clip a signed integer to an unsigned power of two range.
|
static long |
av_clip64_c(long a,
long amin,
long amax)
Clip a signed 64bit integer value into the amin-amax range.
|
static double |
av_clipd_c(double a,
double amin,
double amax)
Clip a double value into the amin-amax range.
|
static float |
av_clipf_c(float a,
float amin,
float amax)
Clip a float value into the amin-amax range.
|
static int |
av_clipl_int32_c(long a)
Clip a signed 64-bit integer value into the -2147483648,2147483647 range.
|
static int |
av_cmp_q(AVRational a,
AVRational b)
Compare two rationals.
|
static int |
av_color_primaries_from_name(BytePointer name) |
static int |
av_color_primaries_from_name(String name) |
static BytePointer |
av_color_primaries_name(int primaries) |
static int |
av_color_range_from_name(BytePointer name) |
static int |
av_color_range_from_name(String name) |
static BytePointer |
av_color_range_name(int range) |
static int |
av_color_space_from_name(BytePointer name) |
static int |
av_color_space_from_name(String name) |
static BytePointer |
av_color_space_name(int space) |
static int |
av_color_transfer_from_name(BytePointer name) |
static int |
av_color_transfer_from_name(String name) |
static BytePointer |
av_color_transfer_name(int transfer) |
static long |
av_compare_mod(long a,
long b,
long mod)
Compare the remainders of two integer operands divided by a common divisor.
|
static int |
av_compare_ts(long ts_a,
AVRational tb_a,
long ts_b,
AVRational tb_b)
Compare two timestamps each in its own time base.
|
static AVContentLightMetadata |
av_content_light_metadata_alloc(SizeTPointer size)
Allocate an AVContentLightMetadata structure and set its fields to
default values.
|
static AVContentLightMetadata |
av_content_light_metadata_create_side_data(AVFrame frame)
Allocate a complete AVContentLightMetadata and add it to the frame.
|
static int |
av_cpu_count() |
static long |
av_cpu_max_align()
Get the maximum data alignment that may be required by FFmpeg.
|
static IntPointer |
av_crc_get_table(int crc_id)
Get an initialized standard CRC table.
|
static int |
av_crc_init(int[] ctx,
int le,
int bits,
int poly,
int ctx_size) |
static int |
av_crc_init(IntBuffer ctx,
int le,
int bits,
int poly,
int ctx_size) |
static int |
av_crc_init(IntPointer ctx,
int le,
int bits,
int poly,
int ctx_size)
Initialize a CRC table.
|
static int |
av_crc(int[] ctx,
int crc,
byte[] buffer,
long length) |
static int |
av_crc(IntBuffer ctx,
int crc,
ByteBuffer buffer,
long length) |
static int |
av_crc(IntPointer ctx,
int crc,
BytePointer buffer,
long length)
Calculate the CRC of a block.
|
static AVRational |
av_d2q(double d,
int max)
Convert a double precision floating point number to a rational.
|
static BytePointer |
av_d2str(double d)
Convert a number to an av_malloced string.
|
static int |
av_default_get_category(Pointer ptr) |
static BytePointer |
av_default_item_name(Pointer ctx)
Return the context name
|
static AVDES |
av_des_alloc()
Allocate an AVDES context.
|
static void |
av_des_crypt(AVDES d,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_des_crypt(AVDES d,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_des_crypt(AVDES d,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
\brief Encrypts / decrypts using the DES algorithm.
|
static int |
av_des_init(AVDES d,
byte[] key,
int key_bits,
int decrypt) |
static int |
av_des_init(AVDES d,
ByteBuffer key,
int key_bits,
int decrypt) |
static int |
av_des_init(AVDES d,
BytePointer key,
int key_bits,
int decrypt)
\brief Initializes an AVDES context.
|
static void |
av_des_mac(AVDES d,
byte[] dst,
byte[] src,
int count) |
static void |
av_des_mac(AVDES d,
ByteBuffer dst,
ByteBuffer src,
int count) |
static void |
av_des_mac(AVDES d,
BytePointer dst,
BytePointer src,
int count)
\brief Calculates CBC-MAC using the DES algorithm.
|
static int |
av_dict_copy(AVDictionary dst,
AVDictionary src,
int flags) |
static int |
av_dict_copy(PointerPointer dst,
AVDictionary src,
int flags)
Copy entries from one AVDictionary struct into another.
|
static int |
av_dict_count(AVDictionary m)
Get number of entries in dictionary.
|
static void |
av_dict_free(AVDictionary m) |
static void |
av_dict_free(PointerPointer m)
Free all the memory allocated for an AVDictionary struct
and all keys and values.
|
static int |
av_dict_get_string(AVDictionary m,
byte[] buffer,
byte key_val_sep,
byte pairs_sep) |
static int |
av_dict_get_string(AVDictionary m,
ByteBuffer buffer,
byte key_val_sep,
byte pairs_sep) |
static int |
av_dict_get_string(AVDictionary m,
BytePointer buffer,
byte key_val_sep,
byte pairs_sep) |
static int |
av_dict_get_string(AVDictionary m,
PointerPointer buffer,
byte key_val_sep,
byte pairs_sep)
Get dictionary entries as a string.
|
static AVDictionaryEntry |
av_dict_get(AVDictionary m,
BytePointer key,
AVDictionaryEntry prev,
int flags)
Get a dictionary entry with matching key.
|
static AVDictionaryEntry |
av_dict_get(AVDictionary m,
String key,
AVDictionaryEntry prev,
int flags) |
static int |
av_dict_parse_string(AVDictionary pm,
BytePointer str,
BytePointer key_val_sep,
BytePointer pairs_sep,
int flags) |
static int |
av_dict_parse_string(AVDictionary pm,
String str,
String key_val_sep,
String pairs_sep,
int flags) |
static int |
av_dict_parse_string(PointerPointer pm,
BytePointer str,
BytePointer key_val_sep,
BytePointer pairs_sep,
int flags)
Parse the key/value pairs list and add the parsed entries to a dictionary.
|
static int |
av_dict_set_int(AVDictionary pm,
BytePointer key,
long value,
int flags) |
static int |
av_dict_set_int(AVDictionary pm,
String key,
long value,
int flags) |
static int |
av_dict_set_int(PointerPointer pm,
BytePointer key,
long value,
int flags)
Convenience wrapper for av_dict_set that converts the value to a string
and stores it.
|
static int |
av_dict_set(AVDictionary pm,
BytePointer key,
BytePointer value,
int flags) |
static int |
av_dict_set(AVDictionary pm,
String key,
String value,
int flags) |
static int |
av_dict_set(PointerPointer pm,
BytePointer key,
BytePointer value,
int flags)
Set the given entry in *pm, overwriting an existing entry.
|
static BytePointer |
av_dirname(byte[] path) |
static String |
av_dirname(ByteBuffer path) |
static BytePointer |
av_dirname(BytePointer path)
Thread safe dirname.
|
static void |
av_display_matrix_flip(int[] matrix,
int hflip,
int vflip) |
static void |
av_display_matrix_flip(IntBuffer matrix,
int hflip,
int vflip) |
static void |
av_display_matrix_flip(IntPointer matrix,
int hflip,
int vflip)
Flip the input matrix horizontally and/or vertically.
|
static double |
av_display_rotation_get(int[] matrix) |
static double |
av_display_rotation_get(IntBuffer matrix) |
static double |
av_display_rotation_get(IntPointer matrix)
Extract the rotation component of the transformation matrix.
|
static void |
av_display_rotation_set(int[] matrix,
double angle) |
static void |
av_display_rotation_set(IntBuffer matrix,
double angle) |
static void |
av_display_rotation_set(IntPointer matrix,
double angle)
Initialize a transformation matrix describing a pure counterclockwise
rotation by the specified angle (in degrees).
|
static AVRational |
av_div_q(AVRational b,
AVRational c)
Divide one rational by another.
|
static long |
av_double2int(double f)
Reinterpret a double as a 64-bit integer.
|
static AVDownmixInfo |
av_downmix_info_update_side_data(AVFrame frame)
Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.
|
static AVDynamicHDRPlus |
av_dynamic_hdr_plus_alloc(SizeTPointer size)
Allocate an AVDynamicHDRPlus structure and set its fields to
default values.
|
static AVDynamicHDRPlus |
av_dynamic_hdr_plus_create_side_data(AVFrame frame)
Allocate a complete AVDynamicHDRPlus and add it to the frame.
|
static int |
av_dynarray_add_nofree(Pointer tab_ptr,
int[] nb_ptr,
Pointer elem) |
static int |
av_dynarray_add_nofree(Pointer tab_ptr,
IntBuffer nb_ptr,
Pointer elem) |
static int |
av_dynarray_add_nofree(Pointer tab_ptr,
IntPointer nb_ptr,
Pointer elem)
Add an element to a dynamic array.
|
static void |
av_dynarray_add(Pointer tab_ptr,
int[] nb_ptr,
Pointer elem) |
static void |
av_dynarray_add(Pointer tab_ptr,
IntBuffer nb_ptr,
Pointer elem) |
static void |
av_dynarray_add(Pointer tab_ptr,
IntPointer nb_ptr,
Pointer elem)
Add the pointer to an element to a dynamic array.
|
static Pointer |
av_dynarray2_add(Pointer tab_ptr,
int[] nb_ptr,
long elem_size,
byte[] elem_data) |
static Pointer |
av_dynarray2_add(Pointer tab_ptr,
IntBuffer nb_ptr,
long elem_size,
ByteBuffer elem_data) |
static Pointer |
av_dynarray2_add(Pointer tab_ptr,
IntPointer nb_ptr,
long elem_size,
BytePointer elem_data) |
static Pointer |
av_dynarray2_add(PointerPointer tab_ptr,
IntPointer nb_ptr,
long elem_size,
BytePointer elem_data)
Add an element of size
elem_size to a dynamic array. |
static BytePointer |
av_encryption_info_add_side_data(AVEncryptionInfo info,
SizeTPointer side_data_size)
Allocates and initializes side data that holds a copy of the given encryption
info.
|
static AVEncryptionInfo |
av_encryption_info_alloc(int subsample_count,
int key_id_size,
int iv_size)
Allocates an AVEncryptionInfo structure and sub-pointers to hold the given
number of subsamples.
|
static AVEncryptionInfo |
av_encryption_info_clone(AVEncryptionInfo info)
Allocates an AVEncryptionInfo structure with a copy of the given data.
|
static void |
av_encryption_info_free(AVEncryptionInfo info)
Frees the given encryption info object.
|
static AVEncryptionInfo |
av_encryption_info_get_side_data(byte[] side_data,
long side_data_size) |
static AVEncryptionInfo |
av_encryption_info_get_side_data(ByteBuffer side_data,
long side_data_size) |
static AVEncryptionInfo |
av_encryption_info_get_side_data(BytePointer side_data,
long side_data_size)
Creates a copy of the AVEncryptionInfo that is contained in the given side
data.
|
static BytePointer |
av_encryption_init_info_add_side_data(AVEncryptionInitInfo info,
SizeTPointer side_data_size)
Allocates and initializes side data that holds a copy of the given encryption
init info.
|
static AVEncryptionInitInfo |
av_encryption_init_info_alloc(int system_id_size,
int num_key_ids,
int key_id_size,
int data_size)
Allocates an AVEncryptionInitInfo structure and sub-pointers to hold the
given sizes.
|
static void |
av_encryption_init_info_free(AVEncryptionInitInfo info)
Frees the given encryption init info object.
|
static AVEncryptionInitInfo |
av_encryption_init_info_get_side_data(byte[] side_data,
long side_data_size) |
static AVEncryptionInitInfo |
av_encryption_init_info_get_side_data(ByteBuffer side_data,
long side_data_size) |
static AVEncryptionInitInfo |
av_encryption_init_info_get_side_data(BytePointer side_data,
long side_data_size)
Creates a copy of the AVEncryptionInitInfo that is contained in the given
side data.
|
static int |
av_escape(byte[] dst,
BytePointer src,
BytePointer special_chars,
int mode,
int flags) |
static int |
av_escape(byte[] dst,
String src,
String special_chars,
int mode,
int flags) |
static int |
av_escape(ByteBuffer dst,
BytePointer src,
BytePointer special_chars,
int mode,
int flags) |
static int |
av_escape(ByteBuffer dst,
String src,
String special_chars,
int mode,
int flags) |
static int |
av_escape(BytePointer dst,
BytePointer src,
BytePointer special_chars,
int mode,
int flags) |
static int |
av_escape(BytePointer dst,
String src,
String special_chars,
int mode,
int flags) |
static int |
av_escape(PointerPointer dst,
BytePointer src,
BytePointer special_chars,
int mode,
int flags)
Escape string in src, and put the escaped string in an allocated
string in *dst, which must be freed with av_free().
|
static double |
av_expr_eval(AVExpr e,
double[] const_values,
Pointer opaque) |
static double |
av_expr_eval(AVExpr e,
DoubleBuffer const_values,
Pointer opaque) |
static double |
av_expr_eval(AVExpr e,
DoublePointer const_values,
Pointer opaque)
Evaluate a previously parsed expression.
|
static void |
av_expr_free(AVExpr e)
Free a parsed expression previously created with av_expr_parse().
|
static int |
av_expr_parse_and_eval(double[] res,
BytePointer s,
byte[] const_names,
double[] const_values,
byte[] func1_names,
PointerPointer funcs1,
byte[] func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse_and_eval(double[] res,
String s,
byte[] const_names,
double[] const_values,
byte[] func1_names,
PointerPointer funcs1,
byte[] func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse_and_eval(DoubleBuffer res,
BytePointer s,
ByteBuffer const_names,
DoubleBuffer const_values,
ByteBuffer func1_names,
PointerPointer funcs1,
ByteBuffer func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse_and_eval(DoubleBuffer res,
String s,
ByteBuffer const_names,
DoubleBuffer const_values,
ByteBuffer func1_names,
PointerPointer funcs1,
ByteBuffer func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse_and_eval(DoublePointer res,
BytePointer s,
BytePointer const_names,
DoublePointer const_values,
BytePointer func1_names,
PointerPointer funcs1,
BytePointer func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse_and_eval(DoublePointer res,
BytePointer s,
PointerPointer const_names,
DoublePointer const_values,
PointerPointer func1_names,
PointerPointer funcs1,
PointerPointer func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx)
\file
simple arithmetic expression evaluator
|
static int |
av_expr_parse_and_eval(DoublePointer res,
String s,
BytePointer const_names,
DoublePointer const_values,
BytePointer func1_names,
PointerPointer funcs1,
BytePointer func2_names,
PointerPointer funcs2,
Pointer opaque,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(AVExpr expr,
BytePointer s,
byte[] const_names,
byte[] func1_names,
PointerPointer funcs1,
byte[] func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(AVExpr expr,
BytePointer s,
ByteBuffer const_names,
ByteBuffer func1_names,
PointerPointer funcs1,
ByteBuffer func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(AVExpr expr,
BytePointer s,
BytePointer const_names,
BytePointer func1_names,
PointerPointer funcs1,
BytePointer func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(AVExpr expr,
String s,
byte[] const_names,
byte[] func1_names,
PointerPointer funcs1,
byte[] func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(AVExpr expr,
String s,
ByteBuffer const_names,
ByteBuffer func1_names,
PointerPointer funcs1,
ByteBuffer func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(AVExpr expr,
String s,
BytePointer const_names,
BytePointer func1_names,
PointerPointer funcs1,
BytePointer func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx) |
static int |
av_expr_parse(PointerPointer expr,
BytePointer s,
PointerPointer const_names,
PointerPointer func1_names,
PointerPointer funcs1,
PointerPointer func2_names,
PointerPointer funcs2,
int log_offset,
Pointer log_ctx)
Parse an expression.
|
static void |
av_fast_malloc(Pointer ptr,
int[] size,
long min_size) |
static void |
av_fast_malloc(Pointer ptr,
IntBuffer size,
long min_size) |
static void |
av_fast_malloc(Pointer ptr,
IntPointer size,
long min_size)
Allocate a buffer, reusing the given one if large enough.
|
static void |
av_fast_mallocz(Pointer ptr,
int[] size,
long min_size) |
static void |
av_fast_mallocz(Pointer ptr,
IntBuffer size,
long min_size) |
static void |
av_fast_mallocz(Pointer ptr,
IntPointer size,
long min_size)
Allocate and clear a buffer, reusing the given one if large enough.
|
static Pointer |
av_fast_realloc(Pointer ptr,
int[] size,
long min_size) |
static Pointer |
av_fast_realloc(Pointer ptr,
IntBuffer size,
long min_size) |
static Pointer |
av_fast_realloc(Pointer ptr,
IntPointer size,
long min_size)
Reallocate the given buffer if it is not large enough, otherwise do nothing.
|
static AVFifoBuffer |
av_fifo_alloc_array(long nmemb,
long size)
Initialize an AVFifoBuffer.
|
static AVFifoBuffer |
av_fifo_alloc(int size)
Initialize an AVFifoBuffer.
|
static void |
av_fifo_drain(AVFifoBuffer f,
int size)
Read and discard the specified amount of data from an AVFifoBuffer.
|
static void |
av_fifo_free(AVFifoBuffer f)
Free an AVFifoBuffer.
|
static void |
av_fifo_freep(AVFifoBuffer f) |
static void |
av_fifo_freep(PointerPointer f)
Free an AVFifoBuffer and reset pointer to NULL.
|
static int |
av_fifo_generic_peek_at(AVFifoBuffer f,
Pointer dest,
int offset,
int buf_size,
Func_Pointer_Pointer_int func) |
static int |
av_fifo_generic_peek(AVFifoBuffer f,
Pointer dest,
int buf_size,
Func_Pointer_Pointer_int func)
Feed data from an AVFifoBuffer to a user-supplied callback.
|
static int |
av_fifo_generic_read(AVFifoBuffer f,
Pointer dest,
int buf_size,
Func_Pointer_Pointer_int func)
Feed data from an AVFifoBuffer to a user-supplied callback.
|
static int |
av_fifo_generic_write(AVFifoBuffer f,
Pointer src,
int size,
Int_func_Pointer_Pointer_int func) |
static int |
av_fifo_grow(AVFifoBuffer f,
int additional_space)
Enlarge an AVFifoBuffer.
|
static BytePointer |
av_fifo_peek2(AVFifoBuffer f,
int offs)
Return a pointer to the data stored in a FIFO buffer at a certain offset.
|
static int |
av_fifo_realloc2(AVFifoBuffer f,
int size)
Resize an AVFifoBuffer.
|
static void |
av_fifo_reset(AVFifoBuffer f)
Reset the AVFifoBuffer to the state right after av_fifo_alloc, in particular it is emptied.
|
static int |
av_fifo_size(AVFifoBuffer f)
Return the amount of data in bytes in the AVFifoBuffer, that is the
amount of data you can read from it.
|
static int |
av_fifo_space(AVFifoBuffer f)
Return the amount of space in bytes in the AVFifoBuffer, that is the
amount of data you can write into it.
|
static int |
av_file_map(BytePointer filename,
byte[] bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx) |
static int |
av_file_map(BytePointer filename,
ByteBuffer bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx) |
static int |
av_file_map(BytePointer filename,
BytePointer bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx) |
static int |
av_file_map(BytePointer filename,
PointerPointer bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx)
Read the file with name filename, and put its content in a newly
allocated buffer or map it with mmap() when available.
|
static int |
av_file_map(String filename,
byte[] bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx) |
static int |
av_file_map(String filename,
ByteBuffer bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx) |
static int |
av_file_map(String filename,
BytePointer bufptr,
SizeTPointer size,
int log_offset,
Pointer log_ctx) |
static void |
av_file_unmap(byte[] bufptr,
long size) |
static void |
av_file_unmap(ByteBuffer bufptr,
long size) |
static void |
av_file_unmap(BytePointer bufptr,
long size)
Unmap or free the buffer bufptr created by av_file_map().
|
static int |
av_find_best_pix_fmt_of_2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
int[] loss_ptr) |
static int |
av_find_best_pix_fmt_of_2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
IntBuffer loss_ptr) |
static int |
av_find_best_pix_fmt_of_2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
IntPointer loss_ptr)
Compute what kind of losses will occur when converting from one specific
pixel format to another.
|
static int |
av_find_info_tag(byte[] arg,
int arg_size,
BytePointer tag1,
BytePointer info) |
static int |
av_find_info_tag(byte[] arg,
int arg_size,
String tag1,
String info) |
static int |
av_find_info_tag(ByteBuffer arg,
int arg_size,
BytePointer tag1,
BytePointer info) |
static int |
av_find_info_tag(ByteBuffer arg,
int arg_size,
String tag1,
String info) |
static int |
av_find_info_tag(BytePointer arg,
int arg_size,
BytePointer tag1,
BytePointer info)
Attempt to find a specific tag in a URL.
|
static int |
av_find_info_tag(BytePointer arg,
int arg_size,
String tag1,
String info) |
static int |
av_find_nearest_q_idx(AVRational q,
AVRational q_list)
Find the value in a list of rationals nearest a given reference rational.
|
static int |
av_float2int(float f)
Reinterpret a float as a 32-bit integer.
|
static Pointer |
av_fopen_utf8(BytePointer path,
BytePointer mode)
Open a file using a UTF-8 filename.
|
static Pointer |
av_fopen_utf8(String path,
String mode) |
static void |
av_force_cpu_flags(int flags)
Disables cpu detection and forces the specified flags.
|
static byte[] |
av_fourcc_make_string(byte[] buf,
int fourcc) |
static ByteBuffer |
av_fourcc_make_string(ByteBuffer buf,
int fourcc) |
static BytePointer |
av_fourcc_make_string(BytePointer buf,
int fourcc)
Fill the provided buffer with a string containing a FourCC (four-character
code) representation.
|
static AVFrame |
av_frame_alloc()
Allocate an AVFrame and set its fields to default values.
|
static int |
av_frame_apply_cropping(AVFrame frame,
int flags)
Crop the given video AVFrame according to its crop_left/crop_top/crop_right/
crop_bottom fields.
|
static AVFrame |
av_frame_clone(AVFrame src)
Create a new frame that references the same data as src.
|
static int |
av_frame_copy_props(AVFrame dst,
AVFrame src)
Copy only "metadata" fields from src to dst.
|
static int |
av_frame_copy(AVFrame dst,
AVFrame src)
Copy the frame data from src to dst.
|
static void |
av_frame_free(AVFrame frame) |
static void |
av_frame_free(PointerPointer frame)
Free the frame and any dynamically allocated objects in it,
e.g.
|
static long |
av_frame_get_best_effort_timestamp(AVFrame frame)
Deprecated.
|
static int |
av_frame_get_buffer(AVFrame frame,
int align)
Allocate new buffer(s) for audio or video data.
|
static long |
av_frame_get_channel_layout(AVFrame frame)
Deprecated.
|
static int |
av_frame_get_channels(AVFrame frame)
Deprecated.
|
static int |
av_frame_get_color_range(AVFrame frame)
Deprecated.
|
static int |
av_frame_get_colorspace(AVFrame frame)
Deprecated.
|
static int |
av_frame_get_decode_error_flags(AVFrame frame)
Deprecated.
|
static AVDictionary |
av_frame_get_metadata(AVFrame frame)
Deprecated.
|
static long |
av_frame_get_pkt_duration(AVFrame frame)
Deprecated.
|
static long |
av_frame_get_pkt_pos(AVFrame frame)
Deprecated.
|
static int |
av_frame_get_pkt_size(AVFrame frame)
Deprecated.
|
static AVBufferRef |
av_frame_get_plane_buffer(AVFrame frame,
int plane)
Get the buffer reference a given data plane is stored in.
|
static byte[] |
av_frame_get_qp_table(AVFrame f,
int[] stride,
int[] type)
Deprecated.
|
static ByteBuffer |
av_frame_get_qp_table(AVFrame f,
IntBuffer stride,
IntBuffer type)
Deprecated.
|
static BytePointer |
av_frame_get_qp_table(AVFrame f,
IntPointer stride,
IntPointer type)
Deprecated.
|
static int |
av_frame_get_sample_rate(AVFrame frame)
Deprecated.
|
static AVFrameSideData |
av_frame_get_side_data(AVFrame frame,
int type) |
static int |
av_frame_is_writable(AVFrame frame)
Check if the frame data is writable.
|
static int |
av_frame_make_writable(AVFrame frame)
Ensure that the frame data is writable, avoiding data copy if possible.
|
static void |
av_frame_move_ref(AVFrame dst,
AVFrame src)
Move everything contained in src to dst and reset src.
|
static AVFrameSideData |
av_frame_new_side_data_from_buf(AVFrame frame,
int type,
AVBufferRef buf)
Add a new side data to a frame from an existing AVBufferRef
|
static AVFrameSideData |
av_frame_new_side_data(AVFrame frame,
int type,
int size)
Add a new side data to a frame.
|
static int |
av_frame_ref(AVFrame dst,
AVFrame src)
Set up a new reference to the data described by the source frame.
|
static void |
av_frame_remove_side_data(AVFrame frame,
int type)
If side data of the supplied type exists in the frame, free it and remove it
from the frame.
|
static void |
av_frame_set_best_effort_timestamp(AVFrame frame,
long val)
Deprecated.
|
static void |
av_frame_set_channel_layout(AVFrame frame,
long val)
Deprecated.
|
static void |
av_frame_set_channels(AVFrame frame,
int val)
Deprecated.
|
static void |
av_frame_set_color_range(AVFrame frame,
int val)
Deprecated.
|
static void |
av_frame_set_colorspace(AVFrame frame,
int val)
Deprecated.
|
static void |
av_frame_set_decode_error_flags(AVFrame frame,
int val)
Deprecated.
|
static void |
av_frame_set_metadata(AVFrame frame,
AVDictionary val)
Deprecated.
|
static void |
av_frame_set_pkt_duration(AVFrame frame,
long val)
Deprecated.
|
static void |
av_frame_set_pkt_pos(AVFrame frame,
long val)
Deprecated.
|
static void |
av_frame_set_pkt_size(AVFrame frame,
int val)
Deprecated.
|
static int |
av_frame_set_qp_table(AVFrame f,
AVBufferRef buf,
int stride,
int type)
Deprecated.
|
static void |
av_frame_set_sample_rate(AVFrame frame,
int val)
Deprecated.
|
static BytePointer |
av_frame_side_data_name(int type) |
static void |
av_frame_unref(AVFrame frame)
Unreference all the buffers referenced by frame and reset the frame fields.
|
static void |
av_free(Pointer ptr)
Free a memory block which has been allocated with a function of av_malloc()
or av_realloc() family.
|
static void |
av_freep(Pointer ptr)
Free a memory block which has been allocated with a function of av_malloc()
or av_realloc() family, and set the pointer pointing to it to
NULL . |
static long |
av_gcd(long a,
long b)
Compute the greatest common divisor of two integer operands.
|
static int |
av_get_alt_sample_fmt(int sample_fmt,
int planar)
Return the planar<->packed alternative form of the given sample format, or
AV_SAMPLE_FMT_NONE on error.
|
static int |
av_get_bits_per_pixel(AVPixFmtDescriptor pixdesc)
Return the number of bits per pixel used by the pixel format
described by pixdesc.
|
static int |
av_get_bytes_per_sample(int sample_fmt)
Return number of bytes per sample.
|
static BytePointer |
av_get_channel_description(long channel)
Get the description of a given channel.
|
static int |
av_get_channel_layout_channel_index(long channel_layout,
long channel)
Get the index of a channel in channel_layout.
|
static int |
av_get_channel_layout_nb_channels(long channel_layout)
Return the number of channels in the channel layout.
|
static void |
av_get_channel_layout_string(byte[] buf,
int buf_size,
int nb_channels,
long channel_layout) |
static void |
av_get_channel_layout_string(ByteBuffer buf,
int buf_size,
int nb_channels,
long channel_layout) |
static void |
av_get_channel_layout_string(BytePointer buf,
int buf_size,
int nb_channels,
long channel_layout)
Return a description of a channel layout.
|
static long |
av_get_channel_layout(BytePointer name)
Return a channel layout id that matches name, or 0 if no match is found.
|
static long |
av_get_channel_layout(String name) |
static BytePointer |
av_get_channel_name(long channel)
Get the name of a given channel.
|
static BytePointer |
av_get_colorspace_name(int val)
Get the name of a colorspace.
|
static int |
av_get_cpu_flags()
Return the flags which specify extensions supported by the CPU.
|
static long |
av_get_default_channel_layout(int nb_channels)
Return default channel layout for a given number of channels.
|
static int |
av_get_extended_channel_layout(BytePointer name,
long[] channel_layout,
int[] nb_channels) |
static int |
av_get_extended_channel_layout(BytePointer name,
LongBuffer channel_layout,
IntBuffer nb_channels) |
static int |
av_get_extended_channel_layout(BytePointer name,
LongPointer channel_layout,
IntPointer nb_channels)
Return a channel layout and the number of channels based on the specified name.
|
static int |
av_get_extended_channel_layout(String name,
long[] channel_layout,
int[] nb_channels) |
static int |
av_get_extended_channel_layout(String name,
LongBuffer channel_layout,
IntBuffer nb_channels) |
static int |
av_get_extended_channel_layout(String name,
LongPointer channel_layout,
IntPointer nb_channels) |
static BytePointer |
av_get_known_color_name(int color_idx,
byte[] rgb) |
static String |
av_get_known_color_name(int color_idx,
ByteBuffer rgb) |
static BytePointer |
av_get_known_color_name(int color_idx,
BytePointer rgb) |
static BytePointer |
av_get_known_color_name(int color_idx,
PointerPointer rgb)
Get the name of a color from the internal table of hard-coded named
colors.
|
static BytePointer |
av_get_media_type_string(int media_type)
Return a string describing the media_type enum, NULL if media_type
is unknown.
|
static int |
av_get_packed_sample_fmt(int sample_fmt)
Get the packed alternative form of the given sample format.
|
static int |
av_get_padded_bits_per_pixel(AVPixFmtDescriptor pixdesc)
Return the number of bits per pixel for the pixel format
described by pixdesc, including any padding or unused bits.
|
static byte |
av_get_picture_type_char(int pict_type)
Return a single letter to describe the given picture type
pict_type.
|
static int |
av_get_pix_fmt_loss(int dst_pix_fmt,
int src_pix_fmt,
int has_alpha)
Compute what kind of losses will occur when converting from one specific
pixel format to another.
|
static BytePointer |
av_get_pix_fmt_name(int pix_fmt)
Return the short name for a pixel format, NULL in case pix_fmt is
unknown.
|
static byte[] |
av_get_pix_fmt_string(byte[] buf,
int buf_size,
int pix_fmt) |
static ByteBuffer |
av_get_pix_fmt_string(ByteBuffer buf,
int buf_size,
int pix_fmt) |
static BytePointer |
av_get_pix_fmt_string(BytePointer buf,
int buf_size,
int pix_fmt)
Print in buf the string corresponding to the pixel format with
number pix_fmt, or a header if pix_fmt is negative.
|
static int |
av_get_pix_fmt(BytePointer name)
Return the pixel format corresponding to name.
|
static int |
av_get_pix_fmt(String name) |
static int |
av_get_planar_sample_fmt(int sample_fmt)
Get the planar alternative form of the given sample format.
|
static int |
av_get_random_seed()
Get a seed to use in conjunction with random functions.
|
static BytePointer |
av_get_sample_fmt_name(int sample_fmt)
Return the name of sample_fmt, or NULL if sample_fmt is not
recognized.
|
static byte[] |
av_get_sample_fmt_string(byte[] buf,
int buf_size,
int sample_fmt) |
static ByteBuffer |
av_get_sample_fmt_string(ByteBuffer buf,
int buf_size,
int sample_fmt) |
static BytePointer |
av_get_sample_fmt_string(BytePointer buf,
int buf_size,
int sample_fmt)
Generate a string corresponding to the sample format with
sample_fmt, or a header if sample_fmt is negative.
|
static int |
av_get_sample_fmt(BytePointer name)
Return a sample format corresponding to name, or AV_SAMPLE_FMT_NONE
on error.
|
static int |
av_get_sample_fmt(String name) |
static int |
av_get_standard_channel_layout(int index,
long[] layout,
byte[] name) |
static int |
av_get_standard_channel_layout(int index,
LongBuffer layout,
ByteBuffer name) |
static int |
av_get_standard_channel_layout(int index,
LongPointer layout,
BytePointer name) |
static int |
av_get_standard_channel_layout(int index,
LongPointer layout,
PointerPointer name)
Get the value and name of a standard channel layout.
|
static AVRational |
av_get_time_base_q()
Return the fractional representation of the internal time base.
|
static byte[] |
av_get_token(byte[] buf,
BytePointer term) |
static byte[] |
av_get_token(byte[] buf,
String term) |
static ByteBuffer |
av_get_token(ByteBuffer buf,
BytePointer term) |
static ByteBuffer |
av_get_token(ByteBuffer buf,
String term) |
static BytePointer |
av_get_token(BytePointer buf,
BytePointer term) |
static BytePointer |
av_get_token(BytePointer buf,
String term) |
static BytePointer |
av_get_token(PointerPointer buf,
BytePointer term)
Unescape the given string until a non escaped terminating char,
and return the token corresponding to the unescaped string.
|
static int |
av_gettime_relative_is_monotonic()
Indicates with a boolean result if the av_gettime_relative() time source
is monotonic.
|
static long |
av_gettime_relative()
Get the current time in microseconds since some unspecified starting point.
|
static long |
av_gettime()
Get the current time in microseconds.
|
static int |
av_hash_alloc(AVHashContext ctx,
BytePointer name) |
static int |
av_hash_alloc(AVHashContext ctx,
String name) |
static int |
av_hash_alloc(PointerPointer ctx,
BytePointer name)
Allocate a hash context for the algorithm specified by name.
|
static void |
av_hash_final_b64(AVHashContext ctx,
byte[] dst,
int size) |
static void |
av_hash_final_b64(AVHashContext ctx,
ByteBuffer dst,
int size) |
static void |
av_hash_final_b64(AVHashContext ctx,
BytePointer dst,
int size)
Finalize a hash context and store the Base64 representation of the
actual hash value as a string.
|
static void |
av_hash_final_bin(AVHashContext ctx,
byte[] dst,
int size) |
static void |
av_hash_final_bin(AVHashContext ctx,
ByteBuffer dst,
int size) |
static void |
av_hash_final_bin(AVHashContext ctx,
BytePointer dst,
int size)
Finalize a hash context and store the actual hash value in a buffer.
|
static void |
av_hash_final_hex(AVHashContext ctx,
byte[] dst,
int size) |
static void |
av_hash_final_hex(AVHashContext ctx,
ByteBuffer dst,
int size) |
static void |
av_hash_final_hex(AVHashContext ctx,
BytePointer dst,
int size)
Finalize a hash context and store the hexadecimal representation of the
actual hash value as a string.
|
static void |
av_hash_final(AVHashContext ctx,
byte[] dst) |
static void |
av_hash_final(AVHashContext ctx,
ByteBuffer dst) |
static void |
av_hash_final(AVHashContext ctx,
BytePointer dst)
Finalize a hash context and compute the actual hash value.
|
static void |
av_hash_freep(AVHashContext ctx) |
static void |
av_hash_freep(PointerPointer ctx)
Free hash context and set hash context pointer to
NULL . |
static BytePointer |
av_hash_get_name(AVHashContext ctx)
Get the name of the algorithm corresponding to the given hash context.
|
static int |
av_hash_get_size(AVHashContext ctx)
Get the size of the resulting hash value in bytes.
|
static void |
av_hash_init(AVHashContext ctx)
Initialize or reset a hash context.
|
static BytePointer |
av_hash_names(int i)
Get the names of available hash algorithms.
|
static void |
av_hash_update(AVHashContext ctx,
byte[] src,
int len) |
static void |
av_hash_update(AVHashContext ctx,
byte[] src,
long len) |
static void |
av_hash_update(AVHashContext ctx,
ByteBuffer src,
int len) |
static void |
av_hash_update(AVHashContext ctx,
ByteBuffer src,
long len) |
static void |
av_hash_update(AVHashContext ctx,
BytePointer src,
int len)
Update a hash context with additional data.
|
static void |
av_hash_update(AVHashContext ctx,
BytePointer src,
long len) |
static AVHMAC |
av_hmac_alloc(int type)
Allocate an AVHMAC context.
|
static int |
av_hmac_calc(AVHMAC ctx,
byte[] data,
int len,
byte[] key,
int keylen,
byte[] out,
int outlen) |
static int |
av_hmac_calc(AVHMAC ctx,
ByteBuffer data,
int len,
ByteBuffer key,
int keylen,
ByteBuffer out,
int outlen) |
static int |
av_hmac_calc(AVHMAC ctx,
BytePointer data,
int len,
BytePointer key,
int keylen,
BytePointer out,
int outlen)
Hash an array of data with a key.
|
static int |
av_hmac_final(AVHMAC ctx,
byte[] out,
int outlen) |
static int |
av_hmac_final(AVHMAC ctx,
ByteBuffer out,
int outlen) |
static int |
av_hmac_final(AVHMAC ctx,
BytePointer out,
int outlen)
Finish hashing and output the HMAC digest.
|
static void |
av_hmac_free(AVHMAC ctx)
Free an AVHMAC context.
|
static void |
av_hmac_init(AVHMAC ctx,
byte[] key,
int keylen) |
static void |
av_hmac_init(AVHMAC ctx,
ByteBuffer key,
int keylen) |
static void |
av_hmac_init(AVHMAC ctx,
BytePointer key,
int keylen)
Initialize an AVHMAC context with an authentication key.
|
static void |
av_hmac_update(AVHMAC ctx,
byte[] data,
int len) |
static void |
av_hmac_update(AVHMAC ctx,
ByteBuffer data,
int len) |
static void |
av_hmac_update(AVHMAC ctx,
BytePointer data,
int len)
Hash data with the HMAC.
|
static AVBufferRef |
av_hwdevice_ctx_alloc(int type)
Allocate an AVHWDeviceContext for a given hardware type.
|
static int |
av_hwdevice_ctx_create_derived(AVBufferRef dst_ctx,
int type,
AVBufferRef src_ctx,
int flags) |
static int |
av_hwdevice_ctx_create_derived(PointerPointer dst_ctx,
int type,
AVBufferRef src_ctx,
int flags)
Create a new device of the specified type from an existing device.
|
static int |
av_hwdevice_ctx_create(AVBufferRef device_ctx,
int type,
BytePointer device,
AVDictionary opts,
int flags) |
static int |
av_hwdevice_ctx_create(AVBufferRef device_ctx,
int type,
String device,
AVDictionary opts,
int flags) |
static int |
av_hwdevice_ctx_create(PointerPointer device_ctx,
int type,
BytePointer device,
AVDictionary opts,
int flags)
Open a device of the specified type and create an AVHWDeviceContext for it.
|
static int |
av_hwdevice_ctx_init(AVBufferRef ref)
Finalize the device context before use.
|
static int |
av_hwdevice_find_type_by_name(BytePointer name)
Look up an AVHWDeviceType by name.
|
static int |
av_hwdevice_find_type_by_name(String name) |
static AVHWFramesConstraints |
av_hwdevice_get_hwframe_constraints(AVBufferRef ref,
Pointer hwconfig)
Get the constraints on HW frames given a device and the HW-specific
configuration to be used with that device.
|
static BytePointer |
av_hwdevice_get_type_name(int type)
Get the string name of an AVHWDeviceType.
|
static Pointer |
av_hwdevice_hwconfig_alloc(AVBufferRef device_ctx)
Allocate a HW-specific configuration structure for a given HW device.
|
static int |
av_hwdevice_iterate_types(int prev)
Iterate over supported device types.
|
static void |
av_hwframe_constraints_free(AVHWFramesConstraints constraints) |
static void |
av_hwframe_constraints_free(PointerPointer constraints)
Free an AVHWFrameConstraints structure.
|
static AVBufferRef |
av_hwframe_ctx_alloc(AVBufferRef device_ctx)
Allocate an AVHWFramesContext tied to a given device context.
|
static int |
av_hwframe_ctx_create_derived(AVBufferRef derived_frame_ctx,
int format,
AVBufferRef derived_device_ctx,
AVBufferRef source_frame_ctx,
int flags) |
static int |
av_hwframe_ctx_create_derived(PointerPointer derived_frame_ctx,
int format,
AVBufferRef derived_device_ctx,
AVBufferRef source_frame_ctx,
int flags)
Create and initialise an AVHWFramesContext as a mapping of another existing
AVHWFramesContext on a different device.
|
static int |
av_hwframe_ctx_init(AVBufferRef ref)
Finalize the context before use.
|
static int |
av_hwframe_get_buffer(AVBufferRef hwframe_ctx,
AVFrame frame,
int flags)
Allocate a new frame attached to the given AVHWFramesContext.
|
static int |
av_hwframe_map(AVFrame dst,
AVFrame src,
int flags)
Map a hardware frame.
|
static int |
av_hwframe_transfer_data(AVFrame dst,
AVFrame src,
int flags)
Copy data to or from a hw surface.
|
static int |
av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx,
int dir,
int[] formats,
int flags) |
static int |
av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx,
int dir,
IntBuffer formats,
int flags) |
static int |
av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx,
int dir,
IntPointer formats,
int flags) |
static int |
av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx,
int dir,
PointerPointer formats,
int flags)
Get a list of possible source or target formats usable in
av_hwframe_transfer_data().
|
static int |
av_image_alloc(byte[] pointers,
int[] linesizes,
int w,
int h,
int pix_fmt,
int align) |
static int |
av_image_alloc(ByteBuffer pointers,
IntBuffer linesizes,
int w,
int h,
int pix_fmt,
int align) |
static int |
av_image_alloc(BytePointer pointers,
IntPointer linesizes,
int w,
int h,
int pix_fmt,
int align) |
static int |
av_image_alloc(PointerPointer pointers,
IntPointer linesizes,
int w,
int h,
int pix_fmt,
int align)
Allocate an image with size w and h and pixel format pix_fmt, and
fill pointers and linesizes accordingly.
|
static int |
av_image_check_sar(int w,
int h,
AVRational sar)
Check if the given sample aspect ratio of an image is valid.
|
static int |
av_image_check_size(int w,
int h,
int log_offset,
Pointer log_ctx)
Check if the given dimension of an image is valid, meaning that all
bytes of the image can be addressed with a signed int.
|
static int |
av_image_check_size2(int w,
int h,
long max_pixels,
int pix_fmt,
int log_offset,
Pointer log_ctx)
Check if the given dimension of an image is valid, meaning that all
bytes of a plane of an image with the specified pix_fmt can be addressed
with a signed int.
|
static void |
av_image_copy_plane(byte[] dst,
int dst_linesize,
byte[] src,
int src_linesize,
int bytewidth,
int height) |
static void |
av_image_copy_plane(ByteBuffer dst,
int dst_linesize,
ByteBuffer src,
int src_linesize,
int bytewidth,
int height) |
static void |
av_image_copy_plane(BytePointer dst,
int dst_linesize,
BytePointer src,
int src_linesize,
int bytewidth,
int height)
Copy image plane from src to dst.
|
static int |
av_image_copy_to_buffer(byte[] dst,
int dst_size,
byte[] src_data,
int[] src_linesize,
int pix_fmt,
int width,
int height,
int align) |
static int |
av_image_copy_to_buffer(ByteBuffer dst,
int dst_size,
ByteBuffer src_data,
IntBuffer src_linesize,
int pix_fmt,
int width,
int height,
int align) |
static int |
av_image_copy_to_buffer(BytePointer dst,
int dst_size,
BytePointer src_data,
IntPointer src_linesize,
int pix_fmt,
int width,
int height,
int align) |
static int |
av_image_copy_to_buffer(BytePointer dst,
int dst_size,
PointerPointer src_data,
IntPointer src_linesize,
int pix_fmt,
int width,
int height,
int align)
Copy image data from an image into a buffer.
|
static void |
av_image_copy_uc_from(byte[] dst_data,
SizeTPointer dst_linesizes,
byte[] src_data,
SizeTPointer src_linesizes,
int pix_fmt,
int width,
int height) |
static void |
av_image_copy_uc_from(ByteBuffer dst_data,
SizeTPointer dst_linesizes,
ByteBuffer src_data,
SizeTPointer src_linesizes,
int pix_fmt,
int width,
int height) |
static void |
av_image_copy_uc_from(BytePointer dst_data,
SizeTPointer dst_linesizes,
BytePointer src_data,
SizeTPointer src_linesizes,
int pix_fmt,
int width,
int height) |
static void |
av_image_copy_uc_from(PointerPointer dst_data,
SizeTPointer dst_linesizes,
PointerPointer src_data,
SizeTPointer src_linesizes,
int pix_fmt,
int width,
int height)
Copy image data located in uncacheable (e.g.
|
static void |
av_image_copy(byte[] dst_data,
int[] dst_linesizes,
byte[] src_data,
int[] src_linesizes,
int pix_fmt,
int width,
int height) |
static void |
av_image_copy(ByteBuffer dst_data,
IntBuffer dst_linesizes,
ByteBuffer src_data,
IntBuffer src_linesizes,
int pix_fmt,
int width,
int height) |
static void |
av_image_copy(BytePointer dst_data,
IntPointer dst_linesizes,
BytePointer src_data,
IntPointer src_linesizes,
int pix_fmt,
int width,
int height) |
static void |
av_image_copy(PointerPointer dst_data,
IntPointer dst_linesizes,
PointerPointer src_data,
IntPointer src_linesizes,
int pix_fmt,
int width,
int height)
Copy image in src_data to dst_data.
|
static int |
av_image_fill_arrays(byte[] dst_data,
int[] dst_linesize,
byte[] src,
int pix_fmt,
int width,
int height,
int align) |
static int |
av_image_fill_arrays(ByteBuffer dst_data,
IntBuffer dst_linesize,
ByteBuffer src,
int pix_fmt,
int width,
int height,
int align) |
static int |
av_image_fill_arrays(BytePointer dst_data,
IntPointer dst_linesize,
BytePointer src,
int pix_fmt,
int width,
int height,
int align) |
static int |
av_image_fill_arrays(PointerPointer dst_data,
IntPointer dst_linesize,
BytePointer src,
int pix_fmt,
int width,
int height,
int align)
Setup the data pointers and linesizes based on the specified image
parameters and the provided array.
|
static int |
av_image_fill_black(byte[] dst_data,
SizeTPointer dst_linesize,
int pix_fmt,
int range,
int width,
int height) |
static int |
av_image_fill_black(ByteBuffer dst_data,
SizeTPointer dst_linesize,
int pix_fmt,
int range,
int width,
int height) |
static int |
av_image_fill_black(BytePointer dst_data,
SizeTPointer dst_linesize,
int pix_fmt,
int range,
int width,
int height) |
static int |
av_image_fill_black(PointerPointer dst_data,
SizeTPointer dst_linesize,
int pix_fmt,
int range,
int width,
int height)
Overwrite the image data with black.
|
static int |
av_image_fill_linesizes(int[] linesizes,
int pix_fmt,
int width) |
static int |
av_image_fill_linesizes(IntBuffer linesizes,
int pix_fmt,
int width) |
static int |
av_image_fill_linesizes(IntPointer linesizes,
int pix_fmt,
int width)
Fill plane linesizes for an image with pixel format pix_fmt and
width width.
|
static void |
av_image_fill_max_pixsteps(int[] max_pixsteps,
int[] max_pixstep_comps,
AVPixFmtDescriptor pixdesc) |
static void |
av_image_fill_max_pixsteps(IntBuffer max_pixsteps,
IntBuffer max_pixstep_comps,
AVPixFmtDescriptor pixdesc) |
static void |
av_image_fill_max_pixsteps(IntPointer max_pixsteps,
IntPointer max_pixstep_comps,
AVPixFmtDescriptor pixdesc)
Compute the max pixel step for each plane of an image with a
format described by pixdesc.
|
static int |
av_image_fill_pointers(byte[] data,
int pix_fmt,
int height,
byte[] ptr,
int[] linesizes) |
static int |
av_image_fill_pointers(ByteBuffer data,
int pix_fmt,
int height,
ByteBuffer ptr,
IntBuffer linesizes) |
static int |
av_image_fill_pointers(BytePointer data,
int pix_fmt,
int height,
BytePointer ptr,
IntPointer linesizes) |
static int |
av_image_fill_pointers(PointerPointer data,
int pix_fmt,
int height,
BytePointer ptr,
IntPointer linesizes)
Fill plane data pointers for an image with pixel format pix_fmt and
height height.
|
static int |
av_image_get_buffer_size(int pix_fmt,
int width,
int height,
int align)
Return the size in bytes of the amount of data required to store an
image with the given parameters.
|
static int |
av_image_get_linesize(int pix_fmt,
int width,
int plane)
Compute the size of an image line with format pix_fmt and width
width for the plane plane.
|
static int |
av_int_list_length_for_size(int elsize,
Pointer list,
long term)
Compute the length of an integer list.
|
static double |
av_int2double(long i)
Reinterpret a 64-bit integer as a double.
|
static float |
av_int2float(int i)
Reinterpret a 32-bit integer as a float.
|
static AVRational |
av_inv_q(AVRational q)
Invert a rational.
|
static int |
av_isdigit(int c)
Locale-independent conversion of ASCII isdigit.
|
static int |
av_isgraph(int c)
Locale-independent conversion of ASCII isgraph.
|
static int |
av_isspace(int c)
Locale-independent conversion of ASCII isspace.
|
static int |
av_isxdigit(int c)
Locale-independent conversion of ASCII isxdigit.
|
static int |
av_lfg_get(AVLFG c)
Get the next random unsigned 32-bit number using an ALFG.
|
static int |
av_lfg_init_from_data(AVLFG c,
byte[] data,
int length) |
static int |
av_lfg_init_from_data(AVLFG c,
ByteBuffer data,
int length) |
static int |
av_lfg_init_from_data(AVLFG c,
BytePointer data,
int length)
Seed the state of the ALFG using binary data.
|
static void |
av_lfg_init(AVLFG c,
int seed)
\}
|
static void |
av_log_default_callback(Pointer avcl,
int level,
BytePointer fmt,
Pointer vl)
Default logging callback
It prints the message to stderr, optionally colorizing it.
|
static void |
av_log_default_callback(Pointer avcl,
int level,
String fmt,
Pointer vl) |
static void |
av_log_format_line(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl,
byte[] line,
int line_size,
int[] print_prefix) |
static void |
av_log_format_line(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl,
ByteBuffer line,
int line_size,
IntBuffer print_prefix) |
static void |
av_log_format_line(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl,
BytePointer line,
int line_size,
IntPointer print_prefix)
Format a line of log the same way as the default callback.
|
static void |
av_log_format_line(Pointer ptr,
int level,
String fmt,
Pointer vl,
byte[] line,
int line_size,
int[] print_prefix) |
static void |
av_log_format_line(Pointer ptr,
int level,
String fmt,
Pointer vl,
ByteBuffer line,
int line_size,
IntBuffer print_prefix) |
static void |
av_log_format_line(Pointer ptr,
int level,
String fmt,
Pointer vl,
BytePointer line,
int line_size,
IntPointer print_prefix) |
static int |
av_log_format_line2(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl,
byte[] line,
int line_size,
int[] print_prefix) |
static int |
av_log_format_line2(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl,
ByteBuffer line,
int line_size,
IntBuffer print_prefix) |
static int |
av_log_format_line2(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl,
BytePointer line,
int line_size,
IntPointer print_prefix)
Format a line of log the same way as the default callback.
|
static int |
av_log_format_line2(Pointer ptr,
int level,
String fmt,
Pointer vl,
byte[] line,
int line_size,
int[] print_prefix) |
static int |
av_log_format_line2(Pointer ptr,
int level,
String fmt,
Pointer vl,
ByteBuffer line,
int line_size,
IntBuffer print_prefix) |
static int |
av_log_format_line2(Pointer ptr,
int level,
String fmt,
Pointer vl,
BytePointer line,
int line_size,
IntPointer print_prefix) |
static int |
av_log_get_flags() |
static int |
av_log_get_level()
Get the current log level
|
static void |
av_log_set_callback(Callback_Pointer_int_BytePointer_Pointer callback) |
static void |
av_log_set_callback(Callback_Pointer_int_String_Pointer callback) |
static void |
av_log_set_flags(int arg) |
static void |
av_log_set_level(int level)
Set the log level
|
static void |
av_log(Pointer avcl,
int level,
BytePointer fmt)
Send the specified message to the log if the level is less than or equal
to the current av_log_level.
|
static void |
av_log(Pointer avcl,
int level,
String fmt) |
static int |
av_log2_16bit(int v) |
static int |
av_log2(int v)
Comparator.
|
static byte[] |
av_make_error_string(byte[] errbuf,
long errbuf_size,
int errnum) |
static ByteBuffer |
av_make_error_string(ByteBuffer errbuf,
long errbuf_size,
int errnum) |
static BytePointer |
av_make_error_string(BytePointer errbuf,
long errbuf_size,
int errnum)
Fill the provided buffer with a string containing an error string
corresponding to the AVERROR code errnum.
|
static AVRational |
av_make_q(int num,
int den)
Create an AVRational.
|
static Pointer |
av_malloc_array(long nmemb,
long size)
Allocate a memory block for an array with av_malloc().
|
static Pointer |
av_malloc(long size)
Allocate a memory block with alignment suitable for all memory accesses
(including vectors if available on the CPU).
|
static Pointer |
av_mallocz_array(long nmemb,
long size)
Allocate a memory block for an array with av_mallocz().
|
static Pointer |
av_mallocz(long size)
Allocate a memory block with alignment suitable for all memory accesses
(including vectors if available on the CPU) and zero all the bytes of the
block.
|
static AVMasteringDisplayMetadata |
av_mastering_display_metadata_alloc()
Allocate an AVMasteringDisplayMetadata structure and set its fields to
default values.
|
static AVMasteringDisplayMetadata |
av_mastering_display_metadata_create_side_data(AVFrame frame)
Allocate a complete AVMasteringDisplayMetadata and add it to the frame.
|
static int |
av_match_list(BytePointer name,
BytePointer list,
byte separator)
Check if a name is in a list.
|
static int |
av_match_list(String name,
String list,
byte separator) |
static int |
av_match_name(BytePointer name,
BytePointer names)
Match instances of a name in a comma-separated list of names.
|
static int |
av_match_name(String name,
String names) |
static void |
av_max_alloc(long max)
Set the maximum size that may be allocated in one block.
|
static AVMD5 |
av_md5_alloc()
Allocate an AVMD5 context.
|
static void |
av_md5_final(AVMD5 ctx,
byte[] dst) |
static void |
av_md5_final(AVMD5 ctx,
ByteBuffer dst) |
static void |
av_md5_final(AVMD5 ctx,
BytePointer dst)
Finish hashing and output digest value.
|
static void |
av_md5_init(AVMD5 ctx)
Initialize MD5 hashing.
|
static int |
av_md5_size()
\defgroup lavu_md5 MD5
\ingroup lavu_hash
MD5 hash function implementation.
|
static void |
av_md5_sum(byte[] dst,
byte[] src,
int len) |
static void |
av_md5_sum(byte[] dst,
byte[] src,
long len) |
static void |
av_md5_sum(ByteBuffer dst,
ByteBuffer src,
int len) |
static void |
av_md5_sum(ByteBuffer dst,
ByteBuffer src,
long len) |
static void |
av_md5_sum(BytePointer dst,
BytePointer src,
int len)
Hash an array of data.
|
static void |
av_md5_sum(BytePointer dst,
BytePointer src,
long len) |
static void |
av_md5_update(AVMD5 ctx,
byte[] src,
int len) |
static void |
av_md5_update(AVMD5 ctx,
byte[] src,
long len) |
static void |
av_md5_update(AVMD5 ctx,
ByteBuffer src,
int len) |
static void |
av_md5_update(AVMD5 ctx,
ByteBuffer src,
long len) |
static void |
av_md5_update(AVMD5 ctx,
BytePointer src,
int len)
Update hash value.
|
static void |
av_md5_update(AVMD5 ctx,
BytePointer src,
long len) |
static void |
av_memcpy_backptr(byte[] dst,
int back,
int cnt) |
static void |
av_memcpy_backptr(ByteBuffer dst,
int back,
int cnt) |
static void |
av_memcpy_backptr(BytePointer dst,
int back,
int cnt)
Overlapping memcpy() implementation.
|
static Pointer |
av_memdup(Pointer p,
long size)
Duplicate a buffer with av_malloc().
|
static int |
av_mlfg_get(AVLFG c)
Get the next random unsigned 32-bit number using a MLFG.
|
static int |
av_mod_uintp2_c(int a,
int p)
Clear high bits from an unsigned integer starting with specific bit position
|
static AVRational |
av_mul_q(AVRational b,
AVRational c)
Multiply two rationals.
|
static Pointer |
av_murmur3_alloc()
Allocate an AVMurMur3 hash context.
|
static void |
av_murmur3_final(Pointer c,
byte[] dst) |
static void |
av_murmur3_final(Pointer c,
ByteBuffer dst) |
static void |
av_murmur3_final(Pointer c,
BytePointer dst)
Finish hashing and output digest value.
|
static void |
av_murmur3_init_seeded(Pointer c,
long seed)
Initialize or reinitialize an AVMurMur3 hash context with a seed.
|
static void |
av_murmur3_init(Pointer c)
Initialize or reinitialize an AVMurMur3 hash context.
|
static void |
av_murmur3_update(Pointer c,
byte[] src,
int len) |
static void |
av_murmur3_update(Pointer c,
byte[] src,
long len) |
static void |
av_murmur3_update(Pointer c,
ByteBuffer src,
int len) |
static void |
av_murmur3_update(Pointer c,
ByteBuffer src,
long len) |
static void |
av_murmur3_update(Pointer c,
BytePointer src,
int len)
Update hash context with new data.
|
static void |
av_murmur3_update(Pointer c,
BytePointer src,
long len) |
static int |
av_nearer_q(AVRational q,
AVRational q1,
AVRational q2)
Find which of the two rationals is closer to another rational.
|
static long |
AV_NOPTS_VALUE()
\brief Undefined timestamp value
Usually reported by demuxer that work on containers that do not provide
either pts or dts.
|
static AVClass |
av_opt_child_class_next(AVClass parent,
AVClass prev)
Iterate over potential AVOptions-enabled children of parent.
|
static Pointer |
av_opt_child_next(Pointer obj,
Pointer prev)
Iterate over AVOptions-enabled children of obj.
|
static int |
av_opt_copy(Pointer dest,
Pointer src)
Copy options from src object into dest object.
|
static int |
av_opt_eval_double(Pointer obj,
AVOption o,
BytePointer val,
double[] double_out) |
static int |
av_opt_eval_double(Pointer obj,
AVOption o,
BytePointer val,
DoubleBuffer double_out) |
static int |
av_opt_eval_double(Pointer obj,
AVOption o,
BytePointer val,
DoublePointer double_out) |
static int |
av_opt_eval_double(Pointer obj,
AVOption o,
String val,
double[] double_out) |
static int |
av_opt_eval_double(Pointer obj,
AVOption o,
String val,
DoubleBuffer double_out) |
static int |
av_opt_eval_double(Pointer obj,
AVOption o,
String val,
DoublePointer double_out) |
static int |
av_opt_eval_flags(Pointer obj,
AVOption o,
BytePointer val,
int[] flags_out) |
static int |
av_opt_eval_flags(Pointer obj,
AVOption o,
BytePointer val,
IntBuffer flags_out) |
static int |
av_opt_eval_flags(Pointer obj,
AVOption o,
BytePointer val,
IntPointer flags_out)
\defgroup opt_eval_funcs Evaluating option strings
\{
This group of functions can be used to evaluate option strings
and get numbers out of them.
|
static int |
av_opt_eval_flags(Pointer obj,
AVOption o,
String val,
int[] flags_out) |
static int |
av_opt_eval_flags(Pointer obj,
AVOption o,
String val,
IntBuffer flags_out) |
static int |
av_opt_eval_flags(Pointer obj,
AVOption o,
String val,
IntPointer flags_out) |
static int |
av_opt_eval_float(Pointer obj,
AVOption o,
BytePointer val,
float[] float_out) |
static int |
av_opt_eval_float(Pointer obj,
AVOption o,
BytePointer val,
FloatBuffer float_out) |
static int |
av_opt_eval_float(Pointer obj,
AVOption o,
BytePointer val,
FloatPointer float_out) |
static int |
av_opt_eval_float(Pointer obj,
AVOption o,
String val,
float[] float_out) |
static int |
av_opt_eval_float(Pointer obj,
AVOption o,
String val,
FloatBuffer float_out) |
static int |
av_opt_eval_float(Pointer obj,
AVOption o,
String val,
FloatPointer float_out) |
static int |
av_opt_eval_int(Pointer obj,
AVOption o,
BytePointer val,
int[] int_out) |
static int |
av_opt_eval_int(Pointer obj,
AVOption o,
BytePointer val,
IntBuffer int_out) |
static int |
av_opt_eval_int(Pointer obj,
AVOption o,
BytePointer val,
IntPointer int_out) |
static int |
av_opt_eval_int(Pointer obj,
AVOption o,
String val,
int[] int_out) |
static int |
av_opt_eval_int(Pointer obj,
AVOption o,
String val,
IntBuffer int_out) |
static int |
av_opt_eval_int(Pointer obj,
AVOption o,
String val,
IntPointer int_out) |
static int |
av_opt_eval_int64(Pointer obj,
AVOption o,
BytePointer val,
long[] int64_out) |
static int |
av_opt_eval_int64(Pointer obj,
AVOption o,
BytePointer val,
LongBuffer int64_out) |
static int |
av_opt_eval_int64(Pointer obj,
AVOption o,
BytePointer val,
LongPointer int64_out) |
static int |
av_opt_eval_int64(Pointer obj,
AVOption o,
String val,
long[] int64_out) |
static int |
av_opt_eval_int64(Pointer obj,
AVOption o,
String val,
LongBuffer int64_out) |
static int |
av_opt_eval_int64(Pointer obj,
AVOption o,
String val,
LongPointer int64_out) |
static int |
av_opt_eval_q(Pointer obj,
AVOption o,
BytePointer val,
AVRational q_out) |
static int |
av_opt_eval_q(Pointer obj,
AVOption o,
String val,
AVRational q_out) |
static AVOption |
av_opt_find(Pointer obj,
BytePointer name,
BytePointer unit,
int opt_flags,
int search_flags)
Look for an option in an object.
|
static AVOption |
av_opt_find(Pointer obj,
String name,
String unit,
int opt_flags,
int search_flags) |
static AVOption |
av_opt_find2(Pointer obj,
BytePointer name,
BytePointer unit,
int opt_flags,
int search_flags,
Pointer target_obj) |
static AVOption |
av_opt_find2(Pointer obj,
BytePointer name,
BytePointer unit,
int opt_flags,
int search_flags,
PointerPointer target_obj)
Look for an option in an object.
|
static AVOption |
av_opt_find2(Pointer obj,
String name,
String unit,
int opt_flags,
int search_flags,
Pointer target_obj) |
static int |
av_opt_flag_is_set(Pointer obj,
BytePointer field_name,
BytePointer flag_name)
Check whether a particular flag is set in a flags field.
|
static int |
av_opt_flag_is_set(Pointer obj,
String field_name,
String flag_name) |
static void |
av_opt_free(Pointer obj)
Free all allocated objects in obj.
|
static void |
av_opt_freep_ranges(AVOptionRanges ranges) |
static void |
av_opt_freep_ranges(PointerPointer ranges)
Free an AVOptionRanges struct and set it to NULL.
|
static int |
av_opt_get_channel_layout(Pointer obj,
BytePointer name,
int search_flags,
long[] ch_layout) |
static int |
av_opt_get_channel_layout(Pointer obj,
BytePointer name,
int search_flags,
LongBuffer ch_layout) |
static int |
av_opt_get_channel_layout(Pointer obj,
BytePointer name,
int search_flags,
LongPointer ch_layout) |
static int |
av_opt_get_channel_layout(Pointer obj,
String name,
int search_flags,
long[] ch_layout) |
static int |
av_opt_get_channel_layout(Pointer obj,
String name,
int search_flags,
LongBuffer ch_layout) |
static int |
av_opt_get_channel_layout(Pointer obj,
String name,
int search_flags,
LongPointer ch_layout) |
static int |
av_opt_get_dict_val(Pointer obj,
BytePointer name,
int search_flags,
AVDictionary out_val) |
static int |
av_opt_get_dict_val(Pointer obj,
BytePointer name,
int search_flags,
PointerPointer out_val) |
static int |
av_opt_get_dict_val(Pointer obj,
String name,
int search_flags,
AVDictionary out_val) |
static int |
av_opt_get_double(Pointer obj,
BytePointer name,
int search_flags,
double[] out_val) |
static int |
av_opt_get_double(Pointer obj,
BytePointer name,
int search_flags,
DoubleBuffer out_val) |
static int |
av_opt_get_double(Pointer obj,
BytePointer name,
int search_flags,
DoublePointer out_val) |
static int |
av_opt_get_double(Pointer obj,
String name,
int search_flags,
double[] out_val) |
static int |
av_opt_get_double(Pointer obj,
String name,
int search_flags,
DoubleBuffer out_val) |
static int |
av_opt_get_double(Pointer obj,
String name,
int search_flags,
DoublePointer out_val) |
static int |
av_opt_get_image_size(Pointer obj,
BytePointer name,
int search_flags,
int[] w_out,
int[] h_out) |
static int |
av_opt_get_image_size(Pointer obj,
BytePointer name,
int search_flags,
IntBuffer w_out,
IntBuffer h_out) |
static int |
av_opt_get_image_size(Pointer obj,
BytePointer name,
int search_flags,
IntPointer w_out,
IntPointer h_out) |
static int |
av_opt_get_image_size(Pointer obj,
String name,
int search_flags,
int[] w_out,
int[] h_out) |
static int |
av_opt_get_image_size(Pointer obj,
String name,
int search_flags,
IntBuffer w_out,
IntBuffer h_out) |
static int |
av_opt_get_image_size(Pointer obj,
String name,
int search_flags,
IntPointer w_out,
IntPointer h_out) |
static int |
av_opt_get_int(Pointer obj,
BytePointer name,
int search_flags,
long[] out_val) |
static int |
av_opt_get_int(Pointer obj,
BytePointer name,
int search_flags,
LongBuffer out_val) |
static int |
av_opt_get_int(Pointer obj,
BytePointer name,
int search_flags,
LongPointer out_val) |
static int |
av_opt_get_int(Pointer obj,
String name,
int search_flags,
long[] out_val) |
static int |
av_opt_get_int(Pointer obj,
String name,
int search_flags,
LongBuffer out_val) |
static int |
av_opt_get_int(Pointer obj,
String name,
int search_flags,
LongPointer out_val) |
static int |
av_opt_get_key_value(byte[] ropts,
BytePointer key_val_sep,
BytePointer pairs_sep,
int flags,
byte[] rkey,
byte[] rval) |
static int |
av_opt_get_key_value(byte[] ropts,
String key_val_sep,
String pairs_sep,
int flags,
byte[] rkey,
byte[] rval) |
static int |
av_opt_get_key_value(ByteBuffer ropts,
BytePointer key_val_sep,
BytePointer pairs_sep,
int flags,
ByteBuffer rkey,
ByteBuffer rval) |
static int |
av_opt_get_key_value(ByteBuffer ropts,
String key_val_sep,
String pairs_sep,
int flags,
ByteBuffer rkey,
ByteBuffer rval) |
static int |
av_opt_get_key_value(BytePointer ropts,
BytePointer key_val_sep,
BytePointer pairs_sep,
int flags,
BytePointer rkey,
BytePointer rval) |
static int |
av_opt_get_key_value(BytePointer ropts,
String key_val_sep,
String pairs_sep,
int flags,
BytePointer rkey,
BytePointer rval) |
static int |
av_opt_get_key_value(PointerPointer ropts,
BytePointer key_val_sep,
BytePointer pairs_sep,
int flags,
PointerPointer rkey,
PointerPointer rval)
Extract a key-value pair from the beginning of a string.
|
static int |
av_opt_get_pixel_fmt(Pointer obj,
BytePointer name,
int search_flags,
int[] out_fmt) |
static int |
av_opt_get_pixel_fmt(Pointer obj,
BytePointer name,
int search_flags,
IntBuffer out_fmt) |
static int |
av_opt_get_pixel_fmt(Pointer obj,
BytePointer name,
int search_flags,
IntPointer out_fmt) |
static int |
av_opt_get_pixel_fmt(Pointer obj,
String name,
int search_flags,
int[] out_fmt) |
static int |
av_opt_get_pixel_fmt(Pointer obj,
String name,
int search_flags,
IntBuffer out_fmt) |
static int |
av_opt_get_pixel_fmt(Pointer obj,
String name,
int search_flags,
IntPointer out_fmt) |
static int |
av_opt_get_q(Pointer obj,
BytePointer name,
int search_flags,
AVRational out_val) |
static int |
av_opt_get_q(Pointer obj,
String name,
int search_flags,
AVRational out_val) |
static int |
av_opt_get_sample_fmt(Pointer obj,
BytePointer name,
int search_flags,
int[] out_fmt) |
static int |
av_opt_get_sample_fmt(Pointer obj,
BytePointer name,
int search_flags,
IntBuffer out_fmt) |
static int |
av_opt_get_sample_fmt(Pointer obj,
BytePointer name,
int search_flags,
IntPointer out_fmt) |
static int |
av_opt_get_sample_fmt(Pointer obj,
String name,
int search_flags,
int[] out_fmt) |
static int |
av_opt_get_sample_fmt(Pointer obj,
String name,
int search_flags,
IntBuffer out_fmt) |
static int |
av_opt_get_sample_fmt(Pointer obj,
String name,
int search_flags,
IntPointer out_fmt) |
static int |
av_opt_get_video_rate(Pointer obj,
BytePointer name,
int search_flags,
AVRational out_val) |
static int |
av_opt_get_video_rate(Pointer obj,
String name,
int search_flags,
AVRational out_val) |
static int |
av_opt_get(Pointer obj,
BytePointer name,
int search_flags,
byte[] out_val) |
static int |
av_opt_get(Pointer obj,
BytePointer name,
int search_flags,
ByteBuffer out_val) |
static int |
av_opt_get(Pointer obj,
BytePointer name,
int search_flags,
BytePointer out_val) |
static int |
av_opt_get(Pointer obj,
BytePointer name,
int search_flags,
PointerPointer out_val)
\note the returned string will be av_malloc()ed and must be av_free()ed by the caller
\note if AV_OPT_ALLOW_NULL is set in search_flags in av_opt_get, and the option has
AV_OPT_TYPE_STRING or AV_OPT_TYPE_BINARY and is set to NULL, *out_val will be set
to NULL instead of an allocated empty string.
|
static int |
av_opt_get(Pointer obj,
String name,
int search_flags,
byte[] out_val) |
static int |
av_opt_get(Pointer obj,
String name,
int search_flags,
ByteBuffer out_val) |
static int |
av_opt_get(Pointer obj,
String name,
int search_flags,
BytePointer out_val) |
static int |
av_opt_is_set_to_default_by_name(Pointer obj,
BytePointer name,
int search_flags)
Check if given option is set to its default value.
|
static int |
av_opt_is_set_to_default_by_name(Pointer obj,
String name,
int search_flags) |
static int |
av_opt_is_set_to_default(Pointer obj,
AVOption o)
Check if given option is set to its default value.
|
static AVOption |
av_opt_next(Pointer obj,
AVOption prev)
Iterate over all AVOptions belonging to obj.
|
static Pointer |
av_opt_ptr(AVClass avclass,
Pointer obj,
BytePointer name)
Gets a pointer to the requested field in a struct.
|
static Pointer |
av_opt_ptr(AVClass avclass,
Pointer obj,
String name) |
static int |
av_opt_query_ranges_default(AVOptionRanges arg0,
Pointer obj,
BytePointer key,
int flags) |
static int |
av_opt_query_ranges_default(AVOptionRanges arg0,
Pointer obj,
String key,
int flags) |
static int |
av_opt_query_ranges_default(PointerPointer arg0,
Pointer obj,
BytePointer key,
int flags)
Get a default list of allowed ranges for the given option.
|
static int |
av_opt_query_ranges(AVOptionRanges arg0,
Pointer obj,
BytePointer key,
int flags) |
static int |
av_opt_query_ranges(AVOptionRanges arg0,
Pointer obj,
String key,
int flags) |
static int |
av_opt_query_ranges(PointerPointer arg0,
Pointer obj,
BytePointer key,
int flags)
Get a list of allowed ranges for the given option.
|
static int |
av_opt_serialize(Pointer obj,
int opt_flags,
int flags,
byte[] buffer,
byte key_val_sep,
byte pairs_sep) |
static int |
av_opt_serialize(Pointer obj,
int opt_flags,
int flags,
ByteBuffer buffer,
byte key_val_sep,
byte pairs_sep) |
static int |
av_opt_serialize(Pointer obj,
int opt_flags,
int flags,
BytePointer buffer,
byte key_val_sep,
byte pairs_sep) |
static int |
av_opt_serialize(Pointer obj,
int opt_flags,
int flags,
PointerPointer buffer,
byte key_val_sep,
byte pairs_sep)
Serialize object's options.
|
static int |
av_opt_set_bin(Pointer obj,
BytePointer name,
byte[] val,
int size,
int search_flags) |
static int |
av_opt_set_bin(Pointer obj,
BytePointer name,
ByteBuffer val,
int size,
int search_flags) |
static int |
av_opt_set_bin(Pointer obj,
BytePointer name,
BytePointer val,
int size,
int search_flags) |
static int |
av_opt_set_bin(Pointer obj,
String name,
byte[] val,
int size,
int search_flags) |
static int |
av_opt_set_bin(Pointer obj,
String name,
ByteBuffer val,
int size,
int search_flags) |
static int |
av_opt_set_bin(Pointer obj,
String name,
BytePointer val,
int size,
int search_flags) |
static int |
av_opt_set_channel_layout(Pointer obj,
BytePointer name,
long ch_layout,
int search_flags) |
static int |
av_opt_set_channel_layout(Pointer obj,
String name,
long ch_layout,
int search_flags) |
static void |
av_opt_set_defaults(Pointer s)
Set the values of all AVOption fields to their default values.
|
static void |
av_opt_set_defaults2(Pointer s,
int mask,
int flags)
Set the values of all AVOption fields to their default values.
|
static int |
av_opt_set_dict_val(Pointer obj,
BytePointer name,
AVDictionary val,
int search_flags)
\note Any old dictionary present is discarded and replaced with a copy of the new one.
|
static int |
av_opt_set_dict_val(Pointer obj,
String name,
AVDictionary val,
int search_flags) |
static int |
av_opt_set_dict(Pointer obj,
AVDictionary options) |
static int |
av_opt_set_dict(Pointer obj,
PointerPointer options)
Set all the options from a given dictionary on an object.
|
static int |
av_opt_set_dict2(Pointer obj,
AVDictionary options,
int search_flags) |
static int |
av_opt_set_dict2(Pointer obj,
PointerPointer options,
int search_flags)
Set all the options from a given dictionary on an object.
|
static int |
av_opt_set_double(Pointer obj,
BytePointer name,
double val,
int search_flags) |
static int |
av_opt_set_double(Pointer obj,
String name,
double val,
int search_flags) |
static int |
av_opt_set_from_string(Pointer ctx,
BytePointer opts,
byte[] shorthand,
BytePointer key_val_sep,
BytePointer pairs_sep) |
static int |
av_opt_set_from_string(Pointer ctx,
BytePointer opts,
ByteBuffer shorthand,
BytePointer key_val_sep,
BytePointer pairs_sep) |
static int |
av_opt_set_from_string(Pointer ctx,
BytePointer opts,
BytePointer shorthand,
BytePointer key_val_sep,
BytePointer pairs_sep) |
static int |
av_opt_set_from_string(Pointer ctx,
BytePointer opts,
PointerPointer shorthand,
BytePointer key_val_sep,
BytePointer pairs_sep)
Parse the key-value pairs list in opts.
|
static int |
av_opt_set_from_string(Pointer ctx,
String opts,
byte[] shorthand,
String key_val_sep,
String pairs_sep) |
static int |
av_opt_set_from_string(Pointer ctx,
String opts,
ByteBuffer shorthand,
String key_val_sep,
String pairs_sep) |
static int |
av_opt_set_from_string(Pointer ctx,
String opts,
BytePointer shorthand,
String key_val_sep,
String pairs_sep) |
static int |
av_opt_set_image_size(Pointer obj,
BytePointer name,
int w,
int h,
int search_flags) |
static int |
av_opt_set_image_size(Pointer obj,
String name,
int w,
int h,
int search_flags) |
static int |
av_opt_set_int(Pointer obj,
BytePointer name,
long val,
int search_flags) |
static int |
av_opt_set_int(Pointer obj,
String name,
long val,
int search_flags) |
static int |
av_opt_set_pixel_fmt(Pointer obj,
BytePointer name,
int fmt,
int search_flags) |
static int |
av_opt_set_pixel_fmt(Pointer obj,
String name,
int fmt,
int search_flags) |
static int |
av_opt_set_q(Pointer obj,
BytePointer name,
AVRational val,
int search_flags) |
static int |
av_opt_set_q(Pointer obj,
String name,
AVRational val,
int search_flags) |
static int |
av_opt_set_sample_fmt(Pointer obj,
BytePointer name,
int fmt,
int search_flags) |
static int |
av_opt_set_sample_fmt(Pointer obj,
String name,
int fmt,
int search_flags) |
static int |
av_opt_set_video_rate(Pointer obj,
BytePointer name,
AVRational val,
int search_flags) |
static int |
av_opt_set_video_rate(Pointer obj,
String name,
AVRational val,
int search_flags) |
static int |
av_opt_set(Pointer obj,
BytePointer name,
BytePointer val,
int search_flags)
\defgroup opt_set_funcs Option setting functions
\{
Those functions set the field of obj with the given name to value.
|
static int |
av_opt_set(Pointer obj,
String name,
String val,
int search_flags) |
static int |
av_opt_show2(Pointer obj,
Pointer av_log_obj,
int req_flags,
int rej_flags)
Show the obj options.
|
static int |
av_parity_c(int v) |
static int |
av_parse_color(byte[] rgba_color,
BytePointer color_string,
int slen,
Pointer log_ctx) |
static int |
av_parse_color(byte[] rgba_color,
String color_string,
int slen,
Pointer log_ctx) |
static int |
av_parse_color(ByteBuffer rgba_color,
BytePointer color_string,
int slen,
Pointer log_ctx) |
static int |
av_parse_color(ByteBuffer rgba_color,
String color_string,
int slen,
Pointer log_ctx) |
static int |
av_parse_color(BytePointer rgba_color,
BytePointer color_string,
int slen,
Pointer log_ctx)
Put the RGBA values that correspond to color_string in rgba_color.
|
static int |
av_parse_color(BytePointer rgba_color,
String color_string,
int slen,
Pointer log_ctx) |
static int |
av_parse_cpu_caps(int[] flags,
BytePointer s) |
static int |
av_parse_cpu_caps(int[] flags,
String s) |
static int |
av_parse_cpu_caps(IntBuffer flags,
BytePointer s) |
static int |
av_parse_cpu_caps(IntBuffer flags,
String s) |
static int |
av_parse_cpu_caps(IntPointer flags,
BytePointer s)
Parse CPU caps from a string and update the given AV_CPU_* flags based on that.
|
static int |
av_parse_cpu_caps(IntPointer flags,
String s) |
static int |
av_parse_cpu_flags(BytePointer s)
Deprecated.
|
static int |
av_parse_cpu_flags(String s)
Deprecated.
|
static int |
av_parse_ratio(AVRational q,
BytePointer str,
int max,
int log_offset,
Pointer log_ctx)
Parse str and store the parsed ratio in q.
|
static int |
av_parse_ratio(AVRational q,
String str,
int max,
int log_offset,
Pointer log_ctx) |
static int |
av_parse_time(long[] timeval,
BytePointer timestr,
int duration) |
static int |
av_parse_time(long[] timeval,
String timestr,
int duration) |
static int |
av_parse_time(LongBuffer timeval,
BytePointer timestr,
int duration) |
static int |
av_parse_time(LongBuffer timeval,
String timestr,
int duration) |
static int |
av_parse_time(LongPointer timeval,
BytePointer timestr,
int duration)
Parse timestr and return in *time a corresponding number of
microseconds.
|
static int |
av_parse_time(LongPointer timeval,
String timestr,
int duration) |
static int |
av_parse_video_rate(AVRational rate,
BytePointer str)
Parse str and store the detected values in *rate.
|
static int |
av_parse_video_rate(AVRational rate,
String str) |
static int |
av_parse_video_size(int[] width_ptr,
int[] height_ptr,
BytePointer str) |
static int |
av_parse_video_size(int[] width_ptr,
int[] height_ptr,
String str) |
static int |
av_parse_video_size(IntBuffer width_ptr,
IntBuffer height_ptr,
BytePointer str) |
static int |
av_parse_video_size(IntBuffer width_ptr,
IntBuffer height_ptr,
String str) |
static int |
av_parse_video_size(IntPointer width_ptr,
IntPointer height_ptr,
BytePointer str)
Parse str and put in width_ptr and height_ptr the detected values.
|
static int |
av_parse_video_size(IntPointer width_ptr,
IntPointer height_ptr,
String str) |
static int |
AV_PIX_FMT_0BGR32() |
static int |
AV_PIX_FMT_0RGB32() |
static int |
AV_PIX_FMT_AYUV64() |
static int |
AV_PIX_FMT_BAYER_BGGR16() |
static int |
AV_PIX_FMT_BAYER_GBRG16() |
static int |
AV_PIX_FMT_BAYER_GRBG16() |
static int |
AV_PIX_FMT_BAYER_RGGB16() |
static int |
AV_PIX_FMT_BGR32_1() |
static int |
AV_PIX_FMT_BGR32() |
static int |
AV_PIX_FMT_BGR444() |
static int |
AV_PIX_FMT_BGR48() |
static int |
AV_PIX_FMT_BGR555() |
static int |
AV_PIX_FMT_BGR565() |
static int |
AV_PIX_FMT_BGRA64() |
static int |
av_pix_fmt_count_planes(int pix_fmt) |
static int |
av_pix_fmt_desc_get_id(AVPixFmtDescriptor desc) |
static AVPixFmtDescriptor |
av_pix_fmt_desc_get(int pix_fmt) |
static AVPixFmtDescriptor |
av_pix_fmt_desc_next(AVPixFmtDescriptor prev)
Iterate over all pixel format descriptors known to libavutil.
|
static int |
AV_PIX_FMT_GBRAP10() |
static int |
AV_PIX_FMT_GBRAP12() |
static int |
AV_PIX_FMT_GBRAP16() |
static int |
AV_PIX_FMT_GBRAPF32() |
static int |
AV_PIX_FMT_GBRP10() |
static int |
AV_PIX_FMT_GBRP12() |
static int |
AV_PIX_FMT_GBRP14() |
static int |
AV_PIX_FMT_GBRP16() |
static int |
AV_PIX_FMT_GBRP9() |
static int |
AV_PIX_FMT_GBRPF32() |
static int |
av_pix_fmt_get_chroma_sub_sample(int pix_fmt,
int[] h_shift,
int[] v_shift) |
static int |
av_pix_fmt_get_chroma_sub_sample(int pix_fmt,
IntBuffer h_shift,
IntBuffer v_shift) |
static int |
av_pix_fmt_get_chroma_sub_sample(int pix_fmt,
IntPointer h_shift,
IntPointer v_shift)
Utility function to access log2_chroma_w log2_chroma_h from
the pixel format AVPixFmtDescriptor.
|
static int |
AV_PIX_FMT_GRAY10() |
static int |
AV_PIX_FMT_GRAY12() |
static int |
AV_PIX_FMT_GRAY14() |
static int |
AV_PIX_FMT_GRAY16() |
static int |
AV_PIX_FMT_GRAY9() |
static int |
AV_PIX_FMT_GRAYF32() |
static int |
AV_PIX_FMT_NV20() |
static int |
AV_PIX_FMT_P010() |
static int |
AV_PIX_FMT_P016() |
static int |
AV_PIX_FMT_RGB32_1() |
static int |
AV_PIX_FMT_RGB32() |
static int |
AV_PIX_FMT_RGB444() |
static int |
AV_PIX_FMT_RGB48() |
static int |
AV_PIX_FMT_RGB555() |
static int |
AV_PIX_FMT_RGB565() |
static int |
AV_PIX_FMT_RGBA64() |
static int |
av_pix_fmt_swap_endianness(int pix_fmt)
Utility function to swap the endianness of a pixel format.
|
static int |
AV_PIX_FMT_XYZ12() |
static int |
AV_PIX_FMT_YA16() |
static int |
AV_PIX_FMT_YUV420P10() |
static int |
AV_PIX_FMT_YUV420P12() |
static int |
AV_PIX_FMT_YUV420P14() |
static int |
AV_PIX_FMT_YUV420P16() |
static int |
AV_PIX_FMT_YUV420P9() |
static int |
AV_PIX_FMT_YUV422P10() |
static int |
AV_PIX_FMT_YUV422P12() |
static int |
AV_PIX_FMT_YUV422P14() |
static int |
AV_PIX_FMT_YUV422P16() |
static int |
AV_PIX_FMT_YUV422P9() |
static int |
AV_PIX_FMT_YUV440P10() |
static int |
AV_PIX_FMT_YUV440P12() |
static int |
AV_PIX_FMT_YUV444P10() |
static int |
AV_PIX_FMT_YUV444P12() |
static int |
AV_PIX_FMT_YUV444P14() |
static int |
AV_PIX_FMT_YUV444P16() |
static int |
AV_PIX_FMT_YUV444P9() |
static int |
AV_PIX_FMT_YUVA420P10() |
static int |
AV_PIX_FMT_YUVA420P16() |
static int |
AV_PIX_FMT_YUVA420P9() |
static int |
AV_PIX_FMT_YUVA422P10() |
static int |
AV_PIX_FMT_YUVA422P12() |
static int |
AV_PIX_FMT_YUVA422P16() |
static int |
AV_PIX_FMT_YUVA422P9() |
static int |
AV_PIX_FMT_YUVA444P10() |
static int |
AV_PIX_FMT_YUVA444P12() |
static int |
AV_PIX_FMT_YUVA444P16() |
static int |
AV_PIX_FMT_YUVA444P9() |
static av_pixelutils_sad_fn |
av_pixelutils_get_sad_fn(int w_bits,
int h_bits,
int aligned,
Pointer log_ctx)
Get a potentially optimized pointer to a Sum-of-absolute-differences
function (see the av_pixelutils_sad_fn prototype).
|
static int |
av_popcount_c(int x)
Count number of bits set to one in x
|
static int |
av_popcount64_c(long x)
Count number of bits set to one in x
|
static double |
av_q2d(AVRational a)
Convert an AVRational to a
double . |
static int |
av_q2intfloat(AVRational q)
Convert an AVRational to a IEEE 32-bit
float expressed in fixed-point
format. |
static AVRC4 |
av_rc4_alloc()
Allocate an AVRC4 context.
|
static void |
av_rc4_crypt(AVRC4 d,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_rc4_crypt(AVRC4 d,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_rc4_crypt(AVRC4 d,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
\brief Encrypts / decrypts using the RC4 algorithm.
|
static int |
av_rc4_init(AVRC4 d,
byte[] key,
int key_bits,
int decrypt) |
static int |
av_rc4_init(AVRC4 d,
ByteBuffer key,
int key_bits,
int decrypt) |
static int |
av_rc4_init(AVRC4 d,
BytePointer key,
int key_bits,
int decrypt)
\brief Initializes an AVRC4 context.
|
static void |
av_read_image_line(short[] dst,
byte[] data,
int[] linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component) |
static void |
av_read_image_line(ShortBuffer dst,
ByteBuffer data,
IntBuffer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component) |
static void |
av_read_image_line(ShortPointer dst,
BytePointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component) |
static void |
av_read_image_line(ShortPointer dst,
PointerPointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component) |
static void |
av_read_image_line2(Pointer dst,
byte[] data,
int[] linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component,
int dst_element_size) |
static void |
av_read_image_line2(Pointer dst,
ByteBuffer data,
IntBuffer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component,
int dst_element_size) |
static void |
av_read_image_line2(Pointer dst,
BytePointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component,
int dst_element_size) |
static void |
av_read_image_line2(Pointer dst,
PointerPointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int read_pal_component,
int dst_element_size)
Read a line from an image, and write the values of the
pixel format component c to dst.
|
static Pointer |
av_realloc_array(Pointer ptr,
long nmemb,
long size)
Allocate, reallocate, or free an array.
|
static Pointer |
av_realloc_f(Pointer ptr,
long nelem,
long elsize)
Allocate, reallocate, or free a block of memory.
|
static Pointer |
av_realloc(Pointer ptr,
long size)
Allocate, reallocate, or free a block of memory.
|
static int |
av_reallocp_array(Pointer ptr,
long nmemb,
long size)
Allocate, reallocate, or free an array through a pointer to a pointer.
|
static int |
av_reallocp(Pointer ptr,
long size)
Allocate, reallocate, or free a block of memory through a pointer to a
pointer.
|
static int |
av_reduce(int[] dst_num,
int[] dst_den,
long num,
long den,
long max) |
static int |
av_reduce(IntBuffer dst_num,
IntBuffer dst_den,
long num,
long den,
long max) |
static int |
av_reduce(IntPointer dst_num,
IntPointer dst_den,
long num,
long den,
long max)
Reduce a fraction.
|
static long |
av_rescale_delta(AVRational in_tb,
long in_ts,
AVRational fs_tb,
int duration,
long[] last,
AVRational out_tb) |
static long |
av_rescale_delta(AVRational in_tb,
long in_ts,
AVRational fs_tb,
int duration,
LongBuffer last,
AVRational out_tb) |
static long |
av_rescale_delta(AVRational in_tb,
long in_ts,
AVRational fs_tb,
int duration,
LongPointer last,
AVRational out_tb)
Rescale a timestamp while preserving known durations.
|
static long |
av_rescale_q_rnd(long a,
AVRational bq,
AVRational cq,
int rnd)
Rescale a 64-bit integer by 2 rational numbers with specified rounding.
|
static long |
av_rescale_q(long a,
AVRational bq,
AVRational cq)
Rescale a 64-bit integer by 2 rational numbers.
|
static long |
av_rescale_rnd(long a,
long b,
long c,
int rnd)
Rescale a 64-bit integer with specified rounding.
|
static long |
av_rescale(long a,
long b,
long c)
Rescale a 64-bit integer with rounding to nearest.
|
static AVRIPEMD |
av_ripemd_alloc()
Allocate an AVRIPEMD context.
|
static void |
av_ripemd_final(AVRIPEMD context,
byte[] digest) |
static void |
av_ripemd_final(AVRIPEMD context,
ByteBuffer digest) |
static void |
av_ripemd_final(AVRIPEMD context,
BytePointer digest)
Finish hashing and output digest value.
|
static int |
av_ripemd_init(AVRIPEMD context,
int bits)
Initialize RIPEMD hashing.
|
static int |
av_ripemd_size()
\defgroup lavu_ripemd RIPEMD
\ingroup lavu_hash
RIPEMD hash function implementation.
|
static void |
av_ripemd_update(AVRIPEMD context,
byte[] data,
int len) |
static void |
av_ripemd_update(AVRIPEMD context,
byte[] data,
long len) |
static void |
av_ripemd_update(AVRIPEMD context,
ByteBuffer data,
int len) |
static void |
av_ripemd_update(AVRIPEMD context,
ByteBuffer data,
long len) |
static void |
av_ripemd_update(AVRIPEMD context,
BytePointer data,
int len)
Update hash value.
|
static void |
av_ripemd_update(AVRIPEMD context,
BytePointer data,
long len) |
static int |
av_sample_fmt_is_planar(int sample_fmt)
Check if the sample format is planar.
|
static int |
av_samples_alloc_array_and_samples(PointerPointer audio_data,
int[] linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_alloc_array_and_samples(PointerPointer audio_data,
IntBuffer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_alloc_array_and_samples(PointerPointer audio_data,
IntPointer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align)
Allocate a data pointers array, samples buffer for nb_samples
samples, and fill data pointers and linesize accordingly.
|
static int |
av_samples_alloc(byte[] audio_data,
int[] linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_alloc(ByteBuffer audio_data,
IntBuffer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_alloc(BytePointer audio_data,
IntPointer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_alloc(PointerPointer audio_data,
IntPointer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align)
Allocate a samples buffer for nb_samples samples, and fill data pointers and
linesize accordingly.
|
static int |
av_samples_copy(byte[] dst,
byte[] src,
int dst_offset,
int src_offset,
int nb_samples,
int nb_channels,
int sample_fmt) |
static int |
av_samples_copy(ByteBuffer dst,
ByteBuffer src,
int dst_offset,
int src_offset,
int nb_samples,
int nb_channels,
int sample_fmt) |
static int |
av_samples_copy(BytePointer dst,
BytePointer src,
int dst_offset,
int src_offset,
int nb_samples,
int nb_channels,
int sample_fmt) |
static int |
av_samples_copy(PointerPointer dst,
PointerPointer src,
int dst_offset,
int src_offset,
int nb_samples,
int nb_channels,
int sample_fmt)
Copy samples from src to dst.
|
static int |
av_samples_fill_arrays(byte[] audio_data,
int[] linesize,
byte[] buf,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_fill_arrays(ByteBuffer audio_data,
IntBuffer linesize,
ByteBuffer buf,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_fill_arrays(BytePointer audio_data,
IntPointer linesize,
BytePointer buf,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_fill_arrays(PointerPointer audio_data,
IntPointer linesize,
BytePointer buf,
int nb_channels,
int nb_samples,
int sample_fmt,
int align)
Fill plane data pointers and linesize for samples with sample
format sample_fmt.
|
static int |
av_samples_get_buffer_size(int[] linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_get_buffer_size(IntBuffer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align) |
static int |
av_samples_get_buffer_size(IntPointer linesize,
int nb_channels,
int nb_samples,
int sample_fmt,
int align)
Get the required buffer size for the given audio parameters.
|
static int |
av_samples_set_silence(byte[] audio_data,
int offset,
int nb_samples,
int nb_channels,
int sample_fmt) |
static int |
av_samples_set_silence(ByteBuffer audio_data,
int offset,
int nb_samples,
int nb_channels,
int sample_fmt) |
static int |
av_samples_set_silence(BytePointer audio_data,
int offset,
int nb_samples,
int nb_channels,
int sample_fmt) |
static int |
av_samples_set_silence(PointerPointer audio_data,
int offset,
int nb_samples,
int nb_channels,
int sample_fmt)
Fill an audio buffer with silence.
|
static int |
av_sat_add32_c(int a,
int b)
Add two signed 32-bit values with saturation.
|
static int |
av_sat_dadd32_c(int a,
int b)
Add a doubled value to another value with saturation at both stages.
|
static int |
av_sat_dsub32_c(int a,
int b)
Subtract a doubled value from another value with saturation at both stages.
|
static int |
av_sat_sub32_c(int a,
int b)
Subtract two signed 32-bit values with saturation.
|
static void |
av_set_cpu_flags_mask(int mask)
Deprecated.
|
static int |
av_set_options_string(Pointer ctx,
BytePointer opts,
BytePointer key_val_sep,
BytePointer pairs_sep)
Parse the key/value pairs list in opts.
|
static int |
av_set_options_string(Pointer ctx,
String opts,
String key_val_sep,
String pairs_sep) |
static AVSHA |
av_sha_alloc()
Allocate an AVSHA context.
|
static void |
av_sha_final(AVSHA context,
byte[] digest) |
static void |
av_sha_final(AVSHA context,
ByteBuffer digest) |
static void |
av_sha_final(AVSHA context,
BytePointer digest)
Finish hashing and output digest value.
|
static int |
av_sha_init(AVSHA context,
int bits)
Initialize SHA-1 or SHA-2 hashing.
|
static int |
av_sha_size()
\defgroup lavu_sha SHA
\ingroup lavu_hash
SHA-1 and SHA-256 (Secure Hash Algorithm) hash function implementations.
|
static void |
av_sha_update(AVSHA ctx,
byte[] data,
int len) |
static void |
av_sha_update(AVSHA ctx,
byte[] data,
long len) |
static void |
av_sha_update(AVSHA ctx,
ByteBuffer data,
int len) |
static void |
av_sha_update(AVSHA ctx,
ByteBuffer data,
long len) |
static void |
av_sha_update(AVSHA ctx,
BytePointer data,
int len)
Update hash value.
|
static void |
av_sha_update(AVSHA ctx,
BytePointer data,
long len) |
static AVSHA512 |
av_sha512_alloc()
Allocate an AVSHA512 context.
|
static void |
av_sha512_final(AVSHA512 context,
byte[] digest) |
static void |
av_sha512_final(AVSHA512 context,
ByteBuffer digest) |
static void |
av_sha512_final(AVSHA512 context,
BytePointer digest)
Finish hashing and output digest value.
|
static int |
av_sha512_init(AVSHA512 context,
int bits)
Initialize SHA-2 512 hashing.
|
static int |
av_sha512_size()
\defgroup lavu_sha512 SHA-512
\ingroup lavu_hash
SHA-512 (Secure Hash Algorithm) hash function implementations.
|
static void |
av_sha512_update(AVSHA512 context,
byte[] data,
int len) |
static void |
av_sha512_update(AVSHA512 context,
byte[] data,
long len) |
static void |
av_sha512_update(AVSHA512 context,
ByteBuffer data,
int len) |
static void |
av_sha512_update(AVSHA512 context,
ByteBuffer data,
long len) |
static void |
av_sha512_update(AVSHA512 context,
BytePointer data,
int len)
Update hash value.
|
static void |
av_sha512_update(AVSHA512 context,
BytePointer data,
long len) |
static int |
av_size_mult(long a,
long b,
SizeTPointer r)
Multiply two
size_t values checking for overflow. |
static BytePointer |
av_small_strptime(BytePointer p,
BytePointer fmt,
tm dt)
Simplified version of strptime
Parse the input string p according to the format string fmt and
store its results in the structure dt.
|
static ByteBuffer |
av_small_strptime(String p,
String fmt,
tm dt) |
static AVSphericalMapping |
av_spherical_alloc(SizeTPointer size)
Allocate a AVSphericalVideo structure and initialize its fields to default
values.
|
static int |
av_spherical_from_name(BytePointer name)
Get the AVSphericalProjection form a human-readable name.
|
static int |
av_spherical_from_name(String name) |
static BytePointer |
av_spherical_projection_name(int projection)
Provide a human-readable name of a given AVSphericalProjection.
|
static void |
av_spherical_tile_bounds(AVSphericalMapping map,
long width,
long height,
SizeTPointer left,
SizeTPointer top,
SizeTPointer right,
SizeTPointer bottom)
Convert the \ref bounding fields from an AVSphericalVideo
from 0.32 fixed point to pixels.
|
static int |
av_sscanf(BytePointer string,
BytePointer format)
See libc sscanf manual for more information.
|
static int |
av_sscanf(String string,
String format) |
static AVStereo3D |
av_stereo3d_alloc()
Allocate an AVStereo3D structure and set its fields to default values.
|
static AVStereo3D |
av_stereo3d_create_side_data(AVFrame frame)
Allocate a complete AVFrameSideData and add it to the frame.
|
static int |
av_stereo3d_from_name(BytePointer name)
Get the AVStereo3DType form a human-readable name.
|
static int |
av_stereo3d_from_name(String name) |
static BytePointer |
av_stereo3d_type_name(int type)
Provide a human-readable name of a given stereo3d type.
|
static int |
av_strcasecmp(BytePointer a,
BytePointer b)
Locale-independent case-insensitive compare.
|
static int |
av_strcasecmp(String a,
String b) |
static BytePointer |
av_strdup(BytePointer s)
Duplicate a string.
|
static ByteBuffer |
av_strdup(String s) |
static int |
av_strerror(int errnum,
byte[] errbuf,
long errbuf_size) |
static int |
av_strerror(int errnum,
ByteBuffer errbuf,
long errbuf_size) |
static int |
av_strerror(int errnum,
BytePointer errbuf,
long errbuf_size)
Put a description of the AVERROR code errnum in errbuf.
|
static BytePointer |
av_strireplace(BytePointer str,
BytePointer from,
BytePointer to)
Locale-independent strings replace.
|
static ByteBuffer |
av_strireplace(String str,
String from,
String to) |
static int |
av_stristart(BytePointer str,
BytePointer pfx,
byte[] ptr) |
static int |
av_stristart(BytePointer str,
BytePointer pfx,
ByteBuffer ptr) |
static int |
av_stristart(BytePointer str,
BytePointer pfx,
BytePointer ptr) |
static int |
av_stristart(BytePointer str,
BytePointer pfx,
PointerPointer ptr)
Return non-zero if pfx is a prefix of str independent of case.
|
static int |
av_stristart(String str,
String pfx,
byte[] ptr) |
static int |
av_stristart(String str,
String pfx,
ByteBuffer ptr) |
static int |
av_stristart(String str,
String pfx,
BytePointer ptr) |
static BytePointer |
av_stristr(BytePointer haystack,
BytePointer needle)
Locate the first case-independent occurrence in the string haystack
of the string needle.
|
static ByteBuffer |
av_stristr(String haystack,
String needle) |
static long |
av_strlcat(byte[] dst,
BytePointer src,
long size) |
static long |
av_strlcat(byte[] dst,
String src,
long size) |
static long |
av_strlcat(ByteBuffer dst,
BytePointer src,
long size) |
static long |
av_strlcat(ByteBuffer dst,
String src,
long size) |
static long |
av_strlcat(BytePointer dst,
BytePointer src,
long size)
Append the string src to the string dst, but to a total length of
no more than size - 1 bytes, and null-terminate dst.
|
static long |
av_strlcat(BytePointer dst,
String src,
long size) |
static long |
av_strlcatf(byte[] dst,
long size,
BytePointer fmt) |
static long |
av_strlcatf(byte[] dst,
long size,
String fmt) |
static long |
av_strlcatf(ByteBuffer dst,
long size,
BytePointer fmt) |
static long |
av_strlcatf(ByteBuffer dst,
long size,
String fmt) |
static long |
av_strlcatf(BytePointer dst,
long size,
BytePointer fmt)
Append output to a string, according to a format.
|
static long |
av_strlcatf(BytePointer dst,
long size,
String fmt) |
static long |
av_strlcpy(byte[] dst,
BytePointer src,
long size) |
static long |
av_strlcpy(byte[] dst,
String src,
long size) |
static long |
av_strlcpy(ByteBuffer dst,
BytePointer src,
long size) |
static long |
av_strlcpy(ByteBuffer dst,
String src,
long size) |
static long |
av_strlcpy(BytePointer dst,
BytePointer src,
long size)
Copy the string src to dst, but no more than size - 1 bytes, and
null-terminate dst.
|
static long |
av_strlcpy(BytePointer dst,
String src,
long size) |
static int |
av_strncasecmp(BytePointer a,
BytePointer b,
long n)
Locale-independent case-insensitive compare.
|
static int |
av_strncasecmp(String a,
String b,
long n) |
static BytePointer |
av_strndup(BytePointer s,
long len)
Duplicate a substring of a string.
|
static ByteBuffer |
av_strndup(String s,
long len) |
static long |
av_strnlen(BytePointer s,
long len)
Get the count of continuous non zero chars starting from the beginning.
|
static long |
av_strnlen(String s,
long len) |
static BytePointer |
av_strnstr(BytePointer haystack,
BytePointer needle,
long hay_length)
Locate the first occurrence of the string needle in the string haystack
where not more than hay_length characters are searched.
|
static ByteBuffer |
av_strnstr(String haystack,
String needle,
long hay_length) |
static int |
av_strstart(BytePointer str,
BytePointer pfx,
byte[] ptr) |
static int |
av_strstart(BytePointer str,
BytePointer pfx,
ByteBuffer ptr) |
static int |
av_strstart(BytePointer str,
BytePointer pfx,
BytePointer ptr) |
static int |
av_strstart(BytePointer str,
BytePointer pfx,
PointerPointer ptr)
Return non-zero if pfx is a prefix of str.
|
static int |
av_strstart(String str,
String pfx,
byte[] ptr) |
static int |
av_strstart(String str,
String pfx,
ByteBuffer ptr) |
static int |
av_strstart(String str,
String pfx,
BytePointer ptr) |
static double |
av_strtod(BytePointer numstr,
byte[] tail) |
static double |
av_strtod(BytePointer numstr,
ByteBuffer tail) |
static double |
av_strtod(BytePointer numstr,
BytePointer tail) |
static double |
av_strtod(BytePointer numstr,
PointerPointer tail)
Parse the string in numstr and return its value as a double.
|
static double |
av_strtod(String numstr,
byte[] tail) |
static double |
av_strtod(String numstr,
ByteBuffer tail) |
static double |
av_strtod(String numstr,
BytePointer tail) |
static byte[] |
av_strtok(byte[] s,
BytePointer delim,
byte[] saveptr) |
static byte[] |
av_strtok(byte[] s,
String delim,
byte[] saveptr) |
static ByteBuffer |
av_strtok(ByteBuffer s,
BytePointer delim,
ByteBuffer saveptr) |
static ByteBuffer |
av_strtok(ByteBuffer s,
String delim,
ByteBuffer saveptr) |
static BytePointer |
av_strtok(BytePointer s,
BytePointer delim,
BytePointer saveptr) |
static BytePointer |
av_strtok(BytePointer s,
BytePointer delim,
PointerPointer saveptr)
Split the string into several tokens which can be accessed by
successive calls to av_strtok().
|
static BytePointer |
av_strtok(BytePointer s,
String delim,
BytePointer saveptr) |
static AVRational |
av_sub_q(AVRational b,
AVRational c)
Subtract one rational from another.
|
static AVTEA |
av_tea_alloc()
Allocate an AVTEA context
To free the struct: av_free(ptr)
|
static void |
av_tea_crypt(AVTEA ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_tea_crypt(AVTEA ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_tea_crypt(AVTEA ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context.
|
static void |
av_tea_init(AVTEA ctx,
byte[] key,
int rounds) |
static void |
av_tea_init(AVTEA ctx,
ByteBuffer key,
int rounds) |
static void |
av_tea_init(AVTEA ctx,
BytePointer key,
int rounds)
Initialize an AVTEA context.
|
static int |
av_tea_size()
\file
\brief Public header for libavutil TEA algorithm
\defgroup lavu_tea TEA
\ingroup lavu_crypto
\{
|
static int |
av_tempfile(BytePointer prefix,
byte[] filename,
int log_offset,
Pointer log_ctx) |
static int |
av_tempfile(BytePointer prefix,
ByteBuffer filename,
int log_offset,
Pointer log_ctx) |
static int |
av_tempfile(BytePointer prefix,
BytePointer filename,
int log_offset,
Pointer log_ctx) |
static int |
av_tempfile(BytePointer prefix,
PointerPointer filename,
int log_offset,
Pointer log_ctx)
Deprecated.
as fd numbers cannot be passed saftely between libs on some platforms
|
static int |
av_tempfile(String prefix,
byte[] filename,
int log_offset,
Pointer log_ctx) |
static int |
av_tempfile(String prefix,
ByteBuffer filename,
int log_offset,
Pointer log_ctx) |
static int |
av_tempfile(String prefix,
BytePointer filename,
int log_offset,
Pointer log_ctx) |
static void |
av_thread_message_flush(AVThreadMessageQueue mq)
Flush the message queue
This function is mostly equivalent to reading and free-ing every message
except that it will be done in a single operation (no lock/unlock between
reads).
|
static int |
av_thread_message_queue_alloc(AVThreadMessageQueue mq,
int nelem,
int elsize) |
static int |
av_thread_message_queue_alloc(PointerPointer mq,
int nelem,
int elsize)
Allocate a new message queue.
|
static void |
av_thread_message_queue_free(AVThreadMessageQueue mq) |
static void |
av_thread_message_queue_free(PointerPointer mq)
Free a message queue.
|
static int |
av_thread_message_queue_nb_elems(AVThreadMessageQueue mq)
Return the current number of messages in the queue.
|
static int |
av_thread_message_queue_recv(AVThreadMessageQueue mq,
Pointer msg,
int flags)
Receive a message from the queue.
|
static int |
av_thread_message_queue_send(AVThreadMessageQueue mq,
Pointer msg,
int flags)
Send a message on the queue.
|
static void |
av_thread_message_queue_set_err_recv(AVThreadMessageQueue mq,
int err)
Set the receiving error code.
|
static void |
av_thread_message_queue_set_err_send(AVThreadMessageQueue mq,
int err)
Set the sending error code.
|
static void |
av_thread_message_queue_set_free_func(AVThreadMessageQueue mq,
Free_func_Pointer free_func) |
static int |
av_timecode_adjust_ntsc_framenum2(int framenum,
int fps)
Adjust frame number for NTSC drop frame time code.
|
static int |
av_timecode_check_frame_rate(AVRational rate)
Check if the timecode feature is available for the given frame rate
|
static int |
av_timecode_get_smpte_from_framenum(AVTimecode tc,
int framenum)
Convert frame number to SMPTE 12M binary representation.
|
static int |
av_timecode_init_from_string(AVTimecode tc,
AVRational rate,
BytePointer str,
Pointer log_ctx)
Parse timecode representation (hh:mm:ss[:;.]ff).
|
static int |
av_timecode_init_from_string(AVTimecode tc,
AVRational rate,
String str,
Pointer log_ctx) |
static int |
av_timecode_init(AVTimecode tc,
AVRational rate,
int flags,
int frame_start,
Pointer log_ctx)
Init a timecode struct with the passed parameters.
|
static byte[] |
av_timecode_make_mpeg_tc_string(byte[] buf,
int tc25bit) |
static ByteBuffer |
av_timecode_make_mpeg_tc_string(ByteBuffer buf,
int tc25bit) |
static BytePointer |
av_timecode_make_mpeg_tc_string(BytePointer buf,
int tc25bit)
Get the timecode string from the 25-bit timecode format (MPEG GOP format).
|
static byte[] |
av_timecode_make_smpte_tc_string(byte[] buf,
int tcsmpte,
int prevent_df) |
static ByteBuffer |
av_timecode_make_smpte_tc_string(ByteBuffer buf,
int tcsmpte,
int prevent_df) |
static BytePointer |
av_timecode_make_smpte_tc_string(BytePointer buf,
int tcsmpte,
int prevent_df)
Get the timecode string from the SMPTE timecode format.
|
static byte[] |
av_timecode_make_string(AVTimecode tc,
byte[] buf,
int framenum) |
static ByteBuffer |
av_timecode_make_string(AVTimecode tc,
ByteBuffer buf,
int framenum) |
static BytePointer |
av_timecode_make_string(AVTimecode tc,
BytePointer buf,
int framenum)
Load timecode string in buf.
|
static Pointer |
av_timegm(tm tm)
Convert the decomposed UTC time in tm to a time_t value.
|
static int |
av_tolower(int c)
Locale-independent conversion of ASCII characters to lowercase.
|
static int |
av_toupper(int c)
Locale-independent conversion of ASCII characters to uppercase.
|
static void |
av_tree_destroy(AVTreeNode t) |
static void |
av_tree_enumerate(AVTreeNode t,
Pointer opaque,
Cmp_Pointer_Pointer cmp,
Enu_Pointer_Pointer enu) |
static Pointer |
av_tree_find(AVTreeNode root,
Pointer key,
Cmp_Const_Pointer_Const_Pointer cmp,
Pointer next) |
static Pointer |
av_tree_find(AVTreeNode root,
Pointer key,
Cmp_Const_Pointer_Const_Pointer cmp,
PointerPointer next) |
static Pointer |
av_tree_insert(AVTreeNode rootp,
Pointer key,
Cmp_Const_Pointer_Const_Pointer cmp,
AVTreeNode next) |
static Pointer |
av_tree_insert(PointerPointer rootp,
Pointer key,
Cmp_Const_Pointer_Const_Pointer cmp,
PointerPointer next)
Insert or remove an element.
|
static AVTreeNode |
av_tree_node_alloc()
Allocate an AVTreeNode.
|
static int |
av_tree_node_size()
\file
A tree container.
|
static byte[] |
av_ts_make_string(byte[] buf,
long ts) |
static ByteBuffer |
av_ts_make_string(ByteBuffer buf,
long ts) |
static BytePointer |
av_ts_make_string(BytePointer buf,
long ts)
Fill the provided buffer with a string containing a timestamp
representation.
|
static byte[] |
av_ts_make_time_string(byte[] buf,
long ts,
AVRational tb) |
static ByteBuffer |
av_ts_make_time_string(ByteBuffer buf,
long ts,
AVRational tb) |
static BytePointer |
av_ts_make_time_string(BytePointer buf,
long ts,
AVRational tb)
Fill the provided buffer with a string containing a timestamp time
representation.
|
static AVTWOFISH |
av_twofish_alloc()
Allocate an AVTWOFISH context
To free the struct: av_free(ptr)
|
static void |
av_twofish_crypt(AVTWOFISH ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_twofish_crypt(AVTWOFISH ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_twofish_crypt(AVTWOFISH ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context
|
static int |
av_twofish_init(AVTWOFISH ctx,
byte[] key,
int key_bits) |
static int |
av_twofish_init(AVTWOFISH ctx,
ByteBuffer key,
int key_bits) |
static int |
av_twofish_init(AVTWOFISH ctx,
BytePointer key,
int key_bits)
Initialize an AVTWOFISH context.
|
static int |
av_twofish_size()
\file
\brief Public header for libavutil TWOFISH algorithm
\defgroup lavu_twofish TWOFISH
\ingroup lavu_crypto
\{
|
static int |
av_tx_init(AVTXContext ctx,
av_tx_fn tx,
int type,
int inv,
int len,
Pointer scale,
long flags) |
static int |
av_tx_init(PointerPointer ctx,
av_tx_fn tx,
int type,
int inv,
int len,
Pointer scale,
long flags)
Initialize a transform context with the given configuration
Currently power of two lengths from 4 to 131072 are supported, along with
any length decomposable to a power of two and either 3, 5 or 15.
|
static void |
av_tx_uninit(AVTXContext ctx) |
static void |
av_tx_uninit(PointerPointer ctx)
Frees a context and sets ctx to NULL, does nothing when ctx == NULL
|
static int |
av_usleep(int usec)
Sleep for a period of time.
|
static int |
av_utf8_decode(int[] codep,
byte[] bufp,
byte[] buf_end,
int flags) |
static int |
av_utf8_decode(IntBuffer codep,
ByteBuffer bufp,
ByteBuffer buf_end,
int flags) |
static int |
av_utf8_decode(IntPointer codep,
BytePointer bufp,
BytePointer buf_end,
int flags) |
static int |
av_utf8_decode(IntPointer codep,
PointerPointer bufp,
BytePointer buf_end,
int flags)
Read and decode a single UTF-8 code point (character) from the
buffer in *buf, and update *buf to point to the next byte to
decode.
|
static void |
av_vbprintf(AVBPrint buf,
BytePointer fmt,
Pointer vl_arg)
Append a formatted string to a print buffer.
|
static void |
av_vbprintf(AVBPrint buf,
String fmt,
Pointer vl_arg) |
static BytePointer |
av_version_info()
Return an informative version string.
|
static void |
av_vlog(Pointer avcl,
int level,
BytePointer fmt,
Pointer vl)
Send the specified message to the log if the level is less than or equal
to the current av_log_level.
|
static void |
av_vlog(Pointer avcl,
int level,
String fmt,
Pointer vl) |
static void |
av_write_image_line(short[] src,
byte[] data,
int[] linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w) |
static void |
av_write_image_line(ShortBuffer src,
ByteBuffer data,
IntBuffer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w) |
static void |
av_write_image_line(ShortPointer src,
BytePointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w) |
static void |
av_write_image_line(ShortPointer src,
PointerPointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w) |
static void |
av_write_image_line2(Pointer src,
byte[] data,
int[] linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int src_element_size) |
static void |
av_write_image_line2(Pointer src,
ByteBuffer data,
IntBuffer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int src_element_size) |
static void |
av_write_image_line2(Pointer src,
BytePointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int src_element_size) |
static void |
av_write_image_line2(Pointer src,
PointerPointer data,
IntPointer linesize,
AVPixFmtDescriptor desc,
int x,
int y,
int c,
int w,
int src_element_size)
Write the values from src to the pixel format component c of an
image line.
|
static Pointer |
av_x_if_null(Pointer p,
Pointer x)
Return x default pointer in case p is NULL.
|
static AVXTEA |
av_xtea_alloc()
Allocate an AVXTEA context.
|
static void |
av_xtea_crypt(AVXTEA ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_xtea_crypt(AVXTEA ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_xtea_crypt(AVXTEA ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context,
in big endian format.
|
static void |
av_xtea_init(AVXTEA ctx,
byte[] key) |
static void |
av_xtea_init(AVXTEA ctx,
ByteBuffer key) |
static void |
av_xtea_init(AVXTEA ctx,
BytePointer key)
Initialize an AVXTEA context.
|
static void |
av_xtea_le_crypt(AVXTEA ctx,
byte[] dst,
byte[] src,
int count,
byte[] iv,
int decrypt) |
static void |
av_xtea_le_crypt(AVXTEA ctx,
ByteBuffer dst,
ByteBuffer src,
int count,
ByteBuffer iv,
int decrypt) |
static void |
av_xtea_le_crypt(AVXTEA ctx,
BytePointer dst,
BytePointer src,
int count,
BytePointer iv,
int decrypt)
Encrypt or decrypt a buffer using a previously initialized context,
in little endian format.
|
static void |
av_xtea_le_init(AVXTEA ctx,
byte[] key) |
static void |
av_xtea_le_init(AVXTEA ctx,
ByteBuffer key) |
static void |
av_xtea_le_init(AVXTEA ctx,
BytePointer key)
Initialize an AVXTEA context.
|
static int |
AVERROR_BSF_NOT_FOUND()
Bitstream filter not found
|
static int |
AVERROR_BUFFER_TOO_SMALL()
Buffer too small
|
static int |
AVERROR_BUG()
Internal bug, also see AVERROR_BUG2
|
static int |
AVERROR_BUG2()
This is semantically identical to AVERROR_BUG
it has been introduced in Libav after our AVERROR_BUG and with a modified value.
|
static int |
AVERROR_DECODER_NOT_FOUND()
Decoder not found
|
static int |
AVERROR_DEMUXER_NOT_FOUND()
Demuxer not found
|
static int |
AVERROR_ENCODER_NOT_FOUND()
Encoder not found
|
static int |
AVERROR_EOF()
End of file
|
static int |
AVERROR_EXIT()
Immediate exit was requested; the called function should not be restarted
|
static int |
AVERROR_EXTERNAL()
Generic error in an external library
|
static int |
AVERROR_FILTER_NOT_FOUND()
Filter not found
|
static int |
AVERROR_HTTP_BAD_REQUEST() |
static int |
AVERROR_HTTP_FORBIDDEN() |
static int |
AVERROR_HTTP_NOT_FOUND() |
static int |
AVERROR_HTTP_OTHER_4XX() |
static int |
AVERROR_HTTP_SERVER_ERROR() |
static int |
AVERROR_HTTP_UNAUTHORIZED() |
static int |
AVERROR_INVALIDDATA()
Invalid data found when processing input
|
static int |
AVERROR_MUXER_NOT_FOUND()
Muxer not found
|
static int |
AVERROR_OPTION_NOT_FOUND()
Option not found
|
static int |
AVERROR_PATCHWELCOME()
Not yet implemented in FFmpeg, patches welcome
|
static int |
AVERROR_PROTOCOL_NOT_FOUND()
Protocol not found
|
static int |
AVERROR_STREAM_NOT_FOUND()
Stream not found
|
static int |
AVERROR_UNKNOWN()
Unknown error, typically from an external library
|
static BytePointer |
avutil_configuration()
Return the libavutil build-time configuration.
|
static BytePointer |
avutil_license()
Return the libavutil license.
|
static int |
avutil_version()
Return the LIBAVUTIL_VERSION_INT constant.
|
static double |
INFINITY() |
static void |
log_callback(Pointer ptr,
int level,
BytePointer fmt,
Pointer vl) |
static void |
log_callback(Pointer ptr,
int level,
String fmt,
Pointer vl) |
static LogCallback |
logCallback() |
static void |
logCallback(LogCallback setter) |
static int |
MKBETAG(byte a,
byte b,
byte c,
byte d) |
static int |
MKTAG(byte a,
byte b,
byte c,
byte d) |
static double |
NAN() |
static void |
setLogCallback(LogCallback lc) |
AVERROR_EACCES, AVERROR_EAGAIN, AVERROR_EBADF, AVERROR_EDOM, AVERROR_EEXIST, AVERROR_EFAULT, AVERROR_EFBIG, AVERROR_EILSEQ, AVERROR_EINTR, AVERROR_EINVAL, AVERROR_EIO, AVERROR_ENAMETOOLONG, AVERROR_ENODEV, AVERROR_ENOENT, AVERROR_ENOMEM, AVERROR_ENOSPC, AVERROR_ENOSYS, AVERROR_ENXIO, AVERROR_EPERM, AVERROR_EPIPE, AVERROR_ERANGE, AVERROR_ESPIPE, AVERROR_EXDEV, map
public static final int AVMEDIA_TYPE_UNKNOWN
public static final int AVMEDIA_TYPE_VIDEO
public static final int AVMEDIA_TYPE_AUDIO
public static final int AVMEDIA_TYPE_DATA
public static final int AVMEDIA_TYPE_SUBTITLE
public static final int AVMEDIA_TYPE_ATTACHMENT
public static final int AVMEDIA_TYPE_NB
public static final int FF_LAMBDA_SHIFT
public static final int FF_LAMBDA_SCALE
public static final int FF_QP2LAMBDA
public static final int FF_LAMBDA_MAX
public static final int FF_QUALITY_SCALE
public static final long AV_NOPTS_VALUE
public static final int AV_TIME_BASE
public static final int AV_PICTURE_TYPE_NONE
public static final int AV_PICTURE_TYPE_I
public static final int AV_PICTURE_TYPE_P
public static final int AV_PICTURE_TYPE_B
public static final int AV_PICTURE_TYPE_S
public static final int AV_PICTURE_TYPE_SI
public static final int AV_PICTURE_TYPE_SP
public static final int AV_PICTURE_TYPE_BI
public static final int AV_FOURCC_MAX_STRING_SIZE
public static final int AVERROR_BSF_NOT_FOUND
public static final int AVERROR_BUG
public static final int AVERROR_BUFFER_TOO_SMALL
public static final int AVERROR_DECODER_NOT_FOUND
public static final int AVERROR_DEMUXER_NOT_FOUND
public static final int AVERROR_ENCODER_NOT_FOUND
public static final int AVERROR_EOF
public static final int AVERROR_EXIT
public static final int AVERROR_EXTERNAL
public static final int AVERROR_FILTER_NOT_FOUND
public static final int AVERROR_INVALIDDATA
public static final int AVERROR_MUXER_NOT_FOUND
public static final int AVERROR_OPTION_NOT_FOUND
public static final int AVERROR_PATCHWELCOME
public static final int AVERROR_PROTOCOL_NOT_FOUND
public static final int AVERROR_STREAM_NOT_FOUND
public static final int AVERROR_BUG2
public static final int AVERROR_UNKNOWN
public static final int AVERROR_EXPERIMENTAL
public static final int AVERROR_INPUT_CHANGED
public static final int AVERROR_OUTPUT_CHANGED
public static final int AVERROR_HTTP_BAD_REQUEST
public static final int AVERROR_HTTP_UNAUTHORIZED
public static final int AVERROR_HTTP_FORBIDDEN
public static final int AVERROR_HTTP_NOT_FOUND
public static final int AVERROR_HTTP_OTHER_4XX
public static final int AVERROR_HTTP_SERVER_ERROR
public static final int AV_ERROR_MAX_STRING_SIZE
public static final double M_E
public static final double M_LN2
public static final double M_LN10
public static final double M_LOG2_10
public static final double M_PHI
public static final double M_PI
public static final double M_PI_2
public static final double M_SQRT1_2
public static final double M_SQRT2
public static final double NAN
public static final double INFINITY
public static final int AV_ROUND_ZERO
public static final int AV_ROUND_INF
public static final int AV_ROUND_DOWN
public static final int AV_ROUND_UP
public static final int AV_ROUND_NEAR_INF
public static final int AV_ROUND_PASS_MINMAX
public static final int AV_CLASS_CATEGORY_NA
public static final int AV_CLASS_CATEGORY_INPUT
public static final int AV_CLASS_CATEGORY_OUTPUT
public static final int AV_CLASS_CATEGORY_MUXER
public static final int AV_CLASS_CATEGORY_DEMUXER
public static final int AV_CLASS_CATEGORY_ENCODER
public static final int AV_CLASS_CATEGORY_DECODER
public static final int AV_CLASS_CATEGORY_FILTER
public static final int AV_CLASS_CATEGORY_BITSTREAM_FILTER
public static final int AV_CLASS_CATEGORY_SWSCALER
public static final int AV_CLASS_CATEGORY_SWRESAMPLER
public static final int AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
public static final int AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
public static final int AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
public static final int AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
public static final int AV_CLASS_CATEGORY_DEVICE_OUTPUT
public static final int AV_CLASS_CATEGORY_DEVICE_INPUT
public static final int AV_CLASS_CATEGORY_NB
public static final int AV_LOG_QUIET
public static final int AV_LOG_PANIC
public static final int AV_LOG_FATAL
public static final int AV_LOG_ERROR
public static final int AV_LOG_WARNING
public static final int AV_LOG_INFO
public static final int AV_LOG_VERBOSE
public static final int AV_LOG_DEBUG
public static final int AV_LOG_TRACE
public static final int AV_LOG_MAX_OFFSET
public static final int AV_LOG_SKIP_REPEATED
public static final int AV_LOG_PRINT_LEVEL
public static final int AV_BUFFER_FLAG_READONLY
public static final int AVPALETTE_SIZE
public static final int AVPALETTE_COUNT
public static final int AV_PIX_FMT_NONE
public static final int AV_PIX_FMT_YUV420P
public static final int AV_PIX_FMT_YUYV422
public static final int AV_PIX_FMT_RGB24
public static final int AV_PIX_FMT_BGR24
public static final int AV_PIX_FMT_YUV422P
public static final int AV_PIX_FMT_YUV444P
public static final int AV_PIX_FMT_YUV410P
public static final int AV_PIX_FMT_YUV411P
public static final int AV_PIX_FMT_GRAY8
public static final int AV_PIX_FMT_MONOWHITE
public static final int AV_PIX_FMT_MONOBLACK
public static final int AV_PIX_FMT_PAL8
public static final int AV_PIX_FMT_YUVJ420P
public static final int AV_PIX_FMT_YUVJ422P
public static final int AV_PIX_FMT_YUVJ444P
public static final int AV_PIX_FMT_UYVY422
public static final int AV_PIX_FMT_UYYVYY411
public static final int AV_PIX_FMT_BGR8
public static final int AV_PIX_FMT_BGR4
public static final int AV_PIX_FMT_BGR4_BYTE
public static final int AV_PIX_FMT_RGB8
public static final int AV_PIX_FMT_RGB4
public static final int AV_PIX_FMT_RGB4_BYTE
public static final int AV_PIX_FMT_NV12
public static final int AV_PIX_FMT_NV21
public static final int AV_PIX_FMT_ARGB
public static final int AV_PIX_FMT_RGBA
public static final int AV_PIX_FMT_ABGR
public static final int AV_PIX_FMT_BGRA
public static final int AV_PIX_FMT_GRAY16BE
public static final int AV_PIX_FMT_GRAY16LE
public static final int AV_PIX_FMT_YUV440P
public static final int AV_PIX_FMT_YUVJ440P
public static final int AV_PIX_FMT_YUVA420P
public static final int AV_PIX_FMT_RGB48BE
public static final int AV_PIX_FMT_RGB48LE
public static final int AV_PIX_FMT_RGB565BE
public static final int AV_PIX_FMT_RGB565LE
public static final int AV_PIX_FMT_RGB555BE
public static final int AV_PIX_FMT_RGB555LE
public static final int AV_PIX_FMT_BGR565BE
public static final int AV_PIX_FMT_BGR565LE
public static final int AV_PIX_FMT_BGR555BE
public static final int AV_PIX_FMT_BGR555LE
public static final int AV_PIX_FMT_VAAPI_MOCO
public static final int AV_PIX_FMT_VAAPI_IDCT
public static final int AV_PIX_FMT_VAAPI_VLD
public static final int AV_PIX_FMT_VAAPI
public static final int AV_PIX_FMT_YUV420P16LE
public static final int AV_PIX_FMT_YUV420P16BE
public static final int AV_PIX_FMT_YUV422P16LE
public static final int AV_PIX_FMT_YUV422P16BE
public static final int AV_PIX_FMT_YUV444P16LE
public static final int AV_PIX_FMT_YUV444P16BE
public static final int AV_PIX_FMT_DXVA2_VLD
public static final int AV_PIX_FMT_RGB444LE
public static final int AV_PIX_FMT_RGB444BE
public static final int AV_PIX_FMT_BGR444LE
public static final int AV_PIX_FMT_BGR444BE
public static final int AV_PIX_FMT_YA8
public static final int AV_PIX_FMT_Y400A
public static final int AV_PIX_FMT_GRAY8A
public static final int AV_PIX_FMT_BGR48BE
public static final int AV_PIX_FMT_BGR48LE
public static final int AV_PIX_FMT_YUV420P9BE
public static final int AV_PIX_FMT_YUV420P9LE
public static final int AV_PIX_FMT_YUV420P10BE
public static final int AV_PIX_FMT_YUV420P10LE
public static final int AV_PIX_FMT_YUV422P10BE
public static final int AV_PIX_FMT_YUV422P10LE
public static final int AV_PIX_FMT_YUV444P9BE
public static final int AV_PIX_FMT_YUV444P9LE
public static final int AV_PIX_FMT_YUV444P10BE
public static final int AV_PIX_FMT_YUV444P10LE
public static final int AV_PIX_FMT_YUV422P9BE
public static final int AV_PIX_FMT_YUV422P9LE
public static final int AV_PIX_FMT_GBRP
public static final int AV_PIX_FMT_GBR24P
public static final int AV_PIX_FMT_GBRP9BE
public static final int AV_PIX_FMT_GBRP9LE
public static final int AV_PIX_FMT_GBRP10BE
public static final int AV_PIX_FMT_GBRP10LE
public static final int AV_PIX_FMT_GBRP16BE
public static final int AV_PIX_FMT_GBRP16LE
public static final int AV_PIX_FMT_YUVA422P
public static final int AV_PIX_FMT_YUVA444P
public static final int AV_PIX_FMT_YUVA420P9BE
public static final int AV_PIX_FMT_YUVA420P9LE
public static final int AV_PIX_FMT_YUVA422P9BE
public static final int AV_PIX_FMT_YUVA422P9LE
public static final int AV_PIX_FMT_YUVA444P9BE
public static final int AV_PIX_FMT_YUVA444P9LE
public static final int AV_PIX_FMT_YUVA420P10BE
public static final int AV_PIX_FMT_YUVA420P10LE
public static final int AV_PIX_FMT_YUVA422P10BE
public static final int AV_PIX_FMT_YUVA422P10LE
public static final int AV_PIX_FMT_YUVA444P10BE
public static final int AV_PIX_FMT_YUVA444P10LE
public static final int AV_PIX_FMT_YUVA420P16BE
public static final int AV_PIX_FMT_YUVA420P16LE
public static final int AV_PIX_FMT_YUVA422P16BE
public static final int AV_PIX_FMT_YUVA422P16LE
public static final int AV_PIX_FMT_YUVA444P16BE
public static final int AV_PIX_FMT_YUVA444P16LE
public static final int AV_PIX_FMT_VDPAU
public static final int AV_PIX_FMT_XYZ12LE
public static final int AV_PIX_FMT_XYZ12BE
public static final int AV_PIX_FMT_NV16
public static final int AV_PIX_FMT_NV20LE
public static final int AV_PIX_FMT_NV20BE
public static final int AV_PIX_FMT_RGBA64BE
public static final int AV_PIX_FMT_RGBA64LE
public static final int AV_PIX_FMT_BGRA64BE
public static final int AV_PIX_FMT_BGRA64LE
public static final int AV_PIX_FMT_YVYU422
public static final int AV_PIX_FMT_YA16BE
public static final int AV_PIX_FMT_YA16LE
public static final int AV_PIX_FMT_GBRAP
public static final int AV_PIX_FMT_GBRAP16BE
public static final int AV_PIX_FMT_GBRAP16LE
public static final int AV_PIX_FMT_QSV
public static final int AV_PIX_FMT_MMAL
public static final int AV_PIX_FMT_D3D11VA_VLD
public static final int AV_PIX_FMT_CUDA
public static final int AV_PIX_FMT_0RGB
public static final int AV_PIX_FMT_RGB0
public static final int AV_PIX_FMT_0BGR
public static final int AV_PIX_FMT_BGR0
public static final int AV_PIX_FMT_YUV420P12BE
public static final int AV_PIX_FMT_YUV420P12LE
public static final int AV_PIX_FMT_YUV420P14BE
public static final int AV_PIX_FMT_YUV420P14LE
public static final int AV_PIX_FMT_YUV422P12BE
public static final int AV_PIX_FMT_YUV422P12LE
public static final int AV_PIX_FMT_YUV422P14BE
public static final int AV_PIX_FMT_YUV422P14LE
public static final int AV_PIX_FMT_YUV444P12BE
public static final int AV_PIX_FMT_YUV444P12LE
public static final int AV_PIX_FMT_YUV444P14BE
public static final int AV_PIX_FMT_YUV444P14LE
public static final int AV_PIX_FMT_GBRP12BE
public static final int AV_PIX_FMT_GBRP12LE
public static final int AV_PIX_FMT_GBRP14BE
public static final int AV_PIX_FMT_GBRP14LE
public static final int AV_PIX_FMT_YUVJ411P
public static final int AV_PIX_FMT_BAYER_BGGR8
public static final int AV_PIX_FMT_BAYER_RGGB8
public static final int AV_PIX_FMT_BAYER_GBRG8
public static final int AV_PIX_FMT_BAYER_GRBG8
public static final int AV_PIX_FMT_BAYER_BGGR16LE
public static final int AV_PIX_FMT_BAYER_BGGR16BE
public static final int AV_PIX_FMT_BAYER_RGGB16LE
public static final int AV_PIX_FMT_BAYER_RGGB16BE
public static final int AV_PIX_FMT_BAYER_GBRG16LE
public static final int AV_PIX_FMT_BAYER_GBRG16BE
public static final int AV_PIX_FMT_BAYER_GRBG16LE
public static final int AV_PIX_FMT_BAYER_GRBG16BE
public static final int AV_PIX_FMT_XVMC
public static final int AV_PIX_FMT_YUV440P10LE
public static final int AV_PIX_FMT_YUV440P10BE
public static final int AV_PIX_FMT_YUV440P12LE
public static final int AV_PIX_FMT_YUV440P12BE
public static final int AV_PIX_FMT_AYUV64LE
public static final int AV_PIX_FMT_AYUV64BE
public static final int AV_PIX_FMT_VIDEOTOOLBOX
public static final int AV_PIX_FMT_P010LE
public static final int AV_PIX_FMT_P010BE
public static final int AV_PIX_FMT_GBRAP12BE
public static final int AV_PIX_FMT_GBRAP12LE
public static final int AV_PIX_FMT_GBRAP10BE
public static final int AV_PIX_FMT_GBRAP10LE
public static final int AV_PIX_FMT_MEDIACODEC
public static final int AV_PIX_FMT_GRAY12BE
public static final int AV_PIX_FMT_GRAY12LE
public static final int AV_PIX_FMT_GRAY10BE
public static final int AV_PIX_FMT_GRAY10LE
public static final int AV_PIX_FMT_P016LE
public static final int AV_PIX_FMT_P016BE
public static final int AV_PIX_FMT_D3D11
public static final int AV_PIX_FMT_GRAY9BE
public static final int AV_PIX_FMT_GRAY9LE
public static final int AV_PIX_FMT_GBRPF32BE
public static final int AV_PIX_FMT_GBRPF32LE
public static final int AV_PIX_FMT_GBRAPF32BE
public static final int AV_PIX_FMT_GBRAPF32LE
public static final int AV_PIX_FMT_DRM_PRIME
public static final int AV_PIX_FMT_OPENCL
public static final int AV_PIX_FMT_GRAY14BE
public static final int AV_PIX_FMT_GRAY14LE
public static final int AV_PIX_FMT_GRAYF32BE
public static final int AV_PIX_FMT_GRAYF32LE
public static final int AV_PIX_FMT_YUVA422P12BE
public static final int AV_PIX_FMT_YUVA422P12LE
public static final int AV_PIX_FMT_YUVA444P12BE
public static final int AV_PIX_FMT_YUVA444P12LE
public static final int AV_PIX_FMT_NV24
public static final int AV_PIX_FMT_NV42
public static final int AV_PIX_FMT_NB
public static final int AV_PIX_FMT_RGB32
public static final int AV_PIX_FMT_RGB32_1
public static final int AV_PIX_FMT_BGR32
public static final int AV_PIX_FMT_BGR32_1
public static final int AV_PIX_FMT_0RGB32
public static final int AV_PIX_FMT_0BGR32
public static final int AV_PIX_FMT_GRAY9
public static final int AV_PIX_FMT_GRAY10
public static final int AV_PIX_FMT_GRAY12
public static final int AV_PIX_FMT_GRAY14
public static final int AV_PIX_FMT_GRAY16
public static final int AV_PIX_FMT_YA16
public static final int AV_PIX_FMT_RGB48
public static final int AV_PIX_FMT_RGB565
public static final int AV_PIX_FMT_RGB555
public static final int AV_PIX_FMT_RGB444
public static final int AV_PIX_FMT_RGBA64
public static final int AV_PIX_FMT_BGR48
public static final int AV_PIX_FMT_BGR565
public static final int AV_PIX_FMT_BGR555
public static final int AV_PIX_FMT_BGR444
public static final int AV_PIX_FMT_BGRA64
public static final int AV_PIX_FMT_YUV420P9
public static final int AV_PIX_FMT_YUV422P9
public static final int AV_PIX_FMT_YUV444P9
public static final int AV_PIX_FMT_YUV420P10
public static final int AV_PIX_FMT_YUV422P10
public static final int AV_PIX_FMT_YUV440P10
public static final int AV_PIX_FMT_YUV444P10
public static final int AV_PIX_FMT_YUV420P12
public static final int AV_PIX_FMT_YUV422P12
public static final int AV_PIX_FMT_YUV440P12
public static final int AV_PIX_FMT_YUV444P12
public static final int AV_PIX_FMT_YUV420P14
public static final int AV_PIX_FMT_YUV422P14
public static final int AV_PIX_FMT_YUV444P14
public static final int AV_PIX_FMT_YUV420P16
public static final int AV_PIX_FMT_YUV422P16
public static final int AV_PIX_FMT_YUV444P16
public static final int AV_PIX_FMT_GBRP9
public static final int AV_PIX_FMT_GBRP10
public static final int AV_PIX_FMT_GBRP12
public static final int AV_PIX_FMT_GBRP14
public static final int AV_PIX_FMT_GBRP16
public static final int AV_PIX_FMT_GBRAP10
public static final int AV_PIX_FMT_GBRAP12
public static final int AV_PIX_FMT_GBRAP16
public static final int AV_PIX_FMT_BAYER_BGGR16
public static final int AV_PIX_FMT_BAYER_RGGB16
public static final int AV_PIX_FMT_BAYER_GBRG16
public static final int AV_PIX_FMT_BAYER_GRBG16
public static final int AV_PIX_FMT_GBRPF32
public static final int AV_PIX_FMT_GBRAPF32
public static final int AV_PIX_FMT_GRAYF32
public static final int AV_PIX_FMT_YUVA420P9
public static final int AV_PIX_FMT_YUVA422P9
public static final int AV_PIX_FMT_YUVA444P9
public static final int AV_PIX_FMT_YUVA420P10
public static final int AV_PIX_FMT_YUVA422P10
public static final int AV_PIX_FMT_YUVA444P10
public static final int AV_PIX_FMT_YUVA422P12
public static final int AV_PIX_FMT_YUVA444P12
public static final int AV_PIX_FMT_YUVA420P16
public static final int AV_PIX_FMT_YUVA422P16
public static final int AV_PIX_FMT_YUVA444P16
public static final int AV_PIX_FMT_XYZ12
public static final int AV_PIX_FMT_NV20
public static final int AV_PIX_FMT_AYUV64
public static final int AV_PIX_FMT_P010
public static final int AV_PIX_FMT_P016
public static final int AVCOL_PRI_RESERVED0
public static final int AVCOL_PRI_BT709
public static final int AVCOL_PRI_UNSPECIFIED
public static final int AVCOL_PRI_RESERVED
public static final int AVCOL_PRI_BT470M
public static final int AVCOL_PRI_BT470BG
public static final int AVCOL_PRI_SMPTE170M
public static final int AVCOL_PRI_SMPTE240M
public static final int AVCOL_PRI_FILM
public static final int AVCOL_PRI_BT2020
public static final int AVCOL_PRI_SMPTE428
public static final int AVCOL_PRI_SMPTEST428_1
public static final int AVCOL_PRI_SMPTE431
public static final int AVCOL_PRI_SMPTE432
public static final int AVCOL_PRI_JEDEC_P22
public static final int AVCOL_PRI_NB
public static final int AVCOL_TRC_RESERVED0
public static final int AVCOL_TRC_BT709
public static final int AVCOL_TRC_UNSPECIFIED
public static final int AVCOL_TRC_RESERVED
public static final int AVCOL_TRC_GAMMA22
public static final int AVCOL_TRC_GAMMA28
public static final int AVCOL_TRC_SMPTE170M
public static final int AVCOL_TRC_SMPTE240M
public static final int AVCOL_TRC_LINEAR
public static final int AVCOL_TRC_LOG
public static final int AVCOL_TRC_LOG_SQRT
public static final int AVCOL_TRC_IEC61966_2_4
public static final int AVCOL_TRC_BT1361_ECG
public static final int AVCOL_TRC_IEC61966_2_1
public static final int AVCOL_TRC_BT2020_10
public static final int AVCOL_TRC_BT2020_12
public static final int AVCOL_TRC_SMPTE2084
public static final int AVCOL_TRC_SMPTEST2084
public static final int AVCOL_TRC_SMPTE428
public static final int AVCOL_TRC_SMPTEST428_1
public static final int AVCOL_TRC_ARIB_STD_B67
public static final int AVCOL_TRC_NB
public static final int AVCOL_SPC_RGB
public static final int AVCOL_SPC_BT709
public static final int AVCOL_SPC_UNSPECIFIED
public static final int AVCOL_SPC_RESERVED
public static final int AVCOL_SPC_FCC
public static final int AVCOL_SPC_BT470BG
public static final int AVCOL_SPC_SMPTE170M
public static final int AVCOL_SPC_SMPTE240M
public static final int AVCOL_SPC_YCGCO
public static final int AVCOL_SPC_YCOCG
public static final int AVCOL_SPC_BT2020_NCL
public static final int AVCOL_SPC_BT2020_CL
public static final int AVCOL_SPC_SMPTE2085
public static final int AVCOL_SPC_CHROMA_DERIVED_NCL
public static final int AVCOL_SPC_CHROMA_DERIVED_CL
public static final int AVCOL_SPC_ICTCP
public static final int AVCOL_SPC_NB
public static final int AVCOL_RANGE_UNSPECIFIED
public static final int AVCOL_RANGE_MPEG
public static final int AVCOL_RANGE_JPEG
public static final int AVCOL_RANGE_NB
public static final int AVCHROMA_LOC_UNSPECIFIED
public static final int AVCHROMA_LOC_LEFT
public static final int AVCHROMA_LOC_CENTER
public static final int AVCHROMA_LOC_TOPLEFT
public static final int AVCHROMA_LOC_TOP
public static final int AVCHROMA_LOC_BOTTOMLEFT
public static final int AVCHROMA_LOC_BOTTOM
public static final int AVCHROMA_LOC_NB
public static final int AV_FRAME_DATA_PANSCAN
public static final int AV_FRAME_DATA_A53_CC
public static final int AV_FRAME_DATA_STEREO3D
public static final int AV_FRAME_DATA_MATRIXENCODING
public static final int AV_FRAME_DATA_DOWNMIX_INFO
public static final int AV_FRAME_DATA_REPLAYGAIN
public static final int AV_FRAME_DATA_DISPLAYMATRIX
public static final int AV_FRAME_DATA_AFD
public static final int AV_FRAME_DATA_MOTION_VECTORS
public static final int AV_FRAME_DATA_SKIP_SAMPLES
public static final int AV_FRAME_DATA_AUDIO_SERVICE_TYPE
public static final int AV_FRAME_DATA_MASTERING_DISPLAY_METADATA
public static final int AV_FRAME_DATA_GOP_TIMECODE
public static final int AV_FRAME_DATA_SPHERICAL
public static final int AV_FRAME_DATA_CONTENT_LIGHT_LEVEL
public static final int AV_FRAME_DATA_ICC_PROFILE
public static final int AV_FRAME_DATA_QP_TABLE_PROPERTIES
public static final int AV_FRAME_DATA_QP_TABLE_DATA
public static final int AV_FRAME_DATA_S12M_TIMECODE
public static final int AV_FRAME_DATA_DYNAMIC_HDR_PLUS
public static final int AV_FRAME_DATA_REGIONS_OF_INTEREST
public static final int AV_AFD_SAME
public static final int AV_AFD_4_3
public static final int AV_AFD_16_9
public static final int AV_AFD_14_9
public static final int AV_AFD_4_3_SP_14_9
public static final int AV_AFD_16_9_SP_14_9
public static final int AV_AFD_SP_4_3
public static final int AV_FRAME_CROP_UNALIGNED
public static final int AV_SAMPLE_FMT_NONE
public static final int AV_SAMPLE_FMT_U8
public static final int AV_SAMPLE_FMT_S16
public static final int AV_SAMPLE_FMT_S32
public static final int AV_SAMPLE_FMT_FLT
public static final int AV_SAMPLE_FMT_DBL
public static final int AV_SAMPLE_FMT_U8P
public static final int AV_SAMPLE_FMT_S16P
public static final int AV_SAMPLE_FMT_S32P
public static final int AV_SAMPLE_FMT_FLTP
public static final int AV_SAMPLE_FMT_DBLP
public static final int AV_SAMPLE_FMT_S64
public static final int AV_SAMPLE_FMT_S64P
public static final int AV_SAMPLE_FMT_NB
public static final long AV_CH_FRONT_LEFT
public static final long AV_CH_FRONT_RIGHT
public static final long AV_CH_FRONT_CENTER
public static final long AV_CH_LOW_FREQUENCY
public static final long AV_CH_BACK_LEFT
public static final long AV_CH_BACK_RIGHT
public static final long AV_CH_FRONT_LEFT_OF_CENTER
public static final long AV_CH_FRONT_RIGHT_OF_CENTER
public static final long AV_CH_BACK_CENTER
public static final long AV_CH_SIDE_LEFT
public static final long AV_CH_SIDE_RIGHT
public static final long AV_CH_TOP_CENTER
public static final long AV_CH_TOP_FRONT_LEFT
public static final long AV_CH_TOP_FRONT_CENTER
public static final long AV_CH_TOP_FRONT_RIGHT
public static final long AV_CH_TOP_BACK_LEFT
public static final long AV_CH_TOP_BACK_CENTER
public static final long AV_CH_TOP_BACK_RIGHT
public static final long AV_CH_STEREO_LEFT
public static final long AV_CH_STEREO_RIGHT
public static final long AV_CH_WIDE_LEFT
public static final long AV_CH_WIDE_RIGHT
public static final long AV_CH_SURROUND_DIRECT_LEFT
public static final long AV_CH_SURROUND_DIRECT_RIGHT
public static final long AV_CH_LOW_FREQUENCY_2
public static final long AV_CH_LAYOUT_NATIVE
public static final long AV_CH_LAYOUT_MONO
public static final long AV_CH_LAYOUT_STEREO
public static final long AV_CH_LAYOUT_2POINT1
public static final long AV_CH_LAYOUT_2_1
public static final long AV_CH_LAYOUT_SURROUND
public static final long AV_CH_LAYOUT_3POINT1
public static final long AV_CH_LAYOUT_4POINT0
public static final long AV_CH_LAYOUT_4POINT1
public static final long AV_CH_LAYOUT_2_2
public static final long AV_CH_LAYOUT_QUAD
public static final long AV_CH_LAYOUT_5POINT0
public static final long AV_CH_LAYOUT_5POINT1
public static final long AV_CH_LAYOUT_5POINT0_BACK
public static final long AV_CH_LAYOUT_5POINT1_BACK
public static final long AV_CH_LAYOUT_6POINT0
public static final long AV_CH_LAYOUT_6POINT0_FRONT
public static final long AV_CH_LAYOUT_HEXAGONAL
public static final long AV_CH_LAYOUT_6POINT1
public static final long AV_CH_LAYOUT_6POINT1_BACK
public static final long AV_CH_LAYOUT_6POINT1_FRONT
public static final long AV_CH_LAYOUT_7POINT0
public static final long AV_CH_LAYOUT_7POINT0_FRONT
public static final long AV_CH_LAYOUT_7POINT1
public static final long AV_CH_LAYOUT_7POINT1_WIDE
public static final long AV_CH_LAYOUT_7POINT1_WIDE_BACK
public static final long AV_CH_LAYOUT_OCTAGONAL
public static final long AV_CH_LAYOUT_HEXADECAGONAL
public static final long AV_CH_LAYOUT_STEREO_DOWNMIX
public static final int AV_MATRIX_ENCODING_NONE
public static final int AV_MATRIX_ENCODING_DOLBY
public static final int AV_MATRIX_ENCODING_DPLII
public static final int AV_MATRIX_ENCODING_DPLIIX
public static final int AV_MATRIX_ENCODING_DPLIIZ
public static final int AV_MATRIX_ENCODING_DOLBYEX
public static final int AV_MATRIX_ENCODING_DOLBYHEADPHONE
public static final int AV_MATRIX_ENCODING_NB
public static final int AV_CPU_FLAG_FORCE
public static final int AV_CPU_FLAG_MMX
public static final int AV_CPU_FLAG_MMXEXT
public static final int AV_CPU_FLAG_MMX2
public static final int AV_CPU_FLAG_3DNOW
public static final int AV_CPU_FLAG_SSE
public static final int AV_CPU_FLAG_SSE2
public static final int AV_CPU_FLAG_SSE2SLOW
public static final int AV_CPU_FLAG_3DNOWEXT
public static final int AV_CPU_FLAG_SSE3
public static final int AV_CPU_FLAG_SSE3SLOW
public static final int AV_CPU_FLAG_SSSE3
public static final int AV_CPU_FLAG_SSSE3SLOW
public static final int AV_CPU_FLAG_ATOM
public static final int AV_CPU_FLAG_SSE4
public static final int AV_CPU_FLAG_SSE42
public static final int AV_CPU_FLAG_AESNI
public static final int AV_CPU_FLAG_AVX
public static final int AV_CPU_FLAG_AVXSLOW
public static final int AV_CPU_FLAG_XOP
public static final int AV_CPU_FLAG_FMA4
public static final int AV_CPU_FLAG_CMOV
public static final int AV_CPU_FLAG_AVX2
public static final int AV_CPU_FLAG_FMA3
public static final int AV_CPU_FLAG_BMI1
public static final int AV_CPU_FLAG_BMI2
public static final int AV_CPU_FLAG_AVX512
public static final int AV_CPU_FLAG_ALTIVEC
public static final int AV_CPU_FLAG_VSX
public static final int AV_CPU_FLAG_POWER8
public static final int AV_CPU_FLAG_ARMV5TE
public static final int AV_CPU_FLAG_ARMV6
public static final int AV_CPU_FLAG_ARMV6T2
public static final int AV_CPU_FLAG_VFP
public static final int AV_CPU_FLAG_VFPV3
public static final int AV_CPU_FLAG_NEON
public static final int AV_CPU_FLAG_ARMV8
public static final int AV_CPU_FLAG_VFP_VM
public static final int AV_CPU_FLAG_SETEND
public static final int AV_DICT_MATCH_CASE
public static final int AV_DICT_IGNORE_SUFFIX
public static final int AV_DICT_DONT_STRDUP_KEY
public static final int AV_DICT_DONT_STRDUP_VAL
public static final int AV_DICT_DONT_OVERWRITE
public static final int AV_DICT_APPEND
public static final int AV_DICT_MULTIKEY
public static final int AV_OPT_TYPE_FLAGS
public static final int AV_OPT_TYPE_INT
public static final int AV_OPT_TYPE_INT64
public static final int AV_OPT_TYPE_DOUBLE
public static final int AV_OPT_TYPE_FLOAT
public static final int AV_OPT_TYPE_STRING
public static final int AV_OPT_TYPE_RATIONAL
public static final int AV_OPT_TYPE_BINARY
public static final int AV_OPT_TYPE_DICT
public static final int AV_OPT_TYPE_UINT64
public static final int AV_OPT_TYPE_CONST
public static final int AV_OPT_TYPE_IMAGE_SIZE
public static final int AV_OPT_TYPE_PIXEL_FMT
public static final int AV_OPT_TYPE_SAMPLE_FMT
public static final int AV_OPT_TYPE_VIDEO_RATE
public static final int AV_OPT_TYPE_DURATION
public static final int AV_OPT_TYPE_COLOR
public static final int AV_OPT_TYPE_CHANNEL_LAYOUT
public static final int AV_OPT_TYPE_BOOL
public static final int AV_OPT_FLAG_IMPLICIT_KEY
public static final int AV_OPT_SEARCH_CHILDREN
public static final int AV_OPT_SEARCH_FAKE_OBJ
public static final int AV_OPT_ALLOW_NULL
public static final int AV_OPT_MULTI_COMPONENT_RANGE
for details.
,
Constant Field Valuespublic static final int AV_OPT_SERIALIZE_SKIP_DEFAULTS
public static final int AV_OPT_SERIALIZE_OPT_FLAGS_EXACT
public static final int AV_PIX_FMT_FLAG_BE
public static final int AV_PIX_FMT_FLAG_PAL
public static final int AV_PIX_FMT_FLAG_BITSTREAM
public static final int AV_PIX_FMT_FLAG_HWACCEL
public static final int AV_PIX_FMT_FLAG_PLANAR
public static final int AV_PIX_FMT_FLAG_RGB
public static final int AV_PIX_FMT_FLAG_PSEUDOPAL
public static final int AV_PIX_FMT_FLAG_ALPHA
public static final int AV_PIX_FMT_FLAG_BAYER
public static final int AV_PIX_FMT_FLAG_FLOAT
public static final int FF_LOSS_RESOLUTION
public static final int FF_LOSS_DEPTH
public static final int FF_LOSS_COLORSPACE
public static final int FF_LOSS_ALPHA
public static final int FF_LOSS_COLORQUANT
public static final int FF_LOSS_CHROMA
public static final int AV_DOWNMIX_TYPE_UNKNOWN
public static final int AV_DOWNMIX_TYPE_LORO
public static final int AV_DOWNMIX_TYPE_LTRT
public static final int AV_DOWNMIX_TYPE_DPLII
public static final int AV_DOWNMIX_TYPE_NB
public static final int AV_STEREO3D_2D
public static final int AV_STEREO3D_SIDEBYSIDE
public static final int AV_STEREO3D_TOPBOTTOM
public static final int AV_STEREO3D_FRAMESEQUENCE
public static final int AV_STEREO3D_CHECKERBOARD
public static final int AV_STEREO3D_SIDEBYSIDE_QUINCUNX
public static final int AV_STEREO3D_LINES
public static final int AV_STEREO3D_COLUMNS
public static final int AV_STEREO3D_VIEW_PACKED
public static final int AV_STEREO3D_VIEW_LEFT
public static final int AV_STEREO3D_VIEW_RIGHT
public static final int AV_STEREO3D_FLAG_INVERT
public static final String FFMPEG_VERSION
public static final int AV_HWDEVICE_TYPE_NONE
public static final int AV_HWDEVICE_TYPE_VDPAU
public static final int AV_HWDEVICE_TYPE_CUDA
public static final int AV_HWDEVICE_TYPE_VAAPI
public static final int AV_HWDEVICE_TYPE_DXVA2
public static final int AV_HWDEVICE_TYPE_QSV
public static final int AV_HWDEVICE_TYPE_VIDEOTOOLBOX
public static final int AV_HWDEVICE_TYPE_D3D11VA
public static final int AV_HWDEVICE_TYPE_DRM
public static final int AV_HWDEVICE_TYPE_OPENCL
public static final int AV_HWDEVICE_TYPE_MEDIACODEC
public static final int AV_HWFRAME_TRANSFER_DIRECTION_FROM
public static final int AV_HWFRAME_TRANSFER_DIRECTION_TO
public static final int AV_HWFRAME_MAP_READ
public static final int AV_HWFRAME_MAP_WRITE
public static final int AV_HWFRAME_MAP_OVERWRITE
public static final int AV_HWFRAME_MAP_DIRECT
public static final int AES_CTR_KEY_SIZE
public static final int AES_CTR_IV_SIZE
public static final int AV_BF_ROUNDS
public static final int AV_CRC_8_ATM
public static final int AV_CRC_16_ANSI
public static final int AV_CRC_16_CCITT
public static final int AV_CRC_32_IEEE
public static final int AV_CRC_32_IEEE_LE
public static final int AV_CRC_16_ANSI_LE
public static final int AV_CRC_24_IEEE
public static final int AV_CRC_8_EBU
public static final int AV_CRC_MAX
public static final int AV_HMAC_MD5
public static final int AV_HMAC_SHA1
public static final int AV_HMAC_SHA224
public static final int AV_HMAC_SHA256
public static final int AV_HMAC_SHA384
public static final int AV_HMAC_SHA512
public static final int AV_ESCAPE_MODE_AUTO
public static final int AV_ESCAPE_MODE_BACKSLASH
public static final int AV_ESCAPE_MODE_QUOTE
public static final int AV_ESCAPE_FLAG_WHITESPACE
public static final int AV_ESCAPE_FLAG_STRICT
public static final int AV_UTF8_FLAG_ACCEPT_INVALID_BIG_CODES
public static final int AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS
public static final int AV_UTF8_FLAG_ACCEPT_SURROGATES
public static final int AV_UTF8_FLAG_EXCLUDE_XML_INVALID_CONTROL_CODES
public static final int AV_UTF8_FLAG_ACCEPT_ALL
public static final int AV_BPRINT_SIZE_UNLIMITED
public static final int AV_BPRINT_SIZE_AUTOMATIC
public static final int AV_BPRINT_SIZE_COUNT_ONLY
public static final int AV_HASH_MAX_SIZE
public static final int AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING
public static final int AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING
public static final int AV_SPHERICAL_EQUIRECTANGULAR
public static final int AV_SPHERICAL_CUBEMAP
public static final int AV_SPHERICAL_EQUIRECTANGULAR_TILE
public static final int AV_THREAD_MESSAGE_NONBLOCK
public static final int AV_TIMECODE_STR_SIZE
public static final int AV_TIMECODE_FLAG_DROPFRAME
public static final int AV_TIMECODE_FLAG_24HOURSMAX
public static final int AV_TIMECODE_FLAG_ALLOWNEGATIVE
public static final int AV_TS_MAX_STRING_SIZE
public static final int AV_TX_FLOAT_FFT
public static final int AV_TX_FLOAT_MDCT
@NoException @Cast(value="unsigned") public static int avutil_version()
@NoException @Cast(value="const char*") public static BytePointer av_version_info()
@NoException @Cast(value="const char*") public static BytePointer avutil_configuration()
@NoException @Cast(value="const char*") public static BytePointer avutil_license()
@NoException @Cast(value="const char*") public static BytePointer av_get_media_type_string(@Cast(value="AVMediaType") int media_type)
@MemberGetter @Cast(value="int64_t") public static long AV_NOPTS_VALUE()
@NoException @Cast(value="char") public static byte av_get_picture_type_char(@Cast(value="AVPictureType") int pict_type)
pict_type
- [in] the picture type @return a single character
representing the picture type, '?' if pict_type is unknown@NoException public static Pointer av_x_if_null(@Const Pointer p, @Const Pointer x)
@NoException @Cast(value="unsigned") public static int av_int_list_length_for_size(@Cast(value="unsigned") int elsize, @Const Pointer list, @Cast(value="uint64_t") long term)
elsize
- size in bytes of each list element (only 1, 2, 4 or 8)term
- list terminator (usually 0 or -1)list
- pointer to the list@NoException @Cast(value="FILE*") public static Pointer av_fopen_utf8(@Cast(value="const char*") BytePointer path, @Cast(value="const char*") BytePointer mode)
@NoException @Cast(value="FILE*") public static Pointer av_fopen_utf8(String path, String mode)
@NoException @ByVal public static AVRational av_get_time_base_q()
@NoException @Cast(value="char*") public static BytePointer av_fourcc_make_string(@Cast(value="char*") BytePointer buf, @Cast(value="uint32_t") int fourcc)
buf
- a buffer with size in bytes of at least AV_FOURCC_MAX_STRING_SIZEfourcc
- the fourcc to represent@NoException @Cast(value="char*") public static ByteBuffer av_fourcc_make_string(@Cast(value="char*") ByteBuffer buf, @Cast(value="uint32_t") int fourcc)
@NoException @Cast(value="char*") public static byte[] av_fourcc_make_string(@Cast(value="char*") byte[] buf, @Cast(value="uint32_t") int fourcc)
@MemberGetter public static int AVERROR_BSF_NOT_FOUND()
@MemberGetter public static int AVERROR_BUG()
@MemberGetter public static int AVERROR_BUFFER_TOO_SMALL()
@MemberGetter public static int AVERROR_DECODER_NOT_FOUND()
@MemberGetter public static int AVERROR_DEMUXER_NOT_FOUND()
@MemberGetter public static int AVERROR_ENCODER_NOT_FOUND()
@MemberGetter public static int AVERROR_EOF()
@MemberGetter public static int AVERROR_EXIT()
@MemberGetter public static int AVERROR_EXTERNAL()
@MemberGetter public static int AVERROR_FILTER_NOT_FOUND()
@MemberGetter public static int AVERROR_INVALIDDATA()
@MemberGetter public static int AVERROR_MUXER_NOT_FOUND()
@MemberGetter public static int AVERROR_OPTION_NOT_FOUND()
@MemberGetter public static int AVERROR_PATCHWELCOME()
@MemberGetter public static int AVERROR_PROTOCOL_NOT_FOUND()
@MemberGetter public static int AVERROR_STREAM_NOT_FOUND()
@MemberGetter public static int AVERROR_BUG2()
@MemberGetter public static int AVERROR_UNKNOWN()
@MemberGetter public static int AVERROR_HTTP_BAD_REQUEST()
@MemberGetter public static int AVERROR_HTTP_UNAUTHORIZED()
@MemberGetter public static int AVERROR_HTTP_FORBIDDEN()
@MemberGetter public static int AVERROR_HTTP_NOT_FOUND()
@MemberGetter public static int AVERROR_HTTP_OTHER_4XX()
@MemberGetter public static int AVERROR_HTTP_SERVER_ERROR()
@NoException public static int av_strerror(int errnum, @Cast(value="char*") BytePointer errbuf, @Cast(value="size_t") long errbuf_size)
errnum
- error code to describeerrbuf
- buffer to which description is writtenerrbuf_size
- the size in bytes of errbuf@NoException public static int av_strerror(int errnum, @Cast(value="char*") ByteBuffer errbuf, @Cast(value="size_t") long errbuf_size)
@NoException public static int av_strerror(int errnum, @Cast(value="char*") byte[] errbuf, @Cast(value="size_t") long errbuf_size)
@NoException @Cast(value="char*") public static BytePointer av_make_error_string(@Cast(value="char*") BytePointer errbuf, @Cast(value="size_t") long errbuf_size, int errnum)
errbuf
- a buffererrbuf_size
- size in bytes of errbuferrnum
- error code to describeav_strerror()
@NoException @Cast(value="char*") public static ByteBuffer av_make_error_string(@Cast(value="char*") ByteBuffer errbuf, @Cast(value="size_t") long errbuf_size, int errnum)
@NoException @Cast(value="char*") public static byte[] av_make_error_string(@Cast(value="char*") byte[] errbuf, @Cast(value="size_t") long errbuf_size, int errnum)
@NoException public static Pointer av_malloc(@Cast(value="size_t") long size)
size
- Size in bytes for the memory block to be allocatedNULL
if the block cannot
be allocatedav_mallocz()
@NoException public static Pointer av_mallocz(@Cast(value="size_t") long size)
size
- Size in bytes for the memory block to be allocatedNULL
if it cannot be allocatedav_malloc()
@NoException public static Pointer av_malloc_array(@Cast(value="size_t") long nmemb, @Cast(value="size_t") long size)
size * nmemb
bytes.nmemb
- Number of elementsize
- Size of a single elementNULL
if the block cannot
be allocatedav_malloc()
@NoException public static Pointer av_mallocz_array(@Cast(value="size_t") long nmemb, @Cast(value="size_t") long size)
size * nmemb
bytes.nmemb
- Number of elementssize
- Size of the single elementNULL
if the block cannot
be allocatedav_mallocz()
,
av_malloc_array()
@NoException public static Pointer av_calloc(@Cast(value="size_t") long nmemb, @Cast(value="size_t") long size)
@NoException public static Pointer av_realloc(Pointer ptr, @Cast(value="size_t") long size)
ptr
is NULL
and size
> 0, allocate a new block. If size
is
zero, free the memory block pointed to by ptr
. Otherwise, expand or
shrink that block of memory according to size
.ptr
- Pointer to a memory block already allocated with
av_realloc() or NULL
size
- Size in bytes of the memory block to be allocated or
reallocatedNULL
if the block
cannot be reallocated or the function is used to free the memory block
\warning Unlike av_malloc(), the returned pointer is not guaranteed to be
correctly aligned.av_fast_realloc()
,
av_reallocp()
@NoException public static int av_reallocp(Pointer ptr, @Cast(value="size_t") long size)
*ptr
is NULL
and size
> 0, allocate a new block. If size
is
zero, free the memory block pointed to by *ptr
. Otherwise, expand or
shrink that block of memory according to size
.ptr
- [in,out] Pointer to a pointer to a memory block already allocated
with av_realloc(), or a pointer to NULL
. The pointer
is updated on success, or freed on failure.size
- [in] Size in bytes for the memory block to be allocated or
reallocated@NoException public static Pointer av_realloc_f(Pointer ptr, @Cast(value="size_t") long nelem, @Cast(value="size_t") long elsize)
nelem * elsize
bytes,
after checking the result of the multiplication for integer overflow.
- It frees the input block in case of failure, thus avoiding the memory
leak with the classic
{.c}
buf = realloc(buf);
if (!buf)
return -1;
pattern.@NoException public static Pointer av_realloc_array(Pointer ptr, @Cast(value="size_t") long nmemb, @Cast(value="size_t") long size)
ptr
is NULL
and nmemb
> 0, allocate a new block. If
nmemb
is zero, free the memory block pointed to by ptr
.ptr
- Pointer to a memory block already allocated with
av_realloc() or NULL
nmemb
- Number of elements in the arraysize
- Size of the single element of the arrayav_reallocp_array()
@NoException public static int av_reallocp_array(Pointer ptr, @Cast(value="size_t") long nmemb, @Cast(value="size_t") long size)
*ptr
is NULL
and nmemb
> 0, allocate a new block. If nmemb
is
zero, free the memory block pointed to by *ptr
.ptr
- [in,out] Pointer to a pointer to a memory block already
allocated with av_realloc(), or a pointer to NULL
.
The pointer is updated on success, or freed on failure.nmemb
- [in] Number of elementssize
- [in] Size of the single element@NoException public static Pointer av_fast_realloc(Pointer ptr, @Cast(value="unsigned int*") IntPointer size, @Cast(value="size_t") long min_size)
NULL
, then a new uninitialized buffer is allocated.
If the given buffer is not large enough, and reallocation fails, NULL
is
returned and *size
is set to 0, but the original buffer is not changed or
freed.
A typical use pattern follows:
{.c}
uint8_t *buf = ...;
uint8_t *new_buf = av_fast_realloc(buf, ¤t_size, size_needed);
if (!new_buf) {
// Allocation failed; clean up original buffer
av_freep(&buf);
return AVERROR(ENOMEM);
}
ptr
- [in,out] Already allocated buffer, or NULL
size
- [in,out] Pointer to the size of buffer ptr
. *size
is
updated to the new allocated size, in particular 0
in case of failure.min_size
- [in] Desired minimal size of buffer ptr
ptr
if the buffer is large enough, a pointer to newly reallocated
buffer if the buffer was not large enough, or NULL
in case of
errorav_realloc()
,
av_fast_malloc()
@NoException public static Pointer av_fast_realloc(Pointer ptr, @Cast(value="unsigned int*") IntBuffer size, @Cast(value="size_t") long min_size)
@NoException public static Pointer av_fast_realloc(Pointer ptr, @Cast(value="unsigned int*") int[] size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_malloc(Pointer ptr, @Cast(value="unsigned int*") IntPointer size, @Cast(value="size_t") long min_size)
*ptr
is allowed to be NULL
, in which case allocation always happens if
size_needed
is greater than 0.
{.c}
uint8_t *buf = ...;
av_fast_malloc(&buf, ¤t_size, size_needed);
if (!buf) {
// Allocation failed; buf already freed
return AVERROR(ENOMEM);
}
ptr
- [in,out] Pointer to pointer to an already allocated buffer.
*ptr
will be overwritten with pointer to new
buffer on success or NULL
on failuresize
- [in,out] Pointer to the size of buffer *ptr
. *size
is
updated to the new allocated size, in particular 0
in case of failure.min_size
- [in] Desired minimal size of buffer *ptr
av_realloc()
,
av_fast_mallocz()
@NoException public static void av_fast_malloc(Pointer ptr, @Cast(value="unsigned int*") IntBuffer size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_malloc(Pointer ptr, @Cast(value="unsigned int*") int[] size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_mallocz(Pointer ptr, @Cast(value="unsigned int*") IntPointer size, @Cast(value="size_t") long min_size)
*ptr
is allowed to be NULL
, in which case allocation always happens if
size_needed
is greater than 0.ptr
- [in,out] Pointer to pointer to an already allocated buffer.
*ptr
will be overwritten with pointer to new
buffer on success or NULL
on failuresize
- [in,out] Pointer to the size of buffer *ptr
. *size
is
updated to the new allocated size, in particular 0
in case of failure.min_size
- [in] Desired minimal size of buffer *ptr
av_fast_malloc()
@NoException public static void av_fast_mallocz(Pointer ptr, @Cast(value="unsigned int*") IntBuffer size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_mallocz(Pointer ptr, @Cast(value="unsigned int*") int[] size, @Cast(value="size_t") long min_size)
@NoException public static void av_free(Pointer ptr)
ptr
- Pointer to the memory block which should be freed.
\note ptr = NULL
is explicitly allowed.
\note It is recommended that you use av_freep() instead, to prevent leaving
behind dangling pointers.av_freep()
@NoException public static void av_freep(Pointer ptr)
NULL
.
{.c}
uint8_t *buf = av_malloc(16);
av_free(buf);
// buf now contains a dangling pointer to freed memory, and accidental
// dereference of buf will result in a use-after-free, which may be a
// security risk.
uint8_t *buf = av_malloc(16);
av_freep(&buf);
// buf is now NULL, and accidental dereference will only result in a
// NULL-pointer dereference.
ptr
- Pointer to the pointer to the memory block which should be freed
\note *ptr = NULL
is safe and leads to no action.av_free()
@NoException @Cast(value="char*") public static BytePointer av_strdup(@Cast(value="const char*") BytePointer s)
s
- String to be duplicateds
or NULL
if the string cannot be allocatedav_strndup()
@NoException @Cast(value="char*") public static ByteBuffer av_strdup(String s)
@NoException @Cast(value="char*") public static BytePointer av_strndup(@Cast(value="const char*") BytePointer s, @Cast(value="size_t") long len)
s
- String to be duplicatedlen
- Maximum length of the resulting string (not counting the
terminating byte)s
or NULL
if the string cannot be allocated@NoException @Cast(value="char*") public static ByteBuffer av_strndup(String s, @Cast(value="size_t") long len)
@NoException public static Pointer av_memdup(@Const Pointer p, @Cast(value="size_t") long size)
p
- Buffer to be duplicatedsize
- Size in bytes of the buffer copiedp
or NULL
if the buffer cannot be allocated@NoException public static void av_memcpy_backptr(@Cast(value="uint8_t*") BytePointer dst, int back, int cnt)
dst
- Destination bufferback
- Number of bytes back to start copying (i.e. the initial size of
the overlapping window); must be > 0cnt
- Number of bytes to copy; must be >= 0
\note cnt > back
is valid, this will copy the bytes we just copied,
thus creating a repeating pattern with a period length of back
.@NoException public static void av_memcpy_backptr(@Cast(value="uint8_t*") ByteBuffer dst, int back, int cnt)
@NoException public static void av_memcpy_backptr(@Cast(value="uint8_t*") byte[] dst, int back, int cnt)
@NoException public static void av_dynarray_add(Pointer tab_ptr, IntPointer nb_ptr, Pointer elem)
nb_ptr
is incremented.
In case of failure, the array is freed, *tab_ptr
is set to NULL
and
*nb_ptr
is set to 0.tab_ptr
- [in,out] Pointer to the array to grownb_ptr
- [in,out] Pointer to the number of elements in the arrayelem
- [in] Element to addav_dynarray_add_nofree(), av_dynarray2_add()
@NoException public static void av_dynarray_add(Pointer tab_ptr, IntBuffer nb_ptr, Pointer elem)
@NoException public static void av_dynarray_add(Pointer tab_ptr, int[] nb_ptr, Pointer elem)
@NoException public static int av_dynarray_add_nofree(Pointer tab_ptr, IntPointer nb_ptr, Pointer elem)
av_dynarray_add(), av_dynarray2_add()
@NoException public static int av_dynarray_add_nofree(Pointer tab_ptr, IntBuffer nb_ptr, Pointer elem)
@NoException public static int av_dynarray_add_nofree(Pointer tab_ptr, int[] nb_ptr, Pointer elem)
@NoException public static Pointer av_dynarray2_add(@Cast(value="void**") PointerPointer tab_ptr, IntPointer nb_ptr, @Cast(value="size_t") long elem_size, @Cast(value="const uint8_t*") BytePointer elem_data)
elem_size
to a dynamic array.
The array is reallocated when its number of elements reaches powers of 2.
Therefore, the amortized cost of adding an element is constant.
In case of success, the pointer to the array is updated in order to
point to the new grown array, and the number pointed to by nb_ptr
is incremented.
In case of failure, the array is freed, *tab_ptr
is set to NULL
and
*nb_ptr
is set to 0.tab_ptr
- [in,out] Pointer to the array to grownb_ptr
- [in,out] Pointer to the number of elements in the arrayelem_size
- [in] Size in bytes of an element in the arrayelem_data
- [in] Pointer to the data of the element to add. If
NULL
, the space of the newly added element is
allocated but left uninitialized.av_dynarray_add(), av_dynarray_add_nofree()
@NoException public static Pointer av_dynarray2_add(@Cast(value="void**") @ByPtrPtr Pointer tab_ptr, IntPointer nb_ptr, @Cast(value="size_t") long elem_size, @Cast(value="const uint8_t*") BytePointer elem_data)
@NoException public static Pointer av_dynarray2_add(@Cast(value="void**") @ByPtrPtr Pointer tab_ptr, IntBuffer nb_ptr, @Cast(value="size_t") long elem_size, @Cast(value="const uint8_t*") ByteBuffer elem_data)
@NoException public static Pointer av_dynarray2_add(@Cast(value="void**") @ByPtrPtr Pointer tab_ptr, int[] nb_ptr, @Cast(value="size_t") long elem_size, @Cast(value="const uint8_t*") byte[] elem_data)
@NoException public static int av_size_mult(@Cast(value="size_t") long a, @Cast(value="size_t") long b, @Cast(value="size_t*") SizeTPointer r)
size_t
values checking for overflow.a
- [in] ,b Operands of multiplicationr
- [out] Pointer to the result of the operation@NoException public static void av_max_alloc(@Cast(value="size_t") long max)
INT_MAX
.max
- Value to be set as the new maximum size
\warning Exercise extreme caution when using this function. Don't touch
this if you do not understand the full consequence of doing so.@NoException @Cast(value="int64_t") public static long av_gettime()
@NoException @Cast(value="int64_t") public static long av_gettime_relative()
@NoException public static int av_gettime_relative_is_monotonic()
@NoException public static int av_usleep(@Cast(value="unsigned") int usec)
usec
- Number of microseconds to sleep.@MemberGetter public static double NAN()
@MemberGetter public static double INFINITY()
@NoException @Cast(value="int64_t") @Const public static long av_gcd(@Cast(value="int64_t") long a, @Cast(value="int64_t") long b)
a,b
- Operands@NoException @Cast(value="int64_t") @Const public static long av_rescale(@Cast(value="int64_t") long a, @Cast(value="int64_t") long b, @Cast(value="int64_t") long c)
a * b / c
, but writing that
directly can overflow.
This function is equivalent to av_rescale_rnd() with #AV_ROUND_NEAR_INF.av_rescale_rnd(), av_rescale_q(), av_rescale_q_rnd()
@NoException @Cast(value="int64_t") @Const public static long av_rescale_rnd(@Cast(value="int64_t") long a, @Cast(value="int64_t") long b, @Cast(value="int64_t") long c, @Cast(value="AVRounding") int rnd)
a * b / c
, but writing that
directly can overflow, and does not support different rounding methods.av_rescale(), av_rescale_q(), av_rescale_q_rnd()
@NoException @Cast(value="int64_t") @Const public static long av_rescale_q(@Cast(value="int64_t") long a, @ByVal AVRational bq, @ByVal AVRational cq)
a * bq / cq
.
This function is equivalent to av_rescale_q_rnd() with #AV_ROUND_NEAR_INF.av_rescale(), av_rescale_rnd(), av_rescale_q_rnd()
@NoException @Cast(value="int64_t") @Const public static long av_rescale_q_rnd(@Cast(value="int64_t") long a, @ByVal AVRational bq, @ByVal AVRational cq, @Cast(value="AVRounding") int rnd)
a * bq / cq
.av_rescale(), av_rescale_rnd(), av_rescale_q()
@NoException public static int av_compare_ts(@Cast(value="int64_t") long ts_a, @ByVal AVRational tb_a, @Cast(value="int64_t") long ts_b, @ByVal AVRational tb_b)
ts_a
is before ts_b
- 1 if ts_a
is after ts_b
- 0 if they represent the same position
\warning
The result of the function is undefined if one of the timestamps is outside
the int64_t
range when represented in the other's timebase.@NoException @Cast(value="int64_t") public static long av_compare_mod(@Cast(value="uint64_t") long a, @Cast(value="uint64_t") long b, @Cast(value="uint64_t") long mod)
log2(mod)
bits of integers
a
and b
.
{.c}
av_compare_mod(0x11, 0x02, 0x10) < 0 // since 0x11 % 0x10 (0x1) < 0x02 % 0x10 (0x2)
av_compare_mod(0x11, 0x02, 0x20) > 0 // since 0x11 % 0x20 (0x11) > 0x02 % 0x20 (0x02)
a,b
- Operandsmod
- Divisor; must be a power of 2a % mod < b % mod
- a positive value if a % mod > b % mod
- zero if a % mod == b % mod
@NoException @Cast(value="int64_t") public static long av_rescale_delta(@ByVal AVRational in_tb, @Cast(value="int64_t") long in_ts, @ByVal AVRational fs_tb, int duration, @Cast(value="int64_t*") LongPointer last, @ByVal AVRational out_tb)
last
parameter is a state variable that must be preserved for all
subsequent calls for the same stream. For the first call, *last
should be
initialized to #AV_NOPTS_VALUE.in_tb
- [in] Input time basein_ts
- [in] Input timestampfs_tb
- [in] Duration time base; typically this is finer-grained
(greater) than in_tb
and out_tb
duration
- [in] Duration till the next call to this function (i.e.
duration of the current packet/frame)last
- [in,out] Pointer to a timestamp expressed in terms of
fs_tb
, acting as a state variableout_tb
- [in] Output timebaseout_tb
\note In the context of this function, "duration" is in term of samples, not
seconds.@NoException @Cast(value="int64_t") public static long av_rescale_delta(@ByVal AVRational in_tb, @Cast(value="int64_t") long in_ts, @ByVal AVRational fs_tb, int duration, @Cast(value="int64_t*") LongBuffer last, @ByVal AVRational out_tb)
@NoException @Cast(value="int64_t") public static long av_rescale_delta(@ByVal AVRational in_tb, @Cast(value="int64_t") long in_ts, @ByVal AVRational fs_tb, int duration, @Cast(value="int64_t*") long[] last, @ByVal AVRational out_tb)
@NoException @Cast(value="int64_t") public static long av_add_stable(@ByVal AVRational ts_tb, @Cast(value="int64_t") long ts, @ByVal AVRational inc_tb, @Cast(value="int64_t") long inc)
ts
- [in] Input timestampts_tb
- [in] Input timestamp time baseinc
- [in] Value to be addedinc_tb
- [in] Time base of inc
@NoException @ByVal public static AVRational av_make_q(int num, int den)
av_reduce()
@NoException public static int av_cmp_q(@ByVal AVRational a, @ByVal AVRational b)
a
- First rationalb
- Second rationala == b
- 1 if a > b
- -1 if a < b
- INT_MIN
if one of the values is of the form 0 / 0
@NoException public static double av_q2d(@ByVal AVRational a)
double
.a
- AVRational to converta
in floating-point formav_d2q()
@NoException public static int av_reduce(IntPointer dst_num, IntPointer dst_den, @Cast(value="int64_t") long num, @Cast(value="int64_t") long den, @Cast(value="int64_t") long max)
dst_num
- [out] Destination numeratordst_den
- [out] Destination denominatornum
- [in] Source numeratorden
- [in] Source denominatormax
- [in] Maximum allowed values for dst_num
& dst_den
@NoException public static int av_reduce(IntBuffer dst_num, IntBuffer dst_den, @Cast(value="int64_t") long num, @Cast(value="int64_t") long den, @Cast(value="int64_t") long max)
@NoException public static int av_reduce(int[] dst_num, int[] dst_den, @Cast(value="int64_t") long num, @Cast(value="int64_t") long den, @Cast(value="int64_t") long max)
@NoException @ByVal @Const public static AVRational av_mul_q(@ByVal AVRational b, @ByVal AVRational c)
b
- First rationalc
- Second rational@NoException @ByVal @Const public static AVRational av_div_q(@ByVal AVRational b, @ByVal AVRational c)
b
- First rationalc
- Second rational@NoException @ByVal @Const public static AVRational av_add_q(@ByVal AVRational b, @ByVal AVRational c)
b
- First rationalc
- Second rational@NoException @ByVal @Const public static AVRational av_sub_q(@ByVal AVRational b, @ByVal AVRational c)
b
- First rationalc
- Second rational@NoException @ByVal public static AVRational av_inv_q(@ByVal AVRational q)
q
- value@NoException @ByVal @Const public static AVRational av_d2q(double d, int max)
{1, 0}
or
{-1, 0}
depending on the sign.d
- double
to convertmax
- Maximum allowed numerator and denominatord
in AVRational formav_q2d()
@NoException public static int av_nearer_q(@ByVal AVRational q, @ByVal AVRational q1, @ByVal AVRational q2)
q
- Rational to be compared againstq1,q2
- Rationals to be testedq1
is nearer to q
than q2
- -1 if q2
is nearer to q
than q1
- 0 if they have the same distance@NoException public static int av_find_nearest_q_idx(@ByVal AVRational q, @Const AVRational q_list)
q
- Reference rationalq_list
- Array of rationals terminated by {0, 0}
@NoException @Cast(value="uint32_t") public static int av_q2intfloat(@ByVal AVRational q)
float
expressed in fixed-point
format.q
- Rational to be converted@NoException public static void av_log(Pointer avcl, int level, @Cast(value="const char*") BytePointer fmt)
avcl
- A pointer to an arbitrary struct of which the first field is a
pointer to an AVClass struct or NULL if general log.level
- The importance level of the message expressed using a \ref
lavu_log_constants "Logging Constant".fmt
- The format string (printf-compatible) that specifies how
subsequent arguments are converted to output.av_log_set_callback
@NoException public static void av_log(Pointer avcl, int level, String fmt)
@NoException public static void av_vlog(Pointer avcl, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl)
avcl
- A pointer to an arbitrary struct of which the first field is a
pointer to an AVClass struct.level
- The importance level of the message expressed using a \ref
lavu_log_constants "Logging Constant".fmt
- The format string (printf-compatible) that specifies how
subsequent arguments are converted to output.vl
- The arguments referenced by the format string.av_log_set_callback
@NoException public static void av_vlog(Pointer avcl, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl)
@NoException public static int av_log_get_level()
lavu_log_constants
@NoException public static void av_log_set_level(int level)
level
- Logging levellavu_log_constants
@NoException public static void av_log_set_callback(Callback_Pointer_int_BytePointer_Pointer callback)
@NoException public static void av_log_set_callback(Callback_Pointer_int_String_Pointer callback)
@NoException public static void av_log_default_callback(Pointer avcl, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl)
avcl
- A pointer to an arbitrary struct of which the first field is a
pointer to an AVClass struct.level
- The importance level of the message expressed using a \ref
lavu_log_constants "Logging Constant".fmt
- The format string (printf-compatible) that specifies how
subsequent arguments are converted to output.vl
- The arguments referenced by the format string.@NoException public static void av_log_default_callback(Pointer avcl, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl)
@NoException @Cast(value="const char*") public static BytePointer av_default_item_name(Pointer ctx)
ctx
- The AVClass context@NoException @Cast(value="AVClassCategory") public static int av_default_get_category(Pointer ptr)
@NoException public static void av_log_format_line(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") BytePointer line, int line_size, IntPointer print_prefix)
line
- buffer to receive the formatted lineline_size
- size of the bufferprint_prefix
- used to store whether the prefix must be printed;
must point to a persistent integer initially set to 1@NoException public static void av_log_format_line(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") ByteBuffer line, int line_size, IntBuffer print_prefix)
@NoException public static void av_log_format_line(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") byte[] line, int line_size, int[] print_prefix)
@NoException public static void av_log_format_line(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") BytePointer line, int line_size, IntPointer print_prefix)
@NoException public static void av_log_format_line(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") ByteBuffer line, int line_size, IntBuffer print_prefix)
@NoException public static void av_log_format_line(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") byte[] line, int line_size, int[] print_prefix)
@NoException public static int av_log_format_line2(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") BytePointer line, int line_size, IntPointer print_prefix)
line
- buffer to receive the formatted line;
may be NULL if line_size is 0line_size
- size of the buffer; at most line_size-1 characters will
be written to the buffer, plus one null terminatorprint_prefix
- used to store whether the prefix must be printed;
must point to a persistent integer initially set to 1@NoException public static int av_log_format_line2(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") ByteBuffer line, int line_size, IntBuffer print_prefix)
@NoException public static int av_log_format_line2(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") byte[] line, int line_size, int[] print_prefix)
@NoException public static int av_log_format_line2(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") BytePointer line, int line_size, IntPointer print_prefix)
@NoException public static int av_log_format_line2(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") ByteBuffer line, int line_size, IntBuffer print_prefix)
@NoException public static int av_log_format_line2(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl, @Cast(value="char*") byte[] line, int line_size, int[] print_prefix)
@NoException public static void av_log_set_flags(int arg)
@NoException public static int av_log_get_flags()
@NoException public static AVBufferRef av_buffer_alloc(int size)
@NoException public static AVBufferRef av_buffer_allocz(int size)
@NoException public static AVBufferRef av_buffer_create(@Cast(value="uint8_t*") BytePointer data, int size, Free_Pointer_BytePointer _free, Pointer opaque, int flags)
@NoException public static AVBufferRef av_buffer_create(@Cast(value="uint8_t*") ByteBuffer data, int size, Free_Pointer_ByteBuffer _free, Pointer opaque, int flags)
@NoException public static AVBufferRef av_buffer_create(@Cast(value="uint8_t*") byte[] data, int size, Free_Pointer_byte__ _free, Pointer opaque, int flags)
@NoException public static void av_buffer_default_free(Pointer opaque, @Cast(value="uint8_t*") BytePointer data)
@NoException public static void av_buffer_default_free(Pointer opaque, @Cast(value="uint8_t*") ByteBuffer data)
@NoException public static void av_buffer_default_free(Pointer opaque, @Cast(value="uint8_t*") byte[] data)
@NoException public static AVBufferRef av_buffer_ref(AVBufferRef buf)
@NoException public static void av_buffer_unref(@Cast(value="AVBufferRef**") PointerPointer buf)
buf
- the reference to be freed. The pointer is set to NULL on return.@NoException public static void av_buffer_unref(@ByPtrPtr AVBufferRef buf)
@NoException public static int av_buffer_is_writable(@Const AVBufferRef buf)
@NoException public static Pointer av_buffer_get_opaque(@Const AVBufferRef buf)
@NoException public static int av_buffer_get_ref_count(@Const AVBufferRef buf)
@NoException public static int av_buffer_make_writable(@Cast(value="AVBufferRef**") PointerPointer buf)
buf
- buffer reference to make writable. On success, buf is either left
untouched, or it is unreferenced and a new writable AVBufferRef is
written in its place. On failure, buf is left untouched.@NoException public static int av_buffer_make_writable(@ByPtrPtr AVBufferRef buf)
@NoException public static int av_buffer_realloc(@Cast(value="AVBufferRef**") PointerPointer buf, int size)
buf
- a buffer reference to reallocate. On success, buf will be
unreferenced and a new reference with the required size will be
written in its place. On failure buf will be left untouched. *buf
may be NULL, then a new buffer is allocated.size
- required new buffer size.@NoException public static int av_buffer_realloc(@ByPtrPtr AVBufferRef buf, int size)
@NoException public static AVBufferPool av_buffer_pool_init(int size, Alloc_int alloc)
@NoException public static AVBufferPool av_buffer_pool_init2(int size, Pointer opaque, Alloc_Pointer_int alloc, Pool_free_Pointer pool_free)
@NoException public static void av_buffer_pool_uninit(@Cast(value="AVBufferPool**") PointerPointer pool)
pool
- pointer to the pool to be freed. It will be set to NULL.@NoException public static void av_buffer_pool_uninit(@ByPtrPtr AVBufferPool pool)
@NoException public static AVBufferRef av_buffer_pool_get(AVBufferPool pool)
@MemberGetter public static int AV_PIX_FMT_RGB32()
@MemberGetter public static int AV_PIX_FMT_RGB32_1()
@MemberGetter public static int AV_PIX_FMT_BGR32()
@MemberGetter public static int AV_PIX_FMT_BGR32_1()
@MemberGetter public static int AV_PIX_FMT_0RGB32()
@MemberGetter public static int AV_PIX_FMT_0BGR32()
@MemberGetter public static int AV_PIX_FMT_GRAY9()
@MemberGetter public static int AV_PIX_FMT_GRAY10()
@MemberGetter public static int AV_PIX_FMT_GRAY12()
@MemberGetter public static int AV_PIX_FMT_GRAY14()
@MemberGetter public static int AV_PIX_FMT_GRAY16()
@MemberGetter public static int AV_PIX_FMT_YA16()
@MemberGetter public static int AV_PIX_FMT_RGB48()
@MemberGetter public static int AV_PIX_FMT_RGB565()
@MemberGetter public static int AV_PIX_FMT_RGB555()
@MemberGetter public static int AV_PIX_FMT_RGB444()
@MemberGetter public static int AV_PIX_FMT_RGBA64()
@MemberGetter public static int AV_PIX_FMT_BGR48()
@MemberGetter public static int AV_PIX_FMT_BGR565()
@MemberGetter public static int AV_PIX_FMT_BGR555()
@MemberGetter public static int AV_PIX_FMT_BGR444()
@MemberGetter public static int AV_PIX_FMT_BGRA64()
@MemberGetter public static int AV_PIX_FMT_YUV420P9()
@MemberGetter public static int AV_PIX_FMT_YUV422P9()
@MemberGetter public static int AV_PIX_FMT_YUV444P9()
@MemberGetter public static int AV_PIX_FMT_YUV420P10()
@MemberGetter public static int AV_PIX_FMT_YUV422P10()
@MemberGetter public static int AV_PIX_FMT_YUV440P10()
@MemberGetter public static int AV_PIX_FMT_YUV444P10()
@MemberGetter public static int AV_PIX_FMT_YUV420P12()
@MemberGetter public static int AV_PIX_FMT_YUV422P12()
@MemberGetter public static int AV_PIX_FMT_YUV440P12()
@MemberGetter public static int AV_PIX_FMT_YUV444P12()
@MemberGetter public static int AV_PIX_FMT_YUV420P14()
@MemberGetter public static int AV_PIX_FMT_YUV422P14()
@MemberGetter public static int AV_PIX_FMT_YUV444P14()
@MemberGetter public static int AV_PIX_FMT_YUV420P16()
@MemberGetter public static int AV_PIX_FMT_YUV422P16()
@MemberGetter public static int AV_PIX_FMT_YUV444P16()
@MemberGetter public static int AV_PIX_FMT_GBRP9()
@MemberGetter public static int AV_PIX_FMT_GBRP10()
@MemberGetter public static int AV_PIX_FMT_GBRP12()
@MemberGetter public static int AV_PIX_FMT_GBRP14()
@MemberGetter public static int AV_PIX_FMT_GBRP16()
@MemberGetter public static int AV_PIX_FMT_GBRAP10()
@MemberGetter public static int AV_PIX_FMT_GBRAP12()
@MemberGetter public static int AV_PIX_FMT_GBRAP16()
@MemberGetter public static int AV_PIX_FMT_BAYER_BGGR16()
@MemberGetter public static int AV_PIX_FMT_BAYER_RGGB16()
@MemberGetter public static int AV_PIX_FMT_BAYER_GBRG16()
@MemberGetter public static int AV_PIX_FMT_BAYER_GRBG16()
@MemberGetter public static int AV_PIX_FMT_GBRPF32()
@MemberGetter public static int AV_PIX_FMT_GBRAPF32()
@MemberGetter public static int AV_PIX_FMT_GRAYF32()
@MemberGetter public static int AV_PIX_FMT_YUVA420P9()
@MemberGetter public static int AV_PIX_FMT_YUVA422P9()
@MemberGetter public static int AV_PIX_FMT_YUVA444P9()
@MemberGetter public static int AV_PIX_FMT_YUVA420P10()
@MemberGetter public static int AV_PIX_FMT_YUVA422P10()
@MemberGetter public static int AV_PIX_FMT_YUVA444P10()
@MemberGetter public static int AV_PIX_FMT_YUVA422P12()
@MemberGetter public static int AV_PIX_FMT_YUVA444P12()
@MemberGetter public static int AV_PIX_FMT_YUVA420P16()
@MemberGetter public static int AV_PIX_FMT_YUVA422P16()
@MemberGetter public static int AV_PIX_FMT_YUVA444P16()
@MemberGetter public static int AV_PIX_FMT_XYZ12()
@MemberGetter public static int AV_PIX_FMT_NV20()
@MemberGetter public static int AV_PIX_FMT_AYUV64()
@MemberGetter public static int AV_PIX_FMT_P010()
@MemberGetter public static int AV_PIX_FMT_P016()
@NoException @Cast(value="int64_t") @Deprecated public static long av_frame_get_best_effort_timestamp(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_best_effort_timestamp(AVFrame frame, @Cast(value="int64_t") long val)
@NoException @Cast(value="int64_t") @Deprecated public static long av_frame_get_pkt_duration(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_pkt_duration(AVFrame frame, @Cast(value="int64_t") long val)
@NoException @Cast(value="int64_t") @Deprecated public static long av_frame_get_pkt_pos(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_pkt_pos(AVFrame frame, @Cast(value="int64_t") long val)
@NoException @Cast(value="int64_t") @Deprecated public static long av_frame_get_channel_layout(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_channel_layout(AVFrame frame, @Cast(value="int64_t") long val)
@NoException @Deprecated public static int av_frame_get_channels(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_channels(AVFrame frame, int val)
@NoException @Deprecated public static int av_frame_get_sample_rate(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_sample_rate(AVFrame frame, int val)
@NoException @Deprecated public static AVDictionary av_frame_get_metadata(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_metadata(AVFrame frame, AVDictionary val)
@NoException @Deprecated public static int av_frame_get_decode_error_flags(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_decode_error_flags(AVFrame frame, int val)
@NoException @Deprecated public static int av_frame_get_pkt_size(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_pkt_size(AVFrame frame, int val)
@NoException @Deprecated public static BytePointer av_frame_get_qp_table(AVFrame f, IntPointer stride, IntPointer type)
@NoException @Deprecated public static ByteBuffer av_frame_get_qp_table(AVFrame f, IntBuffer stride, IntBuffer type)
@NoException @Deprecated public static byte[] av_frame_get_qp_table(AVFrame f, int[] stride, int[] type)
@NoException @Deprecated public static int av_frame_set_qp_table(AVFrame f, AVBufferRef buf, int stride, int type)
@NoException @Cast(value="AVColorSpace") @Deprecated public static int av_frame_get_colorspace(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_colorspace(AVFrame frame, @Cast(value="AVColorSpace") int val)
@NoException @Cast(value="AVColorRange") @Deprecated public static int av_frame_get_color_range(@Const AVFrame frame)
@NoException @Deprecated public static void av_frame_set_color_range(AVFrame frame, @Cast(value="AVColorRange") int val)
@NoException @Cast(value="const char*") public static BytePointer av_get_colorspace_name(@Cast(value="AVColorSpace") int val)
@NoException public static AVFrame av_frame_alloc()
@NoException public static void av_frame_free(@Cast(value="AVFrame**") PointerPointer frame)
frame
- frame to be freed. The pointer will be set to NULL.@NoException public static void av_frame_free(@ByPtrPtr AVFrame frame)
@NoException public static int av_frame_ref(AVFrame dst, @Const AVFrame src)
@NoException public static AVFrame av_frame_clone(@Const AVFrame src)
@NoException public static void av_frame_unref(AVFrame frame)
@NoException public static void av_frame_move_ref(AVFrame dst, AVFrame src)
@NoException public static int av_frame_get_buffer(AVFrame frame, int align)
frame
- frame in which to store the new buffers.align
- Required buffer size alignment. If equal to 0, alignment will be
chosen automatically for the current CPU. It is highly
recommended to pass 0 here unless you know what you are doing.@NoException public static int av_frame_is_writable(AVFrame frame)
av_frame_make_writable(), av_buffer_is_writable()
@NoException public static int av_frame_make_writable(AVFrame frame)
av_frame_is_writable(), av_buffer_is_writable(),
av_buffer_make_writable()
@NoException public static int av_frame_copy(AVFrame dst, @Const AVFrame src)
@NoException public static int av_frame_copy_props(AVFrame dst, @Const AVFrame src)
@NoException public static AVBufferRef av_frame_get_plane_buffer(AVFrame frame, int plane)
plane
- index of the data plane of interest in frame->extended_data.@NoException public static AVFrameSideData av_frame_new_side_data(AVFrame frame, @Cast(value="AVFrameSideDataType") int type, int size)
frame
- a frame to which the side data should be addedtype
- type of the added side datasize
- size of the side data@NoException public static AVFrameSideData av_frame_new_side_data_from_buf(AVFrame frame, @Cast(value="AVFrameSideDataType") int type, AVBufferRef buf)
frame
- a frame to which the side data should be addedtype
- the type of the added side databuf
- an AVBufferRef to add as side data. The ownership of
the reference is transferred to the frame.@NoException public static AVFrameSideData av_frame_get_side_data(@Const AVFrame frame, @Cast(value="AVFrameSideDataType") int type)
@NoException public static void av_frame_remove_side_data(AVFrame frame, @Cast(value="AVFrameSideDataType") int type)
@NoException public static int av_frame_apply_cropping(AVFrame frame, int flags)
frame
- the frame which should be croppedflags
- Some combination of AV_FRAME_CROP_* flags, or 0.@NoException @Cast(value="const char*") public static BytePointer av_frame_side_data_name(@Cast(value="AVFrameSideDataType") int type)
@NoException @Cast(value="const char*") public static BytePointer av_get_sample_fmt_name(@Cast(value="AVSampleFormat") int sample_fmt)
@NoException @Cast(value="AVSampleFormat") public static int av_get_sample_fmt(@Cast(value="const char*") BytePointer name)
@NoException @Cast(value="AVSampleFormat") public static int av_get_sample_fmt(String name)
@NoException @Cast(value="AVSampleFormat") public static int av_get_alt_sample_fmt(@Cast(value="AVSampleFormat") int sample_fmt, int planar)
@NoException @Cast(value="AVSampleFormat") public static int av_get_packed_sample_fmt(@Cast(value="AVSampleFormat") int sample_fmt)
@NoException @Cast(value="AVSampleFormat") public static int av_get_planar_sample_fmt(@Cast(value="AVSampleFormat") int sample_fmt)
@NoException @Cast(value="char*") public static BytePointer av_get_sample_fmt_string(@Cast(value="char*") BytePointer buf, int buf_size, @Cast(value="AVSampleFormat") int sample_fmt)
buf
- the buffer where to write the stringbuf_size
- the size of bufsample_fmt
- the number of the sample format to print the
corresponding info string, or a negative value to print the
corresponding header.@NoException @Cast(value="char*") public static ByteBuffer av_get_sample_fmt_string(@Cast(value="char*") ByteBuffer buf, int buf_size, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException @Cast(value="char*") public static byte[] av_get_sample_fmt_string(@Cast(value="char*") byte[] buf, int buf_size, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException public static int av_get_bytes_per_sample(@Cast(value="AVSampleFormat") int sample_fmt)
sample_fmt
- the sample format@NoException public static int av_sample_fmt_is_planar(@Cast(value="AVSampleFormat") int sample_fmt)
sample_fmt
- the sample format to inspect@NoException public static int av_samples_get_buffer_size(IntPointer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
linesize
- [out] calculated linesize, may be NULLnb_channels
- the number of channelsnb_samples
- the number of samples in a single channelsample_fmt
- the sample formatalign
- buffer size alignment (0 = default, 1 = no alignment)@NoException public static int av_samples_get_buffer_size(IntBuffer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_get_buffer_size(int[] linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_fill_arrays(@Cast(value="uint8_t**") PointerPointer audio_data, IntPointer linesize, @Cast(value="const uint8_t*") BytePointer buf, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
audio_data
- [out] array to be filled with the pointer for each channellinesize
- [out] calculated linesize, may be NULLbuf
- the pointer to a buffer containing the samplesnb_channels
- the number of channelsnb_samples
- the number of samples in a single channelsample_fmt
- the sample formatalign
- buffer size alignment (0 = default, 1 = no alignment)AVSampleFormat
The documentation for AVSampleFormat describes the data layout.
@NoException public static int av_samples_fill_arrays(@Cast(value="uint8_t**") @ByPtrPtr BytePointer audio_data, IntPointer linesize, @Cast(value="const uint8_t*") BytePointer buf, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_fill_arrays(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer audio_data, IntBuffer linesize, @Cast(value="const uint8_t*") ByteBuffer buf, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_fill_arrays(@Cast(value="uint8_t**") @ByPtrPtr byte[] audio_data, int[] linesize, @Cast(value="const uint8_t*") byte[] buf, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_alloc(@Cast(value="uint8_t**") PointerPointer audio_data, IntPointer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
audio_data
- [out] array to be filled with the pointer for each channellinesize
- [out] aligned size for audio buffer(s), may be NULLnb_channels
- number of audio channelsnb_samples
- number of samples per channelalign
- buffer size alignment (0 = default, 1 = no alignment)AVSampleFormat
The documentation for AVSampleFormat describes the data layout.
,
av_samples_fill_arrays()
,
av_samples_alloc_array_and_samples()
@NoException public static int av_samples_alloc(@Cast(value="uint8_t**") @ByPtrPtr BytePointer audio_data, IntPointer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_alloc(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer audio_data, IntBuffer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_alloc(@Cast(value="uint8_t**") @ByPtrPtr byte[] audio_data, int[] linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_alloc_array_and_samples(@Cast(value="uint8_t***") @ByPtrPtr PointerPointer audio_data, IntPointer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
av_samples_alloc()
@NoException public static int av_samples_alloc_array_and_samples(@Cast(value="uint8_t***") @ByPtrPtr PointerPointer audio_data, IntBuffer linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_alloc_array_and_samples(@Cast(value="uint8_t***") @ByPtrPtr PointerPointer audio_data, int[] linesize, int nb_channels, int nb_samples, @Cast(value="AVSampleFormat") int sample_fmt, int align)
@NoException public static int av_samples_copy(@Cast(value="uint8_t**") PointerPointer dst, @Cast(value="uint8_t*const*") PointerPointer src, int dst_offset, int src_offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
dst
- destination array of pointers to data planessrc
- source array of pointers to data planesdst_offset
- offset in samples at which the data will be written to dstsrc_offset
- offset in samples at which the data will be read from srcnb_samples
- number of samples to be copiednb_channels
- number of audio channelssample_fmt
- audio sample format@NoException public static int av_samples_copy(@Cast(value="uint8_t**") @ByPtrPtr BytePointer dst, @Cast(value="uint8_t*const*") @ByPtrPtr BytePointer src, int dst_offset, int src_offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException public static int av_samples_copy(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer dst, @Cast(value="uint8_t*const*") @ByPtrPtr ByteBuffer src, int dst_offset, int src_offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException public static int av_samples_copy(@Cast(value="uint8_t**") @ByPtrPtr byte[] dst, @Cast(value="uint8_t*const*") @ByPtrPtr byte[] src, int dst_offset, int src_offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException public static int av_samples_set_silence(@Cast(value="uint8_t**") PointerPointer audio_data, int offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
audio_data
- array of pointers to data planesoffset
- offset in samples at which to start fillingnb_samples
- number of samples to fillnb_channels
- number of audio channelssample_fmt
- audio sample format@NoException public static int av_samples_set_silence(@Cast(value="uint8_t**") @ByPtrPtr BytePointer audio_data, int offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException public static int av_samples_set_silence(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer audio_data, int offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException public static int av_samples_set_silence(@Cast(value="uint8_t**") @ByPtrPtr byte[] audio_data, int offset, int nb_samples, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt)
@NoException @Cast(value="uint64_t") public static long av_get_channel_layout(@Cast(value="const char*") BytePointer name)
@NoException @Cast(value="uint64_t") public static long av_get_channel_layout(String name)
@NoException public static int av_get_extended_channel_layout(@Cast(value="const char*") BytePointer name, @Cast(value="uint64_t*") LongPointer channel_layout, IntPointer nb_channels)
name
- [in] channel layout specification stringchannel_layout
- [out] parsed channel layout (0 if unknown)nb_channels
- [out] number of channels@NoException public static int av_get_extended_channel_layout(String name, @Cast(value="uint64_t*") LongBuffer channel_layout, IntBuffer nb_channels)
@NoException public static int av_get_extended_channel_layout(@Cast(value="const char*") BytePointer name, @Cast(value="uint64_t*") long[] channel_layout, int[] nb_channels)
@NoException public static int av_get_extended_channel_layout(String name, @Cast(value="uint64_t*") LongPointer channel_layout, IntPointer nb_channels)
@NoException public static int av_get_extended_channel_layout(@Cast(value="const char*") BytePointer name, @Cast(value="uint64_t*") LongBuffer channel_layout, IntBuffer nb_channels)
@NoException public static int av_get_extended_channel_layout(String name, @Cast(value="uint64_t*") long[] channel_layout, int[] nb_channels)
@NoException public static void av_get_channel_layout_string(@Cast(value="char*") BytePointer buf, int buf_size, int nb_channels, @Cast(value="uint64_t") long channel_layout)
buf
- put here the string containing the channel layoutbuf_size
- size in bytes of the buffer@NoException public static void av_get_channel_layout_string(@Cast(value="char*") ByteBuffer buf, int buf_size, int nb_channels, @Cast(value="uint64_t") long channel_layout)
@NoException public static void av_get_channel_layout_string(@Cast(value="char*") byte[] buf, int buf_size, int nb_channels, @Cast(value="uint64_t") long channel_layout)
@NoException public static void av_bprint_channel_layout(AVBPrint bp, int nb_channels, @Cast(value="uint64_t") long channel_layout)
@NoException public static int av_get_channel_layout_nb_channels(@Cast(value="uint64_t") long channel_layout)
@NoException @Cast(value="int64_t") public static long av_get_default_channel_layout(int nb_channels)
@NoException public static int av_get_channel_layout_channel_index(@Cast(value="uint64_t") long channel_layout, @Cast(value="uint64_t") long channel)
channel
- a channel layout describing exactly one channel which must be
present in channel_layout.@NoException @Cast(value="uint64_t") public static long av_channel_layout_extract_channel(@Cast(value="uint64_t") long channel_layout, int index)
@NoException @Cast(value="const char*") public static BytePointer av_get_channel_name(@Cast(value="uint64_t") long channel)
@NoException @Cast(value="const char*") public static BytePointer av_get_channel_description(@Cast(value="uint64_t") long channel)
channel
- a channel layout with a single channel@NoException public static int av_get_standard_channel_layout(@Cast(value="unsigned") int index, @Cast(value="uint64_t*") LongPointer layout, @Cast(value="const char**") PointerPointer name)
index
- [in] index in an internal list, starting at 0layout
- [out] channel layout maskname
- [out] name of the layout@NoException public static int av_get_standard_channel_layout(@Cast(value="unsigned") int index, @Cast(value="uint64_t*") LongPointer layout, @Cast(value="const char**") @ByPtrPtr BytePointer name)
@NoException public static int av_get_standard_channel_layout(@Cast(value="unsigned") int index, @Cast(value="uint64_t*") LongBuffer layout, @Cast(value="const char**") @ByPtrPtr ByteBuffer name)
@NoException public static int av_get_standard_channel_layout(@Cast(value="unsigned") int index, @Cast(value="uint64_t*") long[] layout, @Cast(value="const char**") @ByPtrPtr byte[] name)
@NoException public static int av_get_cpu_flags()
@NoException public static void av_force_cpu_flags(int flags)
@NoException @Deprecated public static void av_set_cpu_flags_mask(int mask)
@NoException @Deprecated public static int av_parse_cpu_flags(@Cast(value="const char*") BytePointer s)
@NoException @Deprecated public static int av_parse_cpu_flags(String s)
@NoException public static int av_parse_cpu_caps(@Cast(value="unsigned*") IntPointer flags, @Cast(value="const char*") BytePointer s)
@NoException public static int av_parse_cpu_caps(@Cast(value="unsigned*") IntBuffer flags, String s)
@NoException public static int av_parse_cpu_caps(@Cast(value="unsigned*") int[] flags, @Cast(value="const char*") BytePointer s)
@NoException public static int av_parse_cpu_caps(@Cast(value="unsigned*") IntPointer flags, String s)
@NoException public static int av_parse_cpu_caps(@Cast(value="unsigned*") IntBuffer flags, @Cast(value="const char*") BytePointer s)
@NoException public static int av_parse_cpu_caps(@Cast(value="unsigned*") int[] flags, String s)
@NoException public static int av_cpu_count()
@NoException @Cast(value="size_t") public static long av_cpu_max_align()
@NoException public static AVDictionaryEntry av_dict_get(@Const AVDictionary m, @Cast(value="const char*") BytePointer key, @Const AVDictionaryEntry prev, int flags)
prev
- Set to the previous matching element to find the next.
If set to NULL the first matching element is returned.key
- matching keyflags
- a collection of AV_DICT_* flags controlling how the entry is retrieved@NoException public static AVDictionaryEntry av_dict_get(@Const AVDictionary m, String key, @Const AVDictionaryEntry prev, int flags)
@NoException public static int av_dict_count(@Const AVDictionary m)
m
- dictionary@NoException public static int av_dict_set(@Cast(value="AVDictionary**") PointerPointer pm, @Cast(value="const char*") BytePointer key, @Cast(value="const char*") BytePointer value, int flags)
pm
- pointer to a pointer to a dictionary struct. If *pm is NULL
a dictionary struct is allocated and put in *pm.key
- entry key to add to *pm (will either be av_strduped or added as a new key depending on flags)value
- entry value to add to *pm (will be av_strduped or added as a new key depending on flags).
Passing a NULL value will cause an existing entry to be deleted.@NoException public static int av_dict_set(@ByPtrPtr AVDictionary pm, @Cast(value="const char*") BytePointer key, @Cast(value="const char*") BytePointer value, int flags)
@NoException public static int av_dict_set(@ByPtrPtr AVDictionary pm, String key, String value, int flags)
@NoException public static int av_dict_set_int(@Cast(value="AVDictionary**") PointerPointer pm, @Cast(value="const char*") BytePointer key, @Cast(value="int64_t") long value, int flags)
@NoException public static int av_dict_set_int(@ByPtrPtr AVDictionary pm, @Cast(value="const char*") BytePointer key, @Cast(value="int64_t") long value, int flags)
@NoException public static int av_dict_set_int(@ByPtrPtr AVDictionary pm, String key, @Cast(value="int64_t") long value, int flags)
@NoException public static int av_dict_parse_string(@Cast(value="AVDictionary**") PointerPointer pm, @Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep, int flags)
key_val_sep
- a 0-terminated list of characters used to separate
key from valuepairs_sep
- a 0-terminated list of characters used to separate
two pairs from each otherflags
- flags to use when adding to dictionary.
AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL
are ignored since the key/value tokens will always
be duplicated.@NoException public static int av_dict_parse_string(@ByPtrPtr AVDictionary pm, @Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep, int flags)
@NoException public static int av_dict_parse_string(@ByPtrPtr AVDictionary pm, String str, String key_val_sep, String pairs_sep, int flags)
@NoException public static int av_dict_copy(@Cast(value="AVDictionary**") PointerPointer dst, @Const AVDictionary src, int flags)
dst
- pointer to a pointer to a AVDictionary struct. If *dst is NULL,
this function will allocate a struct for you and put it in *dstsrc
- pointer to source AVDictionary structflags
- flags to use when setting entries in *dst
\note metadata is read using the AV_DICT_IGNORE_SUFFIX flag@NoException public static int av_dict_copy(@ByPtrPtr AVDictionary dst, @Const AVDictionary src, int flags)
@NoException public static void av_dict_free(@Cast(value="AVDictionary**") PointerPointer m)
@NoException public static void av_dict_free(@ByPtrPtr AVDictionary m)
@NoException public static int av_dict_get_string(@Const AVDictionary m, @Cast(value="char**") PointerPointer buffer, byte key_val_sep, byte pairs_sep)
m
- [in] dictionarybuffer
- [out] Pointer to buffer that will be allocated with string containg entries.
Buffer must be freed by the caller when is no longer needed.key_val_sep
- [in] character used to separate key from valuepairs_sep
- [in] character used to separate two pairs from each other@NoException public static int av_dict_get_string(@Const AVDictionary m, @Cast(value="char**") @ByPtrPtr BytePointer buffer, byte key_val_sep, byte pairs_sep)
@NoException public static int av_dict_get_string(@Const AVDictionary m, @Cast(value="char**") @ByPtrPtr ByteBuffer buffer, byte key_val_sep, byte pairs_sep)
@NoException public static int av_dict_get_string(@Const AVDictionary m, @Cast(value="char**") @ByPtrPtr byte[] buffer, byte key_val_sep, byte pairs_sep)
@NoException public static int av_opt_show2(Pointer obj, Pointer av_log_obj, int req_flags, int rej_flags)
req_flags
- requested flags for the options to show. Show only the
options for which it is opt->flags & req_flags.rej_flags
- rejected flags for the options to show. Show only the
options for which it is !(opt->flags & req_flags).av_log_obj
- log context to use for showing the options@NoException public static void av_opt_set_defaults(Pointer s)
s
- an AVOption-enabled struct (its first member must be a pointer to AVClass)@NoException public static void av_opt_set_defaults2(Pointer s, int mask, int flags)
s
- an AVOption-enabled struct (its first member must be a pointer to AVClass)mask
- combination of AV_OPT_FLAG_*flags
- combination of AV_OPT_FLAG_*@NoException public static int av_set_options_string(Pointer ctx, @Cast(value="const char*") BytePointer opts, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep)
opts
- options string to parse, may be NULLkey_val_sep
- a 0-terminated list of characters used to
separate key from valuepairs_sep
- a 0-terminated list of characters used to separate
two pairs from each other@NoException public static int av_set_options_string(Pointer ctx, String opts, String key_val_sep, String pairs_sep)
@NoException public static int av_opt_set_from_string(Pointer ctx, @Cast(value="const char*") BytePointer opts, @Cast(value="const char*const*") PointerPointer shorthand, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep)
ctx
- the AVClass object to set options onopts
- the options string, key-value pairs separated by a
delimitershorthand
- a NULL-terminated array of options names for shorthand
notation: if the first field in opts has no key part,
the key is taken from the first element of shorthand;
then again for the second, etc., until either opts is
finished, shorthand is finished or a named option is
found; after that, all options must be namedkey_val_sep
- a 0-terminated list of characters used to separate
key from value, for example '='pairs_sep
- a 0-terminated list of characters used to separate
two pairs from each other, for example ':' or ','@NoException public static int av_opt_set_from_string(Pointer ctx, @Cast(value="const char*") BytePointer opts, @Cast(value="const char*const*") @ByPtrPtr BytePointer shorthand, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep)
@NoException public static int av_opt_set_from_string(Pointer ctx, String opts, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer shorthand, String key_val_sep, String pairs_sep)
@NoException public static int av_opt_set_from_string(Pointer ctx, @Cast(value="const char*") BytePointer opts, @Cast(value="const char*const*") @ByPtrPtr byte[] shorthand, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep)
@NoException public static int av_opt_set_from_string(Pointer ctx, String opts, @Cast(value="const char*const*") @ByPtrPtr BytePointer shorthand, String key_val_sep, String pairs_sep)
@NoException public static int av_opt_set_from_string(Pointer ctx, @Cast(value="const char*") BytePointer opts, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer shorthand, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep)
@NoException public static int av_opt_set_from_string(Pointer ctx, String opts, @Cast(value="const char*const*") @ByPtrPtr byte[] shorthand, String key_val_sep, String pairs_sep)
@NoException public static void av_opt_free(Pointer obj)
@NoException public static int av_opt_flag_is_set(Pointer obj, @Cast(value="const char*") BytePointer field_name, @Cast(value="const char*") BytePointer flag_name)
field_name
- the name of the flag field optionflag_name
- the name of the flag to check@NoException public static int av_opt_flag_is_set(Pointer obj, String field_name, String flag_name)
@NoException public static int av_opt_set_dict(Pointer obj, @Cast(value="AVDictionary**") PointerPointer options)
obj
- a struct whose first element is a pointer to AVClassoptions
- options to process. This dictionary will be freed and replaced
by a new one containing all options not found in obj.
Of course this new dictionary needs to be freed by caller
with av_dict_free().av_dict_copy()
@NoException public static int av_opt_set_dict(Pointer obj, @ByPtrPtr AVDictionary options)
@NoException public static int av_opt_set_dict2(Pointer obj, @Cast(value="AVDictionary**") PointerPointer options, int search_flags)
obj
- a struct whose first element is a pointer to AVClassoptions
- options to process. This dictionary will be freed and replaced
by a new one containing all options not found in obj.
Of course this new dictionary needs to be freed by caller
with av_dict_free().search_flags
- A combination of AV_OPT_SEARCH_*.av_dict_copy()
@NoException public static int av_opt_set_dict2(Pointer obj, @ByPtrPtr AVDictionary options, int search_flags)
@NoException public static int av_opt_get_key_value(@Cast(value="const char**") PointerPointer ropts, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") PointerPointer rkey, @Cast(value="char**") PointerPointer rval)
ropts
- pointer to the options string, will be updated to
point to the rest of the string (one of the pairs_sep
or the final NUL)key_val_sep
- a 0-terminated list of characters used to separate
key from value, for example '='pairs_sep
- a 0-terminated list of characters used to separate
two pairs from each other, for example ':' or ','flags
- flags; see the AV_OPT_FLAG_* values belowrkey
- parsed key; must be freed using av_free()rval
- parsed value; must be freed using av_free()@NoException public static int av_opt_get_key_value(@Cast(value="const char**") @ByPtrPtr BytePointer ropts, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") @ByPtrPtr BytePointer rkey, @Cast(value="char**") @ByPtrPtr BytePointer rval)
@NoException public static int av_opt_get_key_value(@Cast(value="const char**") @ByPtrPtr ByteBuffer ropts, String key_val_sep, String pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") @ByPtrPtr ByteBuffer rkey, @Cast(value="char**") @ByPtrPtr ByteBuffer rval)
@NoException public static int av_opt_get_key_value(@Cast(value="const char**") @ByPtrPtr byte[] ropts, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") @ByPtrPtr byte[] rkey, @Cast(value="char**") @ByPtrPtr byte[] rval)
@NoException public static int av_opt_get_key_value(@Cast(value="const char**") @ByPtrPtr BytePointer ropts, String key_val_sep, String pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") @ByPtrPtr BytePointer rkey, @Cast(value="char**") @ByPtrPtr BytePointer rval)
@NoException public static int av_opt_get_key_value(@Cast(value="const char**") @ByPtrPtr ByteBuffer ropts, @Cast(value="const char*") BytePointer key_val_sep, @Cast(value="const char*") BytePointer pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") @ByPtrPtr ByteBuffer rkey, @Cast(value="char**") @ByPtrPtr ByteBuffer rval)
@NoException public static int av_opt_get_key_value(@Cast(value="const char**") @ByPtrPtr byte[] ropts, String key_val_sep, String pairs_sep, @Cast(value="unsigned") int flags, @Cast(value="char**") @ByPtrPtr byte[] rkey, @Cast(value="char**") @ByPtrPtr byte[] rval)
@NoException public static int av_opt_eval_flags(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, IntPointer flags_out)
obj
- a struct whose first element is a pointer to AVClass.o
- an option for which the string is to be evaluated.val
- string to be evaluated.*_out
- value of the string will be written here.@NoException public static int av_opt_eval_flags(Pointer obj, @Const AVOption o, String val, IntBuffer flags_out)
@NoException public static int av_opt_eval_flags(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, int[] flags_out)
@NoException public static int av_opt_eval_flags(Pointer obj, @Const AVOption o, String val, IntPointer flags_out)
@NoException public static int av_opt_eval_flags(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, IntBuffer flags_out)
@NoException public static int av_opt_eval_flags(Pointer obj, @Const AVOption o, String val, int[] flags_out)
@NoException public static int av_opt_eval_int(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, IntPointer int_out)
@NoException public static int av_opt_eval_int(Pointer obj, @Const AVOption o, String val, IntBuffer int_out)
@NoException public static int av_opt_eval_int(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, int[] int_out)
@NoException public static int av_opt_eval_int(Pointer obj, @Const AVOption o, String val, IntPointer int_out)
@NoException public static int av_opt_eval_int(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, IntBuffer int_out)
@NoException public static int av_opt_eval_int(Pointer obj, @Const AVOption o, String val, int[] int_out)
@NoException public static int av_opt_eval_int64(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, @Cast(value="int64_t*") LongPointer int64_out)
@NoException public static int av_opt_eval_int64(Pointer obj, @Const AVOption o, String val, @Cast(value="int64_t*") LongBuffer int64_out)
@NoException public static int av_opt_eval_int64(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, @Cast(value="int64_t*") long[] int64_out)
@NoException public static int av_opt_eval_int64(Pointer obj, @Const AVOption o, String val, @Cast(value="int64_t*") LongPointer int64_out)
@NoException public static int av_opt_eval_int64(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, @Cast(value="int64_t*") LongBuffer int64_out)
@NoException public static int av_opt_eval_int64(Pointer obj, @Const AVOption o, String val, @Cast(value="int64_t*") long[] int64_out)
@NoException public static int av_opt_eval_float(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, FloatPointer float_out)
@NoException public static int av_opt_eval_float(Pointer obj, @Const AVOption o, String val, FloatBuffer float_out)
@NoException public static int av_opt_eval_float(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, float[] float_out)
@NoException public static int av_opt_eval_float(Pointer obj, @Const AVOption o, String val, FloatPointer float_out)
@NoException public static int av_opt_eval_float(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, FloatBuffer float_out)
@NoException public static int av_opt_eval_float(Pointer obj, @Const AVOption o, String val, float[] float_out)
@NoException public static int av_opt_eval_double(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, DoublePointer double_out)
@NoException public static int av_opt_eval_double(Pointer obj, @Const AVOption o, String val, DoubleBuffer double_out)
@NoException public static int av_opt_eval_double(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, double[] double_out)
@NoException public static int av_opt_eval_double(Pointer obj, @Const AVOption o, String val, DoublePointer double_out)
@NoException public static int av_opt_eval_double(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, DoubleBuffer double_out)
@NoException public static int av_opt_eval_double(Pointer obj, @Const AVOption o, String val, double[] double_out)
@NoException public static int av_opt_eval_q(Pointer obj, @Const AVOption o, @Cast(value="const char*") BytePointer val, AVRational q_out)
@NoException public static int av_opt_eval_q(Pointer obj, @Const AVOption o, String val, AVRational q_out)
@NoException @Const public static AVOption av_opt_find(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer unit, int opt_flags, int search_flags)
obj
- [in] A pointer to a struct whose first element is a
pointer to an AVClass.
Alternatively a double pointer to an AVClass, if
AV_OPT_SEARCH_FAKE_OBJ search flag is set.name
- [in] The name of the option to look for.unit
- [in] When searching for named constants, name of the unit
it belongs to.opt_flags
- Find only options with all the specified flags set (AV_OPT_FLAG).search_flags
- A combination of AV_OPT_SEARCH_*.@NoException @Const public static AVOption av_opt_find(Pointer obj, String name, String unit, int opt_flags, int search_flags)
@NoException @Const public static AVOption av_opt_find2(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer unit, int opt_flags, int search_flags, @Cast(value="void**") PointerPointer target_obj)
obj
- [in] A pointer to a struct whose first element is a
pointer to an AVClass.
Alternatively a double pointer to an AVClass, if
AV_OPT_SEARCH_FAKE_OBJ search flag is set.name
- [in] The name of the option to look for.unit
- [in] When searching for named constants, name of the unit
it belongs to.opt_flags
- Find only options with all the specified flags set (AV_OPT_FLAG).search_flags
- A combination of AV_OPT_SEARCH_*.target_obj
- [out] if non-NULL, an object to which the option belongs will be
written here. It may be different from obj if AV_OPT_SEARCH_CHILDREN is present
in search_flags. This parameter is ignored if search_flags contain
AV_OPT_SEARCH_FAKE_OBJ.@NoException @Const public static AVOption av_opt_find2(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer unit, int opt_flags, int search_flags, @Cast(value="void**") @ByPtrPtr Pointer target_obj)
@NoException @Const public static AVOption av_opt_find2(Pointer obj, String name, String unit, int opt_flags, int search_flags, @Cast(value="void**") @ByPtrPtr Pointer target_obj)
@NoException @Const public static AVOption av_opt_next(@Const Pointer obj, @Const AVOption prev)
obj
- an AVOptions-enabled struct or a double pointer to an
AVClass describing it.prev
- result of the previous call to av_opt_next() on this object
or NULL@NoException public static Pointer av_opt_child_next(Pointer obj, Pointer prev)
prev
- result of a previous call to this function or NULL@NoException @Const public static AVClass av_opt_child_class_next(@Const AVClass parent, @Const AVClass prev)
prev
- result of a previous call to this function or NULL@NoException public static int av_opt_set(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer val, int search_flags)
obj
- [in] A struct whose first element is a pointer to an AVClass.name
- [in] the name of the field to setval
- [in] The value to set. In case of av_opt_set() if the field is not
of a string type, then the given string is parsed.
SI postfixes and some named scalars are supported.
If the field is of a numeric type, it has to be a numeric or named
scalar. Behavior with more than one scalar and +- infix operators
is undefined.
If the field is of a flags type, it has to be a sequence of numeric
scalars or named flags separated by '+' or '-'. Prefixing a flag
with '+' causes it to be set without affecting the other flags;
similarly, '-' unsets a flag.search_flags
- flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN
is passed here, then the option may be set on a child of obj.@NoException public static int av_opt_set(Pointer obj, String name, String val, int search_flags)
@NoException public static int av_opt_set_int(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="int64_t") long val, int search_flags)
@NoException public static int av_opt_set_int(Pointer obj, String name, @Cast(value="int64_t") long val, int search_flags)
@NoException public static int av_opt_set_double(Pointer obj, @Cast(value="const char*") BytePointer name, double val, int search_flags)
@NoException public static int av_opt_set_double(Pointer obj, String name, double val, int search_flags)
@NoException public static int av_opt_set_q(Pointer obj, @Cast(value="const char*") BytePointer name, @ByVal AVRational val, int search_flags)
@NoException public static int av_opt_set_q(Pointer obj, String name, @ByVal AVRational val, int search_flags)
@NoException public static int av_opt_set_bin(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const uint8_t*") BytePointer val, int size, int search_flags)
@NoException public static int av_opt_set_bin(Pointer obj, String name, @Cast(value="const uint8_t*") ByteBuffer val, int size, int search_flags)
@NoException public static int av_opt_set_bin(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const uint8_t*") byte[] val, int size, int search_flags)
@NoException public static int av_opt_set_bin(Pointer obj, String name, @Cast(value="const uint8_t*") BytePointer val, int size, int search_flags)
@NoException public static int av_opt_set_bin(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="const uint8_t*") ByteBuffer val, int size, int search_flags)
@NoException public static int av_opt_set_bin(Pointer obj, String name, @Cast(value="const uint8_t*") byte[] val, int size, int search_flags)
@NoException public static int av_opt_set_image_size(Pointer obj, @Cast(value="const char*") BytePointer name, int w, int h, int search_flags)
@NoException public static int av_opt_set_image_size(Pointer obj, String name, int w, int h, int search_flags)
@NoException public static int av_opt_set_pixel_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="AVPixelFormat") int fmt, int search_flags)
@NoException public static int av_opt_set_pixel_fmt(Pointer obj, String name, @Cast(value="AVPixelFormat") int fmt, int search_flags)
@NoException public static int av_opt_set_sample_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="AVSampleFormat") int fmt, int search_flags)
@NoException public static int av_opt_set_sample_fmt(Pointer obj, String name, @Cast(value="AVSampleFormat") int fmt, int search_flags)
@NoException public static int av_opt_set_video_rate(Pointer obj, @Cast(value="const char*") BytePointer name, @ByVal AVRational val, int search_flags)
@NoException public static int av_opt_set_video_rate(Pointer obj, String name, @ByVal AVRational val, int search_flags)
@NoException public static int av_opt_set_channel_layout(Pointer obj, @Cast(value="const char*") BytePointer name, @Cast(value="int64_t") long ch_layout, int search_flags)
@NoException public static int av_opt_set_channel_layout(Pointer obj, String name, @Cast(value="int64_t") long ch_layout, int search_flags)
@NoException public static int av_opt_set_dict_val(Pointer obj, @Cast(value="const char*") BytePointer name, @Const AVDictionary val, int search_flags)
@NoException public static int av_opt_set_dict_val(Pointer obj, String name, @Const AVDictionary val, int search_flags)
@NoException public static int av_opt_get(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="uint8_t**") PointerPointer out_val)
@NoException public static int av_opt_get(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="uint8_t**") @ByPtrPtr BytePointer out_val)
@NoException public static int av_opt_get(Pointer obj, String name, int search_flags, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer out_val)
@NoException public static int av_opt_get(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="uint8_t**") @ByPtrPtr byte[] out_val)
@NoException public static int av_opt_get(Pointer obj, String name, int search_flags, @Cast(value="uint8_t**") @ByPtrPtr BytePointer out_val)
@NoException public static int av_opt_get(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer out_val)
@NoException public static int av_opt_get(Pointer obj, String name, int search_flags, @Cast(value="uint8_t**") @ByPtrPtr byte[] out_val)
@NoException public static int av_opt_get_int(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="int64_t*") LongPointer out_val)
@NoException public static int av_opt_get_int(Pointer obj, String name, int search_flags, @Cast(value="int64_t*") LongBuffer out_val)
@NoException public static int av_opt_get_int(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="int64_t*") long[] out_val)
@NoException public static int av_opt_get_int(Pointer obj, String name, int search_flags, @Cast(value="int64_t*") LongPointer out_val)
@NoException public static int av_opt_get_int(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="int64_t*") LongBuffer out_val)
@NoException public static int av_opt_get_int(Pointer obj, String name, int search_flags, @Cast(value="int64_t*") long[] out_val)
@NoException public static int av_opt_get_double(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, DoublePointer out_val)
@NoException public static int av_opt_get_double(Pointer obj, String name, int search_flags, DoubleBuffer out_val)
@NoException public static int av_opt_get_double(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, double[] out_val)
@NoException public static int av_opt_get_double(Pointer obj, String name, int search_flags, DoublePointer out_val)
@NoException public static int av_opt_get_double(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, DoubleBuffer out_val)
@NoException public static int av_opt_get_double(Pointer obj, String name, int search_flags, double[] out_val)
@NoException public static int av_opt_get_q(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, AVRational out_val)
@NoException public static int av_opt_get_q(Pointer obj, String name, int search_flags, AVRational out_val)
@NoException public static int av_opt_get_image_size(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, IntPointer w_out, IntPointer h_out)
@NoException public static int av_opt_get_image_size(Pointer obj, String name, int search_flags, IntBuffer w_out, IntBuffer h_out)
@NoException public static int av_opt_get_image_size(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, int[] w_out, int[] h_out)
@NoException public static int av_opt_get_image_size(Pointer obj, String name, int search_flags, IntPointer w_out, IntPointer h_out)
@NoException public static int av_opt_get_image_size(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, IntBuffer w_out, IntBuffer h_out)
@NoException public static int av_opt_get_image_size(Pointer obj, String name, int search_flags, int[] w_out, int[] h_out)
@NoException public static int av_opt_get_pixel_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVPixelFormat*") IntPointer out_fmt)
@NoException public static int av_opt_get_pixel_fmt(Pointer obj, String name, int search_flags, @Cast(value="AVPixelFormat*") IntBuffer out_fmt)
@NoException public static int av_opt_get_pixel_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVPixelFormat*") int[] out_fmt)
@NoException public static int av_opt_get_pixel_fmt(Pointer obj, String name, int search_flags, @Cast(value="AVPixelFormat*") IntPointer out_fmt)
@NoException public static int av_opt_get_pixel_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVPixelFormat*") IntBuffer out_fmt)
@NoException public static int av_opt_get_pixel_fmt(Pointer obj, String name, int search_flags, @Cast(value="AVPixelFormat*") int[] out_fmt)
@NoException public static int av_opt_get_sample_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVSampleFormat*") IntPointer out_fmt)
@NoException public static int av_opt_get_sample_fmt(Pointer obj, String name, int search_flags, @Cast(value="AVSampleFormat*") IntBuffer out_fmt)
@NoException public static int av_opt_get_sample_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVSampleFormat*") int[] out_fmt)
@NoException public static int av_opt_get_sample_fmt(Pointer obj, String name, int search_flags, @Cast(value="AVSampleFormat*") IntPointer out_fmt)
@NoException public static int av_opt_get_sample_fmt(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVSampleFormat*") IntBuffer out_fmt)
@NoException public static int av_opt_get_sample_fmt(Pointer obj, String name, int search_flags, @Cast(value="AVSampleFormat*") int[] out_fmt)
@NoException public static int av_opt_get_video_rate(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, AVRational out_val)
@NoException public static int av_opt_get_video_rate(Pointer obj, String name, int search_flags, AVRational out_val)
@NoException public static int av_opt_get_channel_layout(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="int64_t*") LongPointer ch_layout)
@NoException public static int av_opt_get_channel_layout(Pointer obj, String name, int search_flags, @Cast(value="int64_t*") LongBuffer ch_layout)
@NoException public static int av_opt_get_channel_layout(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="int64_t*") long[] ch_layout)
@NoException public static int av_opt_get_channel_layout(Pointer obj, String name, int search_flags, @Cast(value="int64_t*") LongPointer ch_layout)
@NoException public static int av_opt_get_channel_layout(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="int64_t*") LongBuffer ch_layout)
@NoException public static int av_opt_get_channel_layout(Pointer obj, String name, int search_flags, @Cast(value="int64_t*") long[] ch_layout)
@NoException public static int av_opt_get_dict_val(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @Cast(value="AVDictionary**") PointerPointer out_val)
out_val
- [out] The returned dictionary is a copy of the actual value and must
be freed with av_dict_free() by the caller@NoException public static int av_opt_get_dict_val(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags, @ByPtrPtr AVDictionary out_val)
@NoException public static int av_opt_get_dict_val(Pointer obj, String name, int search_flags, @ByPtrPtr AVDictionary out_val)
@NoException public static Pointer av_opt_ptr(@Const AVClass avclass, Pointer obj, @Cast(value="const char*") BytePointer name)
@NoException public static Pointer av_opt_ptr(@Const AVClass avclass, Pointer obj, String name)
@NoException public static void av_opt_freep_ranges(@Cast(value="AVOptionRanges**") PointerPointer ranges)
@NoException public static void av_opt_freep_ranges(@ByPtrPtr AVOptionRanges ranges)
@NoException public static int av_opt_query_ranges(@Cast(value="AVOptionRanges**") PointerPointer arg0, Pointer obj, @Cast(value="const char*") BytePointer key, int flags)
flags
- is a bitmask of flags, undefined flags should not be set and should be ignored
AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance
AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges
The result must be freed with av_opt_freep_ranges.@NoException public static int av_opt_query_ranges(@ByPtrPtr AVOptionRanges arg0, Pointer obj, @Cast(value="const char*") BytePointer key, int flags)
@NoException public static int av_opt_query_ranges(@ByPtrPtr AVOptionRanges arg0, Pointer obj, String key, int flags)
@NoException public static int av_opt_copy(Pointer dest, @Const Pointer src)
dest
- Object to copy fromsrc
- Object to copy into@NoException public static int av_opt_query_ranges_default(@Cast(value="AVOptionRanges**") PointerPointer arg0, Pointer obj, @Cast(value="const char*") BytePointer key, int flags)
flags
- is a bitmask of flags, undefined flags should not be set and should be ignored
AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance
AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges
The result must be freed with av_opt_free_ranges.@NoException public static int av_opt_query_ranges_default(@ByPtrPtr AVOptionRanges arg0, Pointer obj, @Cast(value="const char*") BytePointer key, int flags)
@NoException public static int av_opt_query_ranges_default(@ByPtrPtr AVOptionRanges arg0, Pointer obj, String key, int flags)
@NoException public static int av_opt_is_set_to_default(Pointer obj, @Const AVOption o)
obj
- AVClass object to check option ono
- option to be checkedav_opt_is_set_to_default_by_name().
@NoException public static int av_opt_is_set_to_default_by_name(Pointer obj, @Cast(value="const char*") BytePointer name, int search_flags)
obj
- AVClass object to check option onname
- option namesearch_flags
- combination of AV_OPT_SEARCH_*@NoException public static int av_opt_is_set_to_default_by_name(Pointer obj, String name, int search_flags)
@NoException public static int av_opt_serialize(Pointer obj, int opt_flags, int flags, @Cast(value="char**") PointerPointer buffer, byte key_val_sep, byte pairs_sep)
obj
- [in] AVClass object to serializeopt_flags
- [in] serialize options with all the specified flags set (AV_OPT_FLAG)flags
- [in] combination of AV_OPT_SERIALIZE_* flagsbuffer
- [out] Pointer to buffer that will be allocated with string containg serialized options.
Buffer must be freed by the caller when is no longer needed.key_val_sep
- [in] character used to separate key from valuepairs_sep
- [in] character used to separate two pairs from each other@NoException public static int av_opt_serialize(Pointer obj, int opt_flags, int flags, @Cast(value="char**") @ByPtrPtr BytePointer buffer, byte key_val_sep, byte pairs_sep)
@NoException public static int av_opt_serialize(Pointer obj, int opt_flags, int flags, @Cast(value="char**") @ByPtrPtr ByteBuffer buffer, byte key_val_sep, byte pairs_sep)
@NoException public static int av_opt_serialize(Pointer obj, int opt_flags, int flags, @Cast(value="char**") @ByPtrPtr byte[] buffer, byte key_val_sep, byte pairs_sep)
@NoException public static int av_get_bits_per_pixel(@Const AVPixFmtDescriptor pixdesc)
@NoException public static int av_get_padded_bits_per_pixel(@Const AVPixFmtDescriptor pixdesc)
@NoException @Const public static AVPixFmtDescriptor av_pix_fmt_desc_get(@Cast(value="AVPixelFormat") int pix_fmt)
@NoException @Const public static AVPixFmtDescriptor av_pix_fmt_desc_next(@Const AVPixFmtDescriptor prev)
prev
- previous descriptor. NULL to get the first descriptor.@NoException @Cast(value="AVPixelFormat") public static int av_pix_fmt_desc_get_id(@Const AVPixFmtDescriptor desc)
@NoException public static int av_pix_fmt_get_chroma_sub_sample(@Cast(value="AVPixelFormat") int pix_fmt, IntPointer h_shift, IntPointer v_shift)
pix_fmt
- [in] the pixel formath_shift
- [out] store log2_chroma_w (horizontal/width shift)v_shift
- [out] store log2_chroma_h (vertical/height shift)@NoException public static int av_pix_fmt_get_chroma_sub_sample(@Cast(value="AVPixelFormat") int pix_fmt, IntBuffer h_shift, IntBuffer v_shift)
@NoException public static int av_pix_fmt_get_chroma_sub_sample(@Cast(value="AVPixelFormat") int pix_fmt, int[] h_shift, int[] v_shift)
@NoException public static int av_pix_fmt_count_planes(@Cast(value="AVPixelFormat") int pix_fmt)
@NoException @Cast(value="const char*") public static BytePointer av_color_range_name(@Cast(value="AVColorRange") int range)
@NoException public static int av_color_range_from_name(@Cast(value="const char*") BytePointer name)
@NoException public static int av_color_range_from_name(String name)
@NoException @Cast(value="const char*") public static BytePointer av_color_primaries_name(@Cast(value="AVColorPrimaries") int primaries)
@NoException public static int av_color_primaries_from_name(@Cast(value="const char*") BytePointer name)
@NoException public static int av_color_primaries_from_name(String name)
@NoException @Cast(value="const char*") public static BytePointer av_color_transfer_name(@Cast(value="AVColorTransferCharacteristic") int transfer)
@NoException public static int av_color_transfer_from_name(@Cast(value="const char*") BytePointer name)
@NoException public static int av_color_transfer_from_name(String name)
@NoException @Cast(value="const char*") public static BytePointer av_color_space_name(@Cast(value="AVColorSpace") int space)
@NoException public static int av_color_space_from_name(@Cast(value="const char*") BytePointer name)
@NoException public static int av_color_space_from_name(String name)
@NoException @Cast(value="const char*") public static BytePointer av_chroma_location_name(@Cast(value="AVChromaLocation") int location)
@NoException public static int av_chroma_location_from_name(@Cast(value="const char*") BytePointer name)
@NoException public static int av_chroma_location_from_name(String name)
@NoException @Cast(value="AVPixelFormat") public static int av_get_pix_fmt(@Cast(value="const char*") BytePointer name)
@NoException @Cast(value="AVPixelFormat") public static int av_get_pix_fmt(String name)
@NoException @Cast(value="const char*") public static BytePointer av_get_pix_fmt_name(@Cast(value="AVPixelFormat") int pix_fmt)
av_get_pix_fmt(), av_get_pix_fmt_string()
@NoException @Cast(value="char*") public static BytePointer av_get_pix_fmt_string(@Cast(value="char*") BytePointer buf, int buf_size, @Cast(value="AVPixelFormat") int pix_fmt)
buf
- the buffer where to write the stringbuf_size
- the size of bufpix_fmt
- the number of the pixel format to print the
corresponding info string, or a negative value to print the
corresponding header.@NoException @Cast(value="char*") public static ByteBuffer av_get_pix_fmt_string(@Cast(value="char*") ByteBuffer buf, int buf_size, @Cast(value="AVPixelFormat") int pix_fmt)
@NoException @Cast(value="char*") public static byte[] av_get_pix_fmt_string(@Cast(value="char*") byte[] buf, int buf_size, @Cast(value="AVPixelFormat") int pix_fmt)
@NoException public static void av_read_image_line2(Pointer dst, @Cast(value="const uint8_t**") PointerPointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
data
- the array containing the pointers to the planes of the imagelinesize
- the array containing the linesizes of the imagedesc
- the pixel format descriptor for the imagex
- the horizontal coordinate of the first pixel to ready
- the vertical coordinate of the first pixel to readw
- the width of the line to read, that is the number of
values to write to dstread_pal_component
- if not zero and the format is a paletted
format writes the values corresponding to the palette
component c in data[1] to dst, rather than the palette indexes in
data[0]. The behavior is undefined if the format is not paletted.dst_element_size
- size of elements in dst array (2 or 4 byte)@NoException public static void av_read_image_line2(Pointer dst, @Cast(value="const uint8_t**") @ByPtrPtr BytePointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
@NoException public static void av_read_image_line2(Pointer dst, @Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer data, @Const IntBuffer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
@NoException public static void av_read_image_line2(Pointer dst, @Cast(value="const uint8_t**") @ByPtrPtr byte[] data, @Const int[] linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
@NoException public static void av_read_image_line(@Cast(value="uint16_t*") ShortPointer dst, @Cast(value="const uint8_t**") PointerPointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component)
@NoException public static void av_read_image_line(@Cast(value="uint16_t*") ShortPointer dst, @Cast(value="const uint8_t**") @ByPtrPtr BytePointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component)
@NoException public static void av_read_image_line(@Cast(value="uint16_t*") ShortBuffer dst, @Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer data, @Const IntBuffer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component)
@NoException public static void av_read_image_line(@Cast(value="uint16_t*") short[] dst, @Cast(value="const uint8_t**") @ByPtrPtr byte[] data, @Const int[] linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int read_pal_component)
@NoException public static void av_write_image_line2(@Const Pointer src, @Cast(value="uint8_t**") PointerPointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int src_element_size)
src
- array containing the values to writedata
- the array containing the pointers to the planes of the
image to write into. It is supposed to be zeroed.linesize
- the array containing the linesizes of the imagedesc
- the pixel format descriptor for the imagex
- the horizontal coordinate of the first pixel to writey
- the vertical coordinate of the first pixel to writew
- the width of the line to write, that is the number of
values to write to the image linesrc_element_size
- size of elements in src array (2 or 4 byte)@NoException public static void av_write_image_line2(@Const Pointer src, @Cast(value="uint8_t**") @ByPtrPtr BytePointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int src_element_size)
@NoException public static void av_write_image_line2(@Const Pointer src, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer data, @Const IntBuffer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int src_element_size)
@NoException public static void av_write_image_line2(@Const Pointer src, @Cast(value="uint8_t**") @ByPtrPtr byte[] data, @Const int[] linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w, int src_element_size)
@NoException public static void av_write_image_line(@Cast(value="const uint16_t*") ShortPointer src, @Cast(value="uint8_t**") PointerPointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w)
@NoException public static void av_write_image_line(@Cast(value="const uint16_t*") ShortPointer src, @Cast(value="uint8_t**") @ByPtrPtr BytePointer data, @Const IntPointer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w)
@NoException public static void av_write_image_line(@Cast(value="const uint16_t*") ShortBuffer src, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer data, @Const IntBuffer linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w)
@NoException public static void av_write_image_line(@Cast(value="const uint16_t*") short[] src, @Cast(value="uint8_t**") @ByPtrPtr byte[] data, @Const int[] linesize, @Const AVPixFmtDescriptor desc, int x, int y, int c, int w)
@NoException @Cast(value="AVPixelFormat") public static int av_pix_fmt_swap_endianness(@Cast(value="AVPixelFormat") int pix_fmt)
pix_fmt
- [in] the pixel format@NoException public static int av_get_pix_fmt_loss(@Cast(value="AVPixelFormat") int dst_pix_fmt, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha)
dst_pix_fmt
- [in] destination pixel formatsrc_pix_fmt
- [in] source pixel formathas_alpha
- [in] Whether the source pixel format alpha channel is used.@NoException @Cast(value="AVPixelFormat") public static int av_find_best_pix_fmt_of_2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntPointer loss_ptr)
dst_pix_fmt
- [in] destination pixel formatsrc_pix_fmt
- [in] source pixel formathas_alpha
- [in] Whether the source pixel format alpha channel is used.@NoException @Cast(value="AVPixelFormat") public static int av_find_best_pix_fmt_of_2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntBuffer loss_ptr)
@NoException @Cast(value="AVPixelFormat") public static int av_find_best_pix_fmt_of_2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, int[] loss_ptr)
@NoException public static void av_image_fill_max_pixsteps(IntPointer max_pixsteps, IntPointer max_pixstep_comps, @Const AVPixFmtDescriptor pixdesc)
max_pixsteps
- an array which is filled with the max pixel step
for each plane. Since a plane may contain different pixel
components, the computed max_pixsteps[plane] is relative to the
component in the plane with the max pixel step.max_pixstep_comps
- an array which is filled with the component
for each plane which has the max pixel step. May be NULL.@NoException public static void av_image_fill_max_pixsteps(IntBuffer max_pixsteps, IntBuffer max_pixstep_comps, @Const AVPixFmtDescriptor pixdesc)
@NoException public static void av_image_fill_max_pixsteps(int[] max_pixsteps, int[] max_pixstep_comps, @Const AVPixFmtDescriptor pixdesc)
@NoException public static int av_image_get_linesize(@Cast(value="AVPixelFormat") int pix_fmt, int width, int plane)
@NoException public static int av_image_fill_linesizes(IntPointer linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width)
linesizes
- array to be filled with the linesize for each plane@NoException public static int av_image_fill_linesizes(IntBuffer linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width)
@NoException public static int av_image_fill_linesizes(int[] linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width)
@NoException public static int av_image_fill_pointers(@Cast(value="uint8_t**") PointerPointer data, @Cast(value="AVPixelFormat") int pix_fmt, int height, @Cast(value="uint8_t*") BytePointer ptr, @Const IntPointer linesizes)
data
- pointers array to be filled with the pointer for each image planeptr
- the pointer to a buffer which will contain the imagelinesizes
- the array containing the linesize for each
plane, should be filled by av_image_fill_linesizes()@NoException public static int av_image_fill_pointers(@Cast(value="uint8_t**") @ByPtrPtr BytePointer data, @Cast(value="AVPixelFormat") int pix_fmt, int height, @Cast(value="uint8_t*") BytePointer ptr, @Const IntPointer linesizes)
@NoException public static int av_image_fill_pointers(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer data, @Cast(value="AVPixelFormat") int pix_fmt, int height, @Cast(value="uint8_t*") ByteBuffer ptr, @Const IntBuffer linesizes)
@NoException public static int av_image_fill_pointers(@Cast(value="uint8_t**") @ByPtrPtr byte[] data, @Cast(value="AVPixelFormat") int pix_fmt, int height, @Cast(value="uint8_t*") byte[] ptr, @Const int[] linesizes)
@NoException public static int av_image_alloc(@Cast(value="uint8_t**") PointerPointer pointers, IntPointer linesizes, int w, int h, @Cast(value="AVPixelFormat") int pix_fmt, int align)
align
- the value to use for buffer size alignment@NoException public static int av_image_alloc(@Cast(value="uint8_t**") @ByPtrPtr BytePointer pointers, IntPointer linesizes, int w, int h, @Cast(value="AVPixelFormat") int pix_fmt, int align)
@NoException public static int av_image_alloc(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer pointers, IntBuffer linesizes, int w, int h, @Cast(value="AVPixelFormat") int pix_fmt, int align)
@NoException public static int av_image_alloc(@Cast(value="uint8_t**") @ByPtrPtr byte[] pointers, int[] linesizes, int w, int h, @Cast(value="AVPixelFormat") int pix_fmt, int align)
@NoException public static void av_image_copy_plane(@Cast(value="uint8_t*") BytePointer dst, int dst_linesize, @Cast(value="const uint8_t*") BytePointer src, int src_linesize, int bytewidth, int height)
dst_linesize
- linesize for the image plane in dstsrc_linesize
- linesize for the image plane in src@NoException public static void av_image_copy_plane(@Cast(value="uint8_t*") ByteBuffer dst, int dst_linesize, @Cast(value="const uint8_t*") ByteBuffer src, int src_linesize, int bytewidth, int height)
@NoException public static void av_image_copy_plane(@Cast(value="uint8_t*") byte[] dst, int dst_linesize, @Cast(value="const uint8_t*") byte[] src, int src_linesize, int bytewidth, int height)
@NoException public static void av_image_copy(@Cast(value="uint8_t**") PointerPointer dst_data, IntPointer dst_linesizes, @Cast(value="const uint8_t**") PointerPointer src_data, @Const IntPointer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
dst_linesizes
- linesizes for the image in dst_datasrc_linesizes
- linesizes for the image in src_data@NoException public static void av_image_copy(@Cast(value="uint8_t**") @ByPtrPtr BytePointer dst_data, IntPointer dst_linesizes, @Cast(value="const uint8_t**") @ByPtrPtr BytePointer src_data, @Const IntPointer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static void av_image_copy(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer dst_data, IntBuffer dst_linesizes, @Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer src_data, @Const IntBuffer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static void av_image_copy(@Cast(value="uint8_t**") @ByPtrPtr byte[] dst_data, int[] dst_linesizes, @Cast(value="const uint8_t**") @ByPtrPtr byte[] src_data, @Const int[] src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static void av_image_copy_uc_from(@Cast(value="uint8_t**") PointerPointer dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesizes, @Cast(value="const uint8_t**") PointerPointer src_data, @Cast(value="const ptrdiff_t*") SizeTPointer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static void av_image_copy_uc_from(@Cast(value="uint8_t**") @ByPtrPtr BytePointer dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesizes, @Cast(value="const uint8_t**") @ByPtrPtr BytePointer src_data, @Cast(value="const ptrdiff_t*") SizeTPointer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static void av_image_copy_uc_from(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesizes, @Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer src_data, @Cast(value="const ptrdiff_t*") SizeTPointer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static void av_image_copy_uc_from(@Cast(value="uint8_t**") @ByPtrPtr byte[] dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesizes, @Cast(value="const uint8_t**") @ByPtrPtr byte[] src_data, @Cast(value="const ptrdiff_t*") SizeTPointer src_linesizes, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException public static int av_image_fill_arrays(@Cast(value="uint8_t**") PointerPointer dst_data, IntPointer dst_linesize, @Cast(value="const uint8_t*") BytePointer src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
dst_data
- data pointers to be filled indst_linesize
- linesizes for the image in dst_data to be filled insrc
- buffer which will contain or contains the actual image data, can be NULLpix_fmt
- the pixel format of the imagewidth
- the width of the image in pixelsheight
- the height of the image in pixelsalign
- the value used in src for linesize alignment@NoException public static int av_image_fill_arrays(@Cast(value="uint8_t**") @ByPtrPtr BytePointer dst_data, IntPointer dst_linesize, @Cast(value="const uint8_t*") BytePointer src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
@NoException public static int av_image_fill_arrays(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer dst_data, IntBuffer dst_linesize, @Cast(value="const uint8_t*") ByteBuffer src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
@NoException public static int av_image_fill_arrays(@Cast(value="uint8_t**") @ByPtrPtr byte[] dst_data, int[] dst_linesize, @Cast(value="const uint8_t*") byte[] src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
@NoException public static int av_image_get_buffer_size(@Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
pix_fmt
- the pixel format of the imagewidth
- the width of the image in pixelsheight
- the height of the image in pixelsalign
- the assumed linesize alignment@NoException public static int av_image_copy_to_buffer(@Cast(value="uint8_t*") BytePointer dst, int dst_size, @Cast(value="const uint8_t*const*") PointerPointer src_data, @Const IntPointer src_linesize, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
dst
- a buffer into which picture data will be copieddst_size
- the size in bytes of dstsrc_data
- pointers containing the source image datasrc_linesize
- linesizes for the image in src_datapix_fmt
- the pixel format of the source imagewidth
- the width of the source image in pixelsheight
- the height of the source image in pixelsalign
- the assumed linesize alignment for dst@NoException public static int av_image_copy_to_buffer(@Cast(value="uint8_t*") BytePointer dst, int dst_size, @Cast(value="const uint8_t*const*") @ByPtrPtr BytePointer src_data, @Const IntPointer src_linesize, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
@NoException public static int av_image_copy_to_buffer(@Cast(value="uint8_t*") ByteBuffer dst, int dst_size, @Cast(value="const uint8_t*const*") @ByPtrPtr ByteBuffer src_data, @Const IntBuffer src_linesize, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
@NoException public static int av_image_copy_to_buffer(@Cast(value="uint8_t*") byte[] dst, int dst_size, @Cast(value="const uint8_t*const*") @ByPtrPtr byte[] src_data, @Const int[] src_linesize, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, int align)
@NoException public static int av_image_check_size(@Cast(value="unsigned int") int w, @Cast(value="unsigned int") int h, int log_offset, Pointer log_ctx)
w
- the width of the pictureh
- the height of the picturelog_offset
- the offset to sum to the log level for logging with log_ctxlog_ctx
- the parent logging context, it may be NULL@NoException public static int av_image_check_size2(@Cast(value="unsigned int") int w, @Cast(value="unsigned int") int h, @Cast(value="int64_t") long max_pixels, @Cast(value="AVPixelFormat") int pix_fmt, int log_offset, Pointer log_ctx)
w
- the width of the pictureh
- the height of the picturemax_pixels
- the maximum number of pixels the user wants to acceptpix_fmt
- the pixel format, can be AV_PIX_FMT_NONE if unknown.log_offset
- the offset to sum to the log level for logging with log_ctxlog_ctx
- the parent logging context, it may be NULL@NoException public static int av_image_check_sar(@Cast(value="unsigned int") int w, @Cast(value="unsigned int") int h, @ByVal AVRational sar)
w
- width of the imageh
- height of the imagesar
- sample aspect ratio of the image@NoException public static int av_image_fill_black(@Cast(value="uint8_t**") PointerPointer dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesize, @Cast(value="AVPixelFormat") int pix_fmt, @Cast(value="AVColorRange") int range, int width, int height)
dst_data
- data pointers to destination imagedst_linesize
- linesizes for the destination imagepix_fmt
- the pixel format of the imagerange
- the color range of the image (important for colorspaces such as YUV)width
- the width of the image in pixelsheight
- the height of the image in pixels@NoException public static int av_image_fill_black(@Cast(value="uint8_t**") @ByPtrPtr BytePointer dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesize, @Cast(value="AVPixelFormat") int pix_fmt, @Cast(value="AVColorRange") int range, int width, int height)
@NoException public static int av_image_fill_black(@Cast(value="uint8_t**") @ByPtrPtr ByteBuffer dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesize, @Cast(value="AVPixelFormat") int pix_fmt, @Cast(value="AVColorRange") int range, int width, int height)
@NoException public static int av_image_fill_black(@Cast(value="uint8_t**") @ByPtrPtr byte[] dst_data, @Cast(value="const ptrdiff_t*") SizeTPointer dst_linesize, @Cast(value="AVPixelFormat") int pix_fmt, @Cast(value="AVColorRange") int range, int width, int height)
@NoException public static AVDownmixInfo av_downmix_info_update_side_data(AVFrame frame)
frame
- the frame for which the side data is to be obtained or created@NoException public static AVStereo3D av_stereo3d_alloc()
@NoException public static AVStereo3D av_stereo3d_create_side_data(AVFrame frame)
frame
- The frame which side data is added to.@NoException @Cast(value="const char*") public static BytePointer av_stereo3d_type_name(@Cast(value="unsigned int") int type)
type
- The input stereo3d type value.@NoException public static int av_stereo3d_from_name(@Cast(value="const char*") BytePointer name)
name
- The input string.@NoException public static int av_stereo3d_from_name(String name)
@NoException public static AVFifoBuffer av_fifo_alloc(@Cast(value="unsigned int") int size)
size
- of FIFO@NoException public static AVFifoBuffer av_fifo_alloc_array(@Cast(value="size_t") long nmemb, @Cast(value="size_t") long size)
nmemb
- number of elementssize
- size of the single element@NoException public static void av_fifo_free(AVFifoBuffer f)
f
- AVFifoBuffer to free@NoException public static void av_fifo_freep(@Cast(value="AVFifoBuffer**") PointerPointer f)
f
- AVFifoBuffer to free@NoException public static void av_fifo_freep(@ByPtrPtr AVFifoBuffer f)
@NoException public static void av_fifo_reset(AVFifoBuffer f)
f
- AVFifoBuffer to reset@NoException public static int av_fifo_size(@Const AVFifoBuffer f)
f
- AVFifoBuffer to read from@NoException public static int av_fifo_space(@Const AVFifoBuffer f)
f
- AVFifoBuffer to write into@NoException public static int av_fifo_generic_peek_at(AVFifoBuffer f, Pointer dest, int offset, int buf_size, Func_Pointer_Pointer_int func)
@NoException public static int av_fifo_generic_peek(AVFifoBuffer f, Pointer dest, int buf_size, Func_Pointer_Pointer_int func)
f
- AVFifoBuffer to read frombuf_size
- number of bytes to readfunc
- generic read functiondest
- data destination@NoException public static int av_fifo_generic_read(AVFifoBuffer f, Pointer dest, int buf_size, Func_Pointer_Pointer_int func)
f
- AVFifoBuffer to read frombuf_size
- number of bytes to readfunc
- generic read functiondest
- data destination@NoException public static int av_fifo_generic_write(AVFifoBuffer f, Pointer src, int size, Int_func_Pointer_Pointer_int func)
@NoException public static int av_fifo_realloc2(AVFifoBuffer f, @Cast(value="unsigned int") int size)
f
- AVFifoBuffer to resizesize
- new AVFifoBuffer size in bytes@NoException public static int av_fifo_grow(AVFifoBuffer f, @Cast(value="unsigned int") int additional_space)
f
- AVFifoBuffer to resizeadditional_space
- the amount of space in bytes to allocate in addition to av_fifo_size()@NoException public static void av_fifo_drain(AVFifoBuffer f, int size)
f
- AVFifoBuffer to read fromsize
- amount of data to read in bytes@NoException @Cast(value="uint8_t*") public static BytePointer av_fifo_peek2(@Const AVFifoBuffer f, int offs)
f
- AVFifoBuffer to peek at, f must be non-NULLoffs
- an offset in bytes, its absolute value must be less
than the used buffer size or the returned pointer will
point outside to the buffer data.
The used buffer size can be checked with av_fifo_size().@NoException public static void av_audio_fifo_free(AVAudioFifo af)
af
- AVAudioFifo to free@NoException public static AVAudioFifo av_audio_fifo_alloc(@Cast(value="AVSampleFormat") int sample_fmt, int channels, int nb_samples)
sample_fmt
- sample formatchannels
- number of channelsnb_samples
- initial allocation size, in samples@NoException public static int av_audio_fifo_realloc(AVAudioFifo af, int nb_samples)
af
- AVAudioFifo to reallocatenb_samples
- new allocation size, in samples@NoException public static int av_audio_fifo_write(AVAudioFifo af, @Cast(value="void**") PointerPointer data, int nb_samples)
af
- AVAudioFifo to write todata
- audio data plane pointersnb_samples
- number of samples to writeAVSampleFormat
The documentation for AVSampleFormat describes the data layout.
@NoException public static int av_audio_fifo_write(AVAudioFifo af, @Cast(value="void**") @ByPtrPtr Pointer data, int nb_samples)
@NoException public static int av_audio_fifo_peek(AVAudioFifo af, @Cast(value="void**") PointerPointer data, int nb_samples)
af
- AVAudioFifo to read fromdata
- audio data plane pointersnb_samples
- number of samples to peekAVSampleFormat
The documentation for AVSampleFormat describes the data layout.
@NoException public static int av_audio_fifo_peek(AVAudioFifo af, @Cast(value="void**") @ByPtrPtr Pointer data, int nb_samples)
@NoException public static int av_audio_fifo_peek_at(AVAudioFifo af, @Cast(value="void**") PointerPointer data, int nb_samples, int offset)
af
- AVAudioFifo to read fromdata
- audio data plane pointersnb_samples
- number of samples to peekoffset
- offset from current read positionAVSampleFormat
The documentation for AVSampleFormat describes the data layout.
@NoException public static int av_audio_fifo_peek_at(AVAudioFifo af, @Cast(value="void**") @ByPtrPtr Pointer data, int nb_samples, int offset)
@NoException public static int av_audio_fifo_read(AVAudioFifo af, @Cast(value="void**") PointerPointer data, int nb_samples)
af
- AVAudioFifo to read fromdata
- audio data plane pointersnb_samples
- number of samples to readAVSampleFormat
The documentation for AVSampleFormat describes the data layout.
@NoException public static int av_audio_fifo_read(AVAudioFifo af, @Cast(value="void**") @ByPtrPtr Pointer data, int nb_samples)
@NoException public static int av_audio_fifo_drain(AVAudioFifo af, int nb_samples)
af
- AVAudioFifo to drainnb_samples
- number of samples to drain@NoException public static void av_audio_fifo_reset(AVAudioFifo af)
af
- AVAudioFifo to reset@NoException public static int av_audio_fifo_size(AVAudioFifo af)
af
- the AVAudioFifo to query@NoException public static int av_audio_fifo_space(AVAudioFifo af)
af
- the AVAudioFifo to query@NoException @Cast(value="AVHWDeviceType") public static int av_hwdevice_find_type_by_name(@Cast(value="const char*") BytePointer name)
name
- String name of the device type (case-insensitive).@NoException @Cast(value="AVHWDeviceType") public static int av_hwdevice_find_type_by_name(String name)
@NoException @Cast(value="const char*") public static BytePointer av_hwdevice_get_type_name(@Cast(value="AVHWDeviceType") int type)
type
- Type from enum AVHWDeviceType.@NoException @Cast(value="AVHWDeviceType") public static int av_hwdevice_iterate_types(@Cast(value="AVHWDeviceType") int prev)
type
- AV_HWDEVICE_TYPE_NONE initially, then the previous type
returned by this function in subsequent iterations.@NoException public static AVBufferRef av_hwdevice_ctx_alloc(@Cast(value="AVHWDeviceType") int type)
type
- the type of the hardware device to allocate.@NoException public static int av_hwdevice_ctx_init(AVBufferRef ref)
ref
- a reference to the AVHWDeviceContext@NoException public static int av_hwdevice_ctx_create(@Cast(value="AVBufferRef**") PointerPointer device_ctx, @Cast(value="AVHWDeviceType") int type, @Cast(value="const char*") BytePointer device, AVDictionary opts, int flags)
device_ctx
- On success, a reference to the newly-created device context
will be written here. The reference is owned by the caller
and must be released with av_buffer_unref() when no longer
needed. On failure, NULL will be written to this pointer.type
- The type of the device to create.device
- A type-specific string identifying the device to open.opts
- A dictionary of additional (type-specific) options to use in
opening the device. The dictionary remains owned by the caller.flags
- currently unused@NoException public static int av_hwdevice_ctx_create(@ByPtrPtr AVBufferRef device_ctx, @Cast(value="AVHWDeviceType") int type, @Cast(value="const char*") BytePointer device, AVDictionary opts, int flags)
@NoException public static int av_hwdevice_ctx_create(@ByPtrPtr AVBufferRef device_ctx, @Cast(value="AVHWDeviceType") int type, String device, AVDictionary opts, int flags)
@NoException public static int av_hwdevice_ctx_create_derived(@Cast(value="AVBufferRef**") PointerPointer dst_ctx, @Cast(value="AVHWDeviceType") int type, AVBufferRef src_ctx, int flags)
dst_ctx
- On success, a reference to the newly-created
AVHWDeviceContext.type
- The type of the new device to create.src_ctx
- A reference to an existing AVHWDeviceContext which will be
used to create the new device.flags
- Currently unused; should be set to zero.@NoException public static int av_hwdevice_ctx_create_derived(@ByPtrPtr AVBufferRef dst_ctx, @Cast(value="AVHWDeviceType") int type, AVBufferRef src_ctx, int flags)
@NoException public static AVBufferRef av_hwframe_ctx_alloc(AVBufferRef device_ctx)
device_ctx
- a reference to a AVHWDeviceContext. This function will make
a new reference for internal use, the one passed to the
function remains owned by the caller.@NoException public static int av_hwframe_ctx_init(AVBufferRef ref)
ref
- a reference to the AVHWFramesContext@NoException public static int av_hwframe_get_buffer(AVBufferRef hwframe_ctx, AVFrame frame, int flags)
hwframe_ctx
- a reference to an AVHWFramesContextframe
- an empty (freshly allocated or unreffed) frame to be filled with
newly allocated buffers.flags
- currently unused, should be set to zero@NoException public static int av_hwframe_transfer_data(AVFrame dst, @Const AVFrame src, int flags)
dst
- the destination frame. dst is not touched on failure.src
- the source frame.flags
- currently unused, should be set to zero@NoException public static int av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx, @Cast(value="AVHWFrameTransferDirection") int dir, @Cast(value="AVPixelFormat**") PointerPointer formats, int flags)
hwframe_ctx
- the frame context to obtain the information fordir
- the direction of the transferformats
- the pointer to the output format list will be written here.
The list is terminated with AV_PIX_FMT_NONE and must be freed
by the caller when no longer needed using av_free().
If this function returns successfully, the format list will
have at least one item (not counting the terminator).
On failure, the contents of this pointer are unspecified.flags
- currently unused, should be set to zero@NoException public static int av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx, @Cast(value="AVHWFrameTransferDirection") int dir, @Cast(value="AVPixelFormat**") @ByPtrPtr IntPointer formats, int flags)
@NoException public static int av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx, @Cast(value="AVHWFrameTransferDirection") int dir, @Cast(value="AVPixelFormat**") @ByPtrPtr IntBuffer formats, int flags)
@NoException public static int av_hwframe_transfer_get_formats(AVBufferRef hwframe_ctx, @Cast(value="AVHWFrameTransferDirection") int dir, @Cast(value="AVPixelFormat**") @ByPtrPtr int[] formats, int flags)
@NoException public static Pointer av_hwdevice_hwconfig_alloc(AVBufferRef device_ctx)
device_ctx
- a reference to the associated AVHWDeviceContext.@NoException public static AVHWFramesConstraints av_hwdevice_get_hwframe_constraints(AVBufferRef ref, @Const Pointer hwconfig)
ref
- a reference to the associated AVHWDeviceContext.hwconfig
- a filled HW-specific configuration structure, or NULL
to return the maximum possible capabilities of the device.@NoException public static void av_hwframe_constraints_free(@Cast(value="AVHWFramesConstraints**") PointerPointer constraints)
constraints
- The (filled or unfilled) AVHWFrameConstraints structure.@NoException public static void av_hwframe_constraints_free(@ByPtrPtr AVHWFramesConstraints constraints)
@NoException public static int av_hwframe_map(AVFrame dst, @Const AVFrame src, int flags)
dst
- Destination frame, to contain the mapping.src
- Source frame, to be mapped.flags
- Some combination of AV_HWFRAME_MAP_* flags.@NoException public static int av_hwframe_ctx_create_derived(@Cast(value="AVBufferRef**") PointerPointer derived_frame_ctx, @Cast(value="AVPixelFormat") int format, AVBufferRef derived_device_ctx, AVBufferRef source_frame_ctx, int flags)
derived_frame_ctx
- On success, a reference to the newly created
AVHWFramesContext.derived_device_ctx
- A reference to the device to create the new
AVHWFramesContext on.source_frame_ctx
- A reference to an existing AVHWFramesContext
which will be mapped to the derived context.flags
- Some combination of AV_HWFRAME_MAP_* flags, defining the
mapping parameters to apply to frames which are allocated
in the derived device.@NoException public static int av_hwframe_ctx_create_derived(@ByPtrPtr AVBufferRef derived_frame_ctx, @Cast(value="AVPixelFormat") int format, AVBufferRef derived_device_ctx, AVBufferRef source_frame_ctx, int flags)
@NoException @Cast(value="unsigned long") public static long av_adler32_update(@Cast(value="unsigned long") long adler, @Cast(value="const uint8_t*") BytePointer buf, @Cast(value="unsigned int") int len)
adler
- initial checksum valuebuf
- pointer to input bufferlen
- size of input buffer@NoException @Cast(value="unsigned long") public static long av_adler32_update(@Cast(value="unsigned long") long adler, @Cast(value="const uint8_t*") ByteBuffer buf, @Cast(value="unsigned int") int len)
@NoException @Cast(value="unsigned long") public static long av_adler32_update(@Cast(value="unsigned long") long adler, @Cast(value="const uint8_t*") byte[] buf, @Cast(value="unsigned int") int len)
@MemberGetter public static int av_aes_size()
@NoException public static AVAES av_aes_alloc()
@NoException public static int av_aes_init(AVAES a, @Cast(value="const uint8_t*") BytePointer key, int key_bits, int decrypt)
key_bits
- 128, 192 or 256decrypt
- 0 for encryption, 1 for decryption@NoException public static int av_aes_init(AVAES a, @Cast(value="const uint8_t*") ByteBuffer key, int key_bits, int decrypt)
@NoException public static int av_aes_init(AVAES a, @Cast(value="const uint8_t*") byte[] key, int key_bits, int decrypt)
@NoException public static void av_aes_crypt(AVAES a, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
count
- number of 16 byte blocksdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstiv
- initialization vector for CBC mode, if NULL then ECB will be useddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_aes_crypt(AVAES a, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_aes_crypt(AVAES a, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@NoException public static AVAESCTR av_aes_ctr_alloc()
@NoException public static int av_aes_ctr_init(AVAESCTR a, @Cast(value="const uint8_t*") BytePointer key)
key
- encryption key, must have a length of AES_CTR_KEY_SIZE@NoException public static int av_aes_ctr_init(AVAESCTR a, @Cast(value="const uint8_t*") ByteBuffer key)
@NoException public static int av_aes_ctr_init(AVAESCTR a, @Cast(value="const uint8_t*") byte[] key)
@NoException public static void av_aes_ctr_free(AVAESCTR a)
@NoException public static void av_aes_ctr_crypt(AVAESCTR a, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int size)
dst
- destination array, can be equal to srcsrc
- source array, can be equal to dstsize
- the size of src and dst@NoException public static void av_aes_ctr_crypt(AVAESCTR a, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int size)
@NoException public static void av_aes_ctr_crypt(AVAESCTR a, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int size)
@NoException @Cast(value="const uint8_t*") public static BytePointer av_aes_ctr_get_iv(AVAESCTR a)
@NoException public static void av_aes_ctr_set_random_iv(AVAESCTR a)
@NoException public static void av_aes_ctr_set_iv(AVAESCTR a, @Cast(value="const uint8_t*") BytePointer iv)
@NoException public static void av_aes_ctr_set_iv(AVAESCTR a, @Cast(value="const uint8_t*") ByteBuffer iv)
@NoException public static void av_aes_ctr_set_iv(AVAESCTR a, @Cast(value="const uint8_t*") byte[] iv)
@NoException public static void av_aes_ctr_set_full_iv(AVAESCTR a, @Cast(value="const uint8_t*") BytePointer iv)
@NoException public static void av_aes_ctr_set_full_iv(AVAESCTR a, @Cast(value="const uint8_t*") ByteBuffer iv)
@NoException public static void av_aes_ctr_set_full_iv(AVAESCTR a, @Cast(value="const uint8_t*") byte[] iv)
@NoException public static void av_aes_ctr_increment_iv(AVAESCTR a)
@NoException public static int av_base64_decode(@Cast(value="uint8_t*") BytePointer out, @Cast(value="const char*") BytePointer in, int out_size)
out
- buffer for decoded datain
- null-terminated input stringout_size
- size in bytes of the out buffer, must be at
least 3/4 of the length of in, that is AV_BASE64_DECODE_SIZE(strlen(in))@NoException public static int av_base64_decode(@Cast(value="uint8_t*") ByteBuffer out, String in, int out_size)
@NoException public static int av_base64_decode(@Cast(value="uint8_t*") byte[] out, @Cast(value="const char*") BytePointer in, int out_size)
@NoException public static int av_base64_decode(@Cast(value="uint8_t*") BytePointer out, String in, int out_size)
@NoException public static int av_base64_decode(@Cast(value="uint8_t*") ByteBuffer out, @Cast(value="const char*") BytePointer in, int out_size)
@NoException public static int av_base64_decode(@Cast(value="uint8_t*") byte[] out, String in, int out_size)
@NoException @Cast(value="char*") public static BytePointer av_base64_encode(@Cast(value="char*") BytePointer out, int out_size, @Cast(value="const uint8_t*") BytePointer in, int in_size)
out
- buffer for encoded dataout_size
- size in bytes of the out buffer (including the
null terminator), must be at least AV_BASE64_SIZE(in_size)in
- input buffer containing the data to encodein_size
- size in bytes of the in buffer@NoException @Cast(value="char*") public static ByteBuffer av_base64_encode(@Cast(value="char*") ByteBuffer out, int out_size, @Cast(value="const uint8_t*") ByteBuffer in, int in_size)
@NoException @Cast(value="char*") public static byte[] av_base64_encode(@Cast(value="char*") byte[] out, int out_size, @Cast(value="const uint8_t*") byte[] in, int in_size)
@NoException public static AVBlowfish av_blowfish_alloc()
@NoException public static void av_blowfish_init(AVBlowfish ctx, @Cast(value="const uint8_t*") BytePointer key, int key_len)
ctx
- an AVBlowfish contextkey
- a keykey_len
- length of the key@NoException public static void av_blowfish_init(AVBlowfish ctx, @Cast(value="const uint8_t*") ByteBuffer key, int key_len)
@NoException public static void av_blowfish_init(AVBlowfish ctx, @Cast(value="const uint8_t*") byte[] key, int key_len)
@NoException public static void av_blowfish_crypt_ecb(AVBlowfish ctx, @Cast(value="uint32_t*") IntPointer xl, @Cast(value="uint32_t*") IntPointer xr, int decrypt)
ctx
- an AVBlowfish contextxl
- left four bytes halves of input to be encryptedxr
- right four bytes halves of input to be encrypteddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_blowfish_crypt_ecb(AVBlowfish ctx, @Cast(value="uint32_t*") IntBuffer xl, @Cast(value="uint32_t*") IntBuffer xr, int decrypt)
@NoException public static void av_blowfish_crypt_ecb(AVBlowfish ctx, @Cast(value="uint32_t*") int[] xl, @Cast(value="uint32_t*") int[] xr, int decrypt)
@NoException public static void av_blowfish_crypt(AVBlowfish ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVBlowfish contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 8 byte blocksiv
- initialization vector for CBC mode, if NULL ECB will be useddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_blowfish_crypt(AVBlowfish ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_blowfish_crypt(AVBlowfish ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@MemberGetter public static int av_cast5_size()
@NoException public static AVCAST5 av_cast5_alloc()
@NoException public static int av_cast5_init(AVCAST5 ctx, @Cast(value="const uint8_t*") BytePointer key, int key_bits)
ctx
- an AVCAST5 contextkey
- a key of 5,6,...16 bytes used for encryption/decryptionkey_bits
- number of keybits: possible are 40,48,...,128@NoException public static int av_cast5_init(AVCAST5 ctx, @Cast(value="const uint8_t*") ByteBuffer key, int key_bits)
@NoException public static int av_cast5_init(AVCAST5 ctx, @Cast(value="const uint8_t*") byte[] key, int key_bits)
@NoException public static void av_cast5_crypt(AVCAST5 ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, int decrypt)
ctx
- an AVCAST5 contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 8 byte blocksdecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_cast5_crypt(AVCAST5 ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, int decrypt)
@NoException public static void av_cast5_crypt(AVCAST5 ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, int decrypt)
@NoException public static void av_cast5_crypt2(AVCAST5 ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVCAST5 contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 8 byte blocksiv
- initialization vector for CBC mode, NULL for ECB modedecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_cast5_crypt2(AVCAST5 ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_cast5_crypt2(AVCAST5 ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@MemberGetter public static int av_camellia_size()
@NoException public static AVCAMELLIA av_camellia_alloc()
@NoException public static int av_camellia_init(AVCAMELLIA ctx, @Cast(value="const uint8_t*") BytePointer key, int key_bits)
ctx
- an AVCAMELLIA contextkey
- a key of 16, 24, 32 bytes used for encryption/decryptionkey_bits
- number of keybits: possible are 128, 192, 256@NoException public static int av_camellia_init(AVCAMELLIA ctx, @Cast(value="const uint8_t*") ByteBuffer key, int key_bits)
@NoException public static int av_camellia_init(AVCAMELLIA ctx, @Cast(value="const uint8_t*") byte[] key, int key_bits)
@NoException public static void av_camellia_crypt(AVCAMELLIA ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVCAMELLIA contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 16 byte blocks
\paran iv initialization vector for CBC mode, NULL for ECB modedecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_camellia_crypt(AVCAMELLIA ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_camellia_crypt(AVCAMELLIA ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@NoException public static int av_crc_init(@Cast(value="AVCRC*") IntPointer ctx, int le, int bits, @Cast(value="uint32_t") int poly, int ctx_size)
ctx
- must be an array of size sizeof(AVCRC)*257 or sizeof(AVCRC)*1024le
- If 1, the lowest bit represents the coefficient for the highest
exponent of the corresponding polynomial (both for poly and
actual CRC).
If 0, you must swap the CRC parameter and the result of av_crc
if you need the standard representation (can be simplified in
most cases to e.g. bswap16):
av_bswap32(crc << (32-bits))bits
- number of bits for the CRCpoly
- generator polynomial without the x**bits coefficient, in the
representation as specified by lectx_size
- size of ctx in bytes@NoException public static int av_crc_init(@Cast(value="AVCRC*") IntBuffer ctx, int le, int bits, @Cast(value="uint32_t") int poly, int ctx_size)
@NoException public static int av_crc_init(@Cast(value="AVCRC*") int[] ctx, int le, int bits, @Cast(value="uint32_t") int poly, int ctx_size)
@NoException @Cast(value="const AVCRC*") public static IntPointer av_crc_get_table(@Cast(value="AVCRCId") int crc_id)
crc_id
- ID of a standard CRC@NoException @Cast(value="uint32_t") public static int av_crc(@Cast(value="const AVCRC*") IntPointer ctx, @Cast(value="uint32_t") int crc, @Cast(value="const uint8_t*") BytePointer buffer, @Cast(value="size_t") long length)
crc
- CRC of previous blocks if any or initial value for CRC"le" parameter
@NoException @Cast(value="uint32_t") public static int av_crc(@Cast(value="const AVCRC*") IntBuffer ctx, @Cast(value="uint32_t") int crc, @Cast(value="const uint8_t*") ByteBuffer buffer, @Cast(value="size_t") long length)
@NoException @Cast(value="uint32_t") public static int av_crc(@Cast(value="const AVCRC*") int[] ctx, @Cast(value="uint32_t") int crc, @Cast(value="const uint8_t*") byte[] buffer, @Cast(value="size_t") long length)
@NoException public static AVDES av_des_alloc()
@NoException public static int av_des_init(AVDES d, @Cast(value="const uint8_t*") BytePointer key, int key_bits, int decrypt)
key_bits
- must be 64 or 192decrypt
- 0 for encryption/CBC-MAC, 1 for decryption@NoException public static int av_des_init(AVDES d, @Cast(value="const uint8_t*") ByteBuffer key, int key_bits, int decrypt)
@NoException public static int av_des_init(AVDES d, @Cast(value="const uint8_t*") byte[] key, int key_bits, int decrypt)
@NoException public static void av_des_crypt(AVDES d, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
count
- number of 8 byte blocksdst
- destination array, can be equal to src, must be 8-byte alignedsrc
- source array, can be equal to dst, must be 8-byte aligned, may be NULLiv
- initialization vector for CBC mode, if NULL then ECB will be used,
must be 8-byte aligneddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_des_crypt(AVDES d, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_des_crypt(AVDES d, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@NoException public static void av_des_mac(AVDES d, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count)
count
- number of 8 byte blocksdst
- destination array, can be equal to src, must be 8-byte alignedsrc
- source array, can be equal to dst, must be 8-byte aligned, may be NULL@NoException public static void av_des_mac(AVDES d, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count)
@NoException public static void av_des_mac(AVDES d, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count)
@NoException public static void av_lfg_init(AVLFG c, @Cast(value="unsigned int") int seed)
@NoException public static int av_lfg_init_from_data(AVLFG c, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="unsigned int") int length)
@NoException public static int av_lfg_init_from_data(AVLFG c, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="unsigned int") int length)
@NoException public static int av_lfg_init_from_data(AVLFG c, @Cast(value="const uint8_t*") byte[] data, @Cast(value="unsigned int") int length)
@NoException @Cast(value="unsigned int") public static int av_lfg_get(AVLFG c)
@NoException @Cast(value="unsigned int") public static int av_mlfg_get(AVLFG c)
@NoException public static void av_bmg_get(AVLFG lfg, DoublePointer out)
out
- array where the two generated numbers are placed@NoException public static void av_bmg_get(AVLFG lfg, DoubleBuffer out)
@NoException public static void av_bmg_get(AVLFG lfg, double[] out)
@NoException public static AVHMAC av_hmac_alloc(@Cast(value="AVHMACType") int type)
type
- The hash function used for the HMAC.@NoException public static void av_hmac_free(AVHMAC ctx)
ctx
- The context to free, may be NULL@NoException public static void av_hmac_init(AVHMAC ctx, @Cast(value="const uint8_t*") BytePointer key, @Cast(value="unsigned int") int keylen)
ctx
- The HMAC contextkey
- The authentication keykeylen
- The length of the key, in bytes@NoException public static void av_hmac_init(AVHMAC ctx, @Cast(value="const uint8_t*") ByteBuffer key, @Cast(value="unsigned int") int keylen)
@NoException public static void av_hmac_init(AVHMAC ctx, @Cast(value="const uint8_t*") byte[] key, @Cast(value="unsigned int") int keylen)
@NoException public static void av_hmac_update(AVHMAC ctx, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="unsigned int") int len)
ctx
- The HMAC contextdata
- The data to hashlen
- The length of the data, in bytes@NoException public static void av_hmac_update(AVHMAC ctx, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="unsigned int") int len)
@NoException public static void av_hmac_update(AVHMAC ctx, @Cast(value="const uint8_t*") byte[] data, @Cast(value="unsigned int") int len)
@NoException public static int av_hmac_final(AVHMAC ctx, @Cast(value="uint8_t*") BytePointer out, @Cast(value="unsigned int") int outlen)
ctx
- The HMAC contextout
- The output buffer to write the digest intooutlen
- The length of the out buffer, in bytes@NoException public static int av_hmac_final(AVHMAC ctx, @Cast(value="uint8_t*") ByteBuffer out, @Cast(value="unsigned int") int outlen)
@NoException public static int av_hmac_final(AVHMAC ctx, @Cast(value="uint8_t*") byte[] out, @Cast(value="unsigned int") int outlen)
@NoException public static int av_hmac_calc(AVHMAC ctx, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="unsigned int") int len, @Cast(value="const uint8_t*") BytePointer key, @Cast(value="unsigned int") int keylen, @Cast(value="uint8_t*") BytePointer out, @Cast(value="unsigned int") int outlen)
ctx
- The HMAC contextdata
- The data to hashlen
- The length of the data, in byteskey
- The authentication keykeylen
- The length of the key, in bytesout
- The output buffer to write the digest intooutlen
- The length of the out buffer, in bytes@NoException public static int av_hmac_calc(AVHMAC ctx, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="unsigned int") int len, @Cast(value="const uint8_t*") ByteBuffer key, @Cast(value="unsigned int") int keylen, @Cast(value="uint8_t*") ByteBuffer out, @Cast(value="unsigned int") int outlen)
@NoException public static int av_hmac_calc(AVHMAC ctx, @Cast(value="const uint8_t*") byte[] data, @Cast(value="unsigned int") int len, @Cast(value="const uint8_t*") byte[] key, @Cast(value="unsigned int") int keylen, @Cast(value="uint8_t*") byte[] out, @Cast(value="unsigned int") int outlen)
@MemberGetter public static int av_md5_size()
@NoException public static AVMD5 av_md5_alloc()
@NoException public static void av_md5_init(AVMD5 ctx)
ctx
- pointer to the function context (of size av_md5_size)@NoException public static void av_md5_update(AVMD5 ctx, @Cast(value="const uint8_t*") BytePointer src, int len)
ctx
- hash function contextsrc
- input data to update hash withlen
- input data length@NoException public static void av_md5_update(AVMD5 ctx, @Cast(value="const uint8_t*") ByteBuffer src, int len)
@NoException public static void av_md5_update(AVMD5 ctx, @Cast(value="const uint8_t*") byte[] src, int len)
@NoException public static void av_md5_update(AVMD5 ctx, @Cast(value="const uint8_t*") BytePointer src, @Cast(value="size_t") long len)
@NoException public static void av_md5_update(AVMD5 ctx, @Cast(value="const uint8_t*") ByteBuffer src, @Cast(value="size_t") long len)
@NoException public static void av_md5_update(AVMD5 ctx, @Cast(value="const uint8_t*") byte[] src, @Cast(value="size_t") long len)
@NoException public static void av_md5_final(AVMD5 ctx, @Cast(value="uint8_t*") BytePointer dst)
ctx
- hash function contextdst
- buffer where output digest value is stored@NoException public static void av_md5_final(AVMD5 ctx, @Cast(value="uint8_t*") ByteBuffer dst)
@NoException public static void av_md5_final(AVMD5 ctx, @Cast(value="uint8_t*") byte[] dst)
@NoException public static void av_md5_sum(@Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int len)
dst
- The output buffer to write the digest intosrc
- The data to hashlen
- The length of the data, in bytes@NoException public static void av_md5_sum(@Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int len)
@NoException public static void av_md5_sum(@Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int len)
@NoException public static void av_md5_sum(@Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, @Cast(value="size_t") long len)
@NoException public static void av_md5_sum(@Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, @Cast(value="size_t") long len)
@NoException public static void av_md5_sum(@Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, @Cast(value="size_t") long len)
@NoException public static AVRC4 av_rc4_alloc()
@NoException public static int av_rc4_init(AVRC4 d, @Cast(value="const uint8_t*") BytePointer key, int key_bits, int decrypt)
key_bits
- must be a multiple of 8decrypt
- 0 for encryption, 1 for decryption, currently has no effect@NoException public static int av_rc4_init(AVRC4 d, @Cast(value="const uint8_t*") ByteBuffer key, int key_bits, int decrypt)
@NoException public static int av_rc4_init(AVRC4 d, @Cast(value="const uint8_t*") byte[] key, int key_bits, int decrypt)
@NoException public static void av_rc4_crypt(AVRC4 d, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
count
- number of bytesdst
- destination array, can be equal to srcsrc
- source array, can be equal to dst, may be NULLiv
- not (yet) used for RC4, should be NULLdecrypt
- 0 for encryption, 1 for decryption, not (yet) used@NoException public static void av_rc4_crypt(AVRC4 d, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_rc4_crypt(AVRC4 d, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@MemberGetter public static int av_ripemd_size()
@NoException public static AVRIPEMD av_ripemd_alloc()
@NoException public static int av_ripemd_init(AVRIPEMD context, int bits)
context
- pointer to the function context (of size av_ripemd_size)bits
- number of bits in digest (128, 160, 256 or 320 bits)@NoException public static void av_ripemd_update(AVRIPEMD context, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="unsigned int") int len)
context
- hash function contextdata
- input data to update hash withlen
- input data length@NoException public static void av_ripemd_update(AVRIPEMD context, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="unsigned int") int len)
@NoException public static void av_ripemd_update(AVRIPEMD context, @Cast(value="const uint8_t*") byte[] data, @Cast(value="unsigned int") int len)
@NoException public static void av_ripemd_update(AVRIPEMD context, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long len)
@NoException public static void av_ripemd_update(AVRIPEMD context, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long len)
@NoException public static void av_ripemd_update(AVRIPEMD context, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long len)
@NoException public static void av_ripemd_final(AVRIPEMD context, @Cast(value="uint8_t*") BytePointer digest)
context
- hash function contextdigest
- buffer where output digest value is stored@NoException public static void av_ripemd_final(AVRIPEMD context, @Cast(value="uint8_t*") ByteBuffer digest)
@NoException public static void av_ripemd_final(AVRIPEMD context, @Cast(value="uint8_t*") byte[] digest)
@MemberGetter public static int av_tea_size()
@NoException public static AVTEA av_tea_alloc()
@NoException public static void av_tea_init(AVTEA ctx, @Cast(value="const uint8_t*") BytePointer key, int rounds)
ctx
- an AVTEA contextkey
- a key of 16 bytes used for encryption/decryptionrounds
- the number of rounds in TEA (64 is the "standard")@NoException public static void av_tea_init(AVTEA ctx, @Cast(value="const uint8_t*") ByteBuffer key, int rounds)
@NoException public static void av_tea_init(AVTEA ctx, @Cast(value="const uint8_t*") byte[] key, int rounds)
@NoException public static void av_tea_crypt(AVTEA ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVTEA contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 8 byte blocksiv
- initialization vector for CBC mode, if NULL then ECB will be useddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_tea_crypt(AVTEA ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_tea_crypt(AVTEA ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@MemberGetter public static int av_twofish_size()
@NoException public static AVTWOFISH av_twofish_alloc()
@NoException public static int av_twofish_init(AVTWOFISH ctx, @Cast(value="const uint8_t*") BytePointer key, int key_bits)
ctx
- an AVTWOFISH contextkey
- a key of size ranging from 1 to 32 bytes used for encryption/decryptionkey_bits
- number of keybits: 128, 192, 256 If less than the required, padded with zeroes to nearest valid value; return value is 0 if key_bits is 128/192/256, -1 if less than 0, 1 otherwise@NoException public static int av_twofish_init(AVTWOFISH ctx, @Cast(value="const uint8_t*") ByteBuffer key, int key_bits)
@NoException public static int av_twofish_init(AVTWOFISH ctx, @Cast(value="const uint8_t*") byte[] key, int key_bits)
@NoException public static void av_twofish_crypt(AVTWOFISH ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVTWOFISH contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 16 byte blocks
\paran iv initialization vector for CBC mode, NULL for ECB modedecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_twofish_crypt(AVTWOFISH ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_twofish_crypt(AVTWOFISH ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@MemberGetter public static int av_sha_size()
SHA-384, SHA-512, and variants thereof, see \ref lavu_sha512.
\{
@NoException public static AVSHA av_sha_alloc()
@NoException public static int av_sha_init(AVSHA context, int bits)
context
- pointer to the function context (of size av_sha_size)bits
- number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits)@NoException public static void av_sha_update(AVSHA ctx, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="unsigned int") int len)
ctx
- hash function contextdata
- input data to update hash withlen
- input data length@NoException public static void av_sha_update(AVSHA ctx, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="unsigned int") int len)
@NoException public static void av_sha_update(AVSHA ctx, @Cast(value="const uint8_t*") byte[] data, @Cast(value="unsigned int") int len)
@NoException public static void av_sha_update(AVSHA ctx, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long len)
@NoException public static void av_sha_update(AVSHA ctx, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long len)
@NoException public static void av_sha_update(AVSHA ctx, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long len)
@NoException public static void av_sha_final(AVSHA context, @Cast(value="uint8_t*") BytePointer digest)
context
- hash function contextdigest
- buffer where output digest value is stored@NoException public static void av_sha_final(AVSHA context, @Cast(value="uint8_t*") ByteBuffer digest)
@NoException public static void av_sha_final(AVSHA context, @Cast(value="uint8_t*") byte[] digest)
@MemberGetter public static int av_sha512_size()
SHA-1, SHA-256, and variants thereof, see \ref lavu_sha.
\{
@NoException public static AVSHA512 av_sha512_alloc()
@NoException public static int av_sha512_init(AVSHA512 context, int bits)
context
- pointer to the function context (of size av_sha512_size)bits
- number of bits in digest (224, 256, 384 or 512 bits)@NoException public static void av_sha512_update(AVSHA512 context, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="unsigned int") int len)
context
- hash function contextdata
- input data to update hash withlen
- input data length@NoException public static void av_sha512_update(AVSHA512 context, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="unsigned int") int len)
@NoException public static void av_sha512_update(AVSHA512 context, @Cast(value="const uint8_t*") byte[] data, @Cast(value="unsigned int") int len)
@NoException public static void av_sha512_update(AVSHA512 context, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long len)
@NoException public static void av_sha512_update(AVSHA512 context, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long len)
@NoException public static void av_sha512_update(AVSHA512 context, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long len)
@NoException public static void av_sha512_final(AVSHA512 context, @Cast(value="uint8_t*") BytePointer digest)
context
- hash function contextdigest
- buffer where output digest value is stored@NoException public static void av_sha512_final(AVSHA512 context, @Cast(value="uint8_t*") ByteBuffer digest)
@NoException public static void av_sha512_final(AVSHA512 context, @Cast(value="uint8_t*") byte[] digest)
@NoException public static AVXTEA av_xtea_alloc()
@NoException public static void av_xtea_init(AVXTEA ctx, @Cast(value="const uint8_t*") BytePointer key)
ctx
- an AVXTEA contextkey
- a key of 16 bytes used for encryption/decryption,
interpreted as big endian 32 bit numbers@NoException public static void av_xtea_init(AVXTEA ctx, @Cast(value="const uint8_t*") ByteBuffer key)
@NoException public static void av_xtea_init(AVXTEA ctx, @Cast(value="const uint8_t*") byte[] key)
@NoException public static void av_xtea_le_init(AVXTEA ctx, @Cast(value="const uint8_t*") BytePointer key)
ctx
- an AVXTEA contextkey
- a key of 16 bytes used for encryption/decryption,
interpreted as little endian 32 bit numbers@NoException public static void av_xtea_le_init(AVXTEA ctx, @Cast(value="const uint8_t*") ByteBuffer key)
@NoException public static void av_xtea_le_init(AVXTEA ctx, @Cast(value="const uint8_t*") byte[] key)
@NoException public static void av_xtea_crypt(AVXTEA ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVXTEA contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 8 byte blocksiv
- initialization vector for CBC mode, if NULL then ECB will be useddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_xtea_crypt(AVXTEA ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_xtea_crypt(AVXTEA ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@NoException public static void av_xtea_le_crypt(AVXTEA ctx, @Cast(value="uint8_t*") BytePointer dst, @Cast(value="const uint8_t*") BytePointer src, int count, @Cast(value="uint8_t*") BytePointer iv, int decrypt)
ctx
- an AVXTEA contextdst
- destination array, can be equal to srcsrc
- source array, can be equal to dstcount
- number of 8 byte blocksiv
- initialization vector for CBC mode, if NULL then ECB will be useddecrypt
- 0 for encryption, 1 for decryption@NoException public static void av_xtea_le_crypt(AVXTEA ctx, @Cast(value="uint8_t*") ByteBuffer dst, @Cast(value="const uint8_t*") ByteBuffer src, int count, @Cast(value="uint8_t*") ByteBuffer iv, int decrypt)
@NoException public static void av_xtea_le_crypt(AVXTEA ctx, @Cast(value="uint8_t*") byte[] dst, @Cast(value="const uint8_t*") byte[] src, int count, @Cast(value="uint8_t*") byte[] iv, int decrypt)
@NoException public static int av_strstart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") PointerPointer ptr)
str
- input stringpfx
- prefix to testptr
- updated if the prefix is matched inside str@NoException public static int av_strstart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") @ByPtrPtr BytePointer ptr)
@NoException public static int av_strstart(String str, String pfx, @Cast(value="const char**") @ByPtrPtr ByteBuffer ptr)
@NoException public static int av_strstart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") @ByPtrPtr byte[] ptr)
@NoException public static int av_strstart(String str, String pfx, @Cast(value="const char**") @ByPtrPtr BytePointer ptr)
@NoException public static int av_strstart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") @ByPtrPtr ByteBuffer ptr)
@NoException public static int av_strstart(String str, String pfx, @Cast(value="const char**") @ByPtrPtr byte[] ptr)
@NoException public static int av_stristart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") PointerPointer ptr)
str
- input stringpfx
- prefix to testptr
- updated if the prefix is matched inside str@NoException public static int av_stristart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") @ByPtrPtr BytePointer ptr)
@NoException public static int av_stristart(String str, String pfx, @Cast(value="const char**") @ByPtrPtr ByteBuffer ptr)
@NoException public static int av_stristart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") @ByPtrPtr byte[] ptr)
@NoException public static int av_stristart(String str, String pfx, @Cast(value="const char**") @ByPtrPtr BytePointer ptr)
@NoException public static int av_stristart(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer pfx, @Cast(value="const char**") @ByPtrPtr ByteBuffer ptr)
@NoException public static int av_stristart(String str, String pfx, @Cast(value="const char**") @ByPtrPtr byte[] ptr)
@NoException @Cast(value="char*") public static BytePointer av_stristr(@Cast(value="const char*") BytePointer haystack, @Cast(value="const char*") BytePointer needle)
haystack
- string to search inneedle
- string to search for@NoException @Cast(value="char*") public static ByteBuffer av_stristr(String haystack, String needle)
@NoException @Cast(value="char*") public static BytePointer av_strnstr(@Cast(value="const char*") BytePointer haystack, @Cast(value="const char*") BytePointer needle, @Cast(value="size_t") long hay_length)
haystack
- string to search inneedle
- string to search forhay_length
- length of string to search in@NoException @Cast(value="char*") public static ByteBuffer av_strnstr(String haystack, String needle, @Cast(value="size_t") long hay_length)
@NoException @Cast(value="size_t") public static long av_strlcpy(@Cast(value="char*") BytePointer dst, @Cast(value="const char*") BytePointer src, @Cast(value="size_t") long size)
dst
- destination buffersrc
- source stringsize
- size of destination buffer@NoException @Cast(value="size_t") public static long av_strlcpy(@Cast(value="char*") ByteBuffer dst, String src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcpy(@Cast(value="char*") byte[] dst, @Cast(value="const char*") BytePointer src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcpy(@Cast(value="char*") BytePointer dst, String src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcpy(@Cast(value="char*") ByteBuffer dst, @Cast(value="const char*") BytePointer src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcpy(@Cast(value="char*") byte[] dst, String src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcat(@Cast(value="char*") BytePointer dst, @Cast(value="const char*") BytePointer src, @Cast(value="size_t") long size)
dst
- destination buffersrc
- source stringsize
- size of destination buffer@NoException @Cast(value="size_t") public static long av_strlcat(@Cast(value="char*") ByteBuffer dst, String src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcat(@Cast(value="char*") byte[] dst, @Cast(value="const char*") BytePointer src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcat(@Cast(value="char*") BytePointer dst, String src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcat(@Cast(value="char*") ByteBuffer dst, @Cast(value="const char*") BytePointer src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcat(@Cast(value="char*") byte[] dst, String src, @Cast(value="size_t") long size)
@NoException @Cast(value="size_t") public static long av_strlcatf(@Cast(value="char*") BytePointer dst, @Cast(value="size_t") long size, @Cast(value="const char*") BytePointer fmt)
dst
- destination buffer (string to which the output is
appended)size
- total size of the destination bufferfmt
- printf-compatible format string, specifying how the
following parameters are used@NoException @Cast(value="size_t") public static long av_strlcatf(@Cast(value="char*") ByteBuffer dst, @Cast(value="size_t") long size, String fmt)
@NoException @Cast(value="size_t") public static long av_strlcatf(@Cast(value="char*") byte[] dst, @Cast(value="size_t") long size, @Cast(value="const char*") BytePointer fmt)
@NoException @Cast(value="size_t") public static long av_strlcatf(@Cast(value="char*") BytePointer dst, @Cast(value="size_t") long size, String fmt)
@NoException @Cast(value="size_t") public static long av_strlcatf(@Cast(value="char*") ByteBuffer dst, @Cast(value="size_t") long size, @Cast(value="const char*") BytePointer fmt)
@NoException @Cast(value="size_t") public static long av_strlcatf(@Cast(value="char*") byte[] dst, @Cast(value="size_t") long size, String fmt)
@NoException @Cast(value="size_t") public static long av_strnlen(@Cast(value="const char*") BytePointer s, @Cast(value="size_t") long len)
len
- maximum number of characters to check in the string, that
is the maximum value which is returned by the function@NoException @Cast(value="size_t") public static long av_strnlen(String s, @Cast(value="size_t") long len)
@NoException @Cast(value="char*") public static BytePointer av_asprintf(@Cast(value="const char*") BytePointer fmt)
fmt
- printf-compatible format string, specifying how the
following parameters are used.@NoException @Cast(value="char*") public static ByteBuffer av_asprintf(String fmt)
@NoException @Cast(value="char*") public static BytePointer av_d2str(double d)
@NoException @Cast(value="char*") public static BytePointer av_get_token(@Cast(value="const char**") PointerPointer buf, @Cast(value="const char*") BytePointer term)
buf
- the buffer to parse, buf will be updated to point to the
terminating charterm
- a 0-terminated list of terminating chars@NoException @Cast(value="char*") public static BytePointer av_get_token(@Cast(value="const char**") @ByPtrPtr BytePointer buf, @Cast(value="const char*") BytePointer term)
@NoException @Cast(value="char*") public static ByteBuffer av_get_token(@Cast(value="const char**") @ByPtrPtr ByteBuffer buf, String term)
@NoException @Cast(value="char*") public static byte[] av_get_token(@Cast(value="const char**") @ByPtrPtr byte[] buf, @Cast(value="const char*") BytePointer term)
@NoException @Cast(value="char*") public static BytePointer av_get_token(@Cast(value="const char**") @ByPtrPtr BytePointer buf, String term)
@NoException @Cast(value="char*") public static ByteBuffer av_get_token(@Cast(value="const char**") @ByPtrPtr ByteBuffer buf, @Cast(value="const char*") BytePointer term)
@NoException @Cast(value="char*") public static byte[] av_get_token(@Cast(value="const char**") @ByPtrPtr byte[] buf, String term)
@NoException @Cast(value="char*") public static BytePointer av_strtok(@Cast(value="char*") BytePointer s, @Cast(value="const char*") BytePointer delim, @Cast(value="char**") PointerPointer saveptr)
s
- the string to parse, may be NULLdelim
- 0-terminated list of token delimiters, must be non-NULLsaveptr
- user-provided pointer which points to stored
information necessary for av_strtok() to continue scanning the same
string. saveptr is updated to point to the next character after the
first delimiter found, or to NULL if the string was terminated@NoException @Cast(value="char*") public static BytePointer av_strtok(@Cast(value="char*") BytePointer s, @Cast(value="const char*") BytePointer delim, @Cast(value="char**") @ByPtrPtr BytePointer saveptr)
@NoException @Cast(value="char*") public static ByteBuffer av_strtok(@Cast(value="char*") ByteBuffer s, String delim, @Cast(value="char**") @ByPtrPtr ByteBuffer saveptr)
@NoException @Cast(value="char*") public static byte[] av_strtok(@Cast(value="char*") byte[] s, @Cast(value="const char*") BytePointer delim, @Cast(value="char**") @ByPtrPtr byte[] saveptr)
@NoException @Cast(value="char*") public static BytePointer av_strtok(@Cast(value="char*") BytePointer s, String delim, @Cast(value="char**") @ByPtrPtr BytePointer saveptr)
@NoException @Cast(value="char*") public static ByteBuffer av_strtok(@Cast(value="char*") ByteBuffer s, @Cast(value="const char*") BytePointer delim, @Cast(value="char**") @ByPtrPtr ByteBuffer saveptr)
@NoException @Cast(value="char*") public static byte[] av_strtok(@Cast(value="char*") byte[] s, String delim, @Cast(value="char**") @ByPtrPtr byte[] saveptr)
@NoException @Const public static int av_isdigit(int c)
@NoException @Const public static int av_isgraph(int c)
@NoException @Const public static int av_isspace(int c)
@NoException @Const public static int av_toupper(int c)
@NoException @Const public static int av_tolower(int c)
@NoException @Const public static int av_isxdigit(int c)
@NoException public static int av_strcasecmp(@Cast(value="const char*") BytePointer a, @Cast(value="const char*") BytePointer b)
@NoException public static int av_strcasecmp(String a, String b)
@NoException public static int av_strncasecmp(@Cast(value="const char*") BytePointer a, @Cast(value="const char*") BytePointer b, @Cast(value="size_t") long n)
@NoException public static int av_strncasecmp(String a, String b, @Cast(value="size_t") long n)
@NoException @Cast(value="char*") public static BytePointer av_strireplace(@Cast(value="const char*") BytePointer str, @Cast(value="const char*") BytePointer from, @Cast(value="const char*") BytePointer to)
@NoException @Cast(value="char*") public static ByteBuffer av_strireplace(String str, String from, String to)
@NoException @Cast(value="const char*") public static BytePointer av_basename(@Cast(value="const char*") BytePointer path)
path
- the path, on DOS both \ and / are considered separators.@NoException public static String av_basename(String path)
@NoException @Cast(value="const char*") public static BytePointer av_dirname(@Cast(value="char*") BytePointer path)
path
- the path, on DOS both \ and / are considered separators.@NoException public static String av_dirname(@Cast(value="char*") ByteBuffer path)
@NoException @Cast(value="const char*") public static BytePointer av_dirname(@Cast(value="char*") byte[] path)
@NoException public static int av_match_name(@Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer names)
name
- Name to look for.names
- List of names.@NoException public static int av_match_name(String name, String names)
@NoException @Cast(value="char*") public static BytePointer av_append_path_component(@Cast(value="const char*") BytePointer path, @Cast(value="const char*") BytePointer component)
path
- base pathcomponent
- component to be appended@NoException @Cast(value="char*") public static ByteBuffer av_append_path_component(String path, String component)
@NoException public static int av_escape(@Cast(value="char**") PointerPointer dst, @Cast(value="const char*") BytePointer src, @Cast(value="const char*") BytePointer special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
dst
- pointer where an allocated string is putsrc
- string to escape, must be non-NULLspecial_chars
- string containing the special characters which
need to be escaped, can be NULLmode
- escape mode to employ, see AV_ESCAPE_MODE_* macros.
Any unknown value for mode will be considered equivalent to
AV_ESCAPE_MODE_BACKSLASH, but this behaviour can change without
notice.flags
- flags which control how to escape, see AV_ESCAPE_FLAG_ macrosav_bprint_escape()
@NoException public static int av_escape(@Cast(value="char**") @ByPtrPtr BytePointer dst, @Cast(value="const char*") BytePointer src, @Cast(value="const char*") BytePointer special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException public static int av_escape(@Cast(value="char**") @ByPtrPtr ByteBuffer dst, String src, String special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException public static int av_escape(@Cast(value="char**") @ByPtrPtr byte[] dst, @Cast(value="const char*") BytePointer src, @Cast(value="const char*") BytePointer special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException public static int av_escape(@Cast(value="char**") @ByPtrPtr BytePointer dst, String src, String special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException public static int av_escape(@Cast(value="char**") @ByPtrPtr ByteBuffer dst, @Cast(value="const char*") BytePointer src, @Cast(value="const char*") BytePointer special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException public static int av_escape(@Cast(value="char**") @ByPtrPtr byte[] dst, String src, String special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException public static int av_utf8_decode(IntPointer codep, @Cast(value="const uint8_t**") PointerPointer bufp, @Cast(value="const uint8_t*") BytePointer buf_end, @Cast(value="unsigned int") int flags)
codep
- pointer used to return the parsed code in case of success.
The value in *codep is set even in case the range check fails.bufp
- pointer to the address the first byte of the sequence
to decode, updated by the function to point to the
byte next after the decoded sequencebuf_end
- pointer to the end of the buffer, points to the next
byte past the last in the buffer. This is used to
avoid buffer overreads (in case of an unfinished
UTF-8 sequence towards the end of the buffer).flags
- a collection of AV_UTF8_FLAG_* flags@NoException public static int av_utf8_decode(IntPointer codep, @Cast(value="const uint8_t**") @ByPtrPtr BytePointer bufp, @Cast(value="const uint8_t*") BytePointer buf_end, @Cast(value="unsigned int") int flags)
@NoException public static int av_utf8_decode(IntBuffer codep, @Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer bufp, @Cast(value="const uint8_t*") ByteBuffer buf_end, @Cast(value="unsigned int") int flags)
@NoException public static int av_utf8_decode(int[] codep, @Cast(value="const uint8_t**") @ByPtrPtr byte[] bufp, @Cast(value="const uint8_t*") byte[] buf_end, @Cast(value="unsigned int") int flags)
@NoException public static int av_match_list(@Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer list, @Cast(value="char") byte separator)
@NoException public static int av_match_list(String name, String list, @Cast(value="char") byte separator)
@NoException public static int av_sscanf(@Cast(value="const char*") BytePointer string, @Cast(value="const char*") BytePointer format)
@NoException public static int av_sscanf(String string, String format)
@NoException public static void av_bprint_init(AVBPrint buf, @Cast(value="unsigned") int size_init, @Cast(value="unsigned") int size_max)
buf
- buffer to initsize_init
- initial size (including the final 0)size_max
- maximum size;
0 means do not write anything, just count the length;
1 is replaced by the maximum value for automatic storage;
any large value means that the internal buffer will be
reallocated as needed up to that limit; -1 is converted to
UINT_MAX, the largest limit possible.
Check also AV_BPRINT_SIZE_* macros.@NoException public static void av_bprint_init_for_buffer(AVBPrint buf, @Cast(value="char*") BytePointer buffer, @Cast(value="unsigned") int size)
buf
- buffer structure to initbuffer
- byte buffer to use for the string datasize
- size of buffer@NoException public static void av_bprint_init_for_buffer(AVBPrint buf, @Cast(value="char*") ByteBuffer buffer, @Cast(value="unsigned") int size)
@NoException public static void av_bprint_init_for_buffer(AVBPrint buf, @Cast(value="char*") byte[] buffer, @Cast(value="unsigned") int size)
@NoException public static void av_bprintf(AVBPrint buf, @Cast(value="const char*") BytePointer fmt)
@NoException public static void av_bprintf(AVBPrint buf, String fmt)
@NoException public static void av_vbprintf(AVBPrint buf, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl_arg)
@NoException public static void av_vbprintf(AVBPrint buf, String fmt, @ByVal @Cast(value="va_list*") Pointer vl_arg)
@NoException public static void av_bprint_chars(AVBPrint buf, @Cast(value="char") byte c, @Cast(value="unsigned") int n)
@NoException public static void av_bprint_append_data(AVBPrint buf, @Cast(value="const char*") BytePointer data, @Cast(value="unsigned") int size)
@NoException public static void av_bprint_append_data(AVBPrint buf, String data, @Cast(value="unsigned") int size)
@NoException public static void av_bprint_strftime(AVBPrint buf, @Cast(value="const char*") BytePointer fmt, @Const tm tm)
@NoException public static void av_bprint_strftime(AVBPrint buf, String fmt, @Const tm tm)
@NoException public static void av_bprint_get_buffer(AVBPrint buf, @Cast(value="unsigned") int size, @Cast(value="unsigned char**") PointerPointer mem, @Cast(value="unsigned*") IntPointer actual_size)
buf
- [in] buffer structuresize
- [in] required sizemem
- [out] pointer to the memory areaactual_size
- [out] size of the memory area after allocation;
can be larger or smaller than size@NoException public static void av_bprint_get_buffer(AVBPrint buf, @Cast(value="unsigned") int size, @Cast(value="unsigned char**") @ByPtrPtr BytePointer mem, @Cast(value="unsigned*") IntPointer actual_size)
@NoException public static void av_bprint_get_buffer(AVBPrint buf, @Cast(value="unsigned") int size, @Cast(value="unsigned char**") @ByPtrPtr ByteBuffer mem, @Cast(value="unsigned*") IntBuffer actual_size)
@NoException public static void av_bprint_get_buffer(AVBPrint buf, @Cast(value="unsigned") int size, @Cast(value="unsigned char**") @ByPtrPtr byte[] mem, @Cast(value="unsigned*") int[] actual_size)
@NoException public static void av_bprint_clear(AVBPrint buf)
@NoException public static int av_bprint_is_complete(@Const AVBPrint buf)
@NoException public static int av_bprint_finalize(AVBPrint buf, @Cast(value="char**") PointerPointer ret_str)
@NoException public static int av_bprint_finalize(AVBPrint buf, @Cast(value="char**") @ByPtrPtr BytePointer ret_str)
@NoException public static int av_bprint_finalize(AVBPrint buf, @Cast(value="char**") @ByPtrPtr ByteBuffer ret_str)
@NoException public static int av_bprint_finalize(AVBPrint buf, @Cast(value="char**") @ByPtrPtr byte[] ret_str)
@NoException public static void av_bprint_escape(AVBPrint dstbuf, @Cast(value="const char*") BytePointer src, @Cast(value="const char*") BytePointer special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
dstbuf
- already inited destination bprint buffersrc
- string containing the text to escapespecial_chars
- string containing the special characters which
need to be escaped, can be NULLmode
- escape mode to employ, see AV_ESCAPE_MODE_* macros.
Any unknown value for mode will be considered equivalent to
AV_ESCAPE_MODE_BACKSLASH, but this behaviour can change without
notice.flags
- flags which control how to escape, see AV_ESCAPE_FLAG_* macros@NoException public static void av_bprint_escape(AVBPrint dstbuf, String src, String special_chars, @Cast(value="AVEscapeMode") int mode, int flags)
@NoException @Const public static int av_log2(@Cast(value="unsigned") int v)
@NoException @Const public static int av_log2_16bit(@Cast(value="unsigned") int v)
@NoException @Const public static int av_clip_c(int a, int amin, int amax)
a
- value to clipamin
- minimum value of the clip rangeamax
- maximum value of the clip range@NoException @Cast(value="int64_t") @Const public static long av_clip64_c(@Cast(value="int64_t") long a, @Cast(value="int64_t") long amin, @Cast(value="int64_t") long amax)
a
- value to clipamin
- minimum value of the clip rangeamax
- maximum value of the clip range@NoException @Cast(value="uint8_t") @Const public static byte av_clip_uint8_c(int a)
a
- value to clip@NoException @Const public static byte av_clip_int8_c(int a)
a
- value to clip@NoException @Cast(value="uint16_t") @Const public static short av_clip_uint16_c(int a)
a
- value to clip@NoException @Const public static short av_clip_int16_c(int a)
a
- value to clip@NoException @Const public static int av_clipl_int32_c(@Cast(value="int64_t") long a)
a
- value to clip@NoException @Const public static int av_clip_intp2_c(int a, int p)
a
- value to clipp
- bit position to clip at@NoException @Cast(value="unsigned") @Const public static int av_clip_uintp2_c(int a, int p)
a
- value to clipp
- bit position to clip at@NoException @Cast(value="unsigned") @Const public static int av_mod_uintp2_c(@Cast(value="unsigned") int a, @Cast(value="unsigned") int p)
a
- value to clipp
- bit position to clip at@NoException public static int av_sat_add32_c(int a, int b)
a
- one valueb
- another value@NoException public static int av_sat_dadd32_c(int a, int b)
a
- first valueb
- value doubled and added to a@NoException public static int av_sat_sub32_c(int a, int b)
a
- one valueb
- another value@NoException public static int av_sat_dsub32_c(int a, int b)
a
- first valueb
- value doubled and subtracted from a@NoException @Const public static float av_clipf_c(float a, float amin, float amax)
a
- value to clipamin
- minimum value of the clip rangeamax
- maximum value of the clip range@NoException @Const public static double av_clipd_c(double a, double amin, double amax)
a
- value to clipamin
- minimum value of the clip rangeamax
- maximum value of the clip range@NoException @Const public static int av_ceil_log2_c(int x)
x
- value used to compute ceil(log2(x))@NoException @Const public static int av_popcount_c(@Cast(value="uint32_t") int x)
x
- value to count bits of@NoException @Const public static int av_popcount64_c(@Cast(value="uint64_t") long x)
x
- value to count bits of@NoException @Const public static int av_parity_c(@Cast(value="uint32_t") int v)
public static int MKTAG(@Cast(value="char") byte a, @Cast(value="char") byte b, @Cast(value="char") byte c, @Cast(value="char") byte d)
public static int MKBETAG(@Cast(value="char") byte a, @Cast(value="char") byte b, @Cast(value="char") byte c, @Cast(value="char") byte d)
@NoException public static double av_display_rotation_get(@Const IntPointer matrix)
matrix
- the transformation matrix@NoException public static double av_display_rotation_get(@Const IntBuffer matrix)
@NoException public static double av_display_rotation_get(@Const int[] matrix)
@NoException public static void av_display_rotation_set(IntPointer matrix, double angle)
matrix
- an allocated transformation matrix (will be fully overwritten
by this function)angle
- rotation angle in degrees.@NoException public static void av_display_rotation_set(IntBuffer matrix, double angle)
@NoException public static void av_display_rotation_set(int[] matrix, double angle)
@NoException public static void av_display_matrix_flip(IntPointer matrix, int hflip, int vflip)
matrix
- an allocated transformation matrixhflip
- whether the matrix should be flipped horizontallyvflip
- whether the matrix should be flipped vertically@NoException public static void av_display_matrix_flip(IntBuffer matrix, int hflip, int vflip)
@NoException public static void av_display_matrix_flip(int[] matrix, int hflip, int vflip)
@NoException public static int av_expr_parse_and_eval(DoublePointer res, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") PointerPointer const_names, @Const DoublePointer const_values, @Cast(value="const char*const*") PointerPointer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") PointerPointer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse_and_eval(DoublePointer res, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") @ByPtrPtr BytePointer const_names, @Const DoublePointer const_values, @Cast(value="const char*const*") @ByPtrPtr BytePointer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr BytePointer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse_and_eval(DoubleBuffer res, String s, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer const_names, @Const DoubleBuffer const_values, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse_and_eval(double[] res, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") @ByPtrPtr byte[] const_names, @Const double[] const_values, @Cast(value="const char*const*") @ByPtrPtr byte[] func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr byte[] func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse_and_eval(DoublePointer res, String s, @Cast(value="const char*const*") @ByPtrPtr BytePointer const_names, @Const DoublePointer const_values, @Cast(value="const char*const*") @ByPtrPtr BytePointer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr BytePointer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse_and_eval(DoubleBuffer res, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer const_names, @Const DoubleBuffer const_values, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse_and_eval(double[] res, String s, @Cast(value="const char*const*") @ByPtrPtr byte[] const_names, @Const double[] const_values, @Cast(value="const char*const*") @ByPtrPtr byte[] func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr byte[] func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, Pointer opaque, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse(@Cast(value="AVExpr**") PointerPointer expr, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") PointerPointer const_names, @Cast(value="const char*const*") PointerPointer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") PointerPointer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
expr
- a pointer where is put an AVExpr containing the parsed
value in case of successful parsing, or NULL otherwise.
The pointed to AVExpr must be freed with av_expr_free() by the user
when it is not needed anymore.s
- expression as a zero terminated string, for example "1+2^3+5*5+sin(2/3)"const_names
- NULL terminated array of zero terminated strings of constant identifiers, for example {"PI", "E", 0}func1_names
- NULL terminated array of zero terminated strings of funcs1 identifiersfuncs1
- NULL terminated array of function pointers for functions which take 1 argumentfunc2_names
- NULL terminated array of zero terminated strings of funcs2 identifiersfuncs2
- NULL terminated array of function pointers for functions which take 2 argumentslog_ctx
- parent logging context@NoException public static int av_expr_parse(@ByPtrPtr AVExpr expr, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") @ByPtrPtr BytePointer const_names, @Cast(value="const char*const*") @ByPtrPtr BytePointer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr BytePointer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse(@ByPtrPtr AVExpr expr, String s, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer const_names, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse(@ByPtrPtr AVExpr expr, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") @ByPtrPtr byte[] const_names, @Cast(value="const char*const*") @ByPtrPtr byte[] func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr byte[] func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse(@ByPtrPtr AVExpr expr, String s, @Cast(value="const char*const*") @ByPtrPtr BytePointer const_names, @Cast(value="const char*const*") @ByPtrPtr BytePointer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr BytePointer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse(@ByPtrPtr AVExpr expr, @Cast(value="const char*") BytePointer s, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer const_names, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
@NoException public static int av_expr_parse(@ByPtrPtr AVExpr expr, String s, @Cast(value="const char*const*") @ByPtrPtr byte[] const_names, @Cast(value="const char*const*") @ByPtrPtr byte[] func1_names, @Cast(value="double (**)(void*, double)") PointerPointer funcs1, @Cast(value="const char*const*") @ByPtrPtr byte[] func2_names, @Cast(value="double (**)(void*, double, double)") PointerPointer funcs2, int log_offset, Pointer log_ctx)
@NoException public static double av_expr_eval(AVExpr e, @Const DoublePointer const_values, Pointer opaque)
const_values
- a zero terminated array of values for the identifiers from av_expr_parse() const_namesopaque
- a pointer which will be passed to all functions from funcs1 and funcs2@NoException public static double av_expr_eval(AVExpr e, @Const DoubleBuffer const_values, Pointer opaque)
@NoException public static double av_expr_eval(AVExpr e, @Const double[] const_values, Pointer opaque)
@NoException public static void av_expr_free(AVExpr e)
@NoException public static double av_strtod(@Cast(value="const char*") BytePointer numstr, @Cast(value="char**") PointerPointer tail)
numstr
- a string representing a number, may contain one of
the International System number postfixes, for example 'K', 'M',
'G'. If 'i' is appended after the postfix, powers of 2 are used
instead of powers of 10. The 'B' postfix multiplies the value by
8, and can be appended after another postfix or used alone. This
allows using for example 'KB', 'MiB', 'G' and 'B' as postfix.tail
- if non-NULL puts here the pointer to the char next
after the last parsed character@NoException public static double av_strtod(@Cast(value="const char*") BytePointer numstr, @Cast(value="char**") @ByPtrPtr BytePointer tail)
@NoException public static double av_strtod(String numstr, @Cast(value="char**") @ByPtrPtr ByteBuffer tail)
@NoException public static double av_strtod(@Cast(value="const char*") BytePointer numstr, @Cast(value="char**") @ByPtrPtr byte[] tail)
@NoException public static double av_strtod(String numstr, @Cast(value="char**") @ByPtrPtr BytePointer tail)
@NoException public static double av_strtod(@Cast(value="const char*") BytePointer numstr, @Cast(value="char**") @ByPtrPtr ByteBuffer tail)
@NoException public static double av_strtod(String numstr, @Cast(value="char**") @ByPtrPtr byte[] tail)
@NoException public static AVEncryptionInfo av_encryption_info_alloc(@Cast(value="uint32_t") int subsample_count, @Cast(value="uint32_t") int key_id_size, @Cast(value="uint32_t") int iv_size)
subsample_count
- The number of subsamples.key_id_size
- The number of bytes in the key ID, should be 16.iv_size
- The number of bytes in the IV, should be 16.@NoException public static AVEncryptionInfo av_encryption_info_clone(@Const AVEncryptionInfo info)
@NoException public static void av_encryption_info_free(AVEncryptionInfo info)
@NoException public static AVEncryptionInfo av_encryption_info_get_side_data(@Cast(value="const uint8_t*") BytePointer side_data, @Cast(value="size_t") long side_data_size)
@NoException public static AVEncryptionInfo av_encryption_info_get_side_data(@Cast(value="const uint8_t*") ByteBuffer side_data, @Cast(value="size_t") long side_data_size)
@NoException public static AVEncryptionInfo av_encryption_info_get_side_data(@Cast(value="const uint8_t*") byte[] side_data, @Cast(value="size_t") long side_data_size)
@NoException @Cast(value="uint8_t*") public static BytePointer av_encryption_info_add_side_data(@Const AVEncryptionInfo info, @Cast(value="size_t*") SizeTPointer side_data_size)
@NoException public static AVEncryptionInitInfo av_encryption_init_info_alloc(@Cast(value="uint32_t") int system_id_size, @Cast(value="uint32_t") int num_key_ids, @Cast(value="uint32_t") int key_id_size, @Cast(value="uint32_t") int data_size)
@NoException public static void av_encryption_init_info_free(AVEncryptionInitInfo info)
@NoException public static AVEncryptionInitInfo av_encryption_init_info_get_side_data(@Cast(value="const uint8_t*") BytePointer side_data, @Cast(value="size_t") long side_data_size)
@NoException public static AVEncryptionInitInfo av_encryption_init_info_get_side_data(@Cast(value="const uint8_t*") ByteBuffer side_data, @Cast(value="size_t") long side_data_size)
@NoException public static AVEncryptionInitInfo av_encryption_init_info_get_side_data(@Cast(value="const uint8_t*") byte[] side_data, @Cast(value="size_t") long side_data_size)
@NoException @Cast(value="uint8_t*") public static BytePointer av_encryption_init_info_add_side_data(@Const AVEncryptionInitInfo info, @Cast(value="size_t*") SizeTPointer side_data_size)
@NoException public static int av_file_map(@Cast(value="const char*") BytePointer filename, @Cast(value="uint8_t**") PointerPointer bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
log_offset
- loglevel offset used for logginglog_ctx
- context used for logging@NoException public static int av_file_map(@Cast(value="const char*") BytePointer filename, @Cast(value="uint8_t**") @ByPtrPtr BytePointer bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
@NoException public static int av_file_map(String filename, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
@NoException public static int av_file_map(@Cast(value="const char*") BytePointer filename, @Cast(value="uint8_t**") @ByPtrPtr byte[] bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
@NoException public static int av_file_map(String filename, @Cast(value="uint8_t**") @ByPtrPtr BytePointer bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
@NoException public static int av_file_map(@Cast(value="const char*") BytePointer filename, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
@NoException public static int av_file_map(String filename, @Cast(value="uint8_t**") @ByPtrPtr byte[] bufptr, @Cast(value="size_t*") SizeTPointer size, int log_offset, Pointer log_ctx)
@NoException public static void av_file_unmap(@Cast(value="uint8_t*") BytePointer bufptr, @Cast(value="size_t") long size)
size
- size in bytes of bufptr, must be the same as returned
by av_file_map()@NoException public static void av_file_unmap(@Cast(value="uint8_t*") ByteBuffer bufptr, @Cast(value="size_t") long size)
@NoException public static void av_file_unmap(@Cast(value="uint8_t*") byte[] bufptr, @Cast(value="size_t") long size)
@NoException public static int av_tempfile(@Cast(value="const char*") BytePointer prefix, @Cast(value="char**") PointerPointer filename, int log_offset, Pointer log_ctx)
@NoException public static int av_tempfile(@Cast(value="const char*") BytePointer prefix, @Cast(value="char**") @ByPtrPtr BytePointer filename, int log_offset, Pointer log_ctx)
@NoException public static int av_tempfile(String prefix, @Cast(value="char**") @ByPtrPtr ByteBuffer filename, int log_offset, Pointer log_ctx)
@NoException public static int av_tempfile(@Cast(value="const char*") BytePointer prefix, @Cast(value="char**") @ByPtrPtr byte[] filename, int log_offset, Pointer log_ctx)
@NoException public static int av_tempfile(String prefix, @Cast(value="char**") @ByPtrPtr BytePointer filename, int log_offset, Pointer log_ctx)
@NoException public static int av_tempfile(@Cast(value="const char*") BytePointer prefix, @Cast(value="char**") @ByPtrPtr ByteBuffer filename, int log_offset, Pointer log_ctx)
@NoException public static int av_tempfile(String prefix, @Cast(value="char**") @ByPtrPtr byte[] filename, int log_offset, Pointer log_ctx)
@NoException public static int av_hash_alloc(@Cast(value="AVHashContext**") PointerPointer ctx, @Cast(value="const char*") BytePointer name)
@NoException public static int av_hash_alloc(@ByPtrPtr AVHashContext ctx, @Cast(value="const char*") BytePointer name)
@NoException public static int av_hash_alloc(@ByPtrPtr AVHashContext ctx, String name)
@NoException @Cast(value="const char*") public static BytePointer av_hash_names(int i)
i
- [in] Index of the hash algorithm, starting from 0NULL
if i
is out of range@NoException @Cast(value="const char*") public static BytePointer av_hash_get_name(@Const AVHashContext ctx)
@NoException public static int av_hash_get_size(@Const AVHashContext ctx)
ctx
- [in] Hash context@NoException public static void av_hash_init(AVHashContext ctx)
ctx
- [in,out] Hash context@NoException public static void av_hash_update(AVHashContext ctx, @Cast(value="const uint8_t*") BytePointer src, int len)
ctx
- [in,out] Hash contextsrc
- [in] Data to be added to the hash contextlen
- [in] Size of the additional data@NoException public static void av_hash_update(AVHashContext ctx, @Cast(value="const uint8_t*") ByteBuffer src, int len)
@NoException public static void av_hash_update(AVHashContext ctx, @Cast(value="const uint8_t*") byte[] src, int len)
@NoException public static void av_hash_update(AVHashContext ctx, @Cast(value="const uint8_t*") BytePointer src, @Cast(value="size_t") long len)
@NoException public static void av_hash_update(AVHashContext ctx, @Cast(value="const uint8_t*") ByteBuffer src, @Cast(value="size_t") long len)
@NoException public static void av_hash_update(AVHashContext ctx, @Cast(value="const uint8_t*") byte[] src, @Cast(value="size_t") long len)
@NoException public static void av_hash_final(AVHashContext ctx, @Cast(value="uint8_t*") BytePointer dst)
dst
buffer is given by av_hash_get_size() or
#AV_HASH_MAX_SIZE. The use of the latter macro is discouraged.
It is not safe to update or finalize a hash context again, if it has already
been finalized.ctx
- [in,out] Hash contextdst
- [out] Where the final hash value will be storedprovides an alternative API
@NoException public static void av_hash_final(AVHashContext ctx, @Cast(value="uint8_t*") ByteBuffer dst)
@NoException public static void av_hash_final(AVHashContext ctx, @Cast(value="uint8_t*") byte[] dst)
@NoException public static void av_hash_final_bin(AVHashContext ctx, @Cast(value="uint8_t*") BytePointer dst, int size)
size
is smaller than the hash size (given by av_hash_get_size()), the
hash is truncated; if size is larger, the buffer is padded with 0.ctx
- [in,out] Hash contextdst
- [out] Where the final hash value will be storedsize
- [in] Number of bytes to write to dst
@NoException public static void av_hash_final_bin(AVHashContext ctx, @Cast(value="uint8_t*") ByteBuffer dst, int size)
@NoException public static void av_hash_final_bin(AVHashContext ctx, @Cast(value="uint8_t*") byte[] dst, int size)
@NoException public static void av_hash_final_hex(AVHashContext ctx, @Cast(value="uint8_t*") BytePointer dst, int size)
size
is smaller than 2 * hash_size + 1
, where hash_size
is the
value returned by av_hash_get_size(), the string will be truncated.ctx
- [in,out] Hash contextdst
- [out] Where the string will be storedsize
- [in] Maximum number of bytes to write to dst
@NoException public static void av_hash_final_hex(AVHashContext ctx, @Cast(value="uint8_t*") ByteBuffer dst, int size)
@NoException public static void av_hash_final_hex(AVHashContext ctx, @Cast(value="uint8_t*") byte[] dst, int size)
@NoException public static void av_hash_final_b64(AVHashContext ctx, @Cast(value="uint8_t*") BytePointer dst, int size)
size
is smaller than AV_BASE64_SIZE(hash_size), where hash_size
is
the value returned by av_hash_get_size(), the string will be truncated.ctx
- [in,out] Hash contextdst
- [out] Where the final hash value will be storedsize
- [in] Maximum number of bytes to write to dst
@NoException public static void av_hash_final_b64(AVHashContext ctx, @Cast(value="uint8_t*") ByteBuffer dst, int size)
@NoException public static void av_hash_final_b64(AVHashContext ctx, @Cast(value="uint8_t*") byte[] dst, int size)
@NoException public static void av_hash_freep(@Cast(value="AVHashContext**") PointerPointer ctx)
NULL
.ctx
- [in,out] Pointer to hash context@NoException public static void av_hash_freep(@ByPtrPtr AVHashContext ctx)
@NoException public static AVDynamicHDRPlus av_dynamic_hdr_plus_alloc(@Cast(value="size_t*") SizeTPointer size)
@NoException public static AVDynamicHDRPlus av_dynamic_hdr_plus_create_side_data(AVFrame frame)
frame
- The frame which side data is added to.@NoException public static float av_int2float(@Cast(value="uint32_t") int i)
@NoException @Cast(value="uint32_t") public static int av_float2int(float f)
@NoException public static double av_int2double(@Cast(value="uint64_t") long i)
@NoException @Cast(value="uint64_t") public static long av_double2int(double f)
@NoException public static AVMasteringDisplayMetadata av_mastering_display_metadata_alloc()
@NoException public static AVMasteringDisplayMetadata av_mastering_display_metadata_create_side_data(AVFrame frame)
frame
- The frame which side data is added to.@NoException public static AVContentLightMetadata av_content_light_metadata_alloc(@Cast(value="size_t*") SizeTPointer size)
@NoException public static AVContentLightMetadata av_content_light_metadata_create_side_data(AVFrame frame)
frame
- The frame which side data is added to.@NoException @Cast(value="AVMurMur3*") public static Pointer av_murmur3_alloc()
NULL
in case of error@NoException public static void av_murmur3_init_seeded(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="uint64_t") long seed)
c
- [out] Hash contextseed
- [in] Random seedav_murmur3_init()
,
lavu_murmur3_seedinfo "Detailed description" on a discussion of
seeds for MurmurHash3.
@NoException public static void av_murmur3_init(@Cast(value="AVMurMur3*") Pointer c)
c
- [out] Hash contextav_murmur3_init_seeded()
,
lavu_murmur3_seedinfo "Detailed description" on a discussion of
seeds for MurmurHash3.
@NoException public static void av_murmur3_update(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="const uint8_t*") BytePointer src, int len)
c
- [out] Hash contextsrc
- [in] Input data to update hash withlen
- [in] Number of bytes to read from src
@NoException public static void av_murmur3_update(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="const uint8_t*") ByteBuffer src, int len)
@NoException public static void av_murmur3_update(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="const uint8_t*") byte[] src, int len)
@NoException public static void av_murmur3_update(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="const uint8_t*") BytePointer src, @Cast(value="size_t") long len)
@NoException public static void av_murmur3_update(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="const uint8_t*") ByteBuffer src, @Cast(value="size_t") long len)
@NoException public static void av_murmur3_update(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="const uint8_t*") byte[] src, @Cast(value="size_t") long len)
@NoException public static void av_murmur3_final(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="uint8_t*") BytePointer dst)
c
- [in,out] Hash contextdst
- [out] Buffer where output digest value is stored@NoException public static void av_murmur3_final(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="uint8_t*") ByteBuffer dst)
@NoException public static void av_murmur3_final(@Cast(value="AVMurMur3*") Pointer c, @Cast(value="uint8_t*") byte[] dst)
@NoException public static int av_parse_ratio(AVRational q, @Cast(value="const char*") BytePointer str, int max, int log_offset, Pointer log_ctx)
q
- [in,out] pointer to the AVRational which will contain the ratiostr
- [in] the string to parse: it has to be a string in the format
num:den, a float number or an expressionmax
- [in] the maximum allowed numerator and denominatorlog_offset
- [in] log level offset which is applied to the log
level of log_ctxlog_ctx
- [in] parent logging context@NoException public static int av_parse_ratio(AVRational q, String str, int max, int log_offset, Pointer log_ctx)
@NoException public static int av_parse_video_size(IntPointer width_ptr, IntPointer height_ptr, @Cast(value="const char*") BytePointer str)
width_ptr
- [in,out] pointer to the variable which will contain the detected
width valueheight_ptr
- [in,out] pointer to the variable which will contain the detected
height valuestr
- [in] the string to parse: it has to be a string in the format
width x height or a valid video size abbreviation.@NoException public static int av_parse_video_size(IntBuffer width_ptr, IntBuffer height_ptr, String str)
@NoException public static int av_parse_video_size(int[] width_ptr, int[] height_ptr, @Cast(value="const char*") BytePointer str)
@NoException public static int av_parse_video_size(IntPointer width_ptr, IntPointer height_ptr, String str)
@NoException public static int av_parse_video_size(IntBuffer width_ptr, IntBuffer height_ptr, @Cast(value="const char*") BytePointer str)
@NoException public static int av_parse_video_size(int[] width_ptr, int[] height_ptr, String str)
@NoException public static int av_parse_video_rate(AVRational rate, @Cast(value="const char*") BytePointer str)
rate
- [in,out] pointer to the AVRational which will contain the detected
frame ratestr
- [in] the string to parse: it has to be a string in the format
rate_num / rate_den, a float number or a valid video rate abbreviation@NoException public static int av_parse_video_rate(AVRational rate, String str)
@NoException public static int av_parse_color(@Cast(value="uint8_t*") BytePointer rgba_color, @Cast(value="const char*") BytePointer color_string, int slen, Pointer log_ctx)
color_string
- a string specifying a color. It can be the name of
a color (case insensitive match) or a [0x|#]RRGGBB[AA] sequence,
possibly followed by "\" and a string representing the alpha
component.
The alpha component may be a string composed by "0x" followed by an
hexadecimal number or a decimal number between 0.0 and 1.0, which
represents the opacity value (0x00/0.0 means completely transparent,
0xff/1.0 completely opaque).
If the alpha component is not specified then 0xff is assumed.
The string "random" will result in a random color.slen
- length of the initial part of color_string containing the
color. It can be set to -1 if color_string is a null terminated string
containing nothing else than the color.@NoException public static int av_parse_color(@Cast(value="uint8_t*") ByteBuffer rgba_color, String color_string, int slen, Pointer log_ctx)
@NoException public static int av_parse_color(@Cast(value="uint8_t*") byte[] rgba_color, @Cast(value="const char*") BytePointer color_string, int slen, Pointer log_ctx)
@NoException public static int av_parse_color(@Cast(value="uint8_t*") BytePointer rgba_color, String color_string, int slen, Pointer log_ctx)
@NoException public static int av_parse_color(@Cast(value="uint8_t*") ByteBuffer rgba_color, @Cast(value="const char*") BytePointer color_string, int slen, Pointer log_ctx)
@NoException public static int av_parse_color(@Cast(value="uint8_t*") byte[] rgba_color, String color_string, int slen, Pointer log_ctx)
@NoException @Cast(value="const char*") public static BytePointer av_get_known_color_name(int color_idx, @Cast(value="const uint8_t**") PointerPointer rgb)
color_idx
- index of the requested color, starting from 0rgbp
- if not NULL, will point to a 3-elements array with the color value in RGB@NoException @Cast(value="const char*") public static BytePointer av_get_known_color_name(int color_idx, @Cast(value="const uint8_t**") @ByPtrPtr BytePointer rgb)
@NoException public static String av_get_known_color_name(int color_idx, @Cast(value="const uint8_t**") @ByPtrPtr ByteBuffer rgb)
@NoException @Cast(value="const char*") public static BytePointer av_get_known_color_name(int color_idx, @Cast(value="const uint8_t**") @ByPtrPtr byte[] rgb)
@NoException public static int av_parse_time(@Cast(value="int64_t*") LongPointer timeval, @Cast(value="const char*") BytePointer timestr, int duration)
timeval
- puts here the number of microseconds corresponding
to the string in timestr. If the string represents a duration, it
is the number of microseconds contained in the time interval. If
the string is a date, is the number of microseconds since 1st of
January, 1970 up to the time of the parsed date. If timestr cannot
be successfully parsed, set *time to INT64_MIN.
timestr
- a string representing a date or a duration.
- If a date the syntax is:
[{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH:MM:SS[.m...]]]}|{HHMMSS[.m...]]]}}[Z]
now
If the value is "now" it takes the current time.
Time is local time unless Z is appended, in which case it is
interpreted as UTC.
If the year-month-day part is not specified it takes the current
year-month-day.
- If a duration the syntax is:
[-][HH:]MM:SS[.m...]
[-]S+[.m...]
duration
- flag which tells how to interpret timestr, if not
zero timestr is interpreted as a duration, otherwise as a date@NoException public static int av_parse_time(@Cast(value="int64_t*") LongBuffer timeval, String timestr, int duration)
@NoException public static int av_parse_time(@Cast(value="int64_t*") long[] timeval, @Cast(value="const char*") BytePointer timestr, int duration)
@NoException public static int av_parse_time(@Cast(value="int64_t*") LongPointer timeval, String timestr, int duration)
@NoException public static int av_parse_time(@Cast(value="int64_t*") LongBuffer timeval, @Cast(value="const char*") BytePointer timestr, int duration)
@NoException public static int av_parse_time(@Cast(value="int64_t*") long[] timeval, String timestr, int duration)
@NoException public static int av_find_info_tag(@Cast(value="char*") BytePointer arg, int arg_size, @Cast(value="const char*") BytePointer tag1, @Cast(value="const char*") BytePointer info)
@NoException public static int av_find_info_tag(@Cast(value="char*") ByteBuffer arg, int arg_size, String tag1, String info)
@NoException public static int av_find_info_tag(@Cast(value="char*") byte[] arg, int arg_size, @Cast(value="const char*") BytePointer tag1, @Cast(value="const char*") BytePointer info)
@NoException public static int av_find_info_tag(@Cast(value="char*") BytePointer arg, int arg_size, String tag1, String info)
@NoException public static int av_find_info_tag(@Cast(value="char*") ByteBuffer arg, int arg_size, @Cast(value="const char*") BytePointer tag1, @Cast(value="const char*") BytePointer info)
@NoException public static int av_find_info_tag(@Cast(value="char*") byte[] arg, int arg_size, String tag1, String info)
@NoException @Cast(value="char*") public static BytePointer av_small_strptime(@Cast(value="const char*") BytePointer p, @Cast(value="const char*") BytePointer fmt, tm dt)
@NoException @Cast(value="char*") public static ByteBuffer av_small_strptime(String p, String fmt, tm dt)
@NoException @ByVal @Cast(value="time_t*") public static Pointer av_timegm(tm tm)
@NoException public static av_pixelutils_sad_fn av_pixelutils_get_sad_fn(int w_bits, int h_bits, int aligned, Pointer log_ctx)
w_bits
- 1<h_bits
- 1<aligned
- If set to 2, the returned sad function will assume src1 and
src2 addresses are aligned on the block size.
If set to 1, the returned sad function will assume src1 is
aligned on the block size.
If set to 0, the returned sad function assume no particular
alignment.log_ctx
- context used for logging, can be NULL@NoException @Cast(value="uint32_t") public static int av_get_random_seed()
@NoException public static AVSphericalMapping av_spherical_alloc(@Cast(value="size_t*") SizeTPointer size)
@NoException public static void av_spherical_tile_bounds(@Const AVSphericalMapping map, @Cast(value="size_t") long width, @Cast(value="size_t") long height, @Cast(value="size_t*") SizeTPointer left, @Cast(value="size_t*") SizeTPointer top, @Cast(value="size_t*") SizeTPointer right, @Cast(value="size_t*") SizeTPointer bottom)
map
- The AVSphericalVideo map to read bound values from.width
- Width of the current frame or stream.height
- Height of the current frame or stream.left
- Pixels from the left edge.top
- Pixels from the top edge.right
- Pixels from the right edge.bottom
- Pixels from the bottom edge.@NoException @Cast(value="const char*") public static BytePointer av_spherical_projection_name(@Cast(value="AVSphericalProjection") int projection)
projection
- The input AVSphericalProjection.@NoException public static int av_spherical_from_name(@Cast(value="const char*") BytePointer name)
name
- The input string.@NoException public static int av_spherical_from_name(String name)
@NoException public static int av_thread_message_queue_alloc(@Cast(value="AVThreadMessageQueue**") PointerPointer mq, @Cast(value="unsigned") int nelem, @Cast(value="unsigned") int elsize)
mq
- pointer to the message queuenelem
- maximum number of elements in the queueelsize
- size of each element in the queue@NoException public static int av_thread_message_queue_alloc(@ByPtrPtr AVThreadMessageQueue mq, @Cast(value="unsigned") int nelem, @Cast(value="unsigned") int elsize)
@NoException public static void av_thread_message_queue_free(@Cast(value="AVThreadMessageQueue**") PointerPointer mq)
@NoException public static void av_thread_message_queue_free(@ByPtrPtr AVThreadMessageQueue mq)
@NoException public static int av_thread_message_queue_send(AVThreadMessageQueue mq, Pointer msg, @Cast(value="unsigned") int flags)
@NoException public static int av_thread_message_queue_recv(AVThreadMessageQueue mq, Pointer msg, @Cast(value="unsigned") int flags)
@NoException public static void av_thread_message_queue_set_err_send(AVThreadMessageQueue mq, int err)
@NoException public static void av_thread_message_queue_set_err_recv(AVThreadMessageQueue mq, int err)
@NoException public static void av_thread_message_queue_set_free_func(AVThreadMessageQueue mq, Free_func_Pointer free_func)
@NoException public static int av_thread_message_queue_nb_elems(AVThreadMessageQueue mq)
@NoException public static void av_thread_message_flush(AVThreadMessageQueue mq)
@NoException public static int av_timecode_adjust_ntsc_framenum2(int framenum, int fps)
framenum
- frame number to adjustfps
- frame per second, 30 or 60@NoException @Cast(value="uint32_t") public static int av_timecode_get_smpte_from_framenum(@Const AVTimecode tc, int framenum)
tc
- timecode data correctly initializedframenum
- frame number@NoException @Cast(value="char*") public static BytePointer av_timecode_make_string(@Const AVTimecode tc, @Cast(value="char*") BytePointer buf, int framenum)
buf
- destination buffer, must be at least AV_TIMECODE_STR_SIZE longtc
- timecode data correctly initializedframenum
- frame number@NoException @Cast(value="char*") public static ByteBuffer av_timecode_make_string(@Const AVTimecode tc, @Cast(value="char*") ByteBuffer buf, int framenum)
@NoException @Cast(value="char*") public static byte[] av_timecode_make_string(@Const AVTimecode tc, @Cast(value="char*") byte[] buf, int framenum)
@NoException @Cast(value="char*") public static BytePointer av_timecode_make_smpte_tc_string(@Cast(value="char*") BytePointer buf, @Cast(value="uint32_t") int tcsmpte, int prevent_df)
buf
- destination buffer, must be at least AV_TIMECODE_STR_SIZE longtcsmpte
- the 32-bit SMPTE timecodeprevent_df
- prevent the use of a drop flag when it is known the DF bit
is arbitrary@NoException @Cast(value="char*") public static ByteBuffer av_timecode_make_smpte_tc_string(@Cast(value="char*") ByteBuffer buf, @Cast(value="uint32_t") int tcsmpte, int prevent_df)
@NoException @Cast(value="char*") public static byte[] av_timecode_make_smpte_tc_string(@Cast(value="char*") byte[] buf, @Cast(value="uint32_t") int tcsmpte, int prevent_df)
@NoException @Cast(value="char*") public static BytePointer av_timecode_make_mpeg_tc_string(@Cast(value="char*") BytePointer buf, @Cast(value="uint32_t") int tc25bit)
buf
- destination buffer, must be at least AV_TIMECODE_STR_SIZE longtc25bit
- the 25-bits timecode@NoException @Cast(value="char*") public static ByteBuffer av_timecode_make_mpeg_tc_string(@Cast(value="char*") ByteBuffer buf, @Cast(value="uint32_t") int tc25bit)
@NoException @Cast(value="char*") public static byte[] av_timecode_make_mpeg_tc_string(@Cast(value="char*") byte[] buf, @Cast(value="uint32_t") int tc25bit)
@NoException public static int av_timecode_init(AVTimecode tc, @ByVal AVRational rate, int flags, int frame_start, Pointer log_ctx)
log_ctx
- a pointer to an arbitrary struct of which the first field
is a pointer to an AVClass struct (used for av_log)tc
- pointer to an allocated AVTimecoderate
- frame rate in rational formflags
- miscellaneous flags such as drop frame, +24 hours, ...
(see AVTimecodeFlag)frame_start
- the first frame number@NoException public static int av_timecode_init_from_string(AVTimecode tc, @ByVal AVRational rate, @Cast(value="const char*") BytePointer str, Pointer log_ctx)
log_ctx
- a pointer to an arbitrary struct of which the first field is a
pointer to an AVClass struct (used for av_log).tc
- pointer to an allocated AVTimecoderate
- frame rate in rational formstr
- timecode string which will determine the frame start@NoException public static int av_timecode_init_from_string(AVTimecode tc, @ByVal AVRational rate, String str, Pointer log_ctx)
@NoException public static int av_timecode_check_frame_rate(@ByVal AVRational rate)
@NoException @Cast(value="char*") public static BytePointer av_ts_make_string(@Cast(value="char*") BytePointer buf, @Cast(value="int64_t") long ts)
buf
- a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZEts
- the timestamp to represent@NoException @Cast(value="char*") public static ByteBuffer av_ts_make_string(@Cast(value="char*") ByteBuffer buf, @Cast(value="int64_t") long ts)
@NoException @Cast(value="char*") public static byte[] av_ts_make_string(@Cast(value="char*") byte[] buf, @Cast(value="int64_t") long ts)
@NoException @Cast(value="char*") public static BytePointer av_ts_make_time_string(@Cast(value="char*") BytePointer buf, @Cast(value="int64_t") long ts, AVRational tb)
buf
- a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZEts
- the timestamp to representtb
- the timebase of the timestamp@NoException @Cast(value="char*") public static ByteBuffer av_ts_make_time_string(@Cast(value="char*") ByteBuffer buf, @Cast(value="int64_t") long ts, AVRational tb)
@NoException @Cast(value="char*") public static byte[] av_ts_make_time_string(@Cast(value="char*") byte[] buf, @Cast(value="int64_t") long ts, AVRational tb)
@MemberGetter public static int av_tree_node_size()
@NoException public static AVTreeNode av_tree_node_alloc()
@NoException public static Pointer av_tree_find(@Const AVTreeNode root, Pointer key, @Cast(value="int (*)(const void*, const void*)") Cmp_Const_Pointer_Const_Pointer cmp, @Cast(value="void**") PointerPointer next)
@NoException public static Pointer av_tree_find(@Const AVTreeNode root, Pointer key, @Cast(value="int (*)(const void*, const void*)") Cmp_Const_Pointer_Const_Pointer cmp, @Cast(value="void**") @ByPtrPtr Pointer next)
@NoException public static Pointer av_tree_insert(@Cast(value="AVTreeNode**") PointerPointer rootp, Pointer key, @Cast(value="int (*)(const void*, const void*)") Cmp_Const_Pointer_Const_Pointer cmp, @Cast(value="AVTreeNode**") PointerPointer next)
rootp
- A pointer to a pointer to the root node of the tree; note that
the root node can change during insertions, this is required
to keep the tree balanced.key
- pointer to the element key to insert in the treenext
- Used to allocate and free AVTreeNodes. For insertion the user
must set it to an allocated and zeroed object of at least
av_tree_node_size bytes size. av_tree_insert() will set it to
NULL if it has been consumed.
For deleting elements *next is set to NULL by the user and
av_tree_insert() will set it to the AVTreeNode which was
used for the removed element.
This allows the use of flat arrays, which have
lower overhead compared to many malloced elements.
You might want to define a function like:
void *tree_insert(struct AVTreeNode **rootp, void *key,
int (*cmp)(void *key, const void *b),
AVTreeNode **next)
{
if (!*next)
*next = av_mallocz(av_tree_node_size);
return av_tree_insert(rootp, key, cmp, next);
}
void *tree_remove(struct AVTreeNode **rootp, void *key,
int (*cmp)(void *key, const void *b, AVTreeNode **next))
{
av_freep(next);
return av_tree_insert(rootp, key, cmp, next);
}
cmp
- compare function used to compare elements in the tree, API identical
to that of Standard C's qsort@NoException public static Pointer av_tree_insert(@ByPtrPtr AVTreeNode rootp, Pointer key, @Cast(value="int (*)(const void*, const void*)") Cmp_Const_Pointer_Const_Pointer cmp, @ByPtrPtr AVTreeNode next)
@NoException public static void av_tree_destroy(AVTreeNode t)
@NoException public static void av_tree_enumerate(AVTreeNode t, Pointer opaque, Cmp_Pointer_Pointer cmp, Enu_Pointer_Pointer enu)
@NoException public static int av_tx_init(@Cast(value="AVTXContext**") PointerPointer ctx, @ByPtrPtr av_tx_fn tx, @Cast(value="AVTXType") int type, int inv, int len, @Const Pointer scale, @Cast(value="uint64_t") long flags)
ctx
- the context to allocate, will be NULL on errortx
- pointer to the transform function pointer to settype
- type the type of transforminv
- whether to do an inverse or a forward transformlen
- the size of the transform in samplesscale
- pointer to the value to scale the output if supported by typeflags
- currently unused@NoException public static int av_tx_init(@ByPtrPtr AVTXContext ctx, @ByPtrPtr av_tx_fn tx, @Cast(value="AVTXType") int type, int inv, int len, @Const Pointer scale, @Cast(value="uint64_t") long flags)
@NoException public static void av_tx_uninit(@Cast(value="AVTXContext**") PointerPointer ctx)
@NoException public static void av_tx_uninit(@ByPtrPtr AVTXContext ctx)
public static LogCallback logCallback()
public static void logCallback(LogCallback setter)
@NoException public static void log_callback(Pointer ptr, int level, @Cast(value="const char*") BytePointer fmt, @ByVal @Cast(value="va_list*") Pointer vl)
@NoException public static void log_callback(Pointer ptr, int level, String fmt, @ByVal @Cast(value="va_list*") Pointer vl)
@NoException public static void setLogCallback(LogCallback lc)
Copyright © 2020. All rights reserved.