diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2011-09-30 17:52:15 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2011-10-03 17:49:38 -0700 |
commit | d5ec81fea464e1f9db3cb06f7db3de3cf2e3be94 (patch) | |
tree | c74bd71761f0f54251affe1d9cdded2c81a5a089 /res/raw | |
parent | d519d3bff76107eda37dfc81b6d1a7c6e0091e42 (diff) | |
download | LegacyCamera-d5ec81fea464e1f9db3cb06f7db3de3cf2e3be94.zip LegacyCamera-d5ec81fea464e1f9db3cb06f7db3de3cf2e3be94.tar.gz LegacyCamera-d5ec81fea464e1f9db3cb06f7db3de3cf2e3be94.tar.bz2 |
Add support for rotating background video based on device orientation.
Bug: 5355973
Change-Id: I5c0145a717c22b9423341988b90c4962ad333337
Diffstat (limited to 'res/raw')
-rw-r--r-- | res/raw/backdropper.graph | 3 | ||||
-rw-r--r-- | res/raw/goofy_face.graph | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/res/raw/backdropper.graph b/res/raw/backdropper.graph index e3fe877..25c86e6 100644 --- a/res/raw/backdropper.graph +++ b/res/raw/backdropper.graph @@ -35,6 +35,8 @@ @external previewWidth; @external previewHeight; +@external orientation; + @external learningDoneListener; // Filters --------------------------------------------------- @@ -52,6 +54,7 @@ sourceUrl = "no_file_specified"; waitForNewFrame = false; sourceIsUrl = true; + orientation = $orientation; } // Background replacer diff --git a/res/raw/goofy_face.graph b/res/raw/goofy_face.graph index e346322..430c811 100644 --- a/res/raw/goofy_face.graph +++ b/res/raw/goofy_face.graph @@ -37,6 +37,10 @@ @external previewWidth; @external previewHeight; +// Not used by this graph, but simplifies higher-level +// graph initialization code. +@external orientation; + // Filters --------------------------------------------------- // Camera input |