public static class avutil.AVHWFramesContext extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
avutil.AVHWFramesContext.Free_AVHWFramesContext
This field may be set by the caller before calling av_hwframe_ctx_init().
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AVHWFramesContext()
Default native constructor.
|
AVHWFramesContext(long size)
Native array allocator.
|
AVHWFramesContext(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
avutil.AVClass |
av_class()
A class for logging.
|
avutil.AVHWDeviceContext |
device_ctx()
The parent AVHWDeviceContext.
|
avutil.AVHWFramesContext |
device_ctx(avutil.AVHWDeviceContext device_ctx) |
avutil.AVBufferRef |
device_ref()
A reference to the parent AVHWDeviceContext.
|
avutil.AVHWFramesContext |
device_ref(avutil.AVBufferRef device_ref) |
int |
format()
The pixel format identifying the underlying HW surface type.
|
avutil.AVHWFramesContext |
format(int format) |
avutil.AVHWFramesContext.Free_AVHWFramesContext |
free() |
avutil.AVHWFramesContext |
free(avutil.AVHWFramesContext.Free_AVHWFramesContext free) |
int |
height() |
avutil.AVHWFramesContext |
height(int height) |
Pointer |
hwctx()
The format-specific data, allocated and freed automatically along with
this context.
|
avutil.AVHWFramesContext |
hwctx(Pointer hwctx) |
int |
initial_pool_size()
Initial size of the frame pool.
|
avutil.AVHWFramesContext |
initial_pool_size(int initial_pool_size) |
avutil.AVHWFramesInternal |
internal()
Private data used internally by libavutil.
|
avutil.AVHWFramesContext |
internal(avutil.AVHWFramesInternal internal) |
avutil.AVBufferPool |
pool()
A pool from which the frames are allocated by av_hwframe_get_buffer().
|
avutil.AVHWFramesContext |
pool(avutil.AVBufferPool pool) |
avutil.AVHWFramesContext |
position(long position) |
int |
sw_format()
The pixel format identifying the actual data layout of the hardware
frames.
|
avutil.AVHWFramesContext |
sw_format(int sw_format) |
Pointer |
user_opaque()
Arbitrary user data, to be used e.g.
|
avutil.AVHWFramesContext |
user_opaque(Pointer user_opaque) |
int |
width()
The allocated dimensions of the frames in this pool.
|
avutil.AVHWFramesContext |
width(int width) |
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 AVHWFramesContext()
public AVHWFramesContext(long size)
Pointer.position(long).public AVHWFramesContext(Pointer p)
Pointer.Pointer(Pointer).public avutil.AVHWFramesContext position(long position)
@MemberGetter @Const public avutil.AVClass av_class()
public avutil.AVHWFramesInternal internal()
public avutil.AVHWFramesContext internal(avutil.AVHWFramesInternal internal)
public avutil.AVBufferRef device_ref()
public avutil.AVHWFramesContext device_ref(avutil.AVBufferRef device_ref)
public avutil.AVHWDeviceContext device_ctx()
public avutil.AVHWFramesContext device_ctx(avutil.AVHWDeviceContext device_ctx)
public Pointer hwctx()
public avutil.AVHWFramesContext hwctx(Pointer hwctx)
public avutil.AVHWFramesContext.Free_AVHWFramesContext free()
public avutil.AVHWFramesContext free(avutil.AVHWFramesContext.Free_AVHWFramesContext free)
public Pointer user_opaque()
public avutil.AVHWFramesContext user_opaque(Pointer user_opaque)
public avutil.AVBufferPool pool()
public avutil.AVHWFramesContext pool(avutil.AVBufferPool pool)
public int initial_pool_size()
public avutil.AVHWFramesContext initial_pool_size(int initial_pool_size)
@Cast(value="AVPixelFormat") public int format()
public avutil.AVHWFramesContext format(int format)
@Cast(value="AVPixelFormat") public int sw_format()
public avutil.AVHWFramesContext sw_format(int sw_format)
public int width()
public avutil.AVHWFramesContext width(int width)
public int height()
public avutil.AVHWFramesContext height(int height)
Copyright © 2019. All rights reserved.