X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=demo.cpp;h=b401f0574f21dcb904ac61dab1d854137838c510;hp=cd9fe9fb9dfb2e29e694d6bf82153b9e157821a2;hb=2b6a8585772bf9ae742a2ee36144a0cdd5ba0524;hpb=b61cd4cf5535ecfd76d5c923ea7421a8282bf98b diff --git a/demo.cpp b/demo.cpp index cd9fe9f..b401f05 100644 --- a/demo.cpp +++ b/demo.cpp @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -180,6 +179,8 @@ int main(int argc, char **argv) init_movit(".", MOVIT_DEBUG_ON); printf("GPU texture subpixel precision: about %.1f bits\n", log2(1.0f / movit_texel_subpixel_precision)); + printf("Wrongly rounded x+0.48 or x+0.52 values: %d/510\n", + movit_num_wrongly_rounded); unsigned img_w, img_h; unsigned char *src_img = load_image(argc > 1 ? argv[1] : "blg_wheels_woman_1.jpg", &img_w, &img_h);