>>607
そのコードだと、山ほどあるけどな・・・

一つ挙げるとしたら、ループ中でfloatを使わないとか
int iResizep = Resizep * 256.0f;
y = ( i << 8 ) / iResizep;