public class AVFrame extends Object
| Constructor and Description |
|---|
AVFrame()
Initializes a new FinalizableAVFrame instance which is to
allocate a new native FFmpeg AVFrame and represent it.
|
AVFrame(long ptr)
Initializes a new AVFrame instance which is to represent a
specific pointer to a native FFmpeg AVFrame object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
avpicture_fill(ByteBuffer data,
AVFrameFormat format) |
protected void |
finalize()
Deallocates the native memory/FFmpeg AVFrame object represented
by this instance if this instance has allocated it upon initialization
and it has not been deallocated yet i.e.
|
void |
free()
Deallocates the native memory/FFmpeg AVFrame object represented
by this instance if this instance has allocated it upon initialization
and it has not been deallocated yet.
|
ByteBuffer |
getData()
Gets the ByteBuffer whose native memory is set on the native
counterpart of this instance/AVFrame.
|
long |
getPtr()
Gets the pointer to the native FFmpeg AVFrame object represented
by this instance.
|
static int |
read(javax.media.Buffer buffer,
javax.media.Format format,
ByteBuffer data) |
public AVFrame()
public AVFrame(long ptr)
ptr - the pointer to the native FFmpeg AVFrame object to be
represented by the new instancepublic static int read(javax.media.Buffer buffer,
javax.media.Format format,
ByteBuffer data)
public int avpicture_fill(ByteBuffer data, AVFrameFormat format)
protected void finalize()
throws Throwable
free() is
invoked on this instance.finalize in class ObjectThrowableObject.finalize()public void free()
public ByteBuffer getData()
public long getPtr()
Copyright © 2022 jitsi.org. All rights reserved.