| * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
| * Use of this source code is governed by a BSD-style license |
| * that can be found in the LICENSE file in the root of the source |
| * tree. An additional intellectual property rights grant can be found |
| * in the file PATENTS. All contributing project authors may |
| * be found in the AUTHORS file in the root of the source tree. |
| #ifndef WEBRTC_SDK_ANDROID_SRC_JNI_VIDEO_JNI_H_ |
| #define WEBRTC_SDK_ANDROID_SRC_JNI_VIDEO_JNI_H_ |
| #include "webrtc/base/scoped_ref_ptr.h" |
| class WebRtcVideoEncoderFactory; |
| class WebRtcVideoDecoderFactory; |
| class SurfaceTextureHelper; |
| cricket::WebRtcVideoEncoderFactory* CreateVideoEncoderFactory( |
| jobject j_encoder_factory); |
| cricket::WebRtcVideoDecoderFactory* CreateVideoDecoderFactory( |
| jobject j_decoder_factory); |
| jobject GetJavaSurfaceTextureHelper( |
| const rtc::scoped_refptr<SurfaceTextureHelper>& surface_texture_helper); |
| } // namespace webrtc_jni |
| #endif // WEBRTC_SDK_ANDROID_SRC_JNI_VIDEO_JNI_H_ |