Browse code

doc: fix spelling errors

Thanks to Mathieu Malaterre <malat@debian.org> for reporting the
Que/Queue typo. (https://bugs.debian.org/839542)

Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>

Andreas Cadhalpun authored on 2016/10/14 06:08:01
Showing 18 changed files
... ...
@@ -1637,7 +1637,7 @@ EXTRA_PACKAGES         =
1637 1637
 # following commands have a special meaning inside the header: $title,
1638 1638
 # $datetime, $date, $doxygenversion, $projectname, $projectnumber,
1639 1639
 # $projectbrief, $projectlogo. Doxygen will replace $title with the empy string,
1640
-# for the replacement values of the other commands the user is refered to
1640
+# for the replacement values of the other commands the user is referred to
1641 1641
 # HTML_HEADER.
1642 1642
 # This tag requires that the tag GENERATE_LATEX is set to YES.
1643 1643
 
... ...
@@ -1773,7 +1773,7 @@ Enable CAVLC and disable CABAC. It generates the same effect as
1773 1773
 @end table
1774 1774
 
1775 1775
 @item cmp
1776
-Set full pixel motion estimation comparation algorithm. Possible values:
1776
+Set full pixel motion estimation comparison algorithm. Possible values:
1777 1777
 
1778 1778
 @table @samp
1779 1779
 @item chroma
... ...
@@ -245,7 +245,7 @@ continue reading from that.
245 245
 Each interval is specified by two optional parts, separated by "%".
246 246
 
247 247
 The first part specifies the interval start position. It is
248
-interpreted as an abolute position, or as a relative offset from the
248
+interpreted as an absolute position, or as a relative offset from the
249 249
 current position if it is preceded by the "+" character. If this first
250 250
 part is not specified, no seeking will be performed when reading this
251 251
 interval.
... ...
@@ -449,7 +449,7 @@ This filter is bit crusher with enhanced functionality. A bit crusher
449 449
 is used to audibly reduce number of bits an audio signal is sampled
450 450
 with. This doesn't change the bit depth at all, it just produces the
451 451
 effect. Material reduced in bit depth sounds more harsh and "digital".
452
-This filter is able to even round to continous values instead of discrete
452
+This filter is able to even round to continuous values instead of discrete
453 453
 bit depths.
454 454
 Additionally it has a D/C offset which results in different crushing of
455 455
 the lower and the upper half of the signal.
... ...
@@ -475,7 +475,7 @@ Set level out.
475 475
 Set bit reduction.
476 476
 
477 477
 @item mix
478
-Set mixing ammount.
478
+Set mixing amount.
479 479
 
480 480
 @item mode
481 481
 Can be linear: @code{lin} or logarithmic: @code{log}.
... ...
@@ -1203,7 +1203,7 @@ Set video stream size. Only useful if curves option is activated.
1203 1203
 
1204 1204
 @item mgain
1205 1205
 Set max gain that will be displayed. Only useful if curves option is activated.
1206
-Setting this to reasonable value allows to display gain which is derived from
1206
+Setting this to a reasonable value makes it possible to display gain which is derived from
1207 1207
 neighbour bands which are too close to each other and thus produce higher gain
1208 1208
 when both are activated.
1209 1209
 
... ...
@@ -8858,7 +8858,7 @@ value.
8858 8858
 @section hysteresis
8859 8859
 
8860 8860
 Grow first stream into second stream by connecting components.
8861
-This allows to build more robust edge masks.
8861
+This makes it possible to build more robust edge masks.
8862 8862
 
8863 8863
 This filter accepts the following options:
8864 8864
 
... ...
@@ -17670,7 +17670,7 @@ magnitude across time and second represents phase across time.
17670 17670
 The filter will transform from frequency domain as displayed in videos back
17671 17671
 to time domain as presented in audio output.
17672 17672
 
17673
-This filter is primarly created for reversing processed @ref{showspectrum}
17673
+This filter is primarily created for reversing processed @ref{showspectrum}
17674 17674
 filter outputs, but can synthesize sound from other spectrograms too.
17675 17675
 But in such case results are going to be poor if the phase data is not
17676 17676
 available, because in such cases phase data need to be recreated, usually
... ...
@@ -1513,14 +1513,14 @@ as a list of @var{key}=@var{value} pairs separated by ':'.
1513 1513
 
1514 1514
 @item drop_pkts_on_overflow @var{bool}
1515 1515
 If set to 1 (true), in case the fifo queue fills up, packets will be dropped
1516
-rather than blocking the encoder. This allows to continue streaming without
1517
-delaying the input, at the cost of ommiting part of the stream. By default
1516
+rather than blocking the encoder. This makes it possible to continue streaming without
1517
+delaying the input, at the cost of omitting part of the stream. By default
1518 1518
 this option is set to 0 (false), so in such cases the encoder will be blocked
1519 1519
 until the muxer processes some of the packets and none of them is lost.
1520 1520
 
1521 1521
 @item attempt_recovery @var{bool}
1522 1522
 If failure occurs, attempt to recover the output. This is especially useful
1523
-when used with network output, allows to restart streaming transparently.
1523
+when used with network output, since it makes it possible to restart streaming transparently.
1524 1524
 By default this option is set to 0 (false).
1525 1525
 
1526 1526
 @item max_recovery_attempts
... ...
@@ -3771,7 +3771,7 @@ static int check_keyboard_interaction(int64_t cur_time)
3771 3771
                         "+      increase verbosity\n"
3772 3772
                         "-      decrease verbosity\n"
3773 3773
                         "c      Send command to first matching filter supporting it\n"
3774
-                        "C      Send/Que command to all matching filters\n"
3774
+                        "C      Send/Queue command to all matching filters\n"
3775 3775
                         "D      cycle through available debug modes\n"
3776 3776
                         "h      dump packets/hex press to cycle through the 3 states\n"
3777 3777
                         "q      quit\n"
... ...
@@ -129,7 +129,7 @@ int cuvid_transcode_init(OutputStream *ost)
129 129
         ist->hwaccel_uninit = cuvid_uninit;
130 130
 
131 131
         /* This is a bit hacky, av_hwframe_ctx_init is called by the cuvid decoder
132
-         * once it has probed the neccesary format information. But as filters/nvenc
132
+         * once it has probed the necessary format information. But as filters/nvenc
133 133
          * need to know the format/sw_format, set them here so they are happy.
134 134
          * This is fine as long as CUVID doesn't add another supported pix_fmt.
135 135
          */
... ...
@@ -147,7 +147,7 @@ error:
147 147
 
148 148
 cancel:
149 149
     if (ist->hwaccel_id == HWACCEL_CUVID) {
150
-        av_log(NULL, AV_LOG_ERROR, "CUVID hwaccel requested, but impossible to achive.\n");
150
+        av_log(NULL, AV_LOG_ERROR, "CUVID hwaccel requested, but impossible to achieve.\n");
151 151
         return AVERROR(EINVAL);
152 152
     }
153 153
 
... ...
@@ -87,7 +87,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
87 87
      * will keep iterating until it fails to lower it or it reaches
88 88
      * ulimit * rdlambda. Keeping it low increases quality on difficult
89 89
      * signals, but lower it too much, and bits will be taken from weak
90
-     * signals, creating "holes". A balance is necesary.
90
+     * signals, creating "holes". A balance is necessary.
91 91
      * rdmax and rdmin specify the relative deviation from rdlambda
92 92
      * allowed for tonality compensation
93 93
      */
... ...
@@ -182,7 +182,7 @@ int ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size){
182 182
 #if CABAC_BITS == 16
183 183
     c->low =  (*c->bytestream++)<<18;
184 184
     c->low+=  (*c->bytestream++)<<10;
185
-    // Keep our fetches on a 2-byte boundry as this should avoid ever having to
185
+    // Keep our fetches on a 2-byte boundary as this should avoid ever having to
186 186
     // do unaligned loads if the compiler (or asm) optimises the double byte
187 187
     // load into a single instruction
188 188
     if(((uintptr_t)c->bytestream & 1) == 0) {
... ...
@@ -224,7 +224,7 @@ int ff_jni_exception_get_summary(JNIEnv *env, jthrowable exception, char **error
224 224
     } else if (!name && message) {
225 225
         av_bprintf(&bp, "Exception: %s", message);
226 226
     } else {
227
-        av_log(log_ctx, AV_LOG_WARNING, "Could not retreive exception name and message\n");
227
+        av_log(log_ctx, AV_LOG_WARNING, "Could not retrieve exception name and message\n");
228 228
         av_bprintf(&bp, "Exception occurred");
229 229
     }
230 230
 
... ...
@@ -44,7 +44,7 @@
44 44
  * implementation.
45 45
  *
46 46
  * The API around MediaCodecList is not part of the NDK (and is lacking as
47
- * we still need to retreive the codec name to work around faulty decoders
47
+ * we still need to retrieve the codec name to work around faulty decoders
48 48
  * and encoders).
49 49
  *
50 50
  * For documentation, please refers to NdkMediaCodec.h NdkMediaFormat.h and
... ...
@@ -29,7 +29,7 @@
29 29
 /** maximum number of channels */
30 30
 #define PSY_MAX_CHANS 20
31 31
 
32
-/* cutoff for VBR is purposedly increased, since LP filtering actually
32
+/* cutoff for VBR is purposely increased, since LP filtering actually
33 33
  * hinders VBR performance rather than the opposite
34 34
  */
35 35
 #define AAC_CUTOFF_FROM_BITRATE(bit_rate,channels,sample_rate) (bit_rate ? FFMIN3(FFMIN3( \
... ...
@@ -78,7 +78,7 @@ SECTION .text
78 78
 %endif
79 79
 %endmacro
80 80
 
81
-; calulate p or q portion of flat8out
81
+; calculate p or q portion of flat8out
82 82
 %macro FLAT8OUT_HALF 0
83 83
     psubw               m4, m0                      ; q4-q0
84 84
     psubw               m5, m0                      ; q5-q0
... ...
@@ -867,7 +867,7 @@ typedef struct {
867 867
      *  steps of 0.5, but no value below -6.0 dB should appear. */
868 868
     int gain_counts[16];
869 869
     int max_gain;
870
-    /** occurences of code detect timer expiring without detecting
870
+    /** occurrences of code detect timer expiring without detecting
871 871
      *  a code. -1 for timer never set. */
872 872
     int count_sustain_expired;
873 873
 
... ...
@@ -141,7 +141,7 @@ typedef struct {
141 141
     int loglevel;                   ///< log level for frame logging
142 142
     int metadata;                   ///< whether or not to inject loudness results in frames
143 143
     int dual_mono;                  ///< whether or not to treat single channel input files as dual-mono
144
-    double pan_law;                 ///< pan law value used to calulate dual-mono measurements
144
+    double pan_law;                 ///< pan law value used to calculate dual-mono measurements
145 145
 } EBUR128Context;
146 146
 
147 147
 enum {
... ...
@@ -650,7 +650,7 @@ int ff_bprint_to_codecpar_extradata(AVCodecParameters *par, struct AVBPrint *buf
650 650
  * The packet is not removed from the interleaving queue, but only
651 651
  * a pointer to it is returned.
652 652
  *
653
- * @param ts_offset the ts difference between packet in the que and the muxer.
653
+ * @param ts_offset the ts difference between packet in the queue and the muxer.
654 654
  *
655 655
  * @return a pointer to the next packet, or NULL if no packet is queued
656 656
  *         for this stream.
... ...
@@ -178,7 +178,7 @@ typedef struct AVFrameSideData {
178 178
  * without breaking compatibility with each other.
179 179
  *
180 180
  * Fields can be accessed through AVOptions, the name string used, matches the
181
- * C structure field name for fields accessable through AVOptions. The AVClass
181
+ * C structure field name for fields accessible through AVOptions. The AVClass
182 182
  * for AVFrame can be obtained from avcodec_get_frame_class()
183 183
  */
184 184
 typedef struct AVFrame {
... ...
@@ -58,7 +58,7 @@ struct AVTreeNode *av_tree_node_alloc(void);
58 58
  *             then the corresponding entry in next is unchanged.
59 59
  * @param cmp compare function used to compare elements in the tree,
60 60
  *            API identical to that of Standard C's qsort
61
- *            It is guranteed that the first and only the first argument to cmp()
61
+ *            It is guaranteed that the first and only the first argument to cmp()
62 62
  *            will be the key parameter to av_tree_find(), thus it could if the
63 63
  *            user wants, be a different type (like an opaque context).
64 64
  * @return An element with cmp(key, elem) == 0 or NULL if no such element