@Namespace(value="cv::cudacodec") @Properties(inherit=opencv_cudacodec.class) public class RawVideoSource extends Pointer
User can implement own demultiplexing by implementing this interface.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RawVideoSource(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FormatInfo |
format()
\brief Returns information about video file format.
|
boolean |
getNextPacket(byte[] data,
SizeTPointer size) |
boolean |
getNextPacket(ByteBuffer data,
SizeTPointer size) |
boolean |
getNextPacket(BytePointer data,
SizeTPointer size) |
boolean |
getNextPacket(PointerPointer data,
SizeTPointer size)
\brief Returns next packet with RAW video frame.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public RawVideoSource(Pointer p)
Pointer.Pointer(Pointer)
.@Cast(value="bool") public boolean getNextPacket(@Cast(value="unsigned char**") PointerPointer data, @Cast(value="size_t*") SizeTPointer size)
data
- Pointer to frame data.size
- Size in bytes of current frame.@Cast(value="bool") public boolean getNextPacket(@Cast(value="unsigned char**") @ByPtrPtr BytePointer data, @Cast(value="size_t*") SizeTPointer size)
@Cast(value="bool") public boolean getNextPacket(@Cast(value="unsigned char**") @ByPtrPtr ByteBuffer data, @Cast(value="size_t*") SizeTPointer size)
@Cast(value="bool") public boolean getNextPacket(@Cast(value="unsigned char**") @ByPtrPtr byte[] data, @Cast(value="size_t*") SizeTPointer size)
@ByVal public FormatInfo format()
Copyright © 2020. All rights reserved.