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

Go to the source code of this file.

Functions

 read_SOF ()
 read_DHT ()
 read_SOS ()
 print_SOF ()
 print_SOS ()
 read_header ()
 write_header ()
 show_header ()
 set_color6 ()
 set_jp46dc ()
 set_mono4 ()
 set_jp4 ($bayer)
 set_jp4dc ($bayer)
 set_jp4diff ($bayer)
 set_jp4hdr ($bayer)
 encode_SOF ()
 encode_SOS ()
 make_new ()

Variables

 $head_SOF_pos = 0x9e
 break
case jp4diff
 break
case jp4dc
 break
case jp4
 break
case mono
 break
case jp46dc
 break
case jp46
 break
case show


Function Documentation

encode_SOF (  ) 

Definition at line 244 of file jhead.php.

encode_SOS (  ) 

Definition at line 256 of file jhead.php.

make_new (  ) 

Definition at line 268 of file jhead.php.

References $head_SOF_pos.

print_SOF (  ) 

Definition at line 72 of file jhead.php.

References $i, $id, and $width.

Referenced by show_header().

print_SOS (  ) 

Definition at line 96 of file jhead.php.

References $i, and $id.

Referenced by show_header().

read_DHT (  ) 

Definition at line 48 of file jhead.php.

Referenced by read_header().

read_header (  ) 

Definition at line 113 of file jhead.php.

References $head_SOF_pos, read_DHT(), read_SOF(), and read_SOS().

read_SOF (  ) 

Definition at line 34 of file jhead.php.

References exit.

Referenced by read_header().

read_SOS (  ) 

Definition at line 58 of file jhead.php.

References exit.

Referenced by read_header().

set_color6 (  ) 

Definition at line 148 of file jhead.php.

set_jp4 ( bayer  ) 

Definition at line 187 of file jhead.php.

set_jp46dc (  ) 

Definition at line 160 of file jhead.php.

set_jp4dc ( bayer  ) 

Definition at line 195 of file jhead.php.

set_jp4diff ( bayer  ) 

Definition at line 208 of file jhead.php.

set_jp4hdr ( bayer  ) 

Definition at line 224 of file jhead.php.

set_mono4 (  ) 

Definition at line 179 of file jhead.php.

show_header (  ) 

Definition at line 140 of file jhead.php.

References print_SOF(), and print_SOS().

write_header (  ) 

Definition at line 129 of file jhead.php.


Variable Documentation

$head_SOF_pos = 0x9e

******************************************************************************* ! FILE NAME : jhead.php ! DESCRIPTION: different JFIF headers for JP4 variants (deviate from JFIF) ! 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
jhead.php,v
! Revision 1.1.1.1 2008/11/27 20:04:03 elphel ! ! ! Revision 1.2 2008/05/18 02:25:13 elphel ! changed color components numbers to facilitate JP4 flavors detection from SOF and SOS tags ! ! Revision 1.1 2008/05/16 06:05:36 elphel ! added script to modify JFIF headers (for JP4 experiments) !

Definition at line 32 of file jhead.php.

Referenced by make_new(), and read_header().

break

Definition at line 304 of file jhead.php.

break

Definition at line 299 of file jhead.php.

break

Definition at line 296 of file jhead.php.

break

Definition at line 292 of file jhead.php.

break

Definition at line 290 of file jhead.php.

break

Definition at line 289 of file jhead.php.

break

Definition at line 288 of file jhead.php.

case jp4

Definition at line 292 of file jhead.php.

Referenced by createDefaultConfig().

case jp46

Definition at line 303 of file jhead.php.

Referenced by createDefaultConfig().

case jp46dc

Definition at line 298 of file jhead.php.

Referenced by createDefaultConfig().

case jp4dc

Definition at line 290 of file jhead.php.

Referenced by createDefaultConfig().

case jp4diff

Definition at line 289 of file jhead.php.

Referenced by createDefaultConfig().

case mono

Definition at line 295 of file jhead.php.

case show

Definition at line 307 of file jhead.php.

Referenced by showUsage().


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