packages/web/353/php_top/snapfull.php File Reference

Go to the source code of this file.

Functions

 myval ($s)

Variables

 $imgsrv = 'http://'.$_SERVER['HTTP_HOST'].':8081/'
 $ahead = 3
 $delay = 2
 $parsForSnap = array()
 $sensorSize = array('SENSOR_WIDTH'=>0,'SENSOR_HEIGHT'=>0)
 $sensorSize = elphel_get_P_arr($sensorSize)
 break
case __pad5__
 break
default __pad6__
 $parsSaved = elphel_get_P_arr($parsForSnap)
 $thisFrameNumber = elphel_get_frame()
 $ahead = 5
 $thisFrameNumber = elphel_get_frame()
 $pgmFrameNumber = $thisFrameNumber+$ahead
 $circbuf_pointers = elphel_get_circbuf_pointers(1)
 the frame should be in circbuf by then
 $meta = end($circbuf_pointers)
 1 - skip the vary oldest frame
 $meta = current($circbuf_pointers)


Function Documentation

myval ( s  ) 

Definition at line 105 of file snapfull.php.

References $s.


Variable Documentation

$ahead = 5

Definition at line 73 of file snapfull.php.

$ahead = 3

Definition at line 45 of file snapfull.php.

$circbuf_pointers = elphel_get_circbuf_pointers(1)

the frame should be in circbuf by then

Definition at line 84 of file snapfull.php.

Referenced by showLastImages().

$delay = 2

Definition at line 46 of file snapfull.php.

$imgsrv = 'http://'.$_SERVER['HTTP_HOST'].':8081/'

! PHP script ! FILE NAME : snapfull.php ! DESCRIPTION: acquiring a single-frame with different frame size than currently used (i.e. for streaming) ! AUTHOR : Elphel, Inc. ! Copyright (C) 2008 Elphel, Inc ! -----------------------------------------------------------------------------** ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** !

Log
snapfull.php,v
! Revision 1.1.1.1 2008/11/27 20:04:03 elphel ! ! ! Revision 1.5 2008/11/20 01:48:39 elphel ! added streamer autostart ! ! Revision 1.4 2008/11/17 23:42:04 elphel ! changed myval() to accept numbers in "" ! ! Revision 1.3 2008/11/15 20:24:39 elphel ! added default left/top ! ! Revision 1.2 2008/11/15 20:16:39 elphel ! removed debugging garbage ! ! Revision 1.1 2008/11/15 20:10:12 elphel ! Added script to capture single frames of different resolution (usually full) than currently being streamed !

Definition at line 44 of file snapfull.php.

$meta = current($circbuf_pointers)

Definition at line 99 of file snapfull.php.

$meta = end($circbuf_pointers)

1 - skip the vary oldest frame

Definition at line 85 of file snapfull.php.

Referenced by printPage(), showImgData(), and showLastImages().

$parsForSnap = array()

Definition at line 47 of file snapfull.php.

$parsSaved = elphel_get_P_arr($parsForSnap)

Definition at line 69 of file snapfull.php.

$pgmFrameNumber = $thisFrameNumber+$ahead

Definition at line 76 of file snapfull.php.

Referenced by applySetNative().

$sensorSize = elphel_get_P_arr($sensorSize)

Definition at line 49 of file snapfull.php.

$sensorSize = array('SENSOR_WIDTH'=>0,'SENSOR_HEIGHT'=>0)

Definition at line 48 of file snapfull.php.

$thisFrameNumber = elphel_get_frame()

Definition at line 74 of file snapfull.php.

$thisFrameNumber = elphel_get_frame()

Definition at line 70 of file snapfull.php.

case __pad5__

Definition at line 55 of file snapfull.php.

default __pad6__

Definition at line 58 of file snapfull.php.

break

Definition at line 56 of file snapfull.php.

break

Definition at line 53 of file snapfull.php.


Generated on Fri Nov 28 00:08:38 2008 for elphel by  doxygen 1.5.1