|
Defines |
#define | phResizeBilinear (1<<1) |
#define | phResizeNN (1<<2) |
#define | bl_table_type ph_bilinear_table_type |
#define | ph_nn_table_type ph_nearest_neighbor_table_type |
Typedefs |
typedef ph_bilinear_table_t * | ph_bilinear_table_type |
typedef ph_nearest_neighbor_table_t * | ph_nearest_neighbor_table_type |
Functions |
int | ph_bilinear_scale (const uint8_t *image, const uint32_t w, const uint32_t h, const uint32_t f, const uint32_t nw, const uint32_t nh, ph_bilinear_table_type *table, uint8_t **pscaled_image) |
| todo.
|
void | ph_bilinear_table_free (ph_bilinear_table_type *table) |
int | ph_nearest_neighbor_scale (const uint8_t *image, const uint32_t w, const uint32_t h, const uint32_t f, const uint32_t nw, const uint32_t nh, ph_nn_table_type *table, uint8_t **pscaled_image) |
| todo.
|
void | ph_nearest_neighbor_table_free (ph_nn_table_type *table) |
int | ph_image_crop (const uint8_t *imgptr, const uint32_t in_w, const uint32_t in_h, const uint32_t in_f, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, uint8_t **pcropped_image, uint32_t *ps, uint32_t *pw, uint32_t *ph) |
| todo.
|