Go to the source code of this file.
Functions | |
int | dev_stka311_initialize_device (struct usb_stk11xx *) |
This function permits to initialize the device. | |
int | dev_stka311_configure_device (struct usb_stk11xx *, int) |
This function permits to configure the device. | |
int | dev_stka311_start_stream (struct usb_stk11xx *) |
This function sets the device to start the stream. | |
int | dev_stka311_stop_stream (struct usb_stk11xx *) |
This function sets the device to stop the stream. | |
int | dev_stka311_camera_asleep (struct usb_stk11xx *) |
Wake-up the camera. | |
int | dev_stka311_init_camera (struct usb_stk11xx *) |
This function initializes the device for the stream. | |
int | dev_stka311_sensor_settings (struct usb_stk11xx *) |
This function permits to set default sensor settings. | |
int | dev_stka311_reconf_camera (struct usb_stk11xx *) |
Reconfigure the camera before the stream. | |
int | dev_stka311_camera_settings (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stka311_set_camera_quality (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stka311_set_camera_fps (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stka821_initialize_device (struct usb_stk11xx *) |
This function permits to initialize the device. | |
int | dev_stka821_configure_device (struct usb_stk11xx *, int) |
This function permits to configure the device. | |
int | dev_stka821_start_stream (struct usb_stk11xx *) |
This function sets the device to start the stream. | |
int | dev_stka821_stop_stream (struct usb_stk11xx *) |
This function sets the device to stop the stream. | |
int | dev_stka821_camera_asleep (struct usb_stk11xx *) |
Wake-up the camera. | |
int | dev_stka821_init_camera (struct usb_stk11xx *) |
This function initializes the device for the stream. | |
int | dev_stka821_sensor_settings (struct usb_stk11xx *) |
This function permits to set default sensor settings. | |
int | dev_stka821_reconf_camera (struct usb_stk11xx *) |
Reconfigure the camera before the stream. | |
int | dev_stka821_camera_settings (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stka821_set_camera_quality (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stka821_set_camera_fps (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a31_initialize_device (struct usb_stk11xx *) |
This function permits to initialize the device. | |
int | dev_stk6a31_configure_device (struct usb_stk11xx *, int) |
This function permits to configure the device. | |
int | dev_stk6a31_start_stream (struct usb_stk11xx *) |
This function sets the device to start the stream. | |
int | dev_stk6a31_stop_stream (struct usb_stk11xx *) |
This function sets the device to stop the stream. | |
int | dev_stk6a31_camera_asleep (struct usb_stk11xx *) |
Wake-up the camera. | |
int | dev_stk6a31_init_camera (struct usb_stk11xx *) |
This function initializes the device for the stream. | |
int | dev_stk6a31_sensor_settings (struct usb_stk11xx *) |
This function permits to set default sensor settings. | |
int | dev_stk6a31_reconf_camera (struct usb_stk11xx *) |
Reconfigure the camera before the stream. | |
int | dev_stk6a31_camera_settings (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a31_set_camera_quality (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a31_set_camera_fps (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a33_initialize_device (struct usb_stk11xx *) |
This function permits to initialize the device. | |
int | dev_stk6a33_configure_device (struct usb_stk11xx *, int) |
This function permits to configure the device. | |
int | dev_stk6a33_start_stream (struct usb_stk11xx *) |
This function sets the device to start the stream. | |
int | dev_stk6a33_stop_stream (struct usb_stk11xx *) |
This function sets the device to stop the stream. | |
int | dev_stk6a33_camera_asleep (struct usb_stk11xx *) |
Wake-up the camera. | |
int | dev_stk6a33_init_camera (struct usb_stk11xx *) |
This function initializes the device for the stream. | |
int | dev_stk6a33_sensor_settings (struct usb_stk11xx *) |
This function permits to set default sensor settings. | |
int | dev_stk6a33_reconf_camera (struct usb_stk11xx *) |
Reconfigure the camera before the stream. | |
int | dev_stk6a33_camera_settings (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a33_set_camera_quality (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a33_set_camera_fps (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a51_initialize_device (struct usb_stk11xx *) |
This function permits to initialize the device. | |
int | dev_stk6a51_configure_device (struct usb_stk11xx *, int) |
This function permits to configure the device. | |
int | dev_stk6a51_start_stream (struct usb_stk11xx *) |
This function sets the device to start the stream. | |
int | dev_stk6a51_stop_stream (struct usb_stk11xx *) |
This function sets the device to stop the stream. | |
int | dev_stk6a51_camera_asleep (struct usb_stk11xx *) |
Wake-up the camera. | |
int | dev_stk6a51_init_camera (struct usb_stk11xx *) |
This function initializes the device for the stream. | |
int | dev_stk6a51_sensor_settings (struct usb_stk11xx *) |
This function permits to set default sensor settings. | |
int | dev_stk6a51_reconf_camera (struct usb_stk11xx *) |
Reconfigure the camera before the stream. | |
int | dev_stk6a51_camera_settings (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a51_set_camera_quality (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a51_set_camera_fps (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a54_initialize_device (struct usb_stk11xx *) |
This function permits to initialize the device. | |
int | dev_stk6a54_configure_device (struct usb_stk11xx *, int) |
This function permits to configure the device. | |
int | dev_stk6a54_start_stream (struct usb_stk11xx *) |
This function sets the device to start the stream. | |
int | dev_stk6a54_stop_stream (struct usb_stk11xx *) |
This function sets the device to stop the stream. | |
int | dev_stk6a54_camera_asleep (struct usb_stk11xx *) |
Wake-up the camera. | |
int | dev_stk6a54_init_camera (struct usb_stk11xx *) |
This function initializes the device for the stream. | |
int | dev_stk6a54_sensor_settings (struct usb_stk11xx *) |
This function permits to set default sensor settings. | |
int | dev_stk6a54_reconf_camera (struct usb_stk11xx *) |
Reconfigure the camera before the stream. | |
int | dev_stk6a54_camera_settings (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a54_set_camera_quality (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a54_set_camera_fps (struct usb_stk11xx *) |
This function permits to modify the settings of the camera. |
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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Definition in file stk11xx-dev.h.
int dev_stk6a31_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 541 of file stk11xx-dev-6a31.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stk6a31_init_camera(), and dev_stk6a31_initialize_device().
int dev_stk6a31_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 717 of file stk11xx-dev-6a31.c.
References dev_stk11xx_check_device(), usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_settings().
int dev_stk6a31_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
Definition at line 154 of file stk11xx-dev-6a31.c.
References dev_stk11xx_check_device(), dev_stk6a31_sensor_settings(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a31_init_camera(), dev_stk6a31_initialize_device(), and dev_stk6a31_reconf_camera().
int dev_stk6a31_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 571 of file stk11xx-dev-6a31.c.
References dev_stk11xx_camera_off(), dev_stk6a31_camera_asleep(), dev_stk6a31_configure_device(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stk6a31_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 69 of file stk11xx-dev-6a31.c.
References dev_stk11xx_check_device(), dev_stk6a31_camera_asleep(), dev_stk6a31_configure_device(), STK_INFO, usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stk6a31_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 847 of file stk11xx-dev-6a31.c.
References dev_stk11xx_camera_settings(), and dev_stk6a31_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stk6a31_sensor_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to set default sensor settings.
dev | Device structure |
Definition at line 605 of file stk11xx-dev-6a31.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a31_configure_device().
int dev_stk6a31_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 798 of file stk11xx-dev-6a31.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stk6a31_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 764 of file stk11xx-dev-6a31.c.
References dev_stk11xx_check_device(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_set_camera_quality().
int dev_stk6a31_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 814 of file stk11xx-dev-6a31.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stk6a31_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 867 of file stk11xx-dev-6a31.c.
Referenced by dev_stk11xx_stop_stream().
int dev_stk6a33_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 651 of file stk11xx-dev-6a33.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stk6a33_init_camera(), and dev_stk6a33_initialize_device().
int dev_stk6a33_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 820 of file stk11xx-dev-6a33.c.
References dev_stk11xx_check_device(), usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_settings().
int dev_stk6a33_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
The steps 0 to 9 are called during the initialization. Then, the driver choose the last step : 10 : for a resolution from 80x60 to 640x480 11 : for a resolution from 800x600 to 1280x1024
Definition at line 367 of file stk11xx-dev-6a33.c.
References dev_stk6a33_sensor_settings(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a33_init_camera(), dev_stk6a33_initialize_device(), and dev_stk6a33_reconf_camera().
int dev_stk6a33_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 681 of file stk11xx-dev-6a33.c.
References dev_stk11xx_camera_off(), dev_stk6a33_camera_asleep(), dev_stk6a33_configure_device(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stk6a33_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 69 of file stk11xx-dev-6a33.c.
References dev_stk11xx_check_device(), dev_stk6a33_camera_asleep(), dev_stk6a33_configure_device(), STK_DEBUG, STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stk6a33_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 966 of file stk11xx-dev-6a33.c.
References dev_stk11xx_camera_settings(), and dev_stk6a33_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stk6a33_sensor_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to set default sensor settings.
dev | Device structure |
Definition at line 710 of file stk11xx-dev-6a33.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a33_configure_device().
int dev_stk6a33_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
0x204 = 0x2e : Fps MSB (by default 0x01) 0x204 = 0x2d : Fps LSB (by default 0x00)
0x2e | 0x2d | Nbr fps -----+------+-------- 0x00 | 0x00 | 30 0x01 | 0x00 | 20 0x02 | 0x00 | 15 0x03 | 0x00 | 12 0x04 | 0x00 | 10
Definition at line 917 of file stk11xx-dev-6a33.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stk6a33_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
0x204 = 0xa1 : unkown (by default 0x00) 0x204 = 0x10 : contrast (by default 0x7c) 0x204 = 0x04 : Mode (unknown) (by default 0x00) (=> already looked 0x01 and 0x02) 0x204 = 0x00 : brightness / white balance (by default 0x00)
Definition at line 872 of file stk11xx-dev-6a33.c.
References dev_stk11xx_check_device(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_set_camera_quality().
int dev_stk6a33_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 933 of file stk11xx-dev-6a33.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stk6a33_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 986 of file stk11xx-dev-6a33.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_stop_stream().
int dev_stk6a51_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 717 of file stk11xx-dev-6a51.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stk6a51_init_camera(), and dev_stk6a51_initialize_device().
int dev_stk6a51_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 1431 of file stk11xx-dev-6a51.c.
Referenced by dev_stk11xx_camera_settings().
int dev_stk6a51_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
Definition at line 334 of file stk11xx-dev-6a51.c.
References dev_stk11xx_check_device(), dev_stk6a51_sensor_settings(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a51_init_camera(), dev_stk6a51_initialize_device(), and dev_stk6a51_reconf_camera().
int dev_stk6a51_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 749 of file stk11xx-dev-6a51.c.
References dev_stk11xx_camera_off(), dev_stk6a51_camera_asleep(), dev_stk6a51_configure_device(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stk6a51_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 69 of file stk11xx-dev-6a51.c.
References dev_stk11xx_check_device(), dev_stk6a51_camera_asleep(), dev_stk6a51_configure_device(), STK_DEBUG, STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stk6a51_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 1530 of file stk11xx-dev-6a51.c.
References dev_stk11xx_camera_settings(), and dev_stk6a51_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stk6a51_sensor_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to set default sensor settings.
dev | Device structure |
Definition at line 780 of file stk11xx-dev-6a51.c.
References dev_stk11xx_check_device(), usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a51_configure_device().
int dev_stk6a51_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 1484 of file stk11xx-dev-6a51.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stk6a51_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 1450 of file stk11xx-dev-6a51.c.
References dev_stk11xx_check_device(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_set_camera_quality().
int dev_stk6a51_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 1500 of file stk11xx-dev-6a51.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stk6a51_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 1550 of file stk11xx-dev-6a51.c.
Referenced by dev_stk11xx_stop_stream().
int dev_stk6a54_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 267 of file stk11xx-dev-6a54.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep().
int dev_stk6a54_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 436 of file stk11xx-dev-6a54.c.
Referenced by dev_stk11xx_camera_settings().
int dev_stk6a54_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
Definition at line 149 of file stk11xx-dev-6a54.c.
References dev_stk6a54_sensor_settings(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a54_initialize_device().
int dev_stk6a54_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 297 of file stk11xx-dev-6a54.c.
Referenced by dev_stk11xx_init_camera().
int dev_stk6a54_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 69 of file stk11xx-dev-6a54.c.
References dev_stk11xx_check_device(), dev_stk6a54_configure_device(), STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stk6a54_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 501 of file stk11xx-dev-6a54.c.
References dev_stk11xx_camera_settings().
Referenced by dev_stk11xx_reconf_camera().
int dev_stk6a54_sensor_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to set default sensor settings.
dev | Device structure |
Definition at line 313 of file stk11xx-dev-6a54.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a54_configure_device().
int dev_stk6a54_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 470 of file stk11xx-dev-6a54.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stk6a54_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 455 of file stk11xx-dev-6a54.c.
Referenced by dev_stk11xx_set_camera_quality().
int dev_stk6a54_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 486 of file stk11xx-dev-6a54.c.
Referenced by dev_stk11xx_start_stream().
int dev_stk6a54_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 519 of file stk11xx-dev-6a54.c.
Referenced by dev_stk11xx_stop_stream().
int dev_stka311_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 631 of file stk11xx-dev-a311.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stka311_init_camera(), and dev_stka311_initialize_device().
int dev_stka311_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 818 of file stk11xx-dev-a311.c.
References dev_stk11xx_check_device(), dev_stka311_set_camera_fps(), dev_stka311_set_camera_quality(), and STK_DEBUG.
Referenced by dev_stk11xx_camera_settings(), and dev_stka311_init_camera().
int dev_stka311_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
The steps 0 to 9 are called during the initialization. Then, the driver choose the last step : 10 : for a resolution from 80x60 to 640x480 11 : for a resolution from 800x600 to 1280x1024
Definition at line 392 of file stk11xx-dev-a311.c.
References dev_stk11xx_check_device(), dev_stka311_sensor_settings(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka311_init_camera(), dev_stka311_initialize_device(), and dev_stka311_reconf_camera().
int dev_stka311_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 661 of file stk11xx-dev-a311.c.
References dev_stk11xx_camera_off(), dev_stk11xx_check_device(), dev_stka311_camera_asleep(), dev_stka311_camera_settings(), dev_stka311_configure_device(), usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stka311_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 69 of file stk11xx-dev-a311.c.
References dev_stk11xx_check_device(), dev_stka311_camera_asleep(), dev_stka311_configure_device(), STK_DEBUG, STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stka311_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 1004 of file stk11xx-dev-a311.c.
References dev_stk11xx_camera_settings(), and dev_stka311_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stka311_sensor_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to set default sensor settings.
dev | Device structure |
Definition at line 710 of file stk11xx-dev-a311.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka311_configure_device().
int dev_stka311_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
0x204 = 0x2e : Fps MSB (by default 0x01) 0x204 = 0x2d : Fps LSB (by default 0x00)
0x2e | 0x2d | Nbr fps -----+------+-------- 0x00 | 0x00 | 30 0x01 | 0x00 | 20 0x02 | 0x00 | 15 0x03 | 0x00 | 12 0x04 | 0x00 | 10
Definition at line 915 of file stk11xx-dev-a311.c.
References usb_stk11xx_write_registry().
Referenced by dev_stk11xx_set_camera_fps(), and dev_stka311_camera_settings().
int dev_stka311_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
0x204 = 0xa1 : unkown (by default 0x00) 0x204 = 0x10 : contrast (by default 0x7c) 0x204 = 0x04 : Mode (unknown) (by default 0x00) (=> already looked 0x01 and 0x02) 0x204 = 0x00 : brightness / white balance (by default 0x00)
Definition at line 858 of file stk11xx-dev-a311.c.
References STK_DEBUG, and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_set_camera_quality(), and dev_stka311_camera_settings().
int dev_stka311_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 974 of file stk11xx-dev-a311.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stka311_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 1045 of file stk11xx-dev-a311.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_stop_stream().
int dev_stka821_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 582 of file stk11xx-dev-a821.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stka821_init_camera(), and dev_stka821_initialize_device().
int dev_stka821_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 737 of file stk11xx-dev-a821.c.
References dev_stk11xx_check_device(), usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_settings(), and dev_stka821_init_camera().
int dev_stka821_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
Definition at line 315 of file stk11xx-dev-a821.c.
References dev_stk11xx_check_device(), dev_stka821_sensor_settings(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka821_init_camera(), dev_stka821_initialize_device(), and dev_stka821_reconf_camera().
int dev_stka821_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 612 of file stk11xx-dev-a821.c.
References dev_stk11xx_camera_off(), dev_stka821_camera_asleep(), dev_stka821_camera_settings(), dev_stka821_configure_device(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stka821_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 69 of file stk11xx-dev-a821.c.
References dev_stk11xx_check_device(), dev_stka821_camera_asleep(), dev_stka821_configure_device(), STK_DEBUG, STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stka821_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 874 of file stk11xx-dev-a821.c.
References dev_stk11xx_camera_settings(), and dev_stka821_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stka821_sensor_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to set default sensor settings.
dev | Device structure |
Definition at line 661 of file stk11xx-dev-a821.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka821_configure_device().
int dev_stka821_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 828 of file stk11xx-dev-a821.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stka821_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 794 of file stk11xx-dev-a821.c.
References dev_stk11xx_check_device(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_set_camera_quality().
int dev_stka821_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 844 of file stk11xx-dev-a821.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stka821_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 894 of file stk11xx-dev-a821.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_stop_stream().