Skip to content

Commit

Permalink
Format c-api border constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Mek101 committed Jul 15, 2023
1 parent e93b8df commit c1e4318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ NCNN_EXPORT int ncnn_extractor_input_index(ncnn_extractor_t ex, int index, const
NCNN_EXPORT int ncnn_extractor_extract_index(ncnn_extractor_t ex, int index, ncnn_mat_t* mat);

/* mat process api */
#define NCNN_BORDER_CONSTANT 0
#define NCNN_BORDER_REPLICATE 1
#define NCNN_BORDER_REFLECT 2
#define NCNN_BORDER_CONSTANT 0
#define NCNN_BORDER_REPLICATE 1
#define NCNN_BORDER_REFLECT 2
#define NCNN_BORDER_TRANSPARENT -233
NCNN_EXPORT void ncnn_copy_make_border(const ncnn_mat_t src, ncnn_mat_t dst, int top, int bottom, int left, int right, int type, float v, const ncnn_option_t opt);
NCNN_EXPORT void ncnn_copy_make_border_3d(const ncnn_mat_t src, ncnn_mat_t dst, int top, int bottom, int left, int right, int front, int behind, int type, float v, const ncnn_option_t opt);
Expand Down

0 comments on commit c1e4318

Please sign in to comment.