#include <picture.h>

Public Member Functions | |
| PictureConfig (BC_Hash *defaults) | |
| ~PictureConfig () | |
| void | copy_settings (PictureConfig *picture) |
| void | copy_usage (PictureConfig *picture) |
| void | load_defaults () |
| void | save_defaults () |
| void | set_item (int device_id, int value) |
| void | dump () |
| PictureItem * | new_item (const char *name) |
| PictureItem * | get_item (const char *name, int id) |
Data Fields | |
| int | brightness |
| int | hue |
| int | color |
| int | contrast |
| int | whiteness |
| int | use_brightness |
| int | use_contrast |
| int | use_color |
| int | use_hue |
| int | use_whiteness |
| ArrayList< PictureItem * > | controls |
| BC_Hash * | defaults |
Definition at line 31 of file picture.h.
| PictureConfig::PictureConfig | ( | BC_Hash * | defaults | ) |
Definition at line 54 of file picture.C.
References brightness, color, contrast, hue, use_brightness, use_color, use_contrast, use_hue, use_whiteness, and whiteness.
| PictureConfig::~PictureConfig | ( | ) |
Definition at line 70 of file picture.C.
References controls, and ArrayList< TYPE >::remove_all_objects().

| void PictureConfig::copy_settings | ( | PictureConfig * | picture | ) |
Definition at line 75 of file picture.C.
References ArrayList< TYPE >::append(), brightness, color, contrast, controls, PictureItem::copy_from(), PictureItem::device_id, hue, ArrayList< TYPE >::total, ArrayList< TYPE >::values, and whiteness.
Referenced by VideoDevice::set_picture().

| void PictureConfig::copy_usage | ( | PictureConfig * | picture | ) |
Definition at line 105 of file picture.C.
References ArrayList< TYPE >::append(), controls, PictureItem::copy_from(), PictureItem::device_id, src, ArrayList< TYPE >::total, use_brightness, use_color, use_contrast, use_hue, use_whiteness, and ArrayList< TYPE >::values.
Referenced by Record::open_input_devices(), and LiveVideo::process_buffer().

| void PictureConfig::load_defaults | ( | ) |
Definition at line 135 of file picture.C.
References BCTEXTLEN, brightness, color, contrast, controls, defaults, BC_Hash::get(), PictureItem::get_default_string(), hue, ArrayList< TYPE >::total, PictureItem::value, ArrayList< TYPE >::values, and whiteness.
Referenced by Record::load_defaults(), and LiveVideo::process_buffer().

| void PictureConfig::save_defaults | ( | ) |
Definition at line 160 of file picture.C.
References BCTEXTLEN, brightness, color, contrast, controls, defaults, PictureItem::get_default_string(), hue, ArrayList< TYPE >::total, BC_Hash::update(), PictureItem::value, ArrayList< TYPE >::values, and whiteness.
Referenced by Record::save_defaults().

| void PictureConfig::set_item | ( | int | device_id, | |
| int | value | |||
| ) |
Definition at line 220 of file picture.C.
References controls, PictureItem::device_id, ArrayList< TYPE >::total, PictureItem::value, and ArrayList< TYPE >::values.
Referenced by RecordChannelPicker::set_picture().
| void PictureConfig::dump | ( | ) |
Definition at line 182 of file picture.C.
References BCTEXTLEN, brightness, color, contrast, controls, PictureItem::get_default_string(), hue, ArrayList< TYPE >::total, PictureItem::value, ArrayList< TYPE >::values, and whiteness.

| PictureItem * PictureConfig::new_item | ( | const char * | name | ) |
Definition at line 198 of file picture.C.
References ArrayList< TYPE >::append(), controls, PictureItem::name, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

| PictureItem * PictureConfig::get_item | ( | const char * | name, | |
| int | id | |||
| ) |
Definition at line 210 of file picture.C.
References controls, PictureItem::device_id, PictureItem::name, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Definition at line 43 of file picture.h.
Referenced by copy_settings(), dump(), RecordChannelPicker::get_brightness(), load_defaults(), PictureConfig(), save_defaults(), RecordChannelPicker::set_brightness(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().
Definition at line 44 of file picture.h.
Referenced by copy_settings(), dump(), RecordChannelPicker::get_hue(), load_defaults(), PictureConfig(), save_defaults(), RecordChannelPicker::set_hue(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().
Definition at line 45 of file picture.h.
Referenced by copy_settings(), dump(), RecordChannelPicker::get_color(), load_defaults(), PictureConfig(), save_defaults(), RecordChannelPicker::set_color(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().
Definition at line 46 of file picture.h.
Referenced by copy_settings(), dump(), RecordChannelPicker::get_contrast(), load_defaults(), PictureConfig(), save_defaults(), RecordChannelPicker::set_contrast(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().
Definition at line 47 of file picture.h.
Referenced by copy_settings(), dump(), RecordChannelPicker::get_whiteness(), load_defaults(), PictureConfig(), save_defaults(), VDeviceBUZ::set_picture(), RecordChannelPicker::set_whiteness(), and VDeviceV4L::v4l1_set_picture().
Definition at line 50 of file picture.h.
Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().
Definition at line 51 of file picture.h.
Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().
Definition at line 52 of file picture.h.
Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().
Definition at line 53 of file picture.h.
Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().
Definition at line 54 of file picture.h.
Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().
Definition at line 60 of file picture.h.
Referenced by copy_settings(), copy_usage(), dump(), RecordChannelPicker::get_control(), RecordChannelPicker::get_controls(), get_item(), load_defaults(), new_item(), save_defaults(), set_item(), and ~PictureConfig().
1.5.5