Skip to content

Commit 5ee45c8

Browse files
committed
rename fn
1 parent bdeb837 commit 5ee45c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

opencv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ func (f *Framebuffer) ApplyToneMapping(icc []byte) error {
316316
iccPtr = unsafe.Pointer(&icc[0])
317317
}
318318

319-
toneMappedMat := C.apply_tone_mapping_ffi(
319+
toneMappedMat := C.apply_tone_mapping(
320320
f.mat,
321321
(*C.uint8_t)(iccPtr),
322322
C.size_t(len(icc)))

tone_mapping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ cv::Mat* apply_hdr_to_sdr_tone_mapping(
160160
// C FFI wrapper for tone mapping
161161
extern "C" {
162162

163-
opencv_mat apply_tone_mapping_ffi(
163+
opencv_mat apply_tone_mapping(
164164
const opencv_mat src,
165165
const uint8_t* icc_data,
166166
size_t icc_len

tone_mapping.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extern "C" {
1515
* Returns a new opencv_mat (caller must release with opencv_mat_release).
1616
* Returns NULL on error.
1717
*/
18-
opencv_mat apply_tone_mapping_ffi(
18+
opencv_mat apply_tone_mapping(
1919
const opencv_mat src,
2020
const uint8_t* icc_data,
2121
size_t icc_len

0 commit comments

Comments
 (0)