a
    i‚j!  ã                   @   s`   d Z ddlmZmZmZ ddlmZmZ ddlZddlm	Z	m
Z
 ddlT ddlmZ dd	„ ZdS )
a,  OpenGL extension QCOM.motion_estimation

This module customises the behaviour of the 
OpenGL.raw.GLES2.QCOM.motion_estimation to provide a more 
Python-friendly API

Overview (from the spec)
	
	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.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/QCOM/motion_estimation.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  C   s   ddl m}  |  t¡S )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ZhasGLExtensionr
   r   © r   úa/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GLES2/QCOM/motion_estimation.pyÚglInitMotionEstimationQCOM   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLES2r   r   Z'OpenGL.raw.GLES2.QCOM.motion_estimationr
   r   r   r   r   r   Ú<module>   s   