@CarVac posted a new topic, subject "Modularizing RawTherapee's demosaicing code". It read:

   So I have discovered that Libraw is discontinuing support for its GPL2 and GPL3 demosaic packs in version 0.19. The algorithms were added years ago, and have had no bug-fixes or performance enhancements in the years since, so they decided to focus on the decoding side of things rather than the processing.
    
    Unfortunately, this affects Filmulator and HDRMerge, which both use amaze demosaicing and CA auto correction from one of the demosaic packs.
    
    Now this is both a problem to be overcome and a great opportunity. Either both programs must fall back to lower functionality, or work must be done to integrate newer, faster, more bug-free versions of these algorithms from RawTherapee, which will take effort but yield significant speed improvements.
    
    In discussion with @heckflosse we decided it would be a good opportunity to better modularize some of the code used in RawTherapee so that we can better support the open-source photo editor ecosystem. The objective here is to allow dependent projects like Filmulator, HDRMerge, or PhotoFlow to use the source files for some of the key algorithms from RawTherapee verbatim, so that any further improvements made in RT can be easily transferred.

To which @heckflosse (Ingo Weyrich) replied

    CarVac:
    
    > Unfortunately, this affects Filmulator and HDRMerge
    
    and LuminanceHdr

Then @paperdigits (Mica) said

    Does libRaw have the same functionality as RawSpeed?

To which @heckflosse (Ingo Weyrich) replied

    Afaik LibRaw and RawSpeed are mainly raw decoders. In past, libraw (don't know about rawspeed) also supported demosaic and some raw preprocessing.
    
    The topic is about the steps after decoding the raw files until they are demosaiced (or pixelshift combined)

So @ggbutcher (Glenn Butcher) replied

    rawproc is in the same boat. I'm coming up on some sort of catharsis here, about libraries, so this consideration will be in the mix.

@LebedevRI (Roman Lebedev) replied

    heckflosse:
    
    > Afaik LibRaw and RawSpeed are mainly raw decoders. In past, libraw (don't know about rawspeed) also supported demosaic and some raw preprocessing.
    
    Correct, (basically) no post-decoding algorithms in rawspeed. (no demosaic, dng opcode list 3, …)


{'source': 'discourse', 'url': 'https://discuss.pixls.us/t/modularizing-rawtherapees-demosaicing-code/7320', 'title': "Modularizing RawTherapee's demosaicing code", 'views': 638, 'has_accepted_answer': False, 'word_count': 331, 'like_count': 5, 'reply_count': 2, 'participant_count': 5, 'posts': 6, 'tags': 'filmulator dev hdrmerge', 'author': '@CarVac', 'participants': '@CarVac, @heckflosse (Ingo Weyrich), @paperdigits (Mica), @ggbutcher (Glenn Butcher), @LebedevRI (Roman Lebedev)', 'image_url': [None], 'created_at': '2018-04-15T17:10:17.077Z', 'last_posted_at': '2018-04-15T20:57:08.507Z'}