From 865d1889da54c4eb8dcdf6b4dca7df906b936add Mon Sep 17 00:00:00 2001 From: Leon Zandman Date: Fri, 21 May 2021 22:19:46 +1000 Subject: Cleanup: spelling Includes fixes to misspelled function names. Ref D11280 --- source/blender/imbuf/intern/anim_movie.c | 2 +- source/blender/imbuf/intern/colormanagement.c | 2 +- source/blender/imbuf/intern/colormanagement_inline.c | 4 ++-- source/blender/imbuf/intern/util.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/imbuf/intern') diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index cdf6ca5c181..5918a4bf16e 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -1123,7 +1123,7 @@ static void ffmpeg_decode_video_frame_scan(struct anim *anim, int64_t pts_to_sea } } -/* Wrapper over av_seek_frame(), for formats that doesn't have it's own read_seek() or read_seek2() +/* Wrapper over av_seek_frame(), for formats that doesn't have its own read_seek() or read_seek2() * functions defined. When seeking in these formats, rule to seek to last necessary I-frame is not * honored. It is not even guaranteed that I-frame, that must be decoded will be read. See * https://trac.ffmpeg.org/ticket/1607 and https://developer.blender.org/T86944. */ diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c index fc0b99a82fa..68d0b516828 100644 --- a/source/blender/imbuf/intern/colormanagement.c +++ b/source/blender/imbuf/intern/colormanagement.c @@ -1409,7 +1409,7 @@ bool IMB_colormanagement_space_name_is_data(const char *name) return (colorspace && colorspace->is_data); } -const float *IMB_colormangement_get_xyz_to_rgb() +const float *IMB_colormanagement_get_xyz_to_rgb() { return &imbuf_xyz_to_rgb[0][0]; } diff --git a/source/blender/imbuf/intern/colormanagement_inline.c b/source/blender/imbuf/intern/colormanagement_inline.c index e93fdd51040..c304ad8d8e5 100644 --- a/source/blender/imbuf/intern/colormanagement_inline.c +++ b/source/blender/imbuf/intern/colormanagement_inline.c @@ -55,12 +55,12 @@ unsigned char IMB_colormanagement_get_luminance_byte(const unsigned char rgb[3]) return unit_float_to_uchar_clamp(val); } -void IMB_colormangement_xyz_to_rgb(float rgb[3], const float xyz[3]) +void IMB_colormanagement_xyz_to_rgb(float rgb[3], const float xyz[3]) { mul_v3_m3v3(rgb, imbuf_xyz_to_rgb, xyz); } -void IMB_colormangement_rgb_to_xyz(float xyz[3], const float rgb[3]) +void IMB_colormanagement_rgb_to_xyz(float xyz[3], const float rgb[3]) { mul_v3_m3v3(xyz, imbuf_rgb_to_xyz, rgb); } diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c index fabf6c5c3bd..1bb047f1317 100644 --- a/source/blender/imbuf/intern/util.c +++ b/source/blender/imbuf/intern/util.c @@ -182,7 +182,7 @@ bool IMB_ispic_type_matches(const char *filepath, int filetype) const ImFileType *type = IMB_file_type_from_ftype(filetype); if (type != NULL) { - /* Requesting to load a type that can't check it's own header doesn't make sense. + /* Requesting to load a type that can't check its own header doesn't make sense. * Keep the check for developers. */ BLI_assert(type->is_a != NULL); if (type->is_a != NULL) { -- cgit v1.2.3