| ... | ... |
@@ -3682,7 +3682,7 @@ static void opt_output_file(void *optctx, const char *filename) |
| 3682 | 3682 |
} |
| 3683 | 3683 |
|
| 3684 | 3684 |
if (!(oc->oformat->flags & AVFMT_NOFILE)) {
|
| 3685 |
- /* test if it already exists to avoid loosing precious files */ |
|
| 3685 |
+ /* test if it already exists to avoid losing precious files */ |
|
| 3686 | 3686 |
assert_file_overwrite(filename); |
| 3687 | 3687 |
|
| 3688 | 3688 |
/* open the file */ |
| ... | ... |
@@ -475,7 +475,7 @@ static void start_children(FFStream *feed) |
| 475 | 475 |
slash++; |
| 476 | 476 |
strcpy(slash, "avconv"); |
| 477 | 477 |
|
| 478 |
- http_log("Launch commandline: ");
|
|
| 478 |
+ http_log("Launch command line: ");
|
|
| 479 | 479 |
http_log("%s ", pathname);
|
| 480 | 480 |
for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++) |
| 481 | 481 |
http_log("%s ", feed->child_argv[i]);
|
| ... | ... |
@@ -83,7 +83,7 @@ int opt_timelimit(const char *opt, const char *arg); |
| 83 | 83 |
* parsed or the corresponding value is invalid. |
| 84 | 84 |
* |
| 85 | 85 |
* @param context the context of the value to be set (e.g. the |
| 86 |
- * corresponding commandline option name) |
|
| 86 |
+ * corresponding command line option name) |
|
| 87 | 87 |
* @param numstr the string to be parsed |
| 88 | 88 |
* @param type the type (OPT_INT64 or OPT_FLOAT) as which the |
| 89 | 89 |
* string should be parsed |
| ... | ... |
@@ -98,7 +98,7 @@ double parse_number_or_die(const char *context, const char *numstr, int type, do |
| 98 | 98 |
* the string cannot be correctly parsed. |
| 99 | 99 |
* |
| 100 | 100 |
* @param context the context of the value to be set (e.g. the |
| 101 |
- * corresponding commandline option name) |
|
| 101 |
+ * corresponding command line option name) |
|
| 102 | 102 |
* @param timestr the string to be parsed |
| 103 | 103 |
* @param is_duration a flag which tells how to interpret timestr, if |
| 104 | 104 |
* not zero timestr is interpreted as a duration, otherwise as a |
| ... | ... |
@@ -181,7 +181,7 @@ void parse_options(void *optctx, int argc, char **argv, const OptionDef *options |
| 181 | 181 |
int parse_option(void *optctx, const char *opt, const char *arg, const OptionDef *options); |
| 182 | 182 |
|
| 183 | 183 |
/** |
| 184 |
- * Find the '-loglevel' option in the commandline args and apply it. |
|
| 184 |
+ * Find the '-loglevel' option in the command line args and apply it. |
|
| 185 | 185 |
*/ |
| 186 | 186 |
void parse_loglevel(int argc, char **argv, const OptionDef *options); |
| 187 | 187 |
|
| ... | ... |
@@ -29,7 +29,7 @@ rates and resize video on the fly with a high quality polyphase filter. |
| 29 | 29 |
avconv reads from an arbitrary number of input "files" (which can be regular |
| 30 | 30 |
files, pipes, network streams, grabbing devices, etc.), specified by the |
| 31 | 31 |
@code{-i} option, and writes to an arbitrary number of output "files", which are
|
| 32 |
-specified by a plain output filename. Anything found on the commandline which |
|
| 32 |
+specified by a plain output filename. Anything found on the command line which |
|
| 33 | 33 |
cannot be interpreted as an option is considered to be an output filename. |
| 34 | 34 |
|
| 35 | 35 |
Each input or output file can in principle contain any number of streams of |
| ... | ... |
@@ -150,7 +150,7 @@ that only captures in stereo and also requires that one channel be flipped. |
| 150 | 150 |
If you are one of these people, then export 'AUDIO_FLIP_LEFT=1' before |
| 151 | 151 |
starting avconv. |
| 152 | 152 |
|
| 153 |
-@subsection The audio and video loose sync after a while. |
|
| 153 |
+@subsection The audio and video lose sync after a while. |
|
| 154 | 154 |
|
| 155 | 155 |
Yes, they do. |
| 156 | 156 |
|
| ... | ... |
@@ -9,7 +9,7 @@ example 'KB', 'MiB', 'G' and 'B' as postfix. |
| 9 | 9 |
Options which do not take arguments are boolean options, and set the |
| 10 | 10 |
corresponding value to true. They can be set to false by prefixing |
| 11 | 11 |
with "no" the option name, for example using "-nofoo" in the |
| 12 |
-commandline will set to false the boolean option with name "foo". |
|
| 12 |
+command line will set to false the boolean option with name "foo". |
|
| 13 | 13 |
|
| 14 | 14 |
@section Stream specifiers |
| 15 | 15 |
Some options are applied per-stream, e.g. bitrate or codec. Stream specifiers |
| ... | ... |
@@ -49,7 +49,7 @@ mailing list. |
| 49 | 49 |
The code is written in K&R C style. That means the following: |
| 50 | 50 |
@itemize @bullet |
| 51 | 51 |
@item |
| 52 |
-The control statements are formatted by putting space betwen the statement |
|
| 52 |
+The control statements are formatted by putting space between the statement |
|
| 53 | 53 |
and parenthesis in the following way: |
| 54 | 54 |
@example |
| 55 | 55 |
for (i = 0; i < filter->input_count; i++) @{
|
| ... | ... |
@@ -79,7 +79,7 @@ if (!pic || !picref) |
| 79 | 79 |
goto fail; |
| 80 | 80 |
@end example |
| 81 | 81 |
@item |
| 82 |
-Do not put spaces immediately inside parenthesis. @samp{if (ret)} is
|
|
| 82 |
+Do not put spaces immediately inside parentheses. @samp{if (ret)} is
|
|
| 83 | 83 |
a valid style; @samp{if ( ret )} is not.
|
| 84 | 84 |
@end itemize |
| 85 | 85 |
|
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
@chapter Expression Evaluation |
| 2 | 2 |
@c man begin EXPRESSION EVALUATION |
| 3 | 3 |
|
| 4 |
-When evaluating an arithemetic expression, Libav uses an internal |
|
| 4 |
+When evaluating an arithmetic expression, Libav uses an internal |
|
| 5 | 5 |
formula evaluator, implemented through the @file{libavutil/eval.h}
|
| 6 | 6 |
interface. |
| 7 | 7 |
|
| ... | ... |
@@ -53,7 +53,7 @@ returns the value stored in the internal variable. |
| 53 | 53 |
|
| 54 | 54 |
@item ld(var) |
| 55 | 55 |
Allow to load the value of the internal variable with number |
| 56 |
-@var{var}, which was previosly stored with st(@var{var}, @var{expr}).
|
|
| 56 |
+@var{var}, which was previously stored with st(@var{var}, @var{expr}).
|
|
| 57 | 57 |
The function returns the loaded value. |
| 58 | 58 |
|
| 59 | 59 |
@item while(cond, expr) |
| ... | ... |
@@ -200,7 +200,7 @@ input plane. They are expressions, and can contain the following |
| 200 | 200 |
constants: |
| 201 | 201 |
@table @option |
| 202 | 202 |
@item w, h |
| 203 |
-the input width and heigth in pixels |
|
| 203 |
+the input width and height in pixels |
|
| 204 | 204 |
|
| 205 | 205 |
@item cw, ch |
| 206 | 206 |
the input chroma image width and height in pixels |
| ... | ... |
@@ -888,7 +888,7 @@ the corresponding mathematical approximated values for e |
| 888 | 888 |
(euler number), pi (greek PI), PHI (golden ratio) |
| 889 | 889 |
|
| 890 | 890 |
@item w, h |
| 891 |
-the input width and heigth |
|
| 891 |
+the input width and height |
|
| 892 | 892 |
|
| 893 | 893 |
@item val |
| 894 | 894 |
input value for the pixel component |
| ... | ... |
@@ -992,7 +992,7 @@ The filter takes the parameters: @var{filter_name}@{:=@}@var{filter_params}.
|
| 992 | 992 |
filter. If not specified the default values are assumed. |
| 993 | 993 |
|
| 994 | 994 |
Refer to the official libopencv documentation for more precise |
| 995 |
-informations: |
|
| 995 |
+information: |
|
| 996 | 996 |
@url{http://opencv.willowgarage.com/documentation/c/image_filtering.html}
|
| 997 | 997 |
|
| 998 | 998 |
Follows the list of supported libopencv filters. |
| ... | ... |
@@ -1008,7 +1008,7 @@ It accepts the parameters: @var{struct_el}:@var{nb_iterations}.
|
| 1008 | 1008 |
@var{struct_el} represents a structuring element, and has the syntax:
|
| 1009 | 1009 |
@var{cols}x@var{rows}+@var{anchor_x}x@var{anchor_y}/@var{shape}
|
| 1010 | 1010 |
|
| 1011 |
-@var{cols} and @var{rows} represent the number of colums and rows of
|
|
| 1011 |
+@var{cols} and @var{rows} represent the number of columns and rows of
|
|
| 1012 | 1012 |
the structuring element, @var{anchor_x} and @var{anchor_y} the anchor
|
| 1013 | 1013 |
point, and @var{shape} the shape for the structuring element, and
|
| 1014 | 1014 |
can be one of the values "rect", "cross", "ellipse", "custom". |
| ... | ... |
@@ -1184,7 +1184,7 @@ value for @var{width} or @var{height} is 0, the corresponding input size
|
| 1184 | 1184 |
is used for the output. |
| 1185 | 1185 |
|
| 1186 | 1186 |
The @var{width} expression can reference the value set by the
|
| 1187 |
-@var{height} expression, and viceversa.
|
|
| 1187 |
+@var{height} expression, and vice versa.
|
|
| 1188 | 1188 |
|
| 1189 | 1189 |
The default value of @var{width} and @var{height} is 0.
|
| 1190 | 1190 |
|
| ... | ... |
@@ -1194,7 +1194,7 @@ Specify the offsets where to place the input image in the padded area |
| 1194 | 1194 |
with respect to the top/left border of the output image. |
| 1195 | 1195 |
|
| 1196 | 1196 |
The @var{x} expression can reference the value set by the @var{y}
|
| 1197 |
-expression, and viceversa. |
|
| 1197 |
+expression, and vice versa. |
|
| 1198 | 1198 |
|
| 1199 | 1199 |
The default value of @var{x} and @var{y} is 0.
|
| 1200 | 1200 |
|
| ... | ... |
@@ -1608,7 +1608,7 @@ seconds |
| 1608 | 1608 |
|
| 1609 | 1609 |
@item pos |
| 1610 | 1610 |
position of the frame in the input stream, -1 if this information in |
| 1611 |
-unavailable and/or meanigless (for example in case of synthetic video) |
|
| 1611 |
+unavailable and/or meaningless (for example in case of synthetic video) |
|
| 1612 | 1612 |
|
| 1613 | 1613 |
@item fmt |
| 1614 | 1614 |
pixel format name |
| ... | ... |
@@ -1825,7 +1825,7 @@ through the interface defined in @file{libavfilter/vsrc_buffer.h}.
|
| 1825 | 1825 |
It accepts the following parameters: |
| 1826 | 1826 |
@var{width}:@var{height}:@var{pix_fmt_string}:@var{timebase_num}:@var{timebase_den}:@var{sample_aspect_ratio_num}:@var{sample_aspect_ratio.den}
|
| 1827 | 1827 |
|
| 1828 |
-All the parameters need to be explicitely defined. |
|
| 1828 |
+All the parameters need to be explicitly defined. |
|
| 1829 | 1829 |
|
| 1830 | 1830 |
Follows the list of the accepted parameters. |
| 1831 | 1831 |
|
| ... | ... |
@@ -2017,7 +2017,7 @@ separated by ":". The description of the accepted options follows. |
| 2017 | 2017 |
|
| 2018 | 2018 |
@item size, s |
| 2019 | 2019 |
Specify the size of the sourced video, it may be a string of the form |
| 2020 |
-@var{width}x@var{heigth}, or the name of a size abbreviation. The
|
|
| 2020 |
+@var{width}x@var{height}, or the name of a size abbreviation. The
|
|
| 2021 | 2021 |
default value is "320x240". |
| 2022 | 2022 |
|
| 2023 | 2023 |
@item rate, r |
| ... | ... |
@@ -485,7 +485,7 @@ following image formats are supported: |
| 485 | 485 |
@item id RoQ video @tab X @tab X |
| 486 | 486 |
@tab Used in Quake III, Jedi Knight 2, other computer games. |
| 487 | 487 |
@item IFF ILBM @tab @tab X |
| 488 |
- @tab IFF interlaved bitmap |
|
| 488 |
+ @tab IFF interleaved bitmap |
|
| 489 | 489 |
@item IFF ByteRun1 @tab @tab X |
| 490 | 490 |
@tab IFF run length encoded bitmap |
| 491 | 491 |
@item Intel H.263 @tab @tab X |
| ... | ... |
@@ -155,8 +155,8 @@ be seekable, so they will fail with the pipe output protocol. |
| 155 | 155 |
|
| 156 | 156 |
Real-Time Messaging Protocol. |
| 157 | 157 |
|
| 158 |
-The Real-Time Messaging Protocol (RTMP) is used for streaming multime‐ |
|
| 159 |
-dia content across a TCP/IP network. |
|
| 158 |
+The Real-Time Messaging Protocol (RTMP) is used for streaming multimedia |
|
| 159 |
+content across a TCP/IP network. |
|
| 160 | 160 |
|
| 161 | 161 |
The required syntax is: |
| 162 | 162 |
@example |
| ... | ... |
@@ -195,7 +195,7 @@ Real-Time Messaging Protocol and its variants supported through |
| 195 | 195 |
librtmp. |
| 196 | 196 |
|
| 197 | 197 |
Requires the presence of the librtmp headers and library during |
| 198 |
-configuration. You need to explicitely configure the build with |
|
| 198 |
+configuration. You need to explicitly configure the build with |
|
| 199 | 199 |
"--enable-librtmp". If enabled this will replace the native RTMP |
| 200 | 200 |
protocol. |
| 201 | 201 |
|
| ... | ... |
@@ -18,7 +18,7 @@ essential that changes to their codebase are publicly visible, clean and |
| 18 | 18 |
easy reviewable that again leads us to: |
| 19 | 19 |
* use of a revision control system like git |
| 20 | 20 |
* separation of cosmetic from non-cosmetic changes (this is almost entirely |
| 21 |
- ignored by mentors and students in soc 2006 which might lead to a suprise |
|
| 21 |
+ ignored by mentors and students in soc 2006 which might lead to a surprise |
|
| 22 | 22 |
when the code will be reviewed at the end before a possible inclusion in |
| 23 | 23 |
Libav, individual changes were generally not reviewable due to cosmetics). |
| 24 | 24 |
* frequent commits, so that comments can be provided early |
| ... | ... |
@@ -3797,7 +3797,7 @@ static void opt_output_file(void *optctx, const char *filename) |
| 3797 | 3797 |
} |
| 3798 | 3798 |
|
| 3799 | 3799 |
if (!(oc->oformat->flags & AVFMT_NOFILE)) {
|
| 3800 |
- /* test if it already exists to avoid loosing precious files */ |
|
| 3800 |
+ /* test if it already exists to avoid losing precious files */ |
|
| 3801 | 3801 |
if (!file_overwrite && |
| 3802 | 3802 |
(strchr(filename, ':') == NULL || |
| 3803 | 3803 |
filename[1] == ':' || |
| ... | ... |
@@ -1274,7 +1274,7 @@ typedef struct AVCodecContext {
|
| 1274 | 1274 |
* Some codecs need additional format info. It is stored here. |
| 1275 | 1275 |
* If any muxer uses this then ALL demuxers/parsers AND encoders for the |
| 1276 | 1276 |
* specific codec MUST set it correctly otherwise stream copy breaks. |
| 1277 |
- * In general use of this field by muxers is not recommanded. |
|
| 1277 |
+ * In general use of this field by muxers is not recommended. |
|
| 1278 | 1278 |
* - encoding: Set by libavcodec. |
| 1279 | 1279 |
* - decoding: Set by libavcodec. (FIXME: Is this OK?) |
| 1280 | 1280 |
*/ |
| ... | ... |
@@ -3444,7 +3444,7 @@ typedef struct ReSampleContext ReSampleContext; |
| 3444 | 3444 |
* @param linear if 1 then the used FIR filter will be linearly interpolated |
| 3445 | 3445 |
between the 2 closest, if 0 the closest will be used |
| 3446 | 3446 |
* @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate |
| 3447 |
- * @return allocated ReSampleContext, NULL if error occured |
|
| 3447 |
+ * @return allocated ReSampleContext, NULL if error occurred |
|
| 3448 | 3448 |
*/ |
| 3449 | 3449 |
ReSampleContext *av_audio_resample_init(int output_channels, int input_channels, |
| 3450 | 3450 |
int output_rate, int input_rate, |
| ... | ... |
@@ -103,7 +103,7 @@ static int alloc_table(VLC *vlc, int size, int use_static) |
| 103 | 103 |
vlc->table_size += size; |
| 104 | 104 |
if (vlc->table_size > vlc->table_allocated) {
|
| 105 | 105 |
if(use_static) |
| 106 |
- abort(); //cant do anything, init_vlc() is used with too little memory |
|
| 106 |
+ abort(); // cannot do anything, init_vlc() is used with too little memory |
|
| 107 | 107 |
vlc->table_allocated += (1 << vlc->bits); |
| 108 | 108 |
vlc->table = av_realloc(vlc->table, |
| 109 | 109 |
sizeof(VLC_TYPE) * 2 * vlc->table_allocated); |
| ... | ... |
@@ -498,8 +498,8 @@ typedef struct DSPContext {
|
| 498 | 498 |
* with the zigzag/alternate scan<br> |
| 499 | 499 |
* an example to avoid confusion: |
| 500 | 500 |
* - (->decode coeffs -> zigzag reorder -> dequant -> reference idct ->...) |
| 501 |
- * - (x -> referece dct -> reference idct -> x) |
|
| 502 |
- * - (x -> referece dct -> simple_mmx_perm = idct_permutation -> simple_idct_mmx -> x) |
|
| 501 |
+ * - (x -> reference dct -> reference idct -> x) |
|
| 502 |
+ * - (x -> reference dct -> simple_mmx_perm = idct_permutation -> simple_idct_mmx -> x) |
|
| 503 | 503 |
* - (->decode coeffs -> zigzag reorder -> simple_mmx_perm -> dequant -> simple_idct_mmx ->...) |
| 504 | 504 |
*/ |
| 505 | 505 |
uint8_t idct_permutation[64]; |
| ... | ... |
@@ -155,7 +155,7 @@ static int tgv_decode_inter(TgvContext * s, const uint8_t *buf, const uint8_t *b |
| 155 | 155 |
vector_bits = AV_RL16(&buf[6]); |
| 156 | 156 |
buf += 12; |
| 157 | 157 |
|
| 158 |
- /* allocate codebook buffers as neccessary */ |
|
| 158 |
+ /* allocate codebook buffers as necessary */ |
|
| 159 | 159 |
if (num_mvs > s->num_mvs) {
|
| 160 | 160 |
s->mv_codebook = av_realloc(s->mv_codebook, num_mvs*2*sizeof(int)); |
| 161 | 161 |
s->num_mvs = num_mvs; |
| ... | ... |
@@ -286,7 +286,7 @@ static int tgv_decode_frame(AVCodecContext *avctx, |
| 286 | 286 |
s->frame.buffer_hints = FF_BUFFER_HINTS_VALID; |
| 287 | 287 |
s->frame.linesize[0] = s->width; |
| 288 | 288 |
|
| 289 |
- /* allocate additional 12 bytes to accomodate av_memcpy_backptr() OUTBUF_PADDED optimisation */ |
|
| 289 |
+ /* allocate additional 12 bytes to accommodate av_memcpy_backptr() OUTBUF_PADDED optimisation */ |
|
| 290 | 290 |
s->frame.data[0] = av_malloc(s->width*s->height + 12); |
| 291 | 291 |
if (!s->frame.data[0]) |
| 292 | 292 |
return AVERROR(ENOMEM); |
| ... | ... |
@@ -790,7 +790,7 @@ void ff_er_frame_end(MpegEncContext *s){
|
| 790 | 790 |
if(!s->error_recognition || s->error_count==0 || s->avctx->lowres || |
| 791 | 791 |
s->avctx->hwaccel || |
| 792 | 792 |
s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU || |
| 793 |
- s->picture_structure != PICT_FRAME || // we dont support ER of field pictures yet, though it should not crash if enabled |
|
| 793 |
+ s->picture_structure != PICT_FRAME || // we do not support ER of field pictures yet, though it should not crash if enabled |
|
| 794 | 794 |
s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return; |
| 795 | 795 |
|
| 796 | 796 |
if (s->current_picture.f.motion_val[0] == NULL) {
|
| ... | ... |
@@ -153,7 +153,7 @@ static int g722_encode_trellis(AVCodecContext *avctx, |
| 153 | 153 |
|
| 154 | 154 |
for (j = 0; j < frontier && nodes[0][j]; j++) {
|
| 155 | 155 |
/* Only k >> 2 affects the future adaptive state, therefore testing |
| 156 |
- * small steps that don't change k >> 2 is useless, the orignal |
|
| 156 |
+ * small steps that don't change k >> 2 is useless, the original |
|
| 157 | 157 |
* value from encode_low is better than them. Since we step k |
| 158 | 158 |
* in steps of 4, make sure range is a multiple of 4, so that |
| 159 | 159 |
* we don't miss the original value from encode_low. */ |
| ... | ... |
@@ -2893,7 +2893,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
|
| 2893 | 2893 |
* FIXME: avoiding a memcpy would be nice, but ref handling makes many assumptions |
| 2894 | 2894 |
* about there being no actual duplicates. |
| 2895 | 2895 |
* FIXME: this doesn't copy padding for out-of-frame motion vectors. Given we're |
| 2896 |
- * concealing a lost frame, this probably isn't noticable by comparison, but it should |
|
| 2896 |
+ * concealing a lost frame, this probably isn't noticeable by comparison, but it should |
|
| 2897 | 2897 |
* be fixed. */ |
| 2898 | 2898 |
if (h->short_ref_count) {
|
| 2899 | 2899 |
if (prev) {
|
| ... | ... |
@@ -3316,7 +3316,7 @@ static av_always_inline void fill_filter_caches_inter(H264Context *h, MpegEncCon |
| 3316 | 3316 |
|
| 3317 | 3317 |
/** |
| 3318 | 3318 |
* |
| 3319 |
- * @return non zero if the loop filter can be skiped |
|
| 3319 |
+ * @return non zero if the loop filter can be skipped |
|
| 3320 | 3320 |
*/ |
| 3321 | 3321 |
static int fill_filter_caches(H264Context *h, int mb_type){
|
| 3322 | 3322 |
MpegEncContext * const s = &h->s; |
| ... | ... |
@@ -3839,7 +3839,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
|
| 3839 | 3839 |
av_log(h->s.avctx, AV_LOG_ERROR, "Invalid mix of idr and non-idr slices"); |
| 3840 | 3840 |
return -1; |
| 3841 | 3841 |
} |
| 3842 |
- idr(h); //FIXME ensure we don't loose some frames if there is reordering |
|
| 3842 |
+ idr(h); // FIXME ensure we don't lose some frames if there is reordering |
|
| 3843 | 3843 |
case NAL_SLICE: |
| 3844 | 3844 |
init_get_bits(&hx->s.gb, ptr, bit_length); |
| 3845 | 3845 |
hx->intra_gb_ptr= |
| ... | ... |
@@ -340,7 +340,7 @@ FUNC(ff_jpeg_fdct_islow)(DCTELEM *data) |
| 340 | 340 |
|
| 341 | 341 |
/* |
| 342 | 342 |
* The secret of DCT2-4-8 is really simple -- you do the usual 1-DCT |
| 343 |
- * on the rows and then, instead of doing even and odd, part on the colums |
|
| 343 |
+ * on the rows and then, instead of doing even and odd, part on the columns |
|
| 344 | 344 |
* you do even part two times. |
| 345 | 345 |
*/ |
| 346 | 346 |
GLOBAL(void) |
| ... | ... |
@@ -67,7 +67,7 @@ typedef struct LPCContext {
|
| 67 | 67 |
* Perform autocorrelation on input samples with delay of 0 to lag. |
| 68 | 68 |
* @param data input samples. |
| 69 | 69 |
* constraints: no alignment needed, but must have have at |
| 70 |
- * least lag*sizeof(double) valid bytes preceeding it, and |
|
| 70 |
+ * least lag*sizeof(double) valid bytes preceding it, and |
|
| 71 | 71 |
* size must be at least (len+1)*sizeof(double) if data is |
| 72 | 72 |
* 16-byte aligned or (len+2)*sizeof(double) if data is |
| 73 | 73 |
* unaligned. |
| ... | ... |
@@ -1109,9 +1109,9 @@ static int mjpeg_decode_app(MJpegDecodeContext *s) |
| 1109 | 1109 |
av_log(s->avctx, AV_LOG_DEBUG, "APPx %8X\n", id); |
| 1110 | 1110 |
} |
| 1111 | 1111 |
|
| 1112 |
- /* buggy AVID, it puts EOI only at every 10th frame */ |
|
| 1113 |
- /* also this fourcc is used by non-avid files too, it holds some |
|
| 1114 |
- informations, but it's always present in AVID creates files */ |
|
| 1112 |
+ /* Buggy AVID, it puts EOI only at every 10th frame. */ |
|
| 1113 |
+ /* Also, this fourcc is used by non-avid files too, it holds some |
|
| 1114 |
+ information, but it's always present in AVID-created files. */ |
|
| 1115 | 1115 |
if (id == AV_RL32("AVI1"))
|
| 1116 | 1116 |
{
|
| 1117 | 1117 |
/* structure: |
| ... | ... |
@@ -127,7 +127,7 @@ typedef struct Picture{
|
| 127 | 127 |
int ref_poc[2][2][16]; ///< h264 POCs of the frames used as reference (FIXME need per slice) |
| 128 | 128 |
int ref_count[2][2]; ///< number of entries in ref_poc (FIXME need per slice) |
| 129 | 129 |
int mbaff; ///< h264 1 -> MBAFF frame 0-> not MBAFF |
| 130 |
- int field_picture; ///< whether or not the picture was encoded in seperate fields |
|
| 130 |
+ int field_picture; ///< whether or not the picture was encoded in separate fields |
|
| 131 | 131 |
|
| 132 | 132 |
int mb_var_sum; ///< sum of MB variance for current frame |
| 133 | 133 |
int mc_mb_var_sum; ///< motion compensated MB variance for current frame |
| ... | ... |
@@ -559,7 +559,7 @@ static int decode_slice(AVCodecContext *avctx, ProresThreadData *td) |
| 559 | 559 |
sf = sf > 128 ? (sf - 96) << 2 : sf; |
| 560 | 560 |
|
| 561 | 561 |
/* scale quantization matrixes according with slice's scale factor */ |
| 562 |
- /* TODO: this can be SIMD-optimized alot */ |
|
| 562 |
+ /* TODO: this can be SIMD-optimized a lot */ |
|
| 563 | 563 |
if (ctx->qmat_changed || sf != ctx->prev_slice_sf) {
|
| 564 | 564 |
ctx->prev_slice_sf = sf; |
| 565 | 565 |
for (i = 0; i < 64; i++) {
|
| ... | ... |
@@ -155,7 +155,7 @@ static av_cold int decode_init(AVCodecContext *avctx) |
| 155 | 155 |
return -1; |
| 156 | 156 |
} |
| 157 | 157 |
c->bpp = avctx->bits_per_coded_sample; |
| 158 |
- // buffer size for RLE 'best' case when 2-byte code preceeds each pixel and there may be padding after it too |
|
| 158 |
+ // buffer size for RLE 'best' case when 2-byte code precedes each pixel and there may be padding after it too |
|
| 159 | 159 |
c->decomp_size = (((avctx->width * c->bpp + 7) >> 3) + 3 * avctx->width + 2) * avctx->height + 2; |
| 160 | 160 |
|
| 161 | 161 |
/* Allocate decompression buffer */ |
| ... | ... |
@@ -98,7 +98,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_ |
| 98 | 98 |
pic_param->forward_reference_picture = ff_vaapi_get_surface_id(&s->last_picture); |
| 99 | 99 |
|
| 100 | 100 |
/* Fill in VAIQMatrixBufferMPEG4 */ |
| 101 |
- /* Only the first inverse quantisation method uses the weighthing matrices */ |
|
| 101 |
+ /* Only the first inverse quantisation method uses the weighting matrices */ |
|
| 102 | 102 |
if (pic_param->vol_fields.bits.quant_type) {
|
| 103 | 103 |
iq_matrix = ff_vaapi_alloc_iq_matrix(vactx, sizeof(VAIQMatrixBufferMPEG4)); |
| 104 | 104 |
if (!iq_matrix) |
| ... | ... |
@@ -3536,7 +3536,7 @@ static void vc1_apply_p_loop_filter(VC1Context *v) |
| 3536 | 3536 |
vc1_apply_p_v_loop_filter(v, i); |
| 3537 | 3537 |
} |
| 3538 | 3538 |
|
| 3539 |
- /* V always preceedes H, therefore we run H one MB before V; |
|
| 3539 |
+ /* V always precedes H, therefore we run H one MB before V; |
|
| 3540 | 3540 |
* at the end of a row, we catch up to complete the row */ |
| 3541 | 3541 |
if (s->mb_x) {
|
| 3542 | 3542 |
for (i = 0; i < 6; i++) {
|
| ... | ... |
@@ -3573,7 +3573,7 @@ static int vc1_decode_p_mb(VC1Context *v) |
| 3573 | 3573 |
int skipped, fourmv; |
| 3574 | 3574 |
int block_cbp = 0, pat, block_tt = 0, block_intra = 0; |
| 3575 | 3575 |
|
| 3576 |
- mquant = v->pq; /* Loosy initialization */ |
|
| 3576 |
+ mquant = v->pq; /* lossy initialization */ |
|
| 3577 | 3577 |
|
| 3578 | 3578 |
if (v->mv_type_is_raw) |
| 3579 | 3579 |
fourmv = get_bits1(gb); |
| ... | ... |
@@ -4141,7 +4141,7 @@ static void vc1_decode_b_mb(VC1Context *v) |
| 4141 | 4141 |
int dmv_x[2], dmv_y[2]; |
| 4142 | 4142 |
int bmvtype = BMV_TYPE_BACKWARD; |
| 4143 | 4143 |
|
| 4144 |
- mquant = v->pq; /* Loosy initialization */ |
|
| 4144 |
+ mquant = v->pq; /* lossy initialization */ |
|
| 4145 | 4145 |
s->mb_intra = 0; |
| 4146 | 4146 |
|
| 4147 | 4147 |
if (v->dmb_is_raw) |
| ... | ... |
@@ -1425,7 +1425,7 @@ static int remaining_bits(WMAProDecodeCtx *s, GetBitContext *gb) |
| 1425 | 1425 |
*@param s codec context |
| 1426 | 1426 |
*@param gb bitstream reader context |
| 1427 | 1427 |
*@param len length of the partial frame |
| 1428 |
- *@param append decides wether to reset the buffer or not |
|
| 1428 |
+ *@param append decides whether to reset the buffer or not |
|
| 1429 | 1429 |
*/ |
| 1430 | 1430 |
static void save_bits(WMAProDecodeCtx *s, GetBitContext* gb, int len, |
| 1431 | 1431 |
int append) |
| ... | ... |
@@ -189,7 +189,7 @@ typedef struct {
|
| 189 | 189 |
* @{
|
| 190 | 190 |
*/ |
| 191 | 191 |
int spillover_nbits; ///< number of bits of the previous packet's |
| 192 |
- ///< last superframe preceeding this |
|
| 192 |
+ ///< last superframe preceding this |
|
| 193 | 193 |
///< packet's first full superframe (useful |
| 194 | 194 |
///< for re-synchronization also) |
| 195 | 195 |
int has_residual_lsps; ///< if set, superframes contain one set of |
| ... | ... |
@@ -1805,7 +1805,7 @@ static int synth_superframe(AVCodecContext *ctx, int *got_frame_ptr) |
| 1805 | 1805 |
s->frame.nb_samples = n_samples; |
| 1806 | 1806 |
samples = (float *)s->frame.data[0]; |
| 1807 | 1807 |
|
| 1808 |
- /* Parse frames, optionally preceeded by per-frame (independent) LSPs. */ |
|
| 1808 |
+ /* Parse frames, optionally preceded by per-frame (independent) LSPs. */ |
|
| 1809 | 1809 |
for (n = 0; n < 3; n++) {
|
| 1810 | 1810 |
if (!s->has_residual_lsps) {
|
| 1811 | 1811 |
int m; |
| ... | ... |
@@ -271,7 +271,7 @@ static int audio_read_packet(AVFormatContext *context, AVPacket *pkt) |
| 271 | 271 |
} |
| 272 | 272 |
} |
| 273 | 273 |
|
| 274 |
- /* Wait for a packet comming back from process_callback(), if one isn't available yet */ |
|
| 274 |
+ /* Wait for a packet coming back from process_callback(), if one isn't available yet */ |
|
| 275 | 275 |
timeout.tv_sec = av_gettime() / 1000000 + 2; |
| 276 | 276 |
if (sem_timedwait(&self->packet_count, &timeout)) {
|
| 277 | 277 |
if (errno == ETIMEDOUT) {
|
| ... | ... |
@@ -72,7 +72,7 @@ TimeFilter * ff_timefilter_new(double clock_period, double feedback2_factor, dou |
| 72 | 72 |
* |
| 73 | 73 |
* system_time, in seconds, should be the value of the system clock time, |
| 74 | 74 |
* at (or as close as possible to) the moment the device hardware interrupt |
| 75 |
- * occured (or any other event the device clock raises at the beginning of a |
|
| 75 |
+ * occurred (or any other event the device clock raises at the beginning of a |
|
| 76 | 76 |
* cycle). |
| 77 | 77 |
* |
| 78 | 78 |
* @return the filtered time, in seconds |
| ... | ... |
@@ -685,7 +685,8 @@ typedef struct AVStream {
|
| 685 | 685 |
|
| 686 | 686 |
/** |
| 687 | 687 |
* last packet in packet_buffer for this stream when muxing. |
| 688 |
- * used internally, NOT PART OF PUBLIC API, dont read or write from outside of libav* |
|
| 688 |
+ * Used internally, NOT PART OF PUBLIC API, do not read or |
|
| 689 |
+ * write from outside of libav* |
|
| 689 | 690 |
*/ |
| 690 | 691 |
struct AVPacketList *last_in_packet_buffer; |
| 691 | 692 |
#endif |
| ... | ... |
@@ -709,7 +710,7 @@ typedef struct AVStream {
|
| 709 | 709 |
int codec_info_nb_frames; |
| 710 | 710 |
|
| 711 | 711 |
/** |
| 712 |
- * Stream informations used internally by av_find_stream_info() |
|
| 712 |
+ * Stream information used internally by av_find_stream_info() |
|
| 713 | 713 |
*/ |
| 714 | 714 |
#define MAX_STD_TIMEBASES (60*12+5) |
| 715 | 715 |
struct {
|
| ... | ... |
@@ -877,7 +878,7 @@ typedef struct AVFormatContext {
|
| 877 | 877 |
/** |
| 878 | 878 |
* Decoding: duration of the stream, in AV_TIME_BASE fractional |
| 879 | 879 |
* seconds. Only set this value if you know none of the individual stream |
| 880 |
- * durations and also dont set any of them. This is deduced from the |
|
| 880 |
+ * durations and also do not set any of them. This is deduced from the |
|
| 881 | 881 |
* AVStream values if not set. |
| 882 | 882 |
*/ |
| 883 | 883 |
int64_t duration; |
| ... | ... |
@@ -361,7 +361,7 @@ static int flv_write_trailer(AVFormatContext *s) |
| 361 | 361 |
|
| 362 | 362 |
file_size = avio_tell(pb); |
| 363 | 363 |
|
| 364 |
- /* update informations */ |
|
| 364 |
+ /* update information */ |
|
| 365 | 365 |
avio_seek(pb, flv->duration_offset, SEEK_SET); |
| 366 | 366 |
put_amf_double(pb, flv->duration / (double)1000); |
| 367 | 367 |
avio_seek(pb, flv->filesize_offset, SEEK_SET); |
| ... | ... |
@@ -412,7 +412,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) |
| 412 | 412 |
} |
| 413 | 413 |
|
| 414 | 414 |
if (enc->codec_id == CODEC_ID_H264) {
|
| 415 |
- /* check if extradata looks like mp4 formated */ |
|
| 415 |
+ /* check if extradata looks like MP4 */ |
|
| 416 | 416 |
if (enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1) {
|
| 417 | 417 |
if (ff_avc_parse_nal_units_buf(pkt->data, &data, &size) < 0) |
| 418 | 418 |
return -1; |
| ... | ... |
@@ -142,7 +142,7 @@ static void free_geobtag(void *obj) |
| 142 | 142 |
* @param maxread Pointer to maximum number of characters to read from the |
| 143 | 143 |
* AVIOContext. After execution the value is decremented by the number of bytes |
| 144 | 144 |
* actually read. |
| 145 |
- * @returns 0 if no error occured, dst is uninitialized on error |
|
| 145 |
+ * @returns 0 if no error occurred, dst is uninitialized on error |
|
| 146 | 146 |
*/ |
| 147 | 147 |
static int decode_str(AVFormatContext *s, AVIOContext *pb, int encoding, |
| 148 | 148 |
uint8_t **dst, int *maxread) |
| ... | ... |
@@ -432,7 +432,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) |
| 432 | 432 |
(!st->codec->extradata_size && |
| 433 | 433 |
AV_RL32(pkt->data+4) != MKTAG('j','P',' ',' '))){ // signature
|
| 434 | 434 |
error: |
| 435 |
- av_log(s, AV_LOG_ERROR, "malformated jpeg2000 codestream\n"); |
|
| 435 |
+ av_log(s, AV_LOG_ERROR, "malformed JPEG 2000 codestream\n"); |
|
| 436 | 436 |
return -1; |
| 437 | 437 |
} |
| 438 | 438 |
} |
| ... | ... |
@@ -24,7 +24,7 @@ |
| 24 | 24 |
|
| 25 | 25 |
static int probe(AVProbeData *p) |
| 26 | 26 |
{
|
| 27 |
- // the single file i have starts with that, i dont know if others do too |
|
| 27 |
+ // the single file I have starts with that, I do not know if others do, too |
|
| 28 | 28 |
if( p->buf[0] == 1 |
| 29 | 29 |
&& p->buf[1] == 1 |
| 30 | 30 |
&& p->buf[2] == 3 |
| ... | ... |
@@ -33,7 +33,7 @@ typedef struct {
|
| 33 | 33 |
|
| 34 | 34 |
/** Buffer for outgoing packets. */ |
| 35 | 35 |
/*@{*/
|
| 36 |
- uint8_t *write_out_ptr; ///< Pointer for writting the buffer. |
|
| 36 |
+ uint8_t *write_out_ptr; ///< Pointer for writing the buffer. |
|
| 37 | 37 |
uint8_t out_buffer[512]; ///< Buffer for outgoing packet. |
| 38 | 38 |
/*@}*/ |
| 39 | 39 |
|
| ... | ... |
@@ -243,7 +243,7 @@ static int mov_write_ac3_tag(AVIOContext *pb, MOVTrack *track) |
| 243 | 243 |
|
| 244 | 244 |
/** |
| 245 | 245 |
* This function writes extradata "as is". |
| 246 |
- * Extradata must be formated like a valid atom (with size and tag) |
|
| 246 |
+ * Extradata must be formatted like a valid atom (with size and tag). |
|
| 247 | 247 |
*/ |
| 248 | 248 |
static int mov_write_extradata_tag(AVIOContext *pb, MOVTrack *track) |
| 249 | 249 |
{
|
| ... | ... |
@@ -456,7 +456,7 @@ static inline int get16(const uint8_t **pp, const uint8_t *p_end) |
| 456 | 456 |
return c; |
| 457 | 457 |
} |
| 458 | 458 |
|
| 459 |
-/* read and allocate a DVB string preceeded by its length */ |
|
| 459 |
+/* read and allocate a DVB string preceded by its length */ |
|
| 460 | 460 |
static char *getstr8(const uint8_t **pp, const uint8_t *p_end) |
| 461 | 461 |
{
|
| 462 | 462 |
int len; |
| ... | ... |
@@ -1672,7 +1672,7 @@ static int handle_packet(MpegTSContext *ts, const uint8_t *packet) |
| 1672 | 1672 |
return 0; |
| 1673 | 1673 |
p = packet + 4; |
| 1674 | 1674 |
if (has_adaptation) {
|
| 1675 |
- /* skip adapation field */ |
|
| 1675 |
+ /* skip adaptation field */ |
|
| 1676 | 1676 |
p += p[0] + 1; |
| 1677 | 1677 |
} |
| 1678 | 1678 |
/* if past the end of packet, ignore */ |
| ... | ... |
@@ -1750,7 +1750,7 @@ static int read_packet(AVFormatContext *s, uint8_t *buf, int raw_packet_size) |
| 1750 | 1750 |
len = avio_read(pb, buf, TS_PACKET_SIZE); |
| 1751 | 1751 |
if (len != TS_PACKET_SIZE) |
| 1752 | 1752 |
return len < 0 ? len : AVERROR_EOF; |
| 1753 |
- /* check paquet sync byte */ |
|
| 1753 |
+ /* check packet sync byte */ |
|
| 1754 | 1754 |
if (buf[0] != 0x47) {
|
| 1755 | 1755 |
/* find a new packet start */ |
| 1756 | 1756 |
avio_seek(pb, -TS_PACKET_SIZE, SEEK_CUR); |
| ... | ... |
@@ -1892,7 +1892,7 @@ static int mpegts_read_header(AVFormatContext *s, |
| 1892 | 1892 |
if (s->iformat == &ff_mpegts_demuxer) {
|
| 1893 | 1893 |
/* normal demux */ |
| 1894 | 1894 |
|
| 1895 |
- /* first do a scaning to get all the services */ |
|
| 1895 |
+ /* first do a scan to get all the services */ |
|
| 1896 | 1896 |
if (pb->seekable && avio_seek(pb, pos, SEEK_SET) < 0) |
| 1897 | 1897 |
av_log(s, AV_LOG_ERROR, "Unable to seek back to the start\n"); |
| 1898 | 1898 |
|
| ... | ... |
@@ -944,7 +944,7 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt) |
| 944 | 944 |
uint32_t state = -1; |
| 945 | 945 |
|
| 946 | 946 |
if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) {
|
| 947 |
- av_log(s, AV_LOG_ERROR, "h264 bitstream malformated, " |
|
| 947 |
+ av_log(s, AV_LOG_ERROR, "H.264 bitstream malformed, " |
|
| 948 | 948 |
"no startcode found, use -vbsf h264_mp4toannexb\n"); |
| 949 | 949 |
return -1; |
| 950 | 950 |
} |
| ... | ... |
@@ -68,7 +68,7 @@ typedef struct {
|
| 68 | 68 |
int index; ///< index in mxf_essence_container_uls table |
| 69 | 69 |
const UID *codec_ul; |
| 70 | 70 |
int order; ///< interleaving order if dts are equal |
| 71 |
- int interlaced; ///< wether picture is interlaced |
|
| 71 |
+ int interlaced; ///< whether picture is interlaced |
|
| 72 | 72 |
int temporal_reordering; |
| 73 | 73 |
AVRational aspect_ratio; ///< display aspect ratio |
| 74 | 74 |
int closed_gop; ///< gop is closed, used in mpeg-2 frame parsing |
| ... | ... |
@@ -484,7 +484,7 @@ real_parse_asm_rulebook(AVFormatContext *s, AVStream *orig_st, |
| 484 | 484 |
* is set and once for if it isn't. We only read the first because we |
| 485 | 485 |
* don't care much (that's what the "odd" variable is for). |
| 486 | 486 |
* Each rule contains a set of one or more statements, optionally |
| 487 |
- * preceeded by a single condition. If there's a condition, the rule |
|
| 487 |
+ * preceded by a single condition. If there's a condition, the rule |
|
| 488 | 488 |
* starts with a '#'. Multiple conditions are merged between brackets, |
| 489 | 489 |
* so there are never multiple conditions spread out over separate |
| 490 | 490 |
* statements. Generally, these conditions are bitrate limits (min/max) |
| ... | ... |
@@ -72,7 +72,7 @@ enum CodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type); |
| 72 | 72 |
#define RTP_VERSION 2 |
| 73 | 73 |
#define RTP_MAX_SDES 256 /**< maximum text length for SDES */ |
| 74 | 74 |
|
| 75 |
-/* RTCP paquets use 0.5 % of the bandwidth */ |
|
| 75 |
+/* RTCP packets use 0.5% of the bandwidth */ |
|
| 76 | 76 |
#define RTCP_TX_RATIO_NUM 5 |
| 77 | 77 |
#define RTCP_TX_RATIO_DEN 1000 |
| 78 | 78 |
|
| ... | ... |
@@ -372,7 +372,7 @@ static int udp_open(URLContext *h, const char *uri, int flags) |
| 372 | 372 |
goto fail; |
| 373 | 373 |
|
| 374 | 374 |
/* Follow the requested reuse option, unless it's multicast in which |
| 375 |
- * case enable reuse unless explicitely disabled. |
|
| 375 |
+ * case enable reuse unless explicitly disabled. |
|
| 376 | 376 |
*/ |
| 377 | 377 |
if (s->reuse_socket || (s->is_multicast && !reuse_specified)) {
|
| 378 | 378 |
s->reuse_socket = 1; |
| ... | ... |
@@ -770,7 +770,7 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt) |
| 770 | 770 |
memset(pd->buf+pd->buf_size, 0, AVPROBE_PADDING_SIZE); |
| 771 | 771 |
|
| 772 | 772 |
if(av_log2(pd->buf_size) != av_log2(pd->buf_size - pkt->size)){
|
| 773 |
- //FIXME we dont reduce score to 0 for the case of running out of buffer space in bytes |
|
| 773 |
+ //FIXME we do not reduce score to 0 for the case of running out of buffer space in bytes |
|
| 774 | 774 |
set_codec_from_probe_data(s, st, pd, st->probe_packets > 0 ? AVPROBE_SCORE_MAX/4 : 0); |
| 775 | 775 |
if(st->codec->codec_id != CODEC_ID_PROBE){
|
| 776 | 776 |
pd->buf_size=0; |
| ... | ... |
@@ -1081,7 +1081,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st, |
| 1081 | 1081 |
FFSWAP(int64_t, st->pts_buffer[i], st->pts_buffer[i+1]); |
| 1082 | 1082 |
if(pkt->dts == AV_NOPTS_VALUE) |
| 1083 | 1083 |
pkt->dts= st->pts_buffer[0]; |
| 1084 |
- if(st->codec->codec_id == CODEC_ID_H264){ //we skiped it above so we try here
|
|
| 1084 |
+ if(st->codec->codec_id == CODEC_ID_H264){ // we skipped it above so we try here
|
|
| 1085 | 1085 |
update_initial_timestamps(s, pkt->stream_index, pkt->dts, pkt->pts); // this should happen on the first packet |
| 1086 | 1086 |
} |
| 1087 | 1087 |
if(pkt->dts > st->cur_dts) |
| ... | ... |
@@ -58,7 +58,7 @@ int av_expr_parse_and_eval(double *res, const char *s, |
| 58 | 58 |
* Parse an expression. |
| 59 | 59 |
* |
| 60 | 60 |
* @param expr a pointer where is put an AVExpr containing the parsed |
| 61 |
- * value in case of successfull parsing, or NULL otherwise. |
|
| 61 |
+ * value in case of successful parsing, or NULL otherwise. |
|
| 62 | 62 |
* The pointed to AVExpr must be freed with av_expr_free() by the user |
| 63 | 63 |
* when it is not needed anymore. |
| 64 | 64 |
* @param s expression as a zero terminated string, for example "1+2^3+5*5+sin(2/3)" |
| ... | ... |
@@ -909,7 +909,7 @@ static void reallocBuffers(PPContext *c, int width, int height, int stride, int |
| 909 | 909 |
c->yHistogram[i]= width*height/64*15/256; |
| 910 | 910 |
|
| 911 | 911 |
for(i=0; i<3; i++){
|
| 912 |
- //Note: The +17*1024 is just there so i do not have to worry about r/w over the end. |
|
| 912 |
+ //Note: The +17*1024 is just there so I do not have to worry about r/w over the end. |
|
| 913 | 913 |
reallocAlign((void **)&c->tempBlurred[i], 8, stride*mbHeight*16 + 17*1024); |
| 914 | 914 |
reallocAlign((void **)&c->tempBlurredPast[i], 8, 256*((height+7)&(~7))/2 + 17*1024);//FIXME size |
| 915 | 915 |
} |
| ... | ... |
@@ -100,7 +100,7 @@ typedef struct PPMode{
|
| 100 | 100 |
|
| 101 | 101 |
int minAllowedY; ///< for brigtness correction |
| 102 | 102 |
int maxAllowedY; ///< for brihtness correction |
| 103 |
- float maxClippedThreshold; ///< amount of "black" u r willing to loose to get a brightness corrected picture |
|
| 103 |
+ float maxClippedThreshold; ///< amount of "black" you are willing to lose to get a brightness-corrected picture |
|
| 104 | 104 |
|
| 105 | 105 |
int maxTmpNoise[3]; ///< for Temporal Noise Reducing filter (Maximal sum of abs differences) |
| 106 | 106 |
|
| ... | ... |
@@ -67,7 +67,7 @@ $EGREP $OPT '^\+ *(const *|)static' $*| $EGREP --color=always '[^=]= *(0|NULL)[^ |
| 67 | 67 |
cat $TMP |
| 68 | 68 |
hiegrep '# *ifdef * (HAVE|CONFIG)_' 'ifdefs that should be #if' $* |
| 69 | 69 |
|
| 70 |
-hiegrep '\b(awnser|cant|dont|quantised|quantisation|teh|wont)\b' 'common typos' $* |
|
| 70 |
+hiegrep '\b(awnser|cant|dont|wont|usefull|successfull|occured|teh|alot|wether|skiped|heigth|informations|colums|loosy|loosing|seperate|preceed)\b' 'common typos' $* |
|
| 71 | 71 |
|
| 72 | 72 |
hiegrep 'av_log\( *NULL' 'Missing context in av_log' $* |
| 73 | 73 |
hiegrep '[^sn]printf' 'Please use av_log' $* |