@Properties(inherit=avutil.class) public class AVOption extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
AV_OPT_FLAG_AUDIO_PARAM |
static int |
AV_OPT_FLAG_BSF_PARAM
a generic parameter which can be set by the user for bit stream filtering
|
static int |
AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
|
static int |
AV_OPT_FLAG_DEPRECATED
set if option is deprecated, users should refer to AVOption.help text for more information
|
static int |
AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
|
static int |
AV_OPT_FLAG_EXPORT
The option is intended for exporting values to the caller.
|
static int |
AV_OPT_FLAG_FILTERING_PARAM
a generic parameter which can be set by the user for filtering
|
static int |
AV_OPT_FLAG_READONLY
The option may not be set through the AVOptions API, only read.
|
static int |
AV_OPT_FLAG_SUBTITLE_PARAM |
static int |
AV_OPT_FLAG_VIDEO_PARAM |
Constructor and Description |
---|
AVOption()
Default native constructor.
|
AVOption(long size)
Native array allocator.
|
AVOption(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
default_val_dbl() |
AVOption |
default_val_dbl(double setter) |
long |
default_val_i64()
the default value for scalar options
|
AVOption |
default_val_i64(long setter) |
AVRational |
default_val_q() |
AVOption |
default_val_q(AVRational setter) |
BytePointer |
default_val_str() |
AVOption |
default_val_str(BytePointer setter) |
int |
flags() |
AVOption |
flags(int setter) |
BytePointer |
help()
short English help text
\todo What about other languages?
|
AVOption |
help(BytePointer setter) |
double |
max()
maximum valid value for the option
|
AVOption |
max(double setter) |
double |
min()
minimum valid value for the option
|
AVOption |
min(double setter) |
BytePointer |
name() |
AVOption |
name(BytePointer setter) |
int |
offset()
The offset relative to the context structure where the option
value is stored.
|
AVOption |
offset(int setter) |
AVOption |
position(long position) |
int |
type() |
AVOption |
type(int setter) |
BytePointer |
unit()
The logical unit to which the option belongs.
|
AVOption |
unit(BytePointer setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int AV_OPT_FLAG_ENCODING_PARAM
public static final int AV_OPT_FLAG_DECODING_PARAM
public static final int AV_OPT_FLAG_AUDIO_PARAM
public static final int AV_OPT_FLAG_VIDEO_PARAM
public static final int AV_OPT_FLAG_SUBTITLE_PARAM
public static final int AV_OPT_FLAG_EXPORT
public static final int AV_OPT_FLAG_READONLY
public static final int AV_OPT_FLAG_BSF_PARAM
public static final int AV_OPT_FLAG_FILTERING_PARAM
public static final int AV_OPT_FLAG_DEPRECATED
public AVOption()
public AVOption(long size)
Pointer.position(long)
.public AVOption(Pointer p)
Pointer.Pointer(Pointer)
.@Cast(value="const char*") public BytePointer name()
public AVOption name(BytePointer setter)
@Cast(value="const char*") public BytePointer help()
public AVOption help(BytePointer setter)
public int offset()
public AVOption offset(int setter)
public AVOption type(int setter)
@Name(value="default_val.i64") @Cast(value="int64_t") public long default_val_i64()
public AVOption default_val_i64(long setter)
public AVOption default_val_dbl(double setter)
@Name(value="default_val.str") @Cast(value="const char*") public BytePointer default_val_str()
public AVOption default_val_str(BytePointer setter)
@Name(value="default_val.q") @ByRef public AVRational default_val_q()
public AVOption default_val_q(AVRational setter)
public double min()
public AVOption min(double setter)
public double max()
public AVOption max(double setter)
public int flags()
public AVOption flags(int setter)
@Cast(value="const char*") public BytePointer unit()
public AVOption unit(BytePointer setter)
Copyright © 2020. All rights reserved.