Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0b0475e8
authored
Aug 02, 2022
by
Googler
Committed by
microkatz
Aug 02, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Create effect module.
PiperOrigin-RevId: 464767396 (cherry picked from commit
26dcdcf1
)
parent
5668c8a6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
126 additions
and
0 deletions
core_settings.gradle
google3/third_party/java_src/android_libs/media/libraries/effect/README.md
google3/third_party/java_src/android_libs/media/libraries/effect/build.gradle
google3/third_party/java_src/android_libs/media/libraries/effect/src/main/AndroidManifest.xml
google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/package-info.java
google3/third_party/java_src/android_libs/media/libraries/effect/src/test/AndroidManifest.xml
core_settings.gradle
View file @
0b0475e8
...
...
@@ -82,6 +82,9 @@ project(modulePrefix + 'library-extractor').projectDir = new File(rootDir, 'libr
include
modulePrefix
+
'extension-cast'
project
(
modulePrefix
+
'extension-cast'
).
projectDir
=
new
File
(
rootDir
,
'extensions/cast'
)
include
modulePrefix
+
'lib-effect'
project
(
modulePrefix
+
'lib-effect'
).
projectDir
=
new
File
(
rootDir
,
'libraries/effect'
)
include
modulePrefix
+
'library-transformer'
project
(
modulePrefix
+
'library-transformer'
).
projectDir
=
new
File
(
rootDir
,
'library/transformer'
)
...
...
google3/third_party/java_src/android_libs/media/libraries/effect/README.md
0 → 100644
View file @
0b0475e8
# Effect module
Provides functionality for applying effects to video frames.
## Getting the module
The easiest way to get the module is to add it as a gradle dependency:
```
gradle
implementation
'androidx.media3:media3-effect:1.X.X'
```
where
`1.X.X`
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module
locally. Instructions for doing this can be found in the
[
top level README
][]
.
[
top level README
]:
../../README.md
google3/third_party/java_src/android_libs/media/libraries/effect/build.gradle
0 → 100644
View file @
0b0475e8
// Copyright 2022 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
apply
from:
"$gradle.ext.exoplayerSettingsDir/common_library_config.gradle"
android
{
defaultConfig
{
minSdkVersion
18
// The following argument makes the Android Test Orchestrator run its
// "pm clear" command after each test invocation. This command ensures
// that the app's state is completely cleared between tests.
testInstrumentationRunnerArguments
clearPackageData:
'true'
multiDexEnabled
true
}
buildTypes
{
debug
{
testCoverageEnabled
=
true
}
}
sourceSets
{
androidTest
.
assets
.
srcDir
'../test_data/src/test/assets/'
//copybara:media3-only
androidTest
.
assets
.
srcDir
'../../testdata/src/test/assets/'
test
.
assets
.
srcDir
'../../testdata/src/test/assets/'
}
}
ext
{
javadocTitle
=
'Effect module'
}
apply
from:
'../../javadoc_library.gradle'
ext
{
releaseArtifactId
=
'exoplayer-effect'
releaseDescription
=
'The ExoPlayer library effect module.'
}
apply
from:
'../../publish.gradle'
google3/third_party/java_src/android_libs/media/libraries/effect/src/main/AndroidManifest.xml
0 → 100644
View file @
0b0475e8
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2022 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest
package=
"androidx.media3.effect"
>
<uses-sdk
/>
</manifest>
google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/package-info.java
0 → 100644
View file @
0b0475e8
/*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@NonNullApi
package
androidx
.
media3
.
effect
;
import
com.google.android.exoplayer2.util.NonNullApi
;
google3/third_party/java_src/android_libs/media/libraries/effect/src/test/AndroidManifest.xml
0 → 100644
View file @
0b0475e8
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2022 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest
package=
"androidx.media3.effect.test"
>
<uses-sdk/>
</manifest>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment