blob: b70c6649154da837a9735c2bdee54249ef020b57 [file] [log] [blame]
Anders Carlssondc1b9f12017-11-10 13:15:04 +01001/*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11package org.webrtc;
12
13/**
14 * Wraps a native webrtc::VideoDecoder.
15 */
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010016public abstract class WrappedNativeVideoDecoder implements VideoDecoder {
Rasmus Brandt42a2fc92018-07-09 13:38:01 +020017 @Override public abstract long createNativeVideoDecoder();
Anders Carlssondc1b9f12017-11-10 13:15:04 +010018
19 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010020 public final VideoCodecStatus initDecode(Settings settings, Callback decodeCallback) {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010021 throw new UnsupportedOperationException("Not implemented.");
22 }
23
24 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010025 public final VideoCodecStatus release() {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010026 throw new UnsupportedOperationException("Not implemented.");
27 }
28
29 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010030 public final VideoCodecStatus decode(EncodedImage frame, DecodeInfo info) {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010031 throw new UnsupportedOperationException("Not implemented.");
32 }
33
34 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010035 public final boolean getPrefersLateDecoding() {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010036 throw new UnsupportedOperationException("Not implemented.");
37 }
38
39 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010040 public final String getImplementationName() {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010041 throw new UnsupportedOperationException("Not implemented.");
42 }
Anders Carlssondc1b9f12017-11-10 13:15:04 +010043}