Interface DSCaptureDevice.ISampleGrabberCB

  • Enclosing class:
    DSCaptureDevice

    public static interface DSCaptureDevice.ISampleGrabberCB
    The Java equivalent of the DirectShow ISampleGrabberCB interface as it is utilized by DSCaptureDevice.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void SampleCB​(long source, long ptr, int length)
      Notifies this instance that a specific video frame has been captured/grabbed.
    • Method Detail

      • SampleCB

        void SampleCB​(long source,
                      long ptr,
                      int length)
        Notifies this instance that a specific video frame has been captured/grabbed.
        Parameters:
        source - a pointer to the native DSCaptureDevice which is the source of the notification
        ptr - a pointer to the captured/grabbed video frame i.e. to the data of the DirectShow IMediaSample
        length - the length in bytes of the valid data pointed to by ptr