updates
This commit is contained in:
@ -149,15 +149,16 @@ namespace ams
|
||||
const uint8_t& operator[](long I) const;
|
||||
|
||||
float getf(int x, int y) const;
|
||||
int setf(int x, int y, float f) const;
|
||||
float interpolate(int x, int y);
|
||||
int setf(int x, int y, float f);
|
||||
float interpolate(float x, float y) const;
|
||||
|
||||
int apply_bitplane(int x0, int y0, const amsbitplane *bp);
|
||||
|
||||
void clear();
|
||||
void setall(uint8_t val);
|
||||
|
||||
//rescales the image with linear interpolation
|
||||
amsbitplane rescale(int _Nx, int _Ny); //todo
|
||||
amsbitplane rescale(int _Nx, int _Ny);
|
||||
};
|
||||
|
||||
class amsfloatimage
|
||||
@ -200,10 +201,9 @@ namespace ams
|
||||
void clear();
|
||||
void setall(amsfloatpixel color);
|
||||
|
||||
//don't implement this yet
|
||||
amsfloatpixel interpolate(float x, float y) const;
|
||||
|
||||
// //rescales the image with linear interpolation
|
||||
//rescales the image with linear interpolation
|
||||
amsfloatimage rescale(int nnx, int nny);
|
||||
|
||||
//addition/subtraction/scaling operators?
|
||||
|
@ -41,6 +41,7 @@ template<typename callable, typename ... argst> int threaded_execute(callable &&
|
||||
}
|
||||
for(I=0;I<nthreads;I++)
|
||||
{
|
||||
|
||||
if(threads[I]==NULL)
|
||||
{ //null thread creation failure check
|
||||
//printf("debug check!\n");
|
||||
|
@ -7,6 +7,9 @@ namespace ams
|
||||
void amscppimglib4_test2();
|
||||
|
||||
void amscppimglib4_test3();
|
||||
|
||||
void amscppimglib4_bitplane_alloc_tests();
|
||||
void amscppimglib4_image_alloc_tests();
|
||||
|
||||
}; //end namespace ams
|
||||
|
||||
|
Reference in New Issue
Block a user