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.
Showing the changes to libavfilter (6 of 17 files). Show all
Unified · Split
| @@ -1309,7 +1309,7 @@ static int config_output(AVFilterLink *outlink) · 1308 unmodified lines | |||
| 1309 | av_log(ctx, AV_LOG_WARNING, "transfer function coefficients format is not recommended for too high number of zeros/poles.\n"); | 1309 | av_log(ctx, AV_LOG_WARNING, "transfer function coefficients format is not recommended for too high number of zeros/poles.\n"); |
| 1310 | 1310 | ||
| 1311 | if (s->format > 0 && s->process == 0) { | 1311 | if (s->format > 0 && s->process == 0) { |
| 1312 | av_log(ctx, AV_LOG_WARNING, "Direct processsing is not recommended for zp coefficients format.\n"); | 1312 | av_log(ctx, AV_LOG_WARNING, "Direct processing is not recommended for zp coefficients format.\n"); |
| 1313 | 1313 | ||
| 1314 | ret = convert_zp2tf(ctx, inlink->ch_layout.nb_channels); | 1314 | ret = convert_zp2tf(ctx, inlink->ch_layout.nb_channels); |
| 1315 | if (ret < 0) | 1315 | if (ret < 0) |
| @@ -1426,7 +1426,7 @@ static const AVOption surround_options[] = { · 1425 unmodified lines | |||
| 1426 | { "lfe_high", "LFE high cut off", OFFSET(highcutf), AV_OPT_TYPE_INT, {.i64=256}, 0, 512, FLAGS }, | 1426 | { "lfe_high", "LFE high cut off", OFFSET(highcutf), AV_OPT_TYPE_INT, {.i64=256}, 0, 512, FLAGS }, |
| 1427 | { "lfe_mode", "set LFE channel mode", OFFSET(lfe_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" }, | 1427 | { "lfe_mode", "set LFE channel mode", OFFSET(lfe_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" }, |
| 1428 | { "add", "just add LFE channel", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" }, | 1428 | { "add", "just add LFE channel", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" }, |
| 1429 | { "sub", "substract LFE channel with others", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 1, TFLAGS, "lfe_mode" }, | 1429 | { "sub", "subtract LFE channel with others", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 1, TFLAGS, "lfe_mode" }, |
| 1430 | { "smooth", "set temporal smoothness strength", OFFSET(smooth), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, TFLAGS }, | 1430 | { "smooth", "set temporal smoothness strength", OFFSET(smooth), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, TFLAGS }, |
| 1431 | { "angle", "set soundfield transform angle", OFFSET(angle), AV_OPT_TYPE_FLOAT, {.dbl=90}, 0, 360, TFLAGS }, | 1431 | { "angle", "set soundfield transform angle", OFFSET(angle), AV_OPT_TYPE_FLOAT, {.dbl=90}, 0, 360, TFLAGS }, |
| 1432 | { "focus", "set soundfield transform focus", OFFSET(focus), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, TFLAGS }, | 1432 | { "focus", "set soundfield transform focus", OFFSET(focus), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, TFLAGS }, |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | |||
| 20 | #define AVFILTER_CUDA_LOAD_HELPER_H | 20 | #define AVFILTER_CUDA_LOAD_HELPER_H |
| 21 | 21 | ||
| 22 | /** | 22 | /** |
| 23 | * Loads a CUDA module and applies any decompression, if neccesary. | 23 | * Loads a CUDA module and applies any decompression, if necessary. |
| 24 | */ | 24 | */ |
| 25 | int ff_cuda_load_module(void *avctx, AVCUDADeviceContext *hwctx, CUmodule *cu_module, | 25 | int ff_cuda_load_module(void *avctx, AVCUDADeviceContext *hwctx, CUmodule *cu_module, |
| 26 | const unsigned char *data, const unsigned int length); | 26 | const unsigned char *data, const unsigned int length); |
| @@ -231,7 +231,7 @@ __kernel void harris_response( · 230 unmodified lines | |||
| 231 | {-1, -2, -1} | 231 | {-1, -2, -1} |
| 232 | }; | 232 | }; |
| 233 | 233 | ||
| 234 | // 8 x 8 local work + 3 pixels around each side (needed to accomodate for the | 234 | // 8 x 8 local work + 3 pixels around each side (needed to accommodate for the |
| 235 | // block size radius of 2) | 235 | // block size radius of 2) |
| 236 | __local float grayscale_data[196]; | 236 | __local float grayscale_data[196]; |
| 237 | 237 | ||
| @@ -111,12 +111,12 @@ static int dedotcrawl##name(AVFilterContext *ctx, void *arg, \ · 110 unmodified lines | |||
| 111 | for (int y = slice_start; y < slice_end; y++) { \ | 111 | for (int y = slice_start; y < slice_end; y++) { \ |
| 112 | for (int x = 1; x < s->planewidth[0] - 1; x++) { \ | 112 | for (int x = 1; x < s->planewidth[0] - 1; x++) { \ |
| 113 | int above = src[x - src_linesize]; \ | 113 | int above = src[x - src_linesize]; \ |
| 114 | int bellow = src[x + src_linesize]; \ | 114 | int below = src[x + src_linesize]; \ |
| 115 | int cur = src[x]; \ | 115 | int cur = src[x]; \ |
| 116 | int left = src[x - 1]; \ | 116 | int left = src[x - 1]; \ |
| 117 | int right = src[x + 1]; \ | 117 | int right = src[x + 1]; \ |
| 118 | \ | 118 | \ |
| 119 | if (FFABS(above + bellow - 2 * cur) <= luma2d && \ | 119 | if (FFABS(above + below - 2 * cur) <= luma2d && \ |
| 120 | FFABS(left + right - 2 * cur) <= luma2d) \ | 120 | FFABS(left + right - 2 * cur) <= luma2d) \ |
| 121 | continue; \ | 121 | continue; \ |
| 122 | \ | 122 | \ |
| @@ -300,7 +300,7 @@ static int npptranspose_rotate(AVFilterContext *ctx, NPPTransposeStageContext *s · 299 unmodified lines | |||
| 300 | 300 | ||
| 301 | // nppRotate uses 0,0 as the rotation point | 301 | // nppRotate uses 0,0 as the rotation point |
| 302 | // need to shift the image accordingly after rotation | 302 | // need to shift the image accordingly after rotation |
| 303 | // need to substract 1 to get the correct coordinates | 303 | // need to subtract 1 to get the correct coordinates |
| 304 | double angle = s->dir == NPP_TRANSPOSE_CLOCK ? -90.0 : s->dir == NPP_TRANSPOSE_CCLOCK ? 90.0 : 180.0; | 304 | double angle = s->dir == NPP_TRANSPOSE_CLOCK ? -90.0 : s->dir == NPP_TRANSPOSE_CCLOCK ? 90.0 : 180.0; |
| 305 | int shiftw = (s->dir == NPP_TRANSPOSE_CLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? ow - 1 : 0; | 305 | int shiftw = (s->dir == NPP_TRANSPOSE_CLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? ow - 1 : 0; |
| 306 | int shifth = (s->dir == NPP_TRANSPOSE_CCLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? oh - 1 : 0; | 306 | int shifth = (s->dir == NPP_TRANSPOSE_CCLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? oh - 1 : 0; |