Class QCOMMotionEstimation

java.lang.Object
org.lwjgl.opengles.QCOMMotionEstimation

public class QCOMMotionEstimation extends Object
Native bindings to the QCOM_motion_estimation extension.

Motion estimation, also referred to as optical flow, is the process of producing motion vectors that convey the 2D transformation from a reference image to a target image. There are various uses of motion estimation, such as frame extrapolation, compression, object tracking, etc.

This extension adds support for motion estimation in OpenGL ES by adding functions which take the reference and target images and populate an output texture containing the corresponding motion vectors.

  • Field Details

    • GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM

      public static final int GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM
      Accepted by the pname parameter of GetIntegerv, GetInteger64v, and GetFloatv.
      See Also:
    • GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM

      public static final int GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM
      Accepted by the pname parameter of GetIntegerv, GetInteger64v, and GetFloatv.
      See Also:
  • Method Details

    • glTexEstimateMotionQCOM

      public static void glTexEstimateMotionQCOM(int ref, int target, int output)
    • glTexEstimateMotionRegionsQCOM

      public static void glTexEstimateMotionRegionsQCOM(int ref, int target, int output, int mask)