@Properties(inherit=avcodec.class) public class AVCodecParameters extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AVCodecParameters()
Default native constructor.
|
AVCodecParameters(long size)
Native array allocator.
|
AVCodecParameters(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
bit_rate()
The average bitrate of the encoded data (in bits per second).
|
AVCodecParameters |
bit_rate(long setter) |
int |
bits_per_coded_sample()
The number of bits per sample in the codedwords.
|
AVCodecParameters |
bits_per_coded_sample(int setter) |
int |
bits_per_raw_sample()
This is the number of valid bits in each output sample.
|
AVCodecParameters |
bits_per_raw_sample(int setter) |
int |
block_align()
Audio only.
|
AVCodecParameters |
block_align(int setter) |
long |
channel_layout()
Audio only.
|
AVCodecParameters |
channel_layout(long setter) |
int |
channels()
Audio only.
|
AVCodecParameters |
channels(int setter) |
int |
chroma_location() |
AVCodecParameters |
chroma_location(int setter) |
int |
codec_id()
Specific type of the encoded data (the codec used).
|
AVCodecParameters |
codec_id(int setter) |
int |
codec_tag()
Additional information about the codec (corresponds to the AVI FOURCC).
|
AVCodecParameters |
codec_tag(int setter) |
int |
codec_type()
General type of the encoded data.
|
AVCodecParameters |
codec_type(int setter) |
int |
color_primaries() |
AVCodecParameters |
color_primaries(int setter) |
int |
color_range()
Video only.
|
AVCodecParameters |
color_range(int setter) |
int |
color_space() |
AVCodecParameters |
color_space(int setter) |
int |
color_trc() |
AVCodecParameters |
color_trc(int setter) |
int |
extradata_size()
Size of the extradata content in bytes.
|
AVCodecParameters |
extradata_size(int setter) |
BytePointer |
extradata()
Extra binary data needed for initializing the decoder, codec-dependent.
|
AVCodecParameters |
extradata(BytePointer setter) |
int |
field_order()
Video only.
|
AVCodecParameters |
field_order(int setter) |
int |
format()
- video: the pixel format, the value corresponds to enum AVPixelFormat.
|
AVCodecParameters |
format(int setter) |
int |
frame_size()
Audio only.
|
AVCodecParameters |
frame_size(int setter) |
int |
height() |
AVCodecParameters |
height(int setter) |
int |
initial_padding()
Audio only.
|
AVCodecParameters |
initial_padding(int setter) |
int |
level() |
AVCodecParameters |
level(int setter) |
AVCodecParameters |
position(long position) |
int |
profile()
Codec-specific bitstream restrictions that the stream conforms to.
|
AVCodecParameters |
profile(int setter) |
AVRational |
sample_aspect_ratio()
Video only.
|
AVCodecParameters |
sample_aspect_ratio(AVRational setter) |
int |
sample_rate()
Audio only.
|
AVCodecParameters |
sample_rate(int setter) |
int |
seek_preroll()
Audio only.
|
AVCodecParameters |
seek_preroll(int setter) |
int |
trailing_padding()
Audio only.
|
AVCodecParameters |
trailing_padding(int setter) |
int |
video_delay()
Video only.
|
AVCodecParameters |
video_delay(int setter) |
int |
width()
Video only.
|
AVCodecParameters |
width(int 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 AVCodecParameters()
public AVCodecParameters(long size)
Pointer.position(long)
.public AVCodecParameters(Pointer p)
Pointer.Pointer(Pointer)
.public AVCodecParameters position(long position)
public AVCodecParameters codec_type(int setter)
@Cast(value="AVCodecID") public int codec_id()
public AVCodecParameters codec_id(int setter)
@Cast(value="uint32_t") public int codec_tag()
public AVCodecParameters codec_tag(int setter)
@Cast(value="uint8_t*") public BytePointer extradata()
public AVCodecParameters extradata(BytePointer setter)
public int extradata_size()
public AVCodecParameters extradata_size(int setter)
public int format()
public AVCodecParameters format(int setter)
@Cast(value="int64_t") public long bit_rate()
public AVCodecParameters bit_rate(long setter)
public int bits_per_coded_sample()
public AVCodecParameters bits_per_coded_sample(int setter)
public int bits_per_raw_sample()
public AVCodecParameters bits_per_raw_sample(int setter)
public int profile()
public AVCodecParameters profile(int setter)
public int level()
public AVCodecParameters level(int setter)
public int width()
public AVCodecParameters width(int setter)
public int height()
public AVCodecParameters height(int setter)
@ByRef public AVRational sample_aspect_ratio()
public AVCodecParameters sample_aspect_ratio(AVRational setter)
@Cast(value="AVFieldOrder") public int field_order()
public AVCodecParameters field_order(int setter)
@Cast(value="AVColorRange") public int color_range()
public AVCodecParameters color_range(int setter)
public AVCodecParameters color_primaries(int setter)
public AVCodecParameters color_trc(int setter)
public AVCodecParameters color_space(int setter)
public AVCodecParameters chroma_location(int setter)
public int video_delay()
public AVCodecParameters video_delay(int setter)
@Cast(value="uint64_t") public long channel_layout()
public AVCodecParameters channel_layout(long setter)
public int channels()
public AVCodecParameters channels(int setter)
public int sample_rate()
public AVCodecParameters sample_rate(int setter)
public int block_align()
public AVCodecParameters block_align(int setter)
public int frame_size()
public AVCodecParameters frame_size(int setter)
public int initial_padding()
public AVCodecParameters initial_padding(int setter)
public int trailing_padding()
public AVCodecParameters trailing_padding(int setter)
public int seek_preroll()
public AVCodecParameters seek_preroll(int setter)
Copyright © 2020. All rights reserved.