webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Macros | Functions | Variables
androidvideotracksource_jni.cc File Reference
#include "webrtc/api/videosourceproxy.h"
#include "webrtc/sdk/android/src/jni/androidvideotracksource.h"
#include "webrtc/sdk/android/src/jni/classreferenceholder.h"

Namespaces

 webrtc_jni
 

Macros

#define JOW_OBSERVER_METHOD(rettype, name)   JOW(rettype, VideoCapturer_00024AndroidVideoTrackSourceObserver_##name)
 

Functions

source webrtc_jni::OnByteBufferFrameCaptured (bytes, length, width, height, rotation, timestamp)
 
jni webrtc_jni::ReleaseByteArrayElements (j_frame, bytes, JNI_ABORT)
 
source webrtc_jni::OnTextureFrameCaptured (j_width, j_height, j_rotation, j_timestamp, NativeHandleImpl(jni, j_oes_texture_id, j_transform_matrix))
 
source webrtc_jni::SetState (j_success ? webrtc::AndroidVideoTrackSource::SourceState::kLive :webrtc::AndroidVideoTrackSource::SourceState::kEnded)
 
source webrtc_jni::SetState (webrtc::AndroidVideoTrackSource::SourceState::kEnded)
 
source webrtc_jni::OnOutputFormatRequest (j_width, j_height, j_fps)
 

Variables

JNIEnv jlong webrtc_jni::j_source
 
JNIEnv jlong jbyteArray webrtc_jni::j_frame
 
JNIEnv jlong jbyteArray jint webrtc_jni::length
 
JNIEnv jlong jbyteArray jint jint webrtc_jni::width
 
JNIEnv jlong jbyteArray jint jint jint webrtc_jni::height
 
JNIEnv jlong jbyteArray jint jint jint jint webrtc_jni::rotation
 
JNIEnv jlong jbyteArray jint jint jint jint jlong webrtc_jni::timestamp
 
jbyte * webrtc_jni::bytes = jni->GetByteArrayElements(j_frame, nullptr)
 
JNIEnv jlong jint webrtc_jni::j_width
 
JNIEnv jlong jint jint webrtc_jni::j_height
 
JNIEnv jlong jint jint jint webrtc_jni::j_oes_texture_id
 
JNIEnv jlong jint jint jint jfloatArray webrtc_jni::j_transform_matrix
 
JNIEnv jlong jint jint jint jfloatArray jint webrtc_jni::j_rotation
 
JNIEnv jlong jint jint jint jfloatArray jint jlong webrtc_jni::j_timestamp
 
JNIEnv jlong jboolean webrtc_jni::j_success
 
webrtc::AndroidVideoTrackSourcewebrtc_jni::source
 
JNIEnv jlong jint jint jint webrtc_jni::j_fps
 

Macro Definition Documentation

◆ JOW_OBSERVER_METHOD

#define JOW_OBSERVER_METHOD (   rettype,
  name 
)    JOW(rettype, VideoCapturer_00024AndroidVideoTrackSourceObserver_##name)