From eaaeae469968c5c78a5d7e6d202f1af00b382a79 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 Oct 2014 10:38:14 +0200 Subject: Cleanup: spelling --- source/blender/blenkernel/intern/writeffmpeg.c | 2 +- source/blender/blenlib/intern/task.c | 4 ++-- source/blender/compositor/operations/COM_CropOperation.cpp | 4 ++-- source/blender/compositor/operations/COM_CropOperation.h | 2 +- source/blender/modifiers/intern/MOD_meshdeform.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c index ca21180000d..739db7b7bdb 100644 --- a/source/blender/blenkernel/intern/writeffmpeg.c +++ b/source/blender/blenkernel/intern/writeffmpeg.c @@ -696,7 +696,7 @@ static AVStream *alloc_audio_stream(RenderData *rd, int codec_id, AVFormatContex } if (codec->sample_fmts) { - /* check if the prefered sample format for this codec is supported. + /* check if the preferred sample format for this codec is supported. * this is because, depending on the version of libav, and with the whole ffmpeg/libav fork situation, * you have various implementations around. float samples in particular are not always supported. */ diff --git a/source/blender/blenlib/intern/task.c b/source/blender/blenlib/intern/task.c index 3a49abc7060..07c67f001f9 100644 --- a/source/blender/blenlib/intern/task.c +++ b/source/blender/blenlib/intern/task.c @@ -496,7 +496,7 @@ void BLI_task_parallel_range_ex( BLI_assert(start < stop); - /* If it's not enough data to be cranched, don't bother with tasks at all, + /* If it's not enough data to be crunched, don't bother with tasks at all, * do everything from the main thread. */ if (stop - start < range_threshold) { @@ -518,7 +518,7 @@ void BLI_task_parallel_range_ex( /* The idea here is to prevent creating task for each of the loop iterations * and instead have tasks which are evenly distributed across CPU cores and - * pull next iter to be cranched using the queue. + * pull next iter to be crunched using the queue. */ for (i = 0; i < 2 * BLI_task_scheduler_num_threads(task_scheduler); i++) { BLI_task_pool_push(task_pool, diff --git a/source/blender/compositor/operations/COM_CropOperation.cpp b/source/blender/compositor/operations/COM_CropOperation.cpp index c514b576dcf..9bcc6fb2541 100644 --- a/source/blender/compositor/operations/COM_CropOperation.cpp +++ b/source/blender/compositor/operations/COM_CropOperation.cpp @@ -109,9 +109,9 @@ bool CropImageOperation::determineDependingAreaOfInterest(rcti *input, ReadBuffe return NodeOperation::determineDependingAreaOfInterest(&newInput, readOperation, output); } -void CropImageOperation::determineResolution(unsigned int resolution[2], unsigned int preferedResolution[2]) +void CropImageOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]) { - NodeOperation::determineResolution(resolution, preferedResolution); + NodeOperation::determineResolution(resolution, preferredResolution); updateArea(); resolution[0] = this->m_xmax - this->m_xmin; resolution[1] = this->m_ymax - this->m_ymin; diff --git a/source/blender/compositor/operations/COM_CropOperation.h b/source/blender/compositor/operations/COM_CropOperation.h index 4890ede18a9..0b396ca7800 100644 --- a/source/blender/compositor/operations/COM_CropOperation.h +++ b/source/blender/compositor/operations/COM_CropOperation.h @@ -56,7 +56,7 @@ private: public: CropImageOperation(); bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output); - void determineResolution(unsigned int resolution[2], unsigned int preferedResolution[2]); + void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); }; diff --git a/source/blender/modifiers/intern/MOD_meshdeform.c b/source/blender/modifiers/intern/MOD_meshdeform.c index c3cbc0761e9..c509bf44fc8 100644 --- a/source/blender/modifiers/intern/MOD_meshdeform.c +++ b/source/blender/modifiers/intern/MOD_meshdeform.c @@ -181,7 +181,7 @@ static float meshdeform_dynamic_bind(MeshDeformModifierData *mmd, float (*dco)[3 { __m128 cageweight_r = _mm_set1_ps(cageweight); /* This will load one extra element, this is ok because - * we ignore that part of reigister anyway. + * we ignore that part of register anyway. */ __m128 cageco_r = _mm_loadu_ps(cageco); co = _mm_add_ps(co, @@ -197,7 +197,7 @@ static float meshdeform_dynamic_bind(MeshDeformModifierData *mmd, float (*dco)[3 } #ifdef __SSE2__ - copy_v3_v3(vec, (float*)&co); + copy_v3_v3(vec, (float *)&co); #else copy_v3_v3(vec, co); #endif -- cgit v1.2.3