aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorDiederik de Haas via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>2023-11-10 16:41:54 +0100
committerStefano Sabatini <stefasab@gmail.com>2023-11-18 19:55:42 +0100
commitc07ed10b0e18beecdb5c816546eca3a065ddc5ad (patch)
tree66387e2a7cc9b1680c8b0f02100dfe319f05d48a /libavfilter
parent5452cbdc150f0fcff736cd3897a2c41fec77fb79 (diff)
downloadffmpeg-c07ed10b0e18beecdb5c816546eca3a065ddc5ad.tar.gz
apply spelling fixes
Fix spelling issue as reported by Debian's lintian tool: accomodate -> accommodate addtional -> additional auxillary -> auxiliary bellow -> below betweeen -> between Calulate -> Calculate coefficents -> coefficients Defalt -> Default defaul -> default higer -> higher neccesary -> necessary orignal -> original ouput -> output precison -> precision processsing -> processing substract -> subtract Transfered -> Transferred upto -> up to Also add several of them to the 'common typos' check in patcheck. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_aiir.c2
-rw-r--r--libavfilter/af_surround.c2
-rw-r--r--libavfilter/cuda/load_helper.h2
-rw-r--r--libavfilter/opencl/deshake.cl2
-rw-r--r--libavfilter/vf_dedot.c4
-rw-r--r--libavfilter/vf_transpose_npp.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c
index 41709aa360..c5255cd96c 100644
--- a/libavfilter/af_aiir.c
+++ b/libavfilter/af_aiir.c
@@ -1309,7 +1309,7 @@ static int config_output(AVFilterLink *outlink)
av_log(ctx, AV_LOG_WARNING, "transfer function coefficients format is not recommended for too high number of zeros/poles.\n");
if (s->format > 0 && s->process == 0) {
- av_log(ctx, AV_LOG_WARNING, "Direct processsing is not recommended for zp coefficients format.\n");
+ av_log(ctx, AV_LOG_WARNING, "Direct processing is not recommended for zp coefficients format.\n");
ret = convert_zp2tf(ctx, inlink->ch_layout.nb_channels);
if (ret < 0)
diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index 64abf1fded..3398c25446 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -1426,7 +1426,7 @@ static const AVOption surround_options[] = {
{ "lfe_high", "LFE high cut off", OFFSET(highcutf), AV_OPT_TYPE_INT, {.i64=256}, 0, 512, FLAGS },
{ "lfe_mode", "set LFE channel mode", OFFSET(lfe_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" },
{ "add", "just add LFE channel", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" },
- { "sub", "substract LFE channel with others", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 1, TFLAGS, "lfe_mode" },
+ { "sub", "subtract LFE channel with others", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 1, TFLAGS, "lfe_mode" },
{ "smooth", "set temporal smoothness strength", OFFSET(smooth), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, TFLAGS },
{ "angle", "set soundfield transform angle", OFFSET(angle), AV_OPT_TYPE_FLOAT, {.dbl=90}, 0, 360, TFLAGS },
{ "focus", "set soundfield transform focus", OFFSET(focus), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, TFLAGS },
diff --git a/libavfilter/cuda/load_helper.h b/libavfilter/cuda/load_helper.h
index 4ae78095c4..455bf36a23 100644
--- a/libavfilter/cuda/load_helper.h
+++ b/libavfilter/cuda/load_helper.h
@@ -20,7 +20,7 @@
#define AVFILTER_CUDA_LOAD_HELPER_H
/**
- * Loads a CUDA module and applies any decompression, if neccesary.
+ * Loads a CUDA module and applies any decompression, if necessary.
*/
int ff_cuda_load_module(void *avctx, AVCUDADeviceContext *hwctx, CUmodule *cu_module,
const unsigned char *data, const unsigned int length);
diff --git a/libavfilter/opencl/deshake.cl b/libavfilter/opencl/deshake.cl
index fef2681dc6..f2a7c7221d 100644
--- a/libavfilter/opencl/deshake.cl
+++ b/libavfilter/opencl/deshake.cl
@@ -231,7 +231,7 @@ __kernel void harris_response(
{-1, -2, -1}
};
- // 8 x 8 local work + 3 pixels around each side (needed to accomodate for the
+ // 8 x 8 local work + 3 pixels around each side (needed to accommodate for the
// block size radius of 2)
__local float grayscale_data[196];
diff --git a/libavfilter/vf_dedot.c b/libavfilter/vf_dedot.c
index 7aa2583184..56679bc602 100644
--- a/libavfilter/vf_dedot.c
+++ b/libavfilter/vf_dedot.c
@@ -111,12 +111,12 @@ static int dedotcrawl##name(AVFilterContext *ctx, void *arg, \
for (int y = slice_start; y < slice_end; y++) { \
for (int x = 1; x < s->planewidth[0] - 1; x++) { \
int above = src[x - src_linesize]; \
- int bellow = src[x + src_linesize]; \
+ int below = src[x + src_linesize]; \
int cur = src[x]; \
int left = src[x - 1]; \
int right = src[x + 1]; \
\
- if (FFABS(above + bellow - 2 * cur) <= luma2d && \
+ if (FFABS(above + below - 2 * cur) <= luma2d && \
FFABS(left + right - 2 * cur) <= luma2d) \
continue; \
\
diff --git a/libavfilter/vf_transpose_npp.c b/libavfilter/vf_transpose_npp.c
index 047c200096..a7a779cc25 100644
--- a/libavfilter/vf_transpose_npp.c
+++ b/libavfilter/vf_transpose_npp.c
@@ -300,7 +300,7 @@ static int npptranspose_rotate(AVFilterContext *ctx, NPPTransposeStageContext *s
// nppRotate uses 0,0 as the rotation point
// need to shift the image accordingly after rotation
- // need to substract 1 to get the correct coordinates
+ // need to subtract 1 to get the correct coordinates
double angle = s->dir == NPP_TRANSPOSE_CLOCK ? -90.0 : s->dir == NPP_TRANSPOSE_CCLOCK ? 90.0 : 180.0;
int shiftw = (s->dir == NPP_TRANSPOSE_CLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? ow - 1 : 0;
int shifth = (s->dir == NPP_TRANSPOSE_CCLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? oh - 1 : 0;