public static class avutil.AVOption extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
AV_OPT_FLAG_AUDIO_PARAM |
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_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_METADATA
some data extracted or inserted into the file like title, comment, ...
|
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() |
avutil.AVOption |
default_val_dbl(double default_val_dbl) |
long |
default_val_i64()
the default value for scalar options
|
avutil.AVOption |
default_val_i64(long default_val_i64) |
avutil.AVRational |
default_val_q() |
avutil.AVOption |
default_val_q(avutil.AVRational default_val_q) |
BytePointer |
default_val_str() |
int |
flags() |
avutil.AVOption |
flags(int flags) |
BytePointer |
help()
short English help text
\todo What about other languages?
|
double |
max()
maximum valid value for the option
|
avutil.AVOption |
max(double max) |
double |
min()
minimum valid value for the option
|
avutil.AVOption |
min(double min) |
BytePointer |
name() |
int |
offset()
The offset relative to the context structure where the option
value is stored.
|
avutil.AVOption |
offset(int offset) |
avutil.AVOption |
position(long position) |
int |
type() |
avutil.AVOption |
type(int type) |
BytePointer |
unit()
The logical unit to which the option belongs.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int AV_OPT_FLAG_ENCODING_PARAM
public static final int AV_OPT_FLAG_DECODING_PARAM
public static final int AV_OPT_FLAG_METADATA
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_FILTERING_PARAM
public AVOption()
public AVOption(long size)
Pointer.position(long).public AVOption(Pointer p)
Pointer.Pointer(Pointer).public avutil.AVOption position(long position)
@MemberGetter @Cast(value="const char*") public BytePointer name()
@MemberGetter @Cast(value="const char*") public BytePointer help()
public int offset()
public avutil.AVOption offset(int offset)
public avutil.AVOption type(int type)
@Name(value="default_val.i64") @Cast(value="int64_t") public long default_val_i64()
public avutil.AVOption default_val_i64(long default_val_i64)
public avutil.AVOption default_val_dbl(double default_val_dbl)
@Name(value="default_val.str") @MemberGetter @Cast(value="const char*") public BytePointer default_val_str()
@Name(value="default_val.q") @ByRef public avutil.AVRational default_val_q()
public avutil.AVOption default_val_q(avutil.AVRational default_val_q)
public double min()
public avutil.AVOption min(double min)
public double max()
public avutil.AVOption max(double max)
public int flags()
public avutil.AVOption flags(int flags)
@MemberGetter @Cast(value="const char*") public BytePointer unit()
Copyright © 2018. All rights reserved.