History

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.

Diederik de Haas via ffmpeg-devel committed 3 years ago

Commit c07ed101 parent 5452cbd17 files · +42 −42Browse files

Unified · Split

17 files
  1. doc/demuxers.texi +1 −1
  2. doc/filters.texi +24 −24
  3. libavcodec/cbs_bsf.h +1 −1
  4. libavdevice/pulse_audio_enc.c +1 −1
  5. libavfilter/af_aiir.c +1 −1
  6. libavfilter/af_surround.c +1 −1
  7. libavfilter/cuda/load_helper.h +1 −1
  8. libavfilter/opencl/deshake.cl +1 −1
  9. libavfilter/vf_dedot.c +2 −2
  10. libavfilter/vf_transpose_npp.c +1 −1
  11. libavformat/dashenc.c +1 −1
  12. libavformat/demux.h +1 −1
  13. libavformat/scd.c +1 −1
  14. libavutil/eval.h +1 −1
  15. libavutil/hwcontext_vulkan.c +2 −2
  16. tools/enc_recon_frame_test.c +1 −1
  17. tools/patcheck +1 −1
doc/demuxers.texi+1−1
@@ -777,7 +777,7 @@ error or used to store a negative value for dts correction when treated as signe · 776 unmodified lines
777777 the user set an upper limit, beyond which the delta is clamped to 1. Values greater than the limit if negative when
778778 cast to int32 are used to adjust onward dts.
779779
780−Unit is the track time scale. Range is 0 to UINT_MAX. Default is @code{UINT_MAX - 48000*10} which allows upto
780+Unit is the track time scale. Range is 0 to UINT_MAX. Default is @code{UINT_MAX - 48000*10} which allows up to
781781 a 10 second dts correction for 48 kHz audio streams while accommodating 99.9% of @code{uint32} range.
782782
783783 @item interleaved_read
doc/filters.texi+24−24
@@ -2306,7 +2306,7 @@ Set transform type of IIR filter. · 2305 unmodified lines
23062306 @end table
23072307
23082308 @item precision, r
2309−Set precison of filtering.
2309+Set precision of filtering.
23102310 @table @option
23112311 @item auto
23122312 Pick automatic sample format depending on surround filters.
@@ -3678,7 +3678,7 @@ Set order of tilt filter. · 1365 unmodified lines
36783678
36793679 @item level
36803680 Set input volume level. Allowed range is from 0 to 4.
3681−Defalt is 1.
3681+Default is 1.
36823682 @end table
36833683
36843684 @subsection Commands
@@ -3846,7 +3846,7 @@ Set transform type of IIR filter. · 161 unmodified lines
38463846 @end table
38473847
38483848 @item precision, r
3849−Set precison of filtering.
3849+Set precision of filtering.
38503850 @table @option
38513851 @item auto
38523852 Pick automatic sample format depending on surround filters.
@@ -3943,7 +3943,7 @@ Set transform type of IIR filter. · 90 unmodified lines
39433943 @end table
39443944
39453945 @item precision, r
3946−Set precison of filtering.
3946+Set precision of filtering.
39473947 @table @option
39483948 @item auto
39493949 Pick automatic sample format depending on surround filters.
@@ -4050,7 +4050,7 @@ Set transform type of IIR filter. · 100 unmodified lines
40504050 @end table
40514051
40524052 @item precision, r
4053−Set precison of filtering.
4053+Set precision of filtering.
40544054 @table @option
40554055 @item auto
40564056 Pick automatic sample format depending on surround filters.
@@ -4142,7 +4142,7 @@ Set transform type of IIR filter. · 85 unmodified lines
41424142 @end table
41434143
41444144 @item precision, r
4145−Set precison of filtering.
4145+Set precision of filtering.
41464146 @table @option
41474147 @item auto
41484148 Pick automatic sample format depending on surround filters.
@@ -4583,7 +4583,7 @@ This filter supports the all above options as @ref{commands}. · 434 unmodified lines
45834583 @section crystalizer
45844584 Simple algorithm for audio noise sharpening.
45854585
4586−This filter linearly increases differences betweeen each audio sample.
4586+This filter linearly increases differences between each audio sample.
45874587
45884588 The filter accepts the following options:
45894589
@@ -4978,7 +4978,7 @@ Set transform type of IIR filter. · 388 unmodified lines
49784978 @end table
49794979
49804980 @item precision, r
4981−Set precison of filtering.
4981+Set precision of filtering.
49824982 @table @option
49834983 @item auto
49844984 Pick automatic sample format depending on surround filters.
@@ -5489,7 +5489,7 @@ Set transform type of IIR filter. · 504 unmodified lines
54895489 @end table
54905490
54915491 @item precision, r
5492−Set precison of filtering.
5492+Set precision of filtering.
54935493 @table @option
54945494 @item auto
54955495 Pick automatic sample format depending on surround filters.
@@ -5849,7 +5849,7 @@ Set transform type of IIR filter. · 353 unmodified lines
58495849 @end table
58505850
58515851 @item precision, r
5852−Set precison of filtering.
5852+Set precision of filtering.
58535853 @table @option
58545854 @item auto
58555855 Pick automatic sample format depending on surround filters.
@@ -7206,7 +7206,7 @@ Set transform type of IIR filter. · 1350 unmodified lines
72067206 @end table
72077207
72087208 @item precision, r
7209−Set precison of filtering.
7209+Set precision of filtering.
72107210 @table @option
72117211 @item auto
72127212 Pick automatic sample format depending on surround filters.
@@ -7296,7 +7296,7 @@ Set transform type of IIR filter. · 83 unmodified lines
72967296 @end table
72977297
72987298 @item precision, r
7299−Set precison of filtering.
7299+Set precision of filtering.
73007300 @table @option
73017301 @item auto
73027302 Pick automatic sample format depending on surround filters.
@@ -7765,7 +7765,7 @@ Set the sample rate, default is 44100. · 462 unmodified lines
77657765 Set the number of samples per each frame. Default is 1024.
77667766
77677767 @item taps, t
7768−Set the number of filter coefficents in output audio stream.
7768+Set the number of filter coefficients in output audio stream.
77697769 Default value is 0.
77707770
77717771 @item channel_layout, c
@@ -7821,7 +7821,7 @@ Bands are separated by white spaces and each band represent frequency in Hz. · 49 unmodified lines
78217821 Default is @code{25 40 63 100 160 250 400 630 1000 1600 2500 4000 6300 10000 16000 24000}.
78227822
78237823 @item taps, t
7824−Set number of filter coefficents in output audio stream.
7824+Set number of filter coefficients in output audio stream.
78257825 Default value is @code{4096}.
78267826
78277827 @item sample_rate, r
@@ -7848,7 +7848,7 @@ The filter accepts the following options: · 20 unmodified lines
78487848
78497849 @table @option
78507850 @item taps, t
7851−Set number of filter coefficents in output audio stream.
7851+Set number of filter coefficients in output audio stream.
78527852 Default value is 1025.
78537853
78547854 @item frequency, f
@@ -16833,7 +16833,7 @@ ffmpeg -init_hw_device vulkan -hwaccel vaapi -hwaccel_output_format vaapi ... -v · 8978 unmodified lines
1683316833 @anchor{libvmaf}
1683416834 @section libvmaf
1683516835
16836−Calulate the VMAF (Video Multi-Method Assessment Fusion) score for a
16836+Calculate the VMAF (Video Multi-Method Assessment Fusion) score for a
1683716837 reference/distorted pair of input videos.
1683816838
1683916839 The first input is the distorted video, and the second input is the reference video.
@@ -16889,7 +16889,7 @@ ffmpeg -i distorted.mpg -i reference.mpg -lavfi libvmaf='model=version=vmaf_v0.6 · 49 unmodified lines
1688916889 @end example
1689016890
1689116891 @item
16892−Example with multiple addtional features:
16892+Example with multiple additional features:
1689316893 @example
1689416894 ffmpeg -i distorted.mpg -i reference.mpg -lavfi libvmaf='feature=name=psnr|name=ciede' -f null -
1689516895 @end example
@@ -20911,7 +20911,7 @@ pixel format is used. · 4015 unmodified lines
2091120911 The filter does not support converting between YUV and RGB pixel formats.
2091220912
2091320913 @item passthrough
20914−If set to 0, every frame is processed, even if no conversion is neccesary.
20914+If set to 0, every frame is processed, even if no conversion is necessary.
2091520915 This mode can be useful to use the filter as a buffer for a downstream
2091620916 frame-consumer that exhausts the limited decoder frame pool.
2091720917
@@ -23041,7 +23041,7 @@ The filter accepts the following options: · 2123 unmodified lines
2304123041 @table @option
2304223042
2304323043 @item layout
23044−Set the grid size in the form @code{COLUMNSxROWS}. Range is upto UINT_MAX cells.
23044+Set the grid size in the form @code{COLUMNSxROWS}. Range is up to UINT_MAX cells.
2304523045 Default is @code{6x5}.
2304623046
2304723047 @item nb_frames
@@ -27339,7 +27339,7 @@ Stack input videos horizontally. · 4291 unmodified lines
2733927339
2734027340 This is the VA-API variant of the @ref{hstack} filter, each input stream may
2734127341 have different height, this filter will scale down/up each input stream while
27342−keeping the orignal aspect.
27342+keeping the original aspect.
2734327343
2734427344 It accepts the following options:
2734527345
@@ -27360,7 +27360,7 @@ Stack input videos vertically. · 14 unmodified lines
2736027360
2736127361 This is the VA-API variant of the @ref{vstack} filter, each input stream may
2736227362 have different width, this filter will scale down/up each input stream while
27363−keeping the orignal aspect.
27363+keeping the original aspect.
2736427364
2736527365 It accepts the following options:
2736627366
@@ -27821,7 +27821,7 @@ Stack input videos horizontally. · 454 unmodified lines
2782127821
2782227822 This is the QSV variant of the @ref{hstack} filter, each input stream may
2782327823 have different height, this filter will scale down/up each input stream while
27824−keeping the orignal aspect.
27824+keeping the original aspect.
2782527825
2782627826 It accepts the following options:
2782727827
@@ -27842,7 +27842,7 @@ Stack input videos vertically. · 14 unmodified lines
2784227842
2784327843 This is the QSV variant of the @ref{vstack} filter, each input stream may
2784427844 have different width, this filter will scale down/up each input stream while
27845−keeping the orignal aspect.
27845+keeping the original aspect.
2784627846
2784727847 It accepts the following options:
2784827848
@@ -28190,7 +28190,7 @@ It accepts the following values: · 341 unmodified lines
2819028190 Passes all supported output formats to DDA and returns what DDA decides to use.
2819128191 @item 8bit
2819228192 @item bgra
28193−8 Bit formats always work, and DDA will convert to them if neccesary.
28193+8 Bit formats always work, and DDA will convert to them if necessary.
2819428194 @item 10bit
2819528195 @item x2bgr10
2819628196 Filter initialization will fail if 10 bit format is requested but unavailable.
libavcodec/cbs_bsf.h+1−1
@@ -98,7 +98,7 @@ enum { · 97 unmodified lines
9898 // Pass this element through unchanged.
9999 BSF_ELEMENT_PASS,
100100 // Insert this element, replacing any existing instances of it.
101− // Associated values may be provided explicitly (as addtional options)
101+ // Associated values may be provided explicitly (as additional options)
102102 // or implicitly (either as side data or deduced from other parts of
103103 // the stream).
104104 BSF_ELEMENT_INSERT,
libavdevice/pulse_audio_enc.c+1−1
@@ -504,7 +504,7 @@ static av_cold int pulse_write_header(AVFormatContext *h) · 503 unmodified lines
504504 pulse_map_channels_to_pulse(&st->codecpar->ch_layout, &channel_map);
505505 /* Unknown channel is present in channel_layout, let PulseAudio use its default. */
506506 if (channel_map.channels != sample_spec.channels) {
507− av_log(s, AV_LOG_WARNING, "Unknown channel. Using defaul channel map.\n");
507+ av_log(s, AV_LOG_WARNING, "Unknown channel. Using default channel map.\n");
508508 channel_map.channels = 0;
509509 }
510510 } else
libavfilter/af_aiir.c+1−1
@@ -1309,7 +1309,7 @@ static int config_output(AVFilterLink *outlink) · 1308 unmodified lines
13091309 av_log(ctx, AV_LOG_WARNING, "transfer function coefficients format is not recommended for too high number of zeros/poles.\n");
13101310
13111311 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");
13131313
13141314 ret = convert_zp2tf(ctx, inlink->ch_layout.nb_channels);
13151315 if (ret < 0)
libavfilter/af_surround.c+1−1
@@ -1426,7 +1426,7 @@ static const AVOption surround_options[] = { · 1425 unmodified lines
14261426 { "lfe_high", "LFE high cut off", OFFSET(highcutf), AV_OPT_TYPE_INT, {.i64=256}, 0, 512, FLAGS },
14271427 { "lfe_mode", "set LFE channel mode", OFFSET(lfe_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, TFLAGS, "lfe_mode" },
14281428 { "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" },
14301430 { "smooth", "set temporal smoothness strength", OFFSET(smooth), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, TFLAGS },
14311431 { "angle", "set soundfield transform angle", OFFSET(angle), AV_OPT_TYPE_FLOAT, {.dbl=90}, 0, 360, TFLAGS },
14321432 { "focus", "set soundfield transform focus", OFFSET(focus), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, TFLAGS },
libavfilter/cuda/load_helper.h+1−1
@@ -20,7 +20,7 @@ · 19 unmodified lines
2020 #define AVFILTER_CUDA_LOAD_HELPER_H
2121
2222 /**
23− * Loads a CUDA module and applies any decompression, if neccesary.
23+ * Loads a CUDA module and applies any decompression, if necessary.
2424 */
2525 int ff_cuda_load_module(void *avctx, AVCUDADeviceContext *hwctx, CUmodule *cu_module,
2626 const unsigned char *data, const unsigned int length);
libavfilter/opencl/deshake.cl+1−1
@@ -231,7 +231,7 @@ __kernel void harris_response( · 230 unmodified lines
231231 {-1, -2, -1}
232232 };
233233
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
235235 // block size radius of 2)
236236 __local float grayscale_data[196];
237237
libavfilter/vf_dedot.c+2−2
@@ -111,12 +111,12 @@ static int dedotcrawl##name(AVFilterContext *ctx, void *arg, \ · 110 unmodified lines
111111 for (int y = slice_start; y < slice_end; y++) { \
112112 for (int x = 1; x < s->planewidth[0] - 1; x++) { \
113113 int above = src[x - src_linesize]; \
114− int bellow = src[x + src_linesize]; \
114+ int below = src[x + src_linesize]; \
115115 int cur = src[x]; \
116116 int left = src[x - 1]; \
117117 int right = src[x + 1]; \
118118 \
119− if (FFABS(above + bellow - 2 * cur) <= luma2d && \
119+ if (FFABS(above + below - 2 * cur) <= luma2d && \
120120 FFABS(left + right - 2 * cur) <= luma2d) \
121121 continue; \
122122 \
libavfilter/vf_transpose_npp.c+1−1
@@ -300,7 +300,7 @@ static int npptranspose_rotate(AVFilterContext *ctx, NPPTransposeStageContext *s · 299 unmodified lines
300300
301301 // nppRotate uses 0,0 as the rotation point
302302 // 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
304304 double angle = s->dir == NPP_TRANSPOSE_CLOCK ? -90.0 : s->dir == NPP_TRANSPOSE_CCLOCK ? 90.0 : 180.0;
305305 int shiftw = (s->dir == NPP_TRANSPOSE_CLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? ow - 1 : 0;
306306 int shifth = (s->dir == NPP_TRANSPOSE_CCLOCK || s->dir == NPP_TRANSPOSE_CLOCK_FLIP) ? oh - 1 : 0;
libavformat/dashenc.c+1−1
@@ -1454,7 +1454,7 @@ static int dash_init(AVFormatContext *s) · 1453 unmodified lines
14541454 }
14551455
14561456 if (av_cmp_q(c->max_playback_rate, c->min_playback_rate) < 0) {
1457− av_log(s, AV_LOG_WARNING, "Minimum playback rate value is higer than the Maximum. Both will be ignored\n");
1457+ av_log(s, AV_LOG_WARNING, "Minimum playback rate value is higher than the Maximum. Both will be ignored\n");
14581458 c->min_playback_rate = c->max_playback_rate = (AVRational) {1, 1};
14591459 }
14601460
libavformat/demux.h+1−1
@@ -169,7 +169,7 @@ void ff_rfps_calculate(AVFormatContext *ic); · 168 unmodified lines
169169 * Useful to simplify the rescaling of the arguments of AVInputFormat::read_seek2()
170170 *
171171 * @param[in] tb_in Timebase of the input `min_ts`, `ts` and `max_ts`
172− * @param[in] tb_out Timebase of the ouput `min_ts`, `ts` and `max_ts`
172+ * @param[in] tb_out Timebase of the output `min_ts`, `ts` and `max_ts`
173173 * @param[in,out] min_ts Lower bound of the interval
174174 * @param[in,out] ts Timestamp
175175 * @param[in,out] max_ts Upper bound of the interval
libavformat/scd.c+1−1
@@ -187,7 +187,7 @@ static int scd_read_track(AVFormatContext *s, SCDTrackHeader *track, int index) · 186 unmodified lines
187187
188188 /* Not sure what to do with these, it seems to be fine to ignore them. */
189189 if (track->aux_count != 0)
190− av_log(s, AV_LOG_DEBUG, "[%d] Track has %u auxillary chunk(s).\n", index, track->aux_count);
190+ av_log(s, AV_LOG_DEBUG, "[%d] Track has %u auxiliary chunk(s).\n", index, track->aux_count);
191191
192192 if ((st = avformat_new_stream(s, NULL)) == NULL)
193193 return AVERROR(ENOMEM);
libavutil/eval.h+1−1
@@ -105,7 +105,7 @@ int av_expr_count_vars(AVExpr *e, unsigned *counter, int size); · 104 unmodified lines
105105 * @param e the AVExpr to track user provided functions in
106106 * @param counter a zero-initialized array where the count of each function will be stored
107107 * if you passed 5 functions with 2 arguments to av_expr_parse()
108− * then for arg=2 this will use upto 5 entries.
108+ * then for arg=2 this will use up to 5 entries.
109109 * @param size size of array
110110 * @param arg number of arguments the counted functions have
111111 * @return 0 on success, a negative value indicates that no expression or array was passed
libavutil/hwcontext_vulkan.c+2−2
@@ -3072,7 +3072,7 @@ static int vulkan_transfer_data_from_cuda(AVHWFramesContext *hwfc, · 3071 unmodified lines
30723072
30733073 CHECK_CU(cu->cuCtxPopCurrent(&dummy));
30743074
3075− av_log(hwfc, AV_LOG_VERBOSE, "Transfered CUDA image to Vulkan!\n");
3075+ av_log(hwfc, AV_LOG_VERBOSE, "Transferred CUDA image to Vulkan!\n");
30763076
30773077 return err = prepare_frame(hwfc, &fp->upload_exec, dst_f, PREP_MODE_EXTERNAL_IMPORT);
30783078
@@ -3648,7 +3648,7 @@ static int vulkan_transfer_data_to_cuda(AVHWFramesContext *hwfc, AVFrame *dst, · 569 unmodified lines
36483648
36493649 CHECK_CU(cu->cuCtxPopCurrent(&dummy));
36503650
3651− av_log(hwfc, AV_LOG_VERBOSE, "Transfered Vulkan image to CUDA!\n");
3651+ av_log(hwfc, AV_LOG_VERBOSE, "Transferred Vulkan image to CUDA!\n");
36523652
36533653 return prepare_frame(hwfc, &fp->upload_exec, dst_f, PREP_MODE_EXTERNAL_IMPORT);
36543654
tools/enc_recon_frame_test.c+1−1
@@ -297,7 +297,7 @@ int main(int argc, char **argv) · 296 unmodified lines
297297 return 1;
298298 }
299299 if (!(enc->capabilities & AV_CODEC_CAP_ENCODER_RECON_FRAME)) {
300− fprintf(stderr, "Encoder '%s' cannot ouput reconstructed frames\n",
300+ fprintf(stderr, "Encoder '%s' cannot output reconstructed frames\n",
301301 enc->name);
302302 return 1;
303303 }
tools/patcheck+1−1
@@ -66,7 +66,7 @@ $EGREP $OPT '^\+ *(const *|)static' $*| $EGREP --color=always '[^=]= *(0|NULL)[^ · 65 unmodified lines
6666 cat $TMP
6767 hiegrep '# *ifdef * (HAVE|CONFIG)_' 'ifdefs that should be #if' $*
6868
69−hiegrep '\b(awnser|cant|dont|wont|doesnt|usefull|successfull|occured|teh|alot|wether|skiped|skiping|heigth|informations|colums|loosy|loosing|ouput|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention|acheive|funtions|overriden|outputing|seperation|initalize|compatibilty|bistream|knwon|unknwon|choosen|additonal|gurantee|availble|wich|begining|milisecond|missmatch|threshhold)\b' 'common typos' $*
69+hiegrep '\b(awnser|cant|dont|wont|doesnt|usefull|successfull|occured|teh|alot|wether|skiped|skiping|heigth|informations|colums|loosy|loosing|ouput|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention|acheive|funtions|overriden|outputing|seperation|initalize|compatibilty|bistream|knwon|unknwon|choosen|additonal|gurantee|availble|wich|begining|milisecond|missmatch|threshhold|accomodate|processsing|substract|auxillary|coefficents|neccesary|precison)\b' 'common typos' $*
7070
7171 hiegrep 'av_log\( *NULL' 'Missing context in av_log' $*
7272 hiegrep '[^sn]printf' 'Please use av_log' $*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t