REFACTOR: renamed ppm_flip_h and ppm_flip_v to u32_flop and u32_flip
respectively. It matches naming convention with rest of API
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* @retval NULL If original buffer is invalid or if new buffer fails to create
|
||||
* */
|
||||
unsigned int*
|
||||
ppm_flip_h(const unsigned int* buf, const PPM img);
|
||||
u32_flop(const unsigned int* buf, const PPM img);
|
||||
|
||||
/**
|
||||
* @brief Flips image on Y-Axis
|
||||
@@ -25,7 +25,7 @@ ppm_flip_h(const unsigned int* buf, const PPM img);
|
||||
* @retval NULL If original buffer is invalid or if new buffer fails to create
|
||||
* */
|
||||
unsigned int*
|
||||
ppm_flip_v(const unsigned int* buf, const PPM img);
|
||||
ppm_flip(const unsigned int* buf, const PPM img);
|
||||
|
||||
/**
|
||||
* @brief Rotates image on 90 Clockwise
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "image/utils.h"
|
||||
|
||||
unsigned int*
|
||||
ppm_flip_h(const unsigned int* buf, const PPM img)
|
||||
u32_flop(const unsigned int* buf, const PPM img)
|
||||
{
|
||||
if (!buf)
|
||||
{
|
||||
@@ -34,7 +34,7 @@ ppm_flip_h(const unsigned int* buf, const PPM img)
|
||||
}
|
||||
|
||||
unsigned int*
|
||||
ppm_flip_v(const unsigned int* buf, const PPM img)
|
||||
u32_flip(const unsigned int* buf, const PPM img)
|
||||
{
|
||||
if (!buf)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user