| 590 | #define MegCC_InterpolationMode_LANCZOS4 ((MegCC_InterpolationMode_enum_t)INT8_C(4)) |
| 591 | |
| 592 | static inline const char *MegCC_InterpolationMode_name(MegCC_InterpolationMode_enum_t value) |
| 593 | { |
| 594 | switch (value) { |
| 595 | case MegCC_InterpolationMode_NEAREST: return "NEAREST"; |
| 596 | case MegCC_InterpolationMode_LINEAR: return "LINEAR"; |
| 597 | case MegCC_InterpolationMode_AREA: return "AREA"; |
| 598 | case MegCC_InterpolationMode_CUBIC: return "CUBIC"; |
| 599 | case MegCC_InterpolationMode_LANCZOS4: return "LANCZOS4"; |
| 600 | default: return ""; |
| 601 | } |
| 602 | } |
| 603 | |
| 604 | static inline int MegCC_InterpolationMode_is_known_value(MegCC_InterpolationMode_enum_t value) |
| 605 | { |
nothing calls this directly
no outgoing calls
no test coverage detected