blob: 7d0908a6ac8efee9b709db6054be055c6aae33e0 [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::VideoEncoder.
15 */
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010016public abstract class WrappedNativeVideoEncoder implements VideoEncoder {
Rasmus Brandt42a2fc92018-07-09 13:38:01 +020017 @Override public abstract long createNativeVideoEncoder();
18 @Override public abstract boolean isHardwareEncoder();
Sami Kalliomäki6196feb2017-11-24 11:00:04 +010019
Anders Carlssondc1b9f12017-11-10 13:15:04 +010020 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010021 public final VideoCodecStatus initEncode(Settings settings, Callback encodeCallback) {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010022 throw new UnsupportedOperationException("Not implemented.");
23 }
24
25 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010026 public final VideoCodecStatus release() {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010027 throw new UnsupportedOperationException("Not implemented.");
28 }
29
30 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010031 public final VideoCodecStatus encode(VideoFrame frame, EncodeInfo info) {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010032 throw new UnsupportedOperationException("Not implemented.");
33 }
34
35 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010036 public final VideoCodecStatus setRateAllocation(BitrateAllocation allocation, int framerate) {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010037 throw new UnsupportedOperationException("Not implemented.");
38 }
39
40 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010041 public final ScalingSettings getScalingSettings() {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010042 throw new UnsupportedOperationException("Not implemented.");
43 }
44
45 @Override
Xavier Lepaul6e9d0d32019-11-21 16:10:22 +010046 public final String getImplementationName() {
Anders Carlssondc1b9f12017-11-10 13:15:04 +010047 throw new UnsupportedOperationException("Not implemented.");
48 }
Anders Carlssondc1b9f12017-11-10 13:15:04 +010049}