!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-2.6.24-28/drivers/media/video/   drwxr-xr-x
Free 1.04 GB of 97.11 GB (1.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     indycam.h (3.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  indycam.h - Silicon Graphics IndyCam digital camera driver
 *
 *  Copyright (C) 2003 Ladislav Michl <ladis@linux-mips.org>
 *  Copyright (C) 2004,2005 Mikael Nousiainen <tmnousia@cc.hut.fi>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  published by the Free Software Foundation.
 */

#ifndef _INDYCAM_H_
#define _INDYCAM_H_

/* I2C address for the Guinness Camera */
#define INDYCAM_ADDR            0x56

/* Camera version */
#define CAMERA_VERSION_INDY        0x10    /* v1.0 */
#define CAMERA_VERSION_MOOSE        0x12    /* v1.2 */
#define INDYCAM_VERSION_MAJOR(x)    (((x) & 0xf0) >> 4)
#define INDYCAM_VERSION_MINOR(x)    ((x) & 0x0f)

/* Register bus addresses */
#define INDYCAM_REG_CONTROL        0x00
#define INDYCAM_REG_SHUTTER        0x01
#define INDYCAM_REG_GAIN        0x02
#define INDYCAM_REG_BRIGHTNESS        0x03 /* read-only */
#define INDYCAM_REG_RED_BALANCE        0x04
#define INDYCAM_REG_BLUE_BALANCE    0x05
#define INDYCAM_REG_RED_SATURATION    0x06
#define INDYCAM_REG_BLUE_SATURATION    0x07
#define INDYCAM_REG_GAMMA        0x08
#define INDYCAM_REG_VERSION        0x0e /* read-only */
#define INDYCAM_REG_RESET        0x0f /* write-only */

#define INDYCAM_REG_LED            0x46
#define INDYCAM_REG_ORIENTATION        0x47
#define INDYCAM_REG_BUTTON        0x48

/* Field definitions of registers */
#define INDYCAM_CONTROL_AGCENA        (1<<0) /* automatic gain control */
#define INDYCAM_CONTROL_AWBCTL        (1<<1) /* automatic white balance */
                        /* 2-3 are reserved */
#define INDYCAM_CONTROL_EVNFLD        (1<<4)    /* read-only */

#define INDYCAM_SHUTTER_10000        0x02    /* 1/10000 second */
#define INDYCAM_SHUTTER_4000        0x04    /* 1/4000 second */
#define INDYCAM_SHUTTER_2000        0x08    /* 1/2000 second */
#define INDYCAM_SHUTTER_1000        0x10    /* 1/1000 second */
#define INDYCAM_SHUTTER_500        0x20    /* 1/500 second */
#define INDYCAM_SHUTTER_250        0x3f    /* 1/250 second */
#define INDYCAM_SHUTTER_125        0x7e    /* 1/125 second */
#define INDYCAM_SHUTTER_100        0x9e    /* 1/100 second */
#define INDYCAM_SHUTTER_60        0x00    /* 1/60 second */

#define INDYCAM_LED_ACTIVE            0x10
#define INDYCAM_LED_INACTIVE            0x30
#define INDYCAM_ORIENTATION_BOTTOM_TO_TOP    0x40
#define INDYCAM_BUTTON_RELEASED            0x10

/* Values for controls */
#define INDYCAM_SHUTTER_MIN        0x00
#define INDYCAM_SHUTTER_MAX        0xff
#define INDYCAM_GAIN_MIN                0x00
#define INDYCAM_GAIN_MAX                0xff
#define INDYCAM_RED_BALANCE_MIN        0x00
#define INDYCAM_RED_BALANCE_MAX        0xff
#define INDYCAM_BLUE_BALANCE_MIN        0x00
#define INDYCAM_BLUE_BALANCE_MAX        0xff
#define INDYCAM_RED_SATURATION_MIN      0x00
#define INDYCAM_RED_SATURATION_MAX      0xff
#define INDYCAM_BLUE_SATURATION_MIN    0x00
#define INDYCAM_BLUE_SATURATION_MAX    0xff
#define INDYCAM_GAMMA_MIN        0x00
#define INDYCAM_GAMMA_MAX        0xff

#define INDYCAM_AGC_DEFAULT        1
#define INDYCAM_AWB_DEFAULT        0
#define INDYCAM_SHUTTER_DEFAULT        0xff
#define INDYCAM_GAIN_DEFAULT        0x80
#define INDYCAM_RED_BALANCE_DEFAULT    0x18
#define INDYCAM_BLUE_BALANCE_DEFAULT    0xa4
#define INDYCAM_RED_SATURATION_DEFAULT    0x80
#define INDYCAM_BLUE_SATURATION_DEFAULT    0xc0
#define INDYCAM_GAMMA_DEFAULT        0x80

/* Driver interface definitions */

#define INDYCAM_CONTROL_AGC            0    /* boolean */
#define INDYCAM_CONTROL_AWB            1    /* boolean */
#define INDYCAM_CONTROL_SHUTTER            2
#define INDYCAM_CONTROL_GAIN            3
#define INDYCAM_CONTROL_RED_BALANCE        4
#define INDYCAM_CONTROL_BLUE_BALANCE        5
#define INDYCAM_CONTROL_RED_SATURATION        6
#define INDYCAM_CONTROL_BLUE_SATURATION        7
#define INDYCAM_CONTROL_GAMMA            8

struct indycam_control {
    u8 type;
    s32 value;
};

#define    DECODER_INDYCAM_GET_CONTROL    _IOR('d', 193, struct indycam_control)
#define    DECODER_INDYCAM_SET_CONTROL    _IOW('d', 194, struct indycam_control)

#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0477 ]--