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 */ 16 public abstract class WrappedNativeVideoDecoder implements VideoDecoder { createNativeVideoDecoder()17 @Override public abstract long createNativeVideoDecoder(); 18 19 @Override initDecode(Settings settings, Callback decodeCallback)20 public final VideoCodecStatus initDecode(Settings settings, Callback decodeCallback) { 21 throw new UnsupportedOperationException("Not implemented."); 22 } 23 24 @Override release()25 public final VideoCodecStatus release() { 26 throw new UnsupportedOperationException("Not implemented."); 27 } 28 29 @Override decode(EncodedImage frame, DecodeInfo info)30 public final VideoCodecStatus decode(EncodedImage frame, DecodeInfo info) { 31 throw new UnsupportedOperationException("Not implemented."); 32 } 33 34 @Override getPrefersLateDecoding()35 public final boolean getPrefersLateDecoding() { 36 throw new UnsupportedOperationException("Not implemented."); 37 } 38 39 @Override getImplementationName()40 public final String getImplementationName() { 41 throw new UnsupportedOperationException("Not implemented."); 42 } 43 } 44