-
-
Notifications
You must be signed in to change notification settings - Fork 55.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ximea interface update #6032
ximea interface update #6032
Conversation
mzajko
commented
Jan 29, 2016
- fixed getProperty call definition
- added new parameter defitions
Changing enum values is not allowed in public headers for ABI compatibility (for example, |
Hi All, can someone please explain what happened in the Win10 x64 VS2015 test build |
@mzajko It is not related to your patch. Ignore this error. |
@alalek Please let me know whether the last update resolved the issue with enums and merge the changes if possible. Thank you. |
CV_CAP_PROP_XI_CMS = 470, // Mode of color management system. | ||
CV_CAP_PROP_XI_APPLY_CMS = 471, // Enable applying of CMS profiles to xiGetImage (see XI_PRM_INPUT_CMS_PROFILE, XI_PRM_OUTPUT_CMS_PROFILE). | ||
CV_CAP_PROP_XI_IMAGE_IS_COLOR = 474, // Returns 1 for color cameras. | ||
CV_CAP_PROP_XI_IMAGE_IS_COLOR = 473, // Returns 1 for color cameras. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enum value is changed here (ABI violation issue). Is it a bug fix?
List of changed/removed enum values:
http://pullrequest.opencv.org/buildbot/builders/precommit_linux64/builds/5314/steps/Compare%20ABI%20dumps/logs/report-html#Constant_Source_Problems_Low
Thanks! Looks good to me. Please squash all commits into one to remove unnecessary intermediate changes from git history (there is also fix for "const" method, so also update to the latest master branch):
|
@alalek Hi, I squashed all commits as you suggested. Please let me know if there is anything else to |
Actually these commits are not squashed. There are 6 commits at this moment, but only 1 commit is expected. |
@alalek Sorry, I was using Tortoisegit to combine commits but it seems I got it a bit wrong... |
Unfortunately, I have no guide for Tortoisegit.
|
- fixed getProperty call definition - added new parameter defitions removed whitespaces Reworked enumerators to keep values from previous commit ximea enums fixes - fixed whitespaces issue - fixed duplicate enum values error ximea enum definitions update - fixed videioio.hpp code style - fixed ABI violation in enums - added new parameter handlers to cpp XIMEA setProperty update Added acquisition resetting to buffer size adjustment parameters.
53494cb
to
c216573
Compare
@alalek Thank you very much, all tests have passed successfully on the squashed commit. |
Well done! 👍 |