Rename corresponding libaom_av1_encoder_if_supported java buildtargets.
This is in preparation to introduce new java buildtargets that will use the `libaom_av1_encoder` buildtarget instead. bug: webrtc:13573 Change-Id: I23e80653943ede576657acc17bcc5602cb0a4d5d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/254540 Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36171}
This commit is contained in:
27
sdk/android/api/org/webrtc/LibaomAv1EncoderIfSupported.java
Normal file
27
sdk/android/api/org/webrtc/LibaomAv1EncoderIfSupported.java
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
package org.webrtc;
|
||||
|
||||
public class LibaomAv1EncoderIfSupported extends WrappedNativeVideoEncoder {
|
||||
@Override
|
||||
public long createNativeVideoEncoder() {
|
||||
return nativeCreateEncoder();
|
||||
}
|
||||
|
||||
static native long nativeCreateEncoder();
|
||||
|
||||
@Override
|
||||
public boolean isHardwareEncoder() {
|
||||
return false;
|
||||
}
|
||||
|
||||
static native boolean nativeIsSupported();
|
||||
}
|
||||
Reference in New Issue
Block a user