|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.quicktime.CVImageBuffer
net.java.sip.communicator.impl.neomedia.quicktime.CVPixelBuffer
public class CVPixelBuffer
Represents a CoreVideo CVPixelBufferRef.
| Constructor Summary | |
|---|---|
CVPixelBuffer(long ptr)
Initializes a new CVPixelBuffer instance which is to represent a specific CoreVideo CVPixelBufferRef. |
|
| Method Summary | |
|---|---|
int |
getByteCount()
Gets the number of bytes which represent the pixels of the associated CoreVideo CVPixelBufferRef. |
byte[] |
getBytes()
Gets a byte array which represents the pixels of the associated CoreVideo CVPixelBufferRef. |
int |
getBytes(long buf,
int bufLength)
Gets the bytes which represent the pixels of the associated CVPixelBufferRef into a specific native byte buffer with a specific capacity. |
int |
getHeight()
Gets the height in pixels of this CVPixelBuffer. |
int |
getWidth()
Gets the width in pixels of this CVPixelBuffer. |
static void |
memcpy(byte[] dst,
int dstOffset,
int dstLength,
long src)
Native copy from native pointer src to byte array dst. |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.quicktime.CVImageBuffer |
|---|
getPtr, setPtr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CVPixelBuffer(long ptr)
ptr - the CoreVideo CVPixelBufferRef to be represented by
the new instance| Method Detail |
|---|
public int getByteCount()
public byte[] getBytes()
public int getBytes(long buf,
int bufLength)
buf - the native byte buffer to return the bytes intobufLength - the capacity in bytes of buf
public int getHeight()
public int getWidth()
public static void memcpy(byte[] dst,
int dstOffset,
int dstLength,
long src)
dst - destination arraydstOffset - offset of dst to copy data todstLength - length of dstsrc - native pointer source
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||