[FFmpeg-devel] [PATCH] Various small spelling fixes.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Apr 14 22:35:50 CEST 2014
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
doc/demuxers.texi | 2 +-
libavcodec/atrac1data.h | 2 +-
libavcodec/avcodec.h | 10 +++++-----
libavcodec/dirac_dwt.h | 2 +-
libavcodec/dnxhddata.h | 2 +-
libavcodec/error_resilience.h | 2 +-
libavcodec/fft_table.h | 2 +-
libavcodec/get_bits.h | 2 +-
libavcodec/rv30data.h | 2 +-
libavdevice/avdevice.h | 14 +++++++-------
libavformat/internal.h | 6 +++---
libavformat/mux.c | 6 +++---
12 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index f0a14e0..23cec5a 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -266,7 +266,7 @@ If set to 1, will set frame timestamp to modification time of image file. Note
that monotonity of timestamps is not provided: images go in the same order as
without this option. Default value is 0.
If set to 2, will set frame timestamp to the modification time of the image file in
-nanosecond precission.
+nanosecond precision.
@item video_size
Set the video size of the images to read. If not specified the video
size is guessed from the first image file in the sequence.
diff --git a/libavcodec/atrac1data.h b/libavcodec/atrac1data.h
index 08f8357..62c218b 100644
--- a/libavcodec/atrac1data.h
+++ b/libavcodec/atrac1data.h
@@ -43,7 +43,7 @@ static const uint8_t bfu_bands_t[4] = {0, 20, 36, 52};
*/
static const uint8_t specs_per_bfu[52] = {
8, 8, 8, 8, 4, 4, 4, 4, 8, 8, 8, 8, 6, 6, 6, 6, 6, 6, 6, 6, // low band
- 6, 6, 6, 6, 7, 7, 7, 7, 9, 9, 9, 9, 10, 10, 10, 10, // midle band
+ 6, 6, 6, 6, 7, 7, 7, 7, 9, 9, 9, 9, 10, 10, 10, 10, // middle band
12, 12, 12, 12, 12, 12, 12, 12, 20, 20, 20, 20, 20, 20, 20, 20 // high band
};
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 17bde9f..4ca46ff 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2248,7 +2248,7 @@ typedef struct AVCodecContext {
/**
* ratecontrol qmin qmax limiting method
- * 0-> clipping, 1-> use a nice continuous function to limit qscale wthin qmin/qmax.
+ * 0-> clipping, 1-> use a nice continuous function to limit qscale within qmin/qmax.
* - encoding: Set by user.
* - decoding: unused
*/
@@ -2343,14 +2343,14 @@ typedef struct AVCodecContext {
int context_model;
/**
- * minimum Lagrange multipler
+ * minimum Lagrange multiplier
* - encoding: Set by user.
* - decoding: unused
*/
int lmin;
/**
- * maximum Lagrange multipler
+ * maximum Lagrange multiplier
* - encoding: Set by user.
* - decoding: unused
*/
@@ -2575,7 +2575,7 @@ typedef struct AVCodecContext {
#define AV_EF_EXPLODE (1<<3) ///< abort decoding on minor error detection
#define AV_EF_CAREFUL (1<<16) ///< consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors
-#define AV_EF_COMPLIANT (1<<17) ///< consider all spec non compliancies as errors
+#define AV_EF_COMPLIANT (1<<17) ///< consider all spec non compliances as errors
#define AV_EF_AGGRESSIVE (1<<18) ///< consider things that a sane encoder should not do as an error
@@ -2765,7 +2765,7 @@ typedef struct AVCodecContext {
#endif
/**
- * noise vs. sse weight for the nsse comparsion function
+ * noise vs. sse weight for the nsse comparison function
* - encoding: Set by user.
* - decoding: unused
*/
diff --git a/libavcodec/dirac_dwt.h b/libavcodec/dirac_dwt.h
index 25c13d1..e5e447b 100644
--- a/libavcodec/dirac_dwt.h
+++ b/libavcodec/dirac_dwt.h
@@ -82,7 +82,7 @@ int ff_spatial_idwt_init2(DWTContext *d, IDWTELEM *buffer, int width, int height
void ff_spatial_idwt_slice2(DWTContext *d, int y);
-// shared stuff for simd optimiztions
+// shared stuff for simd optimizations
#define COMPOSE_53iL0(b0, b1, b2)\
(b1 - ((b0 + b2 + 2) >> 2))
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index b8bcb21..8166ee8 100644
--- a/libavcodec/dnxhddata.h
+++ b/libavcodec/dnxhddata.h
@@ -42,7 +42,7 @@ typedef struct CIDEntry {
const uint8_t *ac_flags;
const uint16_t *run_codes;
const uint8_t *run_bits, *run;
- int bit_rates[5]; ///< Helpher to choose variants, rounded to nearest 5Mb/s
+ int bit_rates[5]; ///< Helper to choose variants, rounded to nearest 5Mb/s
AVRational frame_rates[5];
} CIDEntry;
diff --git a/libavcodec/error_resilience.h b/libavcodec/error_resilience.h
index 7352dbb..9d227e8 100644
--- a/libavcodec/error_resilience.h
+++ b/libavcodec/error_resilience.h
@@ -42,7 +42,7 @@ typedef struct ERPicture {
AVFrame *f;
ThreadFrame *tf;
- // it's the caller responsability to allocate these buffers
+ // it's the caller's responsibility to allocate these buffers
int16_t (*motion_val[2])[2];
int8_t *ref_index[2];
diff --git a/libavcodec/fft_table.h b/libavcodec/fft_table.h
index 687e5b9..7f3142d 100644
--- a/libavcodec/fft_table.h
+++ b/libavcodec/fft_table.h
@@ -56,7 +56,7 @@
#include "libavcodec/fft.h"
-#define MAX_LOG2_NFFT 16 //!< Specifies maxiumum allowed fft size
+#define MAX_LOG2_NFFT 16 //!< Specifies maximum allowed fft size
#define MAX_FFT_SIZE (1 << MAX_LOG2_NFFT)
extern int32_t w_tab_sr[];
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index 7824e5a..82421cb 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -219,7 +219,7 @@ static inline void skip_bits_long(GetBitContext *s, int n)
}
/**
- * read mpeg1 dc style vlc (sign bit + mantisse with no MSB).
+ * read mpeg1 dc style vlc (sign bit + mantissa with no MSB).
* if MSB not set it is negative
* @param n length in bits
*/
diff --git a/libavcodec/rv30data.h b/libavcodec/rv30data.h
index 9cc48a6..5c4cb97 100644
--- a/libavcodec/rv30data.h
+++ b/libavcodec/rv30data.h
@@ -58,7 +58,7 @@ static const uint8_t rv30_itype_code[9*9*2] = {
*
* This is really a three-dimensional matrix with dimensions
* [-1..9][-1..9][0..9]. The first and second coordinates are
- * detemined by the top and left neighbors (-1 if unavailable).
+ * determined by the top and left neighbors (-1 if unavailable).
*/
static const uint8_t rv30_itype_from_context[900] = {
0, 9, 9, 9, 9, 9, 9, 9, 9,
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
index 6085eb4..c9c58fb 100644
--- a/libavdevice/avdevice.h
+++ b/libavdevice/avdevice.h
@@ -135,7 +135,7 @@ enum AVAppToDevMessageType {
/**
* Repaint request message.
*
- * Message is sent to the device when window have to be rapainted.
+ * Message is sent to the device when window has to be repainted.
*
* data: AVDeviceRect: area required to be repainted.
* NULL: whole area is required to be repainted.
@@ -196,7 +196,7 @@ enum AVDevToAppMessageType {
* Display window buffer message.
*
* Device requests to display a window buffer.
- * Message is sent when new frame is ready to be displyed.
+ * Message is sent when new frame is ready to be displayed.
* Usually buffers need to be swapped in handler of this message.
*
* data: NULL.
@@ -274,7 +274,7 @@ int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
* Queried capabilities allows to set up converters of video or audio
* parameters that fit to the device.
*
- * List of capablities that can be queried:
+ * List of capabilities that can be queried:
* - Capabilities valid for both audio and video devices:
* - codec: supported audio/video codecs.
* type: AV_OPT_TYPE_INT (AVCodecID value)
@@ -338,9 +338,9 @@ int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
*/
/**
- * Structure describes device capabilites.
+ * Structure describes device capabilities.
*
- * It is used by devices in conjuntion with av_device_capabilities AVOption table
+ * It is used by devices in conjunction with av_device_capabilities AVOption table
* to implement capabilities probing API based on AVOption API. Should not be used directly.
*/
typedef struct AVDeviceCapabilitiesQuery {
@@ -360,7 +360,7 @@ typedef struct AVDeviceCapabilitiesQuery {
} AVDeviceCapabilitiesQuery;
/**
- * AVOption table used by devices to implement device capabilites API. Should not be used by a user.
+ * AVOption table used by devices to implement device capabilities API. Should not be used by a user.
*/
extern const AVOption av_device_capabilities[];
@@ -425,7 +425,7 @@ typedef struct AVDeviceInfoList {
int avdevice_list_devices(struct AVFormatContext *s, AVDeviceInfoList **device_list);
/**
- * Convinient function to free result of avdevice_list_devices().
+ * Convenient function to free result of avdevice_list_devices().
*
* @param devices device list to be freed.
*/
diff --git a/libavformat/internal.h b/libavformat/internal.h
index f19cebf..95d0a5a 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -358,11 +358,11 @@ enum AVCodecID ff_get_pcm_codec_id(int bps, int flt, int be, int sflags);
/**
* Chooses a timebase for muxing the specified stream.
*
- * The choosen timebase allows sample accurate timestamps based
+ * The chosen timebase allows sample accurate timestamps based
* on the framerate or sample rate for audio streams. It also is
- * at least as precisse as 1/min_precission would be.
+ * at least as precise as 1/min_precision would be.
*/
-AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precission);
+AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precision);
/**
* Generate standard extradata for AVC-Intra based on width/height and field
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 1c15a91..cdceadd 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -102,7 +102,7 @@ static void frac_add(AVFrac *f, int64_t incr)
f->num = num;
}
-AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precission)
+AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precision)
{
AVRational q;
int j;
@@ -113,9 +113,9 @@ AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precissi
q = st->codec->time_base;
}
for (j=2; j<14; j+= 1+(j>2))
- while (q.den / q.num < min_precission && q.num % j == 0)
+ while (q.den / q.num < min_precision && q.num % j == 0)
q.num /= j;
- while (q.den / q.num < min_precission && q.den < (1<<24))
+ while (q.den / q.num < min_precision && q.den < (1<<24))
q.den <<= 1;
return q;
--
1.9.2
More information about the ffmpeg-devel
mailing list