1 /* 2 * Copyright 2018 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 #include "sdk/android/src/jni/video_codec_info.h" 12 13 #include "common_video/h264/profile_level_id.h" 14 #include "sdk/android/generated_video_jni/H264Utils_jni.h" 15 16 namespace webrtc { 17 namespace jni { 18 JNI_H264Utils_IsSameH264Profile(JNIEnv * env,const JavaParamRef<jobject> & params1,const JavaParamRef<jobject> & params2)19static jboolean JNI_H264Utils_IsSameH264Profile( 20 JNIEnv* env, 21 const JavaParamRef<jobject>& params1, 22 const JavaParamRef<jobject>& params2) { 23 return H264::IsSameH264Profile(JavaToNativeStringMap(env, params1), 24 JavaToNativeStringMap(env, params2)); 25 } 26 27 } // namespace jni 28 } // namespace webrtc 29