| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | MTLTexture(MTLContext context, MTLTextureResource<T> resource, PixelFormat format, Texture.
|
| pack-priv | MTLTexture(MTLContext context, MTLTextureResource<T> resource, PixelFormat format, Texture.
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Texture | createSharedTexture(Texture.
Implements abstract com. Create a new version of this texture which shares the same
|
| public MTLContext | |
| public long | |
| private static native void | nUpdate(long pResource, ByteBuffer buf, byte[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride)
|
| private static native void | nUpdateFloat(long pResource, FloatBuffer buf, float[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride)
|
| private static native void | nUpdateInt(long pResource, IntBuffer buf, int[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride)
|
| private static native void | nUpdateYUV422(long pResource, byte[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride)
|
| public void | update(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean skipFlush)
Implements com. Updates this texture using the contents of the given |
| public void | update(MediaFrame frame, boolean skipFlush)
Implements com. Updates this texture using the contents of the provided
|
| private void | updateTextureByte(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| private void | updateTextureFloat(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| private void | updateTextureInt(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| context | back to summary |
|---|---|
| private final MTLContext context | |
| texPtr | back to summary |
|---|---|
| private final long texPtr | |
| MTLTexture | back to summary |
|---|---|
| pack-priv MTLTexture(MTLContext context, MTLTextureResource<T> resource, PixelFormat format, Texture. | |
| MTLTexture | back to summary |
|---|---|
| pack-priv MTLTexture(MTLContext context, MTLTextureResource<T> resource, PixelFormat format, Texture. | |
| MTLTexture | back to summary |
|---|---|
| private MTLTexture(MTLTexture<T> sharedTex, Texture. | |
| createSharedTexture | back to summary |
|---|---|
| protected Texture createSharedTexture(Texture. Implements abstract com. Doc from com. Create a new version of this texture which shares the same
| |
| getContext | back to summary |
|---|---|
| public MTLContext getContext() | |
| getNativeHandle | back to summary |
|---|---|
| public long getNativeHandle() | |
| nUpdate | back to summary |
|---|---|
| private static native void nUpdate(long pResource, ByteBuffer buf, byte[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride) | |
| nUpdateFloat | back to summary |
|---|---|
| private static native void nUpdateFloat(long pResource, FloatBuffer buf, float[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride) | |
| nUpdateInt | back to summary |
|---|---|
| private static native void nUpdateInt(long pResource, IntBuffer buf, int[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride) | |
| nUpdateYUV422 | back to summary |
|---|---|
| private static native void nUpdateYUV422(long pResource, byte[] pixels, int dstx, int dsty, int srcx, int srcy, int w, int h, int stride) | |
| update | back to summary |
|---|---|
| public void update(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean skipFlush) Implements com. Doc from com. Updates this texture using the contents of the given
| |
| update | back to summary |
|---|---|
| public void update(MediaFrame frame, boolean skipFlush) Implements com. Doc from com. Updates this texture using the contents of the provided
| |
| updateTextureByte | back to summary |
|---|---|
| private void updateTextureByte(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |
| updateTextureFloat | back to summary |
|---|---|
| private void updateTextureFloat(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |
| updateTextureInt | back to summary |
|---|---|
| private void updateTextureInt(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |