OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SurfaceTextureHelper
(Results
1 - 10
of
10
) sorted by null
/external/webrtc/talk/app/webrtc/java/jni/
surfacetexturehelper_jni.cc
38
SurfaceTextureHelper
::
SurfaceTextureHelper
(
43
FindClass(jni, "org/webrtc/
SurfaceTextureHelper
"),
46
CHECK_EXCEPTION(jni) << "error during initialization of
SurfaceTextureHelper
";
49
SurfaceTextureHelper
::~
SurfaceTextureHelper
() {
52
void
SurfaceTextureHelper
::ReturnTextureFrame() const {
57
jni) << "error during
SurfaceTextureHelper
.returnTextureFrame";
61
SurfaceTextureHelper
::CreateTextureFrame(int width, int height,
65
rtc::Bind(&
SurfaceTextureHelper
::ReturnTextureFrame, this))
[
all
...]
surfacetexturehelper_jni.h
46
// java
SurfaceTextureHelper
so it can be updated safely. The VideoFrameBuffer
48
//
SurfaceTextureHelper
is reference counted to make sure that it is not
50
// This class is the C++ counterpart of the java class
SurfaceTextureHelper
.
52
// 1. Create an java instance of
SurfaceTextureHelper
.
57
class
SurfaceTextureHelper
: public rtc::RefCountInterface {
59
SurfaceTextureHelper
(JNIEnv* jni, jobject surface_texture_helper);
67
~
SurfaceTextureHelper
();
androidvideocapturer_jni.h
44
class
SurfaceTextureHelper
;
97
rtc::scoped_refptr<
SurfaceTextureHelper
> surface_texture_helper_;
androidvideocapturer_jni.cc
62
surface_texture_helper_(new rtc::RefCountedObject<
SurfaceTextureHelper
>(
androidmediadecoder_jni.cc
125
rtc::scoped_refptr<
SurfaceTextureHelper
> surface_texture_helper_;
199
"IILorg/webrtc/
SurfaceTextureHelper
;)Z");
326
FindClass(jni, "org/webrtc/
SurfaceTextureHelper
"),
328
FindClass(jni, "org/webrtc/
SurfaceTextureHelper
"),
331
"Lorg/webrtc/
SurfaceTextureHelper
;"),
334
surface_texture_helper_ = new rtc::RefCountedObject<
SurfaceTextureHelper
>(
[
all
...]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
SurfaceTextureHelperTest.java
45
implements
SurfaceTextureHelper
.OnTextureFrameAvailableListener {
122
// Create
SurfaceTextureHelper
and listener.
123
final
SurfaceTextureHelper
surfaceTextureHelper
=
124
SurfaceTextureHelper
.create(eglBase.getEglBaseContext());
126
surfaceTextureHelper
.setListener(listener);
127
surfaceTextureHelper
.getSurfaceTexture().setDefaultBufferSize(width, height);
130
// |
surfaceTextureHelper
| as the target EGLSurface.
133
eglOesBase.createSurface(
surfaceTextureHelper
.getSurfaceTexture());
154
surfaceTextureHelper
.returnTextureFrame()
[
all
...]
GlRectDrawerTest.java
209
* - Create SurfaceTexture with help from
SurfaceTextureHelper
.
270
final
SurfaceTextureHelper
surfaceTextureHelper
=
271
SurfaceTextureHelper
.create(eglBase.getEglBaseContext());
273
eglBase.getEglBaseContext(),
surfaceTextureHelper
.getSurfaceTexture(), WIDTH, HEIGHT);
276
surfaceTextureHelper
.setListener(listener);
302
surfaceTextureHelper
.returnTextureFrame();
304
surfaceTextureHelper
.disconnect();
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
SurfaceTextureHelper.java
54
class
SurfaceTextureHelper
{
55
private static final String TAG = "
SurfaceTextureHelper
";
59
* lifetime of the
SurfaceTextureHelper
instance, but different from the thread calling the
60
*
SurfaceTextureHelper
constructor. The callee is not allowed to make another EGLContext current
68
public static
SurfaceTextureHelper
create(EglBase.Context sharedContext) {
73
* Construct a new
SurfaceTextureHelper
sharing OpenGL resources with |sharedContext|. If
77
public static
SurfaceTextureHelper
create(final EglBase.Context sharedContext,
89
// Therefore, in order to control the callback thread on API lvl < 21, the
SurfaceTextureHelper
91
return ThreadUtils.invokeUninterruptibly(finalHandler, new Callable<
SurfaceTextureHelper
>() {
92
@Override public
SurfaceTextureHelper
call()
[
all
...]
VideoCapturerAndroid.java
67
SurfaceTextureHelper
.OnTextureFrameAvailableListener {
98
final
SurfaceTextureHelper
surfaceHelper; // Package visible for testing purposes.
336
surfaceHelper =
SurfaceTextureHelper
.create(sharedContext, cameraThreadHandler);
792
SurfaceTextureHelper
surfaceHelper);
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
MediaCodecVideoDecoder.java
230
// Pass null in |
surfaceTextureHelper
| to configure the codec for ByteBuffer output.
232
VideoCodecType type, int width, int height,
SurfaceTextureHelper
surfaceTextureHelper
) {
236
useSurface = (
surfaceTextureHelper
!= null);
267
textureListener = new TextureListener(
surfaceTextureHelper
);
268
surface = new Surface(
surfaceTextureHelper
.getSurfaceTexture());
436
implements
SurfaceTextureHelper
.OnTextureFrameAvailableListener {
437
private final
SurfaceTextureHelper
surfaceTextureHelper
;
445
public TextureListener(
SurfaceTextureHelper
surfaceTextureHelper)
[
all
...]
Completed in 347 milliseconds