Merge commit 'de5f92937857cccc45080c59c6236561416e5ece' into libraw-copylib

Upgrade LibRaw to 0.21.2.
This commit is contained in:
Lawrence Lee
2023-12-31 12:52:34 -08:00
19 changed files with 150 additions and 49 deletions

View File

@@ -265,6 +265,10 @@ void LibRaw::xtrans_interpolate(int passes)
{
rix = &rgb[0][row - top][col - left];
int h = fcol(row, col + 1);
if (h == 1) // Incorrect pattern
break;
float diff[6];
memset(diff, 0, sizeof diff);
for (int i = 1, d = 0; d < 6; d++, i ^= LIBRAW_AHD_TILE ^ 1, h ^= 2)