�Ұ�mainloop���������г����������֡��ͳ�����֮��Ĵ���ȫ��ע�͵�֮����֡����ÿ��700�ࣨ��ʱ��ʵû����Ƶ����ֻ�Ǹ���count����Ľ�����ѣ��������ҽ������ӻ�ȡ��Ƶ֡�Ĵ���֮��֡�پͱ����17���£�����ʵ���Ǹ㲻����������ͷ֡��������60�ġ����ҵ�����ͷ�Ǽ��弴�õģ�
������mainloop�������ݣ�������û�н���ʲô��������
static void mainLoop(void)
{
ARUint8 *dataPtr;//����ͼ����Ϣ
/* grab a vide frame */
if( (dataPtr = (ARUint8 *)arVideoGetImage()) == NULL ) {
arUtilSleep(2);
return;
}
if( count == 0 ) arUtilTimerReset(); //count��ȫ�ֱ�������ʼ��Ϊ0
count++;
}
�������artoolkitԭ���ģ���û���ģ�ֻ�ǰ�����Ĵ���ע�͵��ˣ���ע�͵�֡�ٸ�С��������ÿ��ֻ��17֡������Ϊʲô��~~~~~~~~~ |