Crash in highlight recovery when using AHD demosaic, fixes #4692
This commit is contained in:
parent
8613d169b9
commit
99fa2942b8
@ -684,7 +684,8 @@ void RawImageSource::ppg_demosaic()
|
|||||||
|
|
||||||
void RawImageSource::border_interpolate(unsigned int border, float (*image)[4], unsigned int start, unsigned int end)
|
void RawImageSource::border_interpolate(unsigned int border, float (*image)[4], unsigned int start, unsigned int end)
|
||||||
{
|
{
|
||||||
unsigned row, col, y, x, f, sum[8];
|
unsigned row, col, y, x, f;
|
||||||
|
float sum[8];
|
||||||
unsigned int width = W, height = H;
|
unsigned int width = W, height = H;
|
||||||
unsigned int colors = 3;
|
unsigned int colors = 3;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user