• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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::VideoEncoder.
15  */
16 public abstract class WrappedNativeVideoEncoder implements VideoEncoder {
createNativeVideoEncoder()17   @Override public abstract long createNativeVideoEncoder();
isHardwareEncoder()18   @Override public abstract boolean isHardwareEncoder();
19 
20   @Override
initEncode(Settings settings, Callback encodeCallback)21   public final VideoCodecStatus initEncode(Settings settings, Callback encodeCallback) {
22     throw new UnsupportedOperationException("Not implemented.");
23   }
24 
25   @Override
release()26   public final VideoCodecStatus release() {
27     throw new UnsupportedOperationException("Not implemented.");
28   }
29 
30   @Override
encode(VideoFrame frame, EncodeInfo info)31   public final VideoCodecStatus encode(VideoFrame frame, EncodeInfo info) {
32     throw new UnsupportedOperationException("Not implemented.");
33   }
34 
35   @Override
setRateAllocation(BitrateAllocation allocation, int framerate)36   public final VideoCodecStatus setRateAllocation(BitrateAllocation allocation, int framerate) {
37     throw new UnsupportedOperationException("Not implemented.");
38   }
39 
40   @Override
getScalingSettings()41   public final ScalingSettings getScalingSettings() {
42     throw new UnsupportedOperationException("Not implemented.");
43   }
44 
45   @Override
getImplementationName()46   public final String getImplementationName() {
47     throw new UnsupportedOperationException("Not implemented.");
48   }
49 }
50