Class CVImageBuffer

  • Direct Known Subclasses:
    CVPixelBuffer

    public class CVImageBuffer
    extends Object
    Represents a CoreVideo CVImageBufferRef.
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • CVImageBuffer

        public CVImageBuffer​(long ptr)
        Initializes a new CVImageBuffer instance which is to represent a specific CoreVideo CVImageBufferRef.
        Parameters:
        ptr - the CoreVideo CVImageBufferRef to be represented by the new instance
    • Method Detail

      • getPtr

        protected long getPtr()
        Gets the CoreVideo CVImageBufferRef represented by this instance.
        Returns:
        the CoreVideo CVImageBufferRef represented by this instance
      • setPtr

        protected void setPtr​(long ptr)
        Sets the CoreVideo CVImageBufferRef represented by this instance.
        Parameters:
        ptr - the CoreVideo CVImageBufferRef to be represented by this instance