Unverified Commit 353f3e77 authored by Andreas Schneider's avatar Andreas Schneider Committed by Tobias Ellinghaus

tools: Remove unused floatdump tool

(cherry picked from commit 0bd29191)
parent 6d18975f
PROGS = noiseprofile floatdump
PROGS = noiseprofile
CFLAGS = -g -std=c99 -Wall
......@@ -10,7 +10,4 @@ clean:
noiseprofile: noiseprofile.c
$(CC) $(CFLAGS) noiseprofile.c -lm -o $@
floatdump: floatdump.c
$(CC) $(CFLAGS) floatdump.c -o $@
.PHONY: all clean
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
int main(int argc, char *arg[])
{
// silly bugger needs big endian floats, so swap:
union { float f; uint32_t i;} input;
fscanf(stdin, "%f", &input.f);
input.i = ((input.i & 0xffff0000u) >> 16) | ((input.i & 0x0000ffffu) << 16);
input.i = ((input.i & 0xff00ff00u) >> 8) | ((input.i & 0x00ff00ffu) << 8);
fprintf(stdout, "%08X", input.i);
return 0;
}
......@@ -108,7 +108,7 @@ fi
profile_image() {
local image preset files_list maker model iso xmp \
noiseprofile floatdump pfm dat title fit pdf \
noiseprofile pfm dat title fit pdf \
flat_dat curves_dat flat_pdf a0 a1 a2 b0 b1 b2
tool_installed darktable-cli
......@@ -124,7 +124,6 @@ profile_image() {
xmp="$scriptdir/profiling-shot.xmp"
noiseprofile="$scriptdir/noiseprofile"
floatdump="$scriptdir/floatdump"
echo
echo "===> Profile image for \"$maker - $model - $iso ISO\""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment