2017-11-10 13:15:04 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2017 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;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Wraps a native webrtc::VideoDecoder.
|
|
|
|
|
*/
|
2019-11-21 16:10:22 +01:00
|
|
|
public abstract class WrappedNativeVideoDecoder implements VideoDecoder {
|
2024-02-06 21:31:44 +01:00
|
|
|
// TODO: bugs.webrtc.org/15791 - uncomment when implemented by all
|
|
|
|
|
// derived classes instead of the createNativeVideoDecoder
|
|
|
|
|
// @Override public abstract long createNative(long webrtcEnvRef);
|
2017-11-10 13:15:04 +01:00
|
|
|
|
|
|
|
|
@Override
|
2019-11-21 16:10:22 +01:00
|
|
|
public final VideoCodecStatus initDecode(Settings settings, Callback decodeCallback) {
|
2017-11-10 13:15:04 +01:00
|
|
|
throw new UnsupportedOperationException("Not implemented.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2019-11-21 16:10:22 +01:00
|
|
|
public final VideoCodecStatus release() {
|
2017-11-10 13:15:04 +01:00
|
|
|
throw new UnsupportedOperationException("Not implemented.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2019-11-21 16:10:22 +01:00
|
|
|
public final VideoCodecStatus decode(EncodedImage frame, DecodeInfo info) {
|
2017-11-10 13:15:04 +01:00
|
|
|
throw new UnsupportedOperationException("Not implemented.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2019-11-21 16:10:22 +01:00
|
|
|
public final String getImplementationName() {
|
2017-11-10 13:15:04 +01:00
|
|
|
throw new UnsupportedOperationException("Not implemented.");
|
|
|
|
|
}
|
|
|
|
|
}
|