summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix even more minor leaksMatthias Vogelgesang2018-06-261-5/+6
|
* Use notify_by_pspec since we depend on GLib 2.38Matthias Vogelgesang2018-06-201-7/+3
|
* Add UCA_CAMERA_ERROR_DEVICEMatthias Vogelgesang2018-06-081-0/+2
| | | | | For device-specific errors which are not covered by specific error codes.
* Raise minimum GLib version to 2.38Matthias Vogelgesang2018-02-081-38/+38
|
* Parse enum properties properlyMatthias Vogelgesang2017-12-081-3/+58
|
* Parse enum props as uintsMatthias Vogelgesang2017-10-101-0/+2
|
* Fix #80: trigger must not block on the access_lockMatthias Vogelgesang2017-01-131-2/+0
| | | | | This defeats the purpose of software triggers which in most cases have to happen in a thread different from the one grabbing actual frames.
* Fix unused variable warningsMatthias Vogelgesang2016-07-191-3/+0
|
* Add TIMEOUT error codeMatthias Vogelgesang2016-07-131-0/+1
|
* Move sensor binnings array out to pluginMatthias Vogelgesang2016-02-161-40/+0
|
* Do not stop camera when closing the objectMatthias Vogelgesang2016-02-151-11/+0
| | | | This is an undocumented and in some cases unwanted side effect.
* Fix #69: revert back to fixed mock camera settingsMatthias Vogelgesang2015-11-181-3/+3
| | | | | | | | The combination of CONSTRUCT_ONLY and READWRITE causes a) unnecessary warnings and b) confuses the TANGO server down below (see SCHNEIDE-661). Since adapting the mock camera size and bitdepth at run-time is not a high-priority feature, we reverted that change. In the future and if still required this should be solved through either compile-time defines or an environment variable.
* Include stdlib.h for atoi etc.Matthias Vogelgesang2015-10-221-0/+1
| | | | | With certain glibc/gcc versions, the function declarations are not known and wrong parameter types are assumed causing wrong conversion results.
* Add uca_camera_parse_arg_propsMatthias Vogelgesang2015-10-211-0/+103
| | | | Sets properties from a list of `prop=value` strings.
* Fix ufo-kit/concert#373: same unit for ROI and multMatthias Vogelgesang2015-06-181-2/+2
|
* pco: fix deadlock with streamed acquisitionMatthias Vogelgesang2015-06-101-4/+6
|
* Add uca_camera_readout APIMatthias Vogelgesang2015-06-021-0/+73
| | | | This call allows to readout arbitrary frames from internal camera buffers.
* Fix wrong stop_readout checkMatthias Vogelgesang2015-06-021-1/+1
|
* UcaCamera base class: Changed propertiesTimo Dritschler2015-05-191-6/+23
| | | | | | | | | Changed sensor-width, sensor-height and sensor-bitdepth to construct only Added uca_camera_pspec_set_writable mock: allow characterization at construction time Its now possible to set sensor-width, sensor-height and sensor-bitdepth at construction time Creation of random data is now controlled by a property and can be set while recording
* Merge pull request #65 from ufo-kit/frameskipMatthias Vogelgesang2015-04-141-1/+1
|\ | | | | Changed GUI to do hard frame skipping in preview mode
| * Changed GUI to do hard frame skipping if frames are accumulated faster than ↵Timo Dritschler2015-04-131-1/+1
| | | | | | | | the GUI can display them
* | Fix overridable trigger namesMatthias Vogelgesang2015-04-141-2/+2
|/
* Switch to trigger source/type semanticsMatthias Vogelgesang2015-03-311-15/+39
| | | | | | | This change makes the naming more consistent but will break client and plugin code. The main idea is to specify a trigger source (AUTO being a virtual source) which denotes how causes a trigger and a trigger type which denotes when triggering happens (edge or level).
* Add error type for write methodMatthias Vogelgesang2014-12-171-0/+2
|
* Add uca_camera_write to write arbitrary dataMatthias Vogelgesang2014-12-161-0/+33
| | | | This is necessary for cameras that provide a custom calibration.
* Fix grab if Python is not usedMatthias Vogelgesang2014-12-011-0/+3
|
* Fix #61 causing a race conditionMatthias Vogelgesang2014-11-131-2/+10
| | | | | The buffer thread now waits on the *intent* to stop the recording (i.e. the internal state) instead of using the external state information.
* Add Python support code to release GIL on grabMatthias Vogelgesang2014-10-241-1/+26
| | | | | A compile time switch WITH_PYTHON_MULTITHREADING has been added that toggles GIL releasing.
* Fix printing non-existent errorMatthias Vogelgesang2014-10-211-3/+6
| | | | | This caused a segfault when unreffing a camera object which was still recording but stopping it was not failing.
* pco: add global shutter supportMatthias Vogelgesang2014-09-301-0/+3
|
* Fix race condition on buffered acquisitionMatthias Vogelgesang2014-09-151-6/+7
|
* Fix #54: remove sensor-max-frame-rateMatthias Vogelgesang2014-09-101-24/+3
|
* Fix #41: add write accessibility APIMatthias Vogelgesang2014-08-131-0/+55
|
* Refactor out get_param_spec_by_nameMatthias Vogelgesang2014-08-131-19/+25
|
* Fix re-setting a unit on the same camera classMatthias Vogelgesang2014-08-131-2/+6
|
* Reset all property units and warn on overrideMatthias Vogelgesang2014-08-071-0/+11
|
* Prevent overwriting unit definitionMatthias Vogelgesang2014-08-071-1/+4
|
* Added proper handling for 'frames-per-second' property to uca-camera base classTimo Dritschler2014-07-291-3/+18
|
* Fix annotationsMatthias Vogelgesang2014-03-051-2/+2
|
* Add compatibility layer for new thread APIMatthias Vogelgesang2014-02-181-0/+1
|
* Fix #28: Add buffered recording to base classMatthias Vogelgesang2014-02-141-29/+175
| | | | | | | This change adds new properties ::buffered and ::num-buffers to the base class. If ::buffered is TRUE, uca_camera_start_recording will spawn a new thread which will call the camera-specific grab. Any call to uca_camera_grab will return the next item from the ring buffer.
* Add new API call uca_camera_is_recordingMatthias Vogelgesang2013-12-121-0/+16
|
* Initialize result variableMatthias Vogelgesang2013-10-221-1/+1
| | | | Thanks clang!
* Provide binning default and let cameras use thatMatthias Vogelgesang2013-07-171-0/+8
|
* Set default values for ROI multipliersMatthias Vogelgesang2013-07-171-0/+8
|
* Add sensor-pixel-width and sensor-pixel-heightMatthias Vogelgesang2013-05-021-0/+28
| | | | | To all camera authors: you should override these values and provide the correct pixel sizes.
* Fix segmentation fault when accessing binning listMatthias Vogelgesang2013-04-151-0/+25
| | | | This fixes one of the problems in #208.
* Implement trigger logic in base cameraMatthias Vogelgesang2013-03-201-1/+7
|
* uca_camera_grab takes a gpointer and returns boolMatthias Vogelgesang2013-03-201-16/+14
|
* Lock access to camera implementationsMatthias Vogelgesang2012-10-221-2/+17
| | | | Thus, two threads will never invoke the camera implementations of grab() and stop().