@Namespace(value="cv::cudacodec") @Properties(inherit=opencv_cudacodec.class) public class EncoderCallback extends Pointer
User can implement own multiplexing by implementing this interface.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
EncoderCallback(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onEncoded(ByteVectorVector vPacket)
\brief Callback function to signal that the encoded bitstream for one or more frames is ready.
|
void |
onEncodingFinished()
\brief Callback function to that the encoding has finished.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public EncoderCallback(Pointer p)
Pointer(Pointer)
.public void onEncoded(@Cast(value="const std::vector<std::vector<cv::uint8_t> >*") @ByRef ByteVectorVector vPacket)
vPacket
- The raw bitstream for one or more frames.public void onEncodingFinished()
Copyright © 2024. All rights reserved.