Cleanup: spelling
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user