Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 1 | /* |
| 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 | |
| 11 | package org.webrtc; |
| 12 | |
| 13 | /** |
| 14 | * Wraps a native webrtc::VideoDecoder. |
| 15 | */ |
Xavier Lepaul | 6e9d0d3 | 2019-11-21 16:10:22 +0100 | [diff] [blame^] | 16 | public abstract class WrappedNativeVideoDecoder implements VideoDecoder { |
Rasmus Brandt | 42a2fc9 | 2018-07-09 13:38:01 +0200 | [diff] [blame] | 17 | @Override public abstract long createNativeVideoDecoder(); |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 18 | |
| 19 | @Override |
Xavier Lepaul | 6e9d0d3 | 2019-11-21 16:10:22 +0100 | [diff] [blame^] | 20 | public final VideoCodecStatus initDecode(Settings settings, Callback decodeCallback) { |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 21 | throw new UnsupportedOperationException("Not implemented."); |
| 22 | } |
| 23 | |
| 24 | @Override |
Xavier Lepaul | 6e9d0d3 | 2019-11-21 16:10:22 +0100 | [diff] [blame^] | 25 | public final VideoCodecStatus release() { |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 26 | throw new UnsupportedOperationException("Not implemented."); |
| 27 | } |
| 28 | |
| 29 | @Override |
Xavier Lepaul | 6e9d0d3 | 2019-11-21 16:10:22 +0100 | [diff] [blame^] | 30 | public final VideoCodecStatus decode(EncodedImage frame, DecodeInfo info) { |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 31 | throw new UnsupportedOperationException("Not implemented."); |
| 32 | } |
| 33 | |
| 34 | @Override |
Xavier Lepaul | 6e9d0d3 | 2019-11-21 16:10:22 +0100 | [diff] [blame^] | 35 | public final boolean getPrefersLateDecoding() { |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 36 | throw new UnsupportedOperationException("Not implemented."); |
| 37 | } |
| 38 | |
| 39 | @Override |
Xavier Lepaul | 6e9d0d3 | 2019-11-21 16:10:22 +0100 | [diff] [blame^] | 40 | public final String getImplementationName() { |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 41 | throw new UnsupportedOperationException("Not implemented."); |
| 42 | } |
Anders Carlsson | dc1b9f1 | 2017-11-10 13:15:04 +0100 | [diff] [blame] | 43 | } |