64 const uint32_t num_regs,
65 std::vector<uint32_t> &val)
67 int err = dc1394_get_control_registers(
camera_, offset, &val[0], num_regs);
68 return (DC1394_SUCCESS == err);
77 const std::vector<uint32_t> &val)
79 int err = dc1394_set_control_registers(
camera_, offset, &val[0], val.size());
80 return (DC1394_SUCCESS == err);
85 const uint32_t feature,
88 int err = dc1394_get_absolute_register(
camera_, feature, offset, &val);
89 return (DC1394_SUCCESS == err);
93 const uint32_t feature,
96 int err = dc1394_set_absolute_register(
camera_, feature, offset, val);
97 return (DC1394_SUCCESS == err);
105 int err = dc1394_get_format7_register(
camera_, mode, offset, &val);
106 return (DC1394_SUCCESS == err);
113 int err = dc1394_set_format7_register(
camera_, mode, offset, val);
114 return (DC1394_SUCCESS == err);
119 const uint32_t num_regs,
120 std::vector<uint32_t> &val)
122 int err = dc1394_get_adv_control_registers(
camera_, offset, &val[0],
124 return (DC1394_SUCCESS == err);
128 const std::vector<uint32_t> &val)
130 int err = dc1394_set_adv_control_registers(
camera_, offset, &val[0],
132 return (DC1394_SUCCESS == err);
138 int err = dc1394_get_PIO_register(
camera_, offset, &val);
139 return (DC1394_SUCCESS == err);
144 int err = dc1394_set_PIO_register(
camera_, offset, val);
145 return (DC1394_SUCCESS == err);
151 int err = dc1394_get_SIO_register(
camera_, offset, &val);
152 return (DC1394_SUCCESS == err);
157 int err = dc1394_set_SIO_register(
camera_, offset, val);
158 return (DC1394_SUCCESS == err);
164 int err = dc1394_get_strobe_register(
camera_, offset, &val);
165 return (DC1394_SUCCESS == err);
170 int err = dc1394_set_strobe_register(
camera_, offset, val);
171 return (DC1394_SUCCESS == err);
bool setSIORegister(const uint64_t offset, const uint32_t val)
bool getAdvancedControlRegisters(const uint64_t offset, const uint32_t num_regs, std::vector< uint32_t > &val)
IEEE 1394 camera registers interface.
bool getControlRegisters(const uint64_t offset, const uint32_t num_regs, std::vector< uint32_t > &val)
bool setAbsoluteRegister(const uint64_t offset, const uint32_t feature, const uint32_t val)
bool getStrobeRegister(const uint64_t offset, uint32_t &val)
bool getAbsoluteRegister(const uint64_t offset, const uint32_t feature, uint32_t &val)
bool setStrobeRegister(const uint64_t offset, const uint32_t val)
bool setFormat7Register(const uint64_t offset, const uint32_t mode, const uint32_t val)
bool setPIORegister(const uint64_t offset, const uint32_t val)
bool getFormat7Register(const uint64_t offset, const uint32_t mode, uint32_t &val)
bool setAdvancedControlRegisters(const uint64_t offset, const std::vector< uint32_t > &val)
bool getPIORegister(const uint64_t offset, uint32_t &val)
bool setControlRegisters(const uint64_t offset, const std::vector< uint32_t > &val)
bool getSIORegister(const uint64_t offset, uint32_t &val)