Fix spelling errors

calcultor -> calculator
hander -> handler
initilize -> initialize
timstamp -> timestamp
transfomration -> transformation
This commit is contained in:
Sungmann Cho 2019-08-27 00:18:17 +09:00
parent 731d2b9536
commit 18f6d203a9
16 changed files with 18 additions and 18 deletions

View File

@ -61,7 +61,7 @@ ordering and ignores packet timestamps, which will eliminate this inconvenience.
By default, MediaPipe calls the `Close()` method of a non-source calculator when
all of its input streams are done. In the example graph, we want to stop the
adder node as soon as the integer source is done. This is accomplished by
configuring the adder node with an alternative input stream hander,
configuring the adder node with an alternative input stream handler,
`EarlyCloseInputStreamHandler`.
## Relevant Source Code

View File

@ -643,7 +643,7 @@ Initialize the asset manager in `onCreate(Bundle)` before initializing
`eglManager`:
```
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);
```

View File

@ -41,7 +41,7 @@ When the library for a calculator is linked into an application binary, the
calculator is automatically registered by name through the
[`REGISTER_CALCULATOR`] macro using the [`registration.h`] library. Note that
[`REGISTER_CALCULATOR`] can register a calculator with a namespace prefix,
identical to its C++ namespace. In this case, the calcultor graph must also use
identical to its C++ namespace. In this case, the calculator graph must also use
the same namespace prefix.
## Out Of Memory error

View File

@ -75,7 +75,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
previewDisplayView = new SurfaceView(this);
setupPreviewDisplayView();
// Initilize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// Initialize asset manager so that MediaPipe native libraries can access the app assets, e.g.,
// binary graphs.
AndroidAssetUtil.initializeNativeAssetManager(this);

View File

@ -32,7 +32,7 @@ namespace mediapipe {
namespace {
// Shows validation success for a graph and a subgraph.
TEST(ValidatedGraphConfigTest, InitilizeGraphFromProtos) {
TEST(ValidatedGraphConfigTest, InitializeGraphFromProtos) {
auto config_1 = ParseTextProtoOrDie<CalculatorGraphConfig>(R"(
type: "PassThroughGraph"
input_stream: "INPUT:stream_1"
@ -102,7 +102,7 @@ TEST(ValidatedGraphConfigTest, InitilizeGraphFromProtos) {
}
// Shows validation failure due to an unregistered subgraph.
TEST(ValidatedGraphConfigTest, InitilizeGraphFromLinker) {
TEST(ValidatedGraphConfigTest, InitializeGraphFromLinker) {
EXPECT_FALSE(SubgraphRegistry::IsRegistered("DubQuadTestSubgraph"));
ValidatedGraphConfig builder_1;
::mediapipe::Status status_1 =
@ -114,7 +114,7 @@ TEST(ValidatedGraphConfigTest, InitilizeGraphFromLinker) {
}
// Shows validation success for a graph and a template subgraph.
TEST(ValidatedGraphConfigTest, InitilizeTemplateFromProtos) {
TEST(ValidatedGraphConfigTest, InitializeTemplateFromProtos) {
mediapipe::tool::TemplateParser::Parser parser;
CalculatorGraphTemplate config_1;
CHECK(parser.ParseFromString(R"(

View File

@ -362,7 +362,7 @@ class GlContextProfilerStub {
// Not copyable or movable.
GlContextProfilerStub(const GlContextProfilerStub&) = delete;
GlContextProfilerStub& operator=(const GlContextProfilerStub&) = delete;
bool Initialze() { return false; }
bool Initialize() { return false; }
void MarkTimestamp(int node_id, Timestamp input_timestamp, bool is_finish) {}
void LogAllTimestamps() {}
};

View File

@ -111,7 +111,7 @@ class GlContextProfilerStub {
// Not copyable or movable.
GlContextProfilerStub(const GlContextProfilerStub&) = delete;
GlContextProfilerStub& operator=(const GlContextProfilerStub&) = delete;
bool Initialze() { return false; }
bool Initialize() { return false; }
void MarkTimestamp(int node_id, Timestamp input_timestamp, bool is_finish) {}
void LogAllTimestamps() {}
};

View File

@ -88,7 +88,7 @@ public class ExternalTextureConverter implements TextureFrameProducer {
* Sets the input surface texture.
*
* <p>The provided width and height will be the size of the converted texture, so if the input
* surface texture is rotated (as expressed by its transfomration matrix) the provided width and
* surface texture is rotated (as expressed by its transformation matrix) the provided width and
* height should be swapped.
*/
// TODO: Clean up setSurfaceTexture methods.

View File

@ -82,7 +82,7 @@ class BasePacketProcessor {
// Corrects the given PTS for MPEG PTS rollover. Assumed to be called with
// the PTS of each frame in decode order. We detect a rollover whenever the
// PTS timestamp changes by more than 2^33/2 (half the timstamp space). For
// PTS timestamp changes by more than 2^33/2 (half the timestamp space). For
// video this means every 26.5h with 1 PTS tick = 1/90000 of a second.
// Example timeline:
// CorrectPtsForRollover(0) -> 0