To pass some time in a train yesterday, I've copy'n'pasted my recent GPU ISP into Millipixels' postprocessing code to see how it compares with what was already there. Before/after:
@pavel ??? Full 13MP is still well within GL texture limits. The code just works as-is.
@pavel That's not how it works. A 4-channel 13Mpix image remains a 13Mpix image and still fits within limits.
@pavel Just take a step back and think a bit about what you just wrote and you won't need any code 😜
@pavel How comfortable does one need to be to replace a single line that calls a function called "debayer"? 🤔