Add decoding through LibRaw

Decode raw files with LibRaw and fall back to dcraw if LibRaw is unable
to read the file.
This commit is contained in:
Lawrence Lee
2023-11-18 21:23:55 -08:00
parent 3f5c3988e5
commit 20d3311931
11 changed files with 669 additions and 101 deletions

View File

@@ -67,6 +67,7 @@ public:
,getbithuff(this,ifp,zero_after_ff)
,nikbithuff(ifp)
{
shrink=0;
memset(&hbd, 0, sizeof(hbd));
aber[0]=aber[1]=aber[2]=aber[3]=1;
gamm[0]=0.45;gamm[1]=4.5;gamm[2]=gamm[3]=gamm[4]=gamm[5]=0;