@Properties(inherit=swscale.class) public class SwsContext extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SwsContext()
Default native constructor.
|
SwsContext(long size)
Native array allocator.
|
SwsContext(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
alpha_blend()
Alpha blending mode.
|
SwsContext |
alpha_blend(int setter) |
AVClass |
av_class() |
SwsContext |
av_class(AVClass setter) |
int |
dither()
Dither mode.
|
SwsContext |
dither(int setter) |
int |
dst_format()
Destination pixel format
|
SwsContext |
dst_format(int setter) |
int |
dst_h_chr_pos()
Destination horizontal chroma position
|
SwsContext |
dst_h_chr_pos(int setter) |
int |
dst_h() |
SwsContext |
dst_h(int setter) |
int |
dst_range()
Destination is full range
|
SwsContext |
dst_range(int setter) |
int |
dst_v_chr_pos()
Destination vertical chroma position
|
SwsContext |
dst_v_chr_pos(int setter) |
int |
dst_w()
Width and height of the destination frame
|
SwsContext |
dst_w(int setter) |
int |
flags()
Bitmask of SWS_*.
|
SwsContext |
flags(int setter) |
int |
gamma_flag()
Use gamma correct scaling.
|
SwsContext |
gamma_flag(int setter) |
SwsContext |
getPointer(long i) |
int |
intent()
Desired ICC intent for color space conversions.
|
SwsContext |
intent(int setter) |
Pointer |
opaque()
Private data of the user, can be used to carry app specific stuff.
|
SwsContext |
opaque(Pointer setter) |
SwsContext |
position(long position) |
DoublePointer |
scaler_params() |
double |
scaler_params(int i)
Extra parameters for fine-tuning certain scalers.
|
SwsContext |
scaler_params(int i,
double setter) |
int |
src_format()
Source pixel format
|
SwsContext |
src_format(int setter) |
int |
src_h_chr_pos()
Source horizontal chroma position
|
SwsContext |
src_h_chr_pos(int setter) |
int |
src_h() |
SwsContext |
src_h(int setter) |
int |
src_range()
Source is full range
|
SwsContext |
src_range(int setter) |
int |
src_v_chr_pos()
Source vertical chroma position in luma grid / 256
|
SwsContext |
src_v_chr_pos(int setter) |
int |
src_w()
Width and height of the source frame
|
SwsContext |
src_w(int setter) |
int |
threads()
How many threads to use for processing, or 0 for automatic selection.
|
SwsContext |
threads(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zeropublic SwsContext()
public SwsContext(long size)
Pointer.position(long).public SwsContext(Pointer p)
Pointer(Pointer).public SwsContext position(long position)
public SwsContext getPointer(long i)
getPointer in class Pointerpublic SwsContext av_class(AVClass setter)
public Pointer opaque()
public SwsContext opaque(Pointer setter)
public SwsContext flags(int setter)
public double scaler_params(int i)
public SwsContext scaler_params(int i, double setter)
@MemberGetter public DoublePointer scaler_params()
public int threads()
public SwsContext threads(int setter)
public SwsContext dither(int setter)
@Cast(value="SwsAlphaBlend") public int alpha_blend()
SwsAlphaBlend for details.public SwsContext alpha_blend(int setter)
public int gamma_flag()
public SwsContext gamma_flag(int setter)
public int src_w()
public SwsContext src_w(int setter)
public int src_h()
public SwsContext src_h(int setter)
public int dst_w()
public SwsContext dst_w(int setter)
public int dst_h()
public SwsContext dst_h(int setter)
public int src_format()
public SwsContext src_format(int setter)
public int dst_format()
public SwsContext dst_format(int setter)
public int src_range()
public SwsContext src_range(int setter)
public int dst_range()
public SwsContext dst_range(int setter)
public int src_v_chr_pos()
public SwsContext src_v_chr_pos(int setter)
public int src_h_chr_pos()
public SwsContext src_h_chr_pos(int setter)
public int dst_v_chr_pos()
public SwsContext dst_v_chr_pos(int setter)
public int dst_h_chr_pos()
public SwsContext dst_h_chr_pos(int setter)
public int intent()
public SwsContext intent(int setter)
Copyright © 2026. All rights reserved.