summaryrefslogtreecommitdiffstats
path: root/core/videoframeextractor.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-09-02 20:14:45 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-06 12:50:59 -0700
commitb1a1dc36398530fa83038c9f71f480b9b955af22 (patch)
tree9108488c6c48e74767457e7a607371fce57d238f /core/videoframeextractor.h
parentd404aa767feb24b19da50ba833723b3dd0cfb271 (diff)
downloadsubsurface-b1a1dc36398530fa83038c9f71f480b9b955af22.tar.gz
Function for "gravity conversion"
This adds a common macro to convert salinity (which is given as a density in terms of g per 10l) to a specific weight with units of mbar / mm = bar / m that is used to translate between pressures and depths. The weired factor of 10 (from the unusual unit of salinity) is included in the macro. It is there for historical reasons, as it goes back to 05b55542c8 from 2012 where it was introduced in code for downloading from Uemis dive computers. Now, salinity appears in too many places to easily remove this unconventional factor of 10 everywhere without breaking to many things (including various dive computer downloads). Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/videoframeextractor.h')
0 files changed, 0 insertions, 0 deletions