Remove obsolete dcraw::scale_colors()

This commit is contained in:
heckflosse 2017-04-06 23:51:36 +02:00
parent 1db6e78817
commit be4cc858a2
3 changed files with 2 additions and 27 deletions

View File

@ -4526,6 +4526,7 @@ void CLASS colorcheck()
// free (fimg);
//}
/*
void CLASS scale_colors()
{
unsigned bottom, right, size, row, col, ur, uc, i, x, y, c, sum[8];
@ -4641,6 +4642,7 @@ skip_block: ;
}
}
*/
void CLASS pre_interpolate()
{
ushort (*img)[4];

View File

@ -410,23 +410,10 @@ void foveon_make_curves(short **curvep, float dq[3], float div[3], float filt);
int foveon_apply_curve (short *curve, int i);
void foveon_interpolate();
//void xtrans_interpolate (int passes);
//void cielab (ushort rgb[3], short lab[3]);
//void remove_zeroes();
//void bad_pixels (const char *cfname);
//void subtract (const char *fname);
void gamma_curve (double pwr, double ts, int mode, int imax);
void pseudoinverse (double (*in)[3], double (*out)[3], int size);
void cam_xyz_coeff (float rgb_cam[3][4], double cam_xyz[4][3]);
//void hat_transform (float *temp, float *base, int st, int size, int sc);
//void wavelet_denoise();
void scale_colors();
void pre_interpolate();
//void border_interpolate (int border);
//void median_filter();
//void blend_highlights();
//void recover_highlights();
void crop_masked_pixels();
void tiff_get (unsigned base, unsigned *tag, unsigned *type, unsigned *len, unsigned *save);

View File

@ -173,12 +173,6 @@ public:
void getRgbCam (float rgbcam[3][4]);
void getXtransMatrix ( int xtransMatrix[6][6]);
void clearXtransCblack( )
{
for(int c = 0; c < 4; c++) {
cblack[c] = 0;
}
}
unsigned get_filters() const
{
return filters;
@ -312,14 +306,6 @@ public:
public:
// dcraw functions
void scale_colors()
{
if(isXtrans()) {
clearXtransCblack( );
}
DCraw::scale_colors();
}
void pre_interpolate()
{
DCraw::pre_interpolate();