mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Remove unnecessary types in lambda
PiperOrigin-RevId: 559745329
This commit is contained in:
parent
a6f9fefb88
commit
8c1bedb483
1 changed files with 8 additions and 11 deletions
|
|
@ -40,7 +40,6 @@ import androidx.media3.common.C;
|
||||||
import androidx.media3.common.ColorInfo;
|
import androidx.media3.common.ColorInfo;
|
||||||
import androidx.media3.common.Effect;
|
import androidx.media3.common.Effect;
|
||||||
import androidx.media3.common.GlObjectsProvider;
|
import androidx.media3.common.GlObjectsProvider;
|
||||||
import androidx.media3.common.GlTextureInfo;
|
|
||||||
import androidx.media3.common.VideoFrameProcessingException;
|
import androidx.media3.common.VideoFrameProcessingException;
|
||||||
import androidx.media3.common.util.GlUtil;
|
import androidx.media3.common.util.GlUtil;
|
||||||
import androidx.media3.common.util.Util;
|
import androidx.media3.common.util.Util;
|
||||||
|
|
@ -648,11 +647,10 @@ public final class DefaultVideoCompositorPixelTest {
|
||||||
compositorEnded.countDown();
|
compositorEnded.countDown();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* textureOutputListener= */ (GlTextureInfo outputTexture,
|
/* textureOutputListener= */ (outputTexture,
|
||||||
long presentationTimeUs,
|
presentationTimeUs,
|
||||||
DefaultVideoFrameProcessor.ReleaseOutputTextureCallback
|
releaseOutputTextureCallback,
|
||||||
releaseOutputTextureCallback,
|
syncObject) -> {
|
||||||
long syncObject) -> {
|
|
||||||
if (!useSharedExecutor) {
|
if (!useSharedExecutor) {
|
||||||
GlUtil.awaitSyncObject(syncObject);
|
GlUtil.awaitSyncObject(syncObject);
|
||||||
}
|
}
|
||||||
|
|
@ -793,11 +791,10 @@ public final class DefaultVideoCompositorPixelTest {
|
||||||
new DefaultVideoFrameProcessor.Factory.Builder()
|
new DefaultVideoFrameProcessor.Factory.Builder()
|
||||||
.setGlObjectsProvider(glObjectsProvider)
|
.setGlObjectsProvider(glObjectsProvider)
|
||||||
.setTextureOutput(
|
.setTextureOutput(
|
||||||
/* textureOutputListener= */ (GlTextureInfo outputTexture,
|
/* textureOutputListener= */ (outputTexture,
|
||||||
long presentationTimeUs,
|
presentationTimeUs,
|
||||||
DefaultVideoFrameProcessor.ReleaseOutputTextureCallback
|
releaseOutputTextureCallback,
|
||||||
releaseOutputTextureCallback,
|
syncObject) -> {
|
||||||
long syncObject) -> {
|
|
||||||
GlUtil.awaitSyncObject(syncObject);
|
GlUtil.awaitSyncObject(syncObject);
|
||||||
textureBitmapReader.readBitmapUnpremultipliedAlpha(
|
textureBitmapReader.readBitmapUnpremultipliedAlpha(
|
||||||
outputTexture, presentationTimeUs);
|
outputTexture, presentationTimeUs);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue