public class avutil extends avutil
| Modifier and Type | Field and Description |
|---|---|
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_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_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_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_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_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_TIME_BASE
Internal time base represented as integer
|
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 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 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 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 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_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 int |
av_cpu_count() |
static long |
av_cpu_max_align()
Get the maximum data alignment that may be required by FFmpeg.
|
static AVRational |
av_d2q(double d,
int max)
Convert a double precision floating point number to a rational.
|
static int |
av_default_get_category(Pointer ptr) |
static BytePointer |
av_default_item_name(Pointer ctx)
Return the context name
|
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 AVRational |
av_div_q(AVRational b,
AVRational c)
Divide one rational by another.
|
static AVDownmixInfo |
av_downmix_info_update_side_data(AVFrame frame)
Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.
|
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 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_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_nearest_q_idx(AVRational q,
AVRational q_list)
Find the value in a list of rationals nearest a given reference rational.
|
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_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 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 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 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 AVRational |
av_inv_q(AVRational q)
Invert a rational.
|
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 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 void |
av_max_alloc(long max)
Set the maximum size that may be allocated in one block.
|
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 AVRational |
av_mul_q(AVRational b,
AVRational c)
Multiply two rationals.
|
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_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_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 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 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 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 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 int |
av_size_mult(long a,
long b,
SizeTPointer r)
Multiply two
size_t values checking for overflow. |
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 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_strndup(BytePointer s,
long len)
Duplicate a substring of a string.
|
static ByteBuffer |
av_strndup(String s,
long len) |
static AVRational |
av_sub_q(AVRational b,
AVRational c)
Subtract one rational from another.
|
static int |
av_usleep(int usec)
Sleep for a period of time.
|
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 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 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, mappublic 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
@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 NULLsize - 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 NULLnmemb - 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 NULLsize - [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 ptrptr 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 *ptrav_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 *ptrav_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_tbduration - [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)
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 © 2019. All rights reserved.