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

Go to the source code of this file.

Functions

 showUsage ()
 ==========================================================================================================
 showJpegHeader ()
 showHistGamma ($key, $value)
 profileShow ($num_entries)
 printGammaStructure ()
 getGammaStructure ()
 printRawGamma ($page=0)
 printHistogram ($frame)
 printRawHistogram ($needed, $frame)
 printRawFrame ($frame)
 myval ($s)

Variables

 $imgsrv = "http://".$_SERVER['SERVER_ADDR'].":8081"
 $elp_const = get_defined_constants(true)
 $elp_const = $elp_const["elphel"]
 break
case histogram_direct
 break
case jpegheader
 break
case constants
 break
case frame
 break
case hist_raw
 break
case hist
 break
case gamma
 break
case gamma_page
 break
default __pad2__


Function Documentation

getGammaStructure (  ) 

Definition at line 273 of file diag_utils.php.

References $i, and SEEK_END.

Referenced by printGammaStructure().

myval ( s  ) 

Definition at line 528 of file diag_utils.php.

References $s.

printGammaStructure (  ) 

Definition at line 223 of file diag_utils.php.

References getGammaStructure().

printHistogram ( frame  ) 

Definition at line 409 of file diag_utils.php.

References $a, $frame, and $i.

printRawFrame ( frame  ) 

Definition at line 493 of file diag_utils.php.

References $a, $frame, and $i.

printRawGamma ( page = 0  ) 

Definition at line 320 of file diag_utils.php.

References $a, $black, $d, $gamma, $i, and $scale.

printRawHistogram ( needed,
frame 
)

Definition at line 443 of file diag_utils.php.

References $a, $d, $frame, and $i.

profileShow ( num_entries  ) 

Definition at line 152 of file diag_utils.php.

References $i, $now, $prof, $prof_raw, $prof_template, $time_end, $time_start, a, frame, histogram, IRQ, load(), profile, s, start, time, and written.

showHistGamma ( key,
value 
)

Definition at line 117 of file diag_utils.php.

References $rslt, $xml, and header.

showJpegHeader (  ) 

Definition at line 87 of file diag_utils.php.

References $aheader, $d, $header, $header_file, $header_size, $i, $jpeg_start, $rslt, $xml, header, SEEK_END, SEEK_SET, and x.

showUsage (  ) 

==========================================================================================================

Definition at line 57 of file diag_utils.php.

References a, buffer, color, constants, data, debug, DEBUG, entries, error(), frame, future, gamma, gamma_direct, gamma_page, gamma_reverse, header, hist_raw, histogram, histogram_direct, histogram_reverse, imgsrv, jpegheader, printk, profile, raw, read, sensor, show, time, and value.


Variable Documentation

$elp_const = $elp_const["elphel"]

Definition at line 38 of file diag_utils.php.

$elp_const = get_defined_constants(true)

Definition at line 37 of file diag_utils.php.

Referenced by parseGetNames(), print_triggers(), read_latencies(), and read_triggers().

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

******************************************************************************* ! FILE NAME : diag_utils.php ! DESCRIPTION: Provides development/diagnostic data ! 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
diag_utils.php,v
! Revision 1.1.1.1 2008/11/27 20:04:03 elphel ! ! ! Revision 1.1 2008/11/27 09:29:22 elphel ! new file - diag_utils.php that includes somewhat cleaned-up version of utilities from framepars.php. That file installation is moved to attic ! !

Definition at line 31 of file diag_utils.php.

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

default __pad2__

Definition at line 53 of file diag_utils.php.

break

Definition at line 52 of file diag_utils.php.

break

Definition at line 51 of file diag_utils.php.

break

Definition at line 50 of file diag_utils.php.

break

Definition at line 48 of file diag_utils.php.

break

Definition at line 47 of file diag_utils.php.

break

Definition at line 46 of file diag_utils.php.

break

Definition at line 45 of file diag_utils.php.

break

Definition at line 44 of file diag_utils.php.

break

Definition at line 40 of file diag_utils.php.

case constants

Definition at line 46 of file diag_utils.php.

Referenced by showUsage().

case frame

Definition at line 47 of file diag_utils.php.

Referenced by createDefaultConfig(), framepars_write(), grab_and_send(), init_histograms(), PHP_FUNCTION(), profileShow(), showLastImages(), and showUsage().

case gamma

Definition at line 51 of file diag_utils.php.

Referenced by createDefaultConfig(), gammas_write(), main(), PHP_FUNCTION(), png_set_gAMA(), png_set_gAMA_fixed(), showUsage(), and test_one_file().

case gamma_page

Definition at line 52 of file diag_utils.php.

Referenced by showUsage().

case hist

Definition at line 50 of file diag_utils.php.

case hist_raw

Definition at line 48 of file diag_utils.php.

Referenced by showUsage().

case histogram_direct

Definition at line 44 of file diag_utils.php.

Referenced by showUsage().

case jpegheader

Definition at line 45 of file diag_utils.php.

Referenced by showUsage().


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