About 3x speed for scale_colors in rtthumbnail.cc also for xtrans files
This commit is contained in:
@@ -129,10 +129,6 @@ protected:
|
||||
char* profile_data; // Embedded ICC color profile
|
||||
float* allocation; // pointer to allocated memory
|
||||
int maximum_c4[4];
|
||||
bool isXtrans() const
|
||||
{
|
||||
return filters == 9;
|
||||
}
|
||||
bool isFoveon() const
|
||||
{
|
||||
return is_foveon;
|
||||
@@ -309,6 +305,11 @@ public:
|
||||
return (filters != 0 && filters != 9);
|
||||
}
|
||||
|
||||
bool isXtrans() const
|
||||
{
|
||||
return filters == 9;
|
||||
}
|
||||
|
||||
public:
|
||||
// dcraw functions
|
||||
void scale_colors()
|
||||
|
Reference in New Issue
Block a user