Skip to content

Commit b0ec1dc

Browse files
authored
Merge pull request #459 from benroeder/fix-spelling-errors
Fix spelling errors throughout codebase
2 parents 4d32b60 + a62fe80 commit b0ec1dc

File tree

159 files changed

+347
-347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+347
-347
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# How to contribute to UltraGrid
22
First, thanks to contribute to UltraGrid by using UltraGrid, reporting bugs,
3-
adding code or ideas. Further section contains basic informations how to
3+
adding code or ideas. Further section contains basic information how to
44
contribute. Feel free to inform us if you need to contribute in a different
55
way or extend this document.
66

@@ -24,7 +24,7 @@ way or extend this document.
2424

2525
## Reporting bugs
2626

27-
Prefered way to report a bug is to open an issue on GitHub. If not possible,
27+
Preferred way to report a bug is to open an issue on GitHub. If not possible,
2828
you can also contact the development team directly with an e-mail.
2929

3030
Please look also at detailed instructions here [here](doc/REPORTING-BUGS.md).
@@ -46,7 +46,7 @@ The pull request should represent a coherent unit, like a single feature added.
4646
More features should be separated to multiple pull request (of course if possible
4747
and eg. not firmly bound together).
4848

49-
The contained commits shouls present clearly what was changed. Ideally,
49+
The contained commits should present clearly what was changed. Ideally,
5050
if refactoring is done, it should not be mixed with functional changes
5151
in a single commit, similarly for the code movement.
5252

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Using the UltraGrid System
133133

134134
The **\<capture_device\>** is one of the list viewed with `-t help`. Name
135135
of capture device usually follows with configuration of video mode,
136-
video input etc. All options can be interactively dispayed using built-in
136+
video input etc. All options can be interactively displayed using built-in
137137
help, eg. `-t decklink:help`.
138138

139139
The **\<compression\>** specifies the selected video compression to be

cuda_dxt/rgb2dxt1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ int main(int argc, char** argv) {
8484
return -1;
8585
}
8686

87-
/* prepare envents for time emasurement and begin */
87+
/* prepare events for time emasurement and begin */
8888
cudaEventCreate(&event_end);
8989
cudaEventCreate(&event_begin);
9090
cudaEventRecord(event_begin, 0);

cuda_dxt/rgb2dxt6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ int main(int argc, char** argv) {
8080
return -1;
8181
}
8282

83-
/* prepare envents for time emasurement and begin */
83+
/* prepare events for time emasurement and begin */
8484
cudaEventCreate(&event_end);
8585
cudaEventCreate(&event_begin);
8686
cudaEventRecord(event_begin, 0);

doc/PERFORMANCE-TUNING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Display devices
7373

7474
If you intend to use some of DXT compressions, recommended driver
7575
is OpenGL, which can display it natively. When using other display
76-
drivers, decompression is still done throught OpenGL and then displayed
76+
drivers, decompression is still done through OpenGL and then displayed
7777
with requested video driver.
7878

7979

@@ -87,7 +87,7 @@ Other Factors
8787

8888
The UltraGrid system will attempt to enable POSIX real-time scheduling
8989
to improve performance. This behaviour is disabled by default now, because
90-
it can occupy the whole system when enabled, but it can be stil enabled by
90+
it can occupy the whole system when enabled, but it can be still enabled by
9191
'--enable-rt' configure option. If you see the message:
9292

9393
WARNING: Unable to set real-time scheduling

doc/REPORTING-BUGS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ There are couple of ways to report a problem:
55
- you can use [GitHub issues](https://github.com/CESNET/UltraGrid/issues)
66
for reporting bugs. You need to register, but it is only matter
77
of filling username and password.
8-
- alternativey you can use our an e-mail conference ultragrid-dev _\_at\__
8+
- alternatively you can use our an e-mail conference ultragrid-dev _\_at\__
99
cesnet.cz which leads to developers of UltraGrid
1010
- if not sure if the problem is a bug, you can also use
1111
[GitHub discussions](https://github.com/CESNET/UltraGrid/discussions)
@@ -63,7 +63,7 @@ to collect data about a computer and attach its result (Linux/macOS).
6363
a _core dump_ (if generated) and the _binary_ (if you compiled by yourself,
6464
otherwise the _executable version_). If core dump is not generated, a
6565
_backtrace_ (see below) might have been generated to standard error output so
66-
please attach this. Also the terminal output containg the _error context_ would
66+
please attach this. Also the terminal output containing the _error context_ would
6767
be helpful.
6868

6969
## Decoding stacktrace (Linux)

dxt_compress/dxt_common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ dxt_init();
102102
/**
103103
* Load RGB image from file
104104
*
105-
* @param filaname Image filename
105+
* @param filename Image filename
106106
* @param width Image width in pixels
107107
* @param height Image height in pixels
108108
* @return image data buffer or zero if fails
@@ -113,7 +113,7 @@ dxt_image_load_from_file(const char* filename, int width, int height, DXT_IMAGE_
113113
/**
114114
* Load RGB image from file
115115
*
116-
* @param filaname Image filename
116+
* @param filename Image filename
117117
* @param width Image width in pixels
118118
* @param height Image height in pixels
119119
* @return image data buffer or zero if fails
@@ -124,7 +124,7 @@ dxt_image_save_to_file(const char* filename, DXT_IMAGE_TYPE* image, int width, i
124124
/**
125125
* Load compressed image from file
126126
*
127-
* @param filaname Image filename
127+
* @param filename Image filename
128128
* @param width Image width in pixels
129129
* @param height Image height in pixels
130130
* @return 0 if succeeds, otherwise nonzero

gui/QT/util/control_port.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ControlPort::ControlPort(){
1212
}
1313

1414
void ControlPort::connect(int local_port){
15-
/* Prevents failure in case the socket is alredy connecting. This also
15+
/* Prevents failure in case the socket is already connecting. This also
1616
* discards pending data in the send buffer, but we don't care about
1717
* that.*/
1818
socket.abort();

ldgm/matrix-gen/ldpc-matrix.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void left_matrix_init ( char **matrix, int k, int n, int N1, int seed )
4343
int j; /* Column index */
4444
int h; /* Temporary variable */
4545
int t; /* Left limit within the list of possible choices u[] */
46-
int u[3*LDGM_MAX_K]; /* A table used to have a homogenous 1 distribution. */
46+
int u[3*LDGM_MAX_K]; /* A table used to have a homogeneous 1 distribution. */
4747

4848
Rand_pmms rand_gen;
4949
rand_gen.seedi(seed);
@@ -53,13 +53,13 @@ void left_matrix_init ( char **matrix, int k, int n, int N1, int seed )
5353
u[h] = h % (n-k);
5454
}
5555

56-
/* Initialize the matrix with N1 "1s" per column, homogenously */
56+
/* Initialize the matrix with N1 "1s" per column, homogeneously */
5757
t = 0;
5858
for ( j = 0; j < k; j++ ) /* for each source symbol column */
5959
{
6060
for ( h = 0; h < N1; h++ ) /* put N1 "1s" */
6161
{
62-
/* Check wether valid available choices remain */
62+
/* Check whether valid available choices remain */
6363
for ( i = t; i < N1*k && matrix [u[i]] [j] ; i++);
6464
if ( i < N1*k )
6565
{

ldgm/src/ldgm-session-cpu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ LDGM_session_cpu::decode_frame ( char* received, int buf_size, int* frame_size,
298298

299299
/* for(map<int, Node>::iterator it = graph.nodes.begin(); it != graph.nodes.end(); ++it) {
300300
* Node n = it->second;
301-
* printf ( "neigbours of %d (count %lu): ", it->first, (it->second).neighbours.size() );
301+
* printf ( "neighbours of %d (count %lu): ", it->first, (it->second).neighbours.size() );
302302
* for(vector<int>::iterator itr = n.neighbours.begin(); itr != n.neighbours.end(); ++itr)
303303
* printf ( "%d ", *itr );
304304
* printf ( "\n" );
@@ -395,7 +395,7 @@ LDGM_session_cpu::decode_frame ( char* received, int buf_size, int* frame_size,
395395
int iter = 0;
396396

397397
while ( needs_decoding(&graph) && iter < 4) {
398-
// printf ( "iteratin\n" );
398+
// printf ( "iterating\n" );
399399
iterate(&graph);
400400
iter++;
401401
}

0 commit comments

Comments
 (0)