integration of halfsizing
This commit is contained in:
@@ -19,7 +19,7 @@ typedef struct {
|
||||
int nbarg;
|
||||
} Fx;
|
||||
|
||||
enum fxid { Fx_cos01, Fx_cos010, Fx_pow2, Fx_sqrt, Fx_gray0 };
|
||||
enum fxid { Fx_cos01, Fx_cos010, Fx_pow2, Fx_sqrt, Fx_gray0, Fx_halfsz0 };
|
||||
|
||||
Fx fx_list[] = {
|
||||
{ "cos01", Fx_cos01, 0 },
|
||||
@@ -27,6 +27,7 @@ Fx fx_list[] = {
|
||||
{ "pow2", Fx_pow2, 0 },
|
||||
{ "sqrt", Fx_sqrt, 0 },
|
||||
{ "gray0", Fx_gray0, 0 },
|
||||
{ "halfsz0", Fx_halfsz0, 0 },
|
||||
{ NULL, 0, 0 }
|
||||
};
|
||||
|
||||
@@ -112,6 +113,10 @@ switch (act) {
|
||||
fimg_to_gray(&src); fimg_copy_data(&src, &dest);
|
||||
break;
|
||||
|
||||
case Fx_halfsz0:
|
||||
fprintf(stderr, "not implemented\n");
|
||||
return -3;
|
||||
|
||||
default:
|
||||
fprintf(stderr, "*** %s : %d is bad action\n", __func__, act);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user