commit | 227445f613e213dab787b595584d29a88c1d93cc | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Sun Oct 03 22:48:23 2021 -0400 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Sun Oct 03 22:48:23 2021 -0400 |
tree | 1eef393cd1a032ea15be7efd2ff618d63934c1bb | |
parent | d102a514382a84810d5fa0d89426c6670e58038a [diff] |
[pshinter] More convenient direction definition. It is easier to check directions using flags than integer values. * src/pshinter/pshalgo.h (PSH_Dir): Redefine directions. (PSH_PointRec): Use them as an enum type. * src/pshinter/pshalgo.c (psh_compute_dir): Modify return type. (psh_glyph_init, psh_hint_table_find_strong_points, psh_glyph_find_blue_points): Update users.