OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:surfaceTexture
(Results
1 - 25
of
64
) sorted by null
1
2
3
/frameworks/base/core/jni/android/graphics/
SurfaceTexture.cpp
17
#define LOG_TAG "
SurfaceTexture
"
21
#include <gui/
SurfaceTexture
.h>
37
"android/graphics/
SurfaceTexture
$OutOfResourcesException";
38
const char* const kSurfaceTextureClassPathName = "android/graphics/
SurfaceTexture
";
41
jfieldID
surfaceTexture
;
49
const sp<
SurfaceTexture
>&
surfaceTexture
)
51
SurfaceTexture
* const p =
52
(
SurfaceTexture
*)env->GetIntField(thiz, fields.
surfaceTexture
);
[
all
...]
/frameworks/base/native/include/android/
native_window_jni.h
37
* Return the ANativeWindow associated with a Java
SurfaceTexture
object,
42
ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject
surfaceTexture
);
/external/webkit/Source/WebCore/platform/graphics/android/
MediaTexture.cpp
25
#include <gui/
SurfaceTexture
.h>
160
if (!video->
surfaceTexture
.get() || video->dimensions.isEmpty()
164
video->
surfaceTexture
->updateTexImage();
167
video->
surfaceTexture
->getTransformMatrix(surfaceMatrix);
185
m_contentTexture->
surfaceTexture
->updateTexImage();
187
sp<GraphicBuffer> buf = m_contentTexture->
surfaceTexture
->getCurrentBuffer();
302
wrapper->
surfaceTexture
= new android::
SurfaceTexture
(wrapper->textureId);
303
wrapper->nativeWindow = new android::SurfaceTextureClient(wrapper->
surfaceTexture
);
308
wrapper->
surfaceTexture
,
[
all
...]
MediaListener.h
22
#include <gui/
SurfaceTexture
.h>
46
class MediaListener : public android::
SurfaceTexture
::FrameAvailableListener {
50
const sp<android::
SurfaceTexture
>&
surfaceTexture
,
55
, m_surfaceTexture(
surfaceTexture
)
96
sp<android::
SurfaceTexture
> m_surfaceTexture;
MediaTexture.h
31
class
SurfaceTexture
;
65
sp<android::
SurfaceTexture
>
surfaceTexture
;
/system/media/mca/filterfw/java/android/filterfw/core/
GLEnvironment.java
21
import android.graphics.
SurfaceTexture
;
106
public int registerSurfaceTexture(
SurfaceTexture
surfaceTexture
, int width, int height) {
107
int result = nativeAddSurfaceTexture(
surfaceTexture
, width, height);
109
throw new RuntimeException("Error registering
surfaceTexture
" +
surfaceTexture
+ "!");
167
private native int nativeAddSurfaceTexture(
SurfaceTexture
surface, int width, int height);
/frameworks/base/core/java/android/webkit/
HTML5VideoInline.java
6
import android.graphics.
SurfaceTexture
;
23
private static
SurfaceTexture
mSurfaceTexture = null;
26
//
SurfaceTexture
in order to delete the old video's decoder memory.
45
SurfaceTexture
surfaceTexture
= getSurfaceTexture(getVideoLayerId());
46
Surface surface = new Surface(
surfaceTexture
);
74
public
SurfaceTexture
getSurfaceTexture(int videoLayerId) {
82
mSurfaceTexture = new
SurfaceTexture
(mTextureNames[0]);
108
private void setFrameAvailableListener(
SurfaceTexture
.OnFrameAvailableListener l) {
/frameworks/base/native/android/
native_window.cpp
35
ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject
surfaceTexture
) {
36
sp<ANativeWindow> win = android_SurfaceTexture_getNativeWindow(env,
surfaceTexture
);
/frameworks/base/include/gui/
SurfaceTextureClient.h
21
#include <gui/
SurfaceTexture
.h>
37
SurfaceTextureClient(const sp<ISurfaceTexture>&
surfaceTexture
);
43
void setISurfaceTexture(const sp<ISurfaceTexture>&
surfaceTexture
);
96
enum { MIN_UNDEQUEUED_BUFFERS =
SurfaceTexture
::MIN_UNDEQUEUED_BUFFERS };
97
enum { NUM_BUFFER_SLOTS =
SurfaceTexture
::NUM_BUFFER_SLOTS };
151
// variables of
SurfaceTexture
objects. It must be locked whenever the
/frameworks/base/core/jni/
android_view_TextureView.cpp
25
#include <gui/
SurfaceTexture
.h>
70
sp<
SurfaceTexture
>
surfaceTexture
(SurfaceTexture_getSurfaceTexture(env, surface));
71
surfaceTexture
->setDefaultBufferSize(width, height);
104
sp<
SurfaceTexture
>
surfaceTexture
(SurfaceTexture_getSurfaceTexture(env, surface));
105
sp<ANativeWindow> window = new SurfaceTextureClient(
surfaceTexture
);
193
{ "nSetDefaultBufferSize", "(Landroid/graphics/
SurfaceTexture
;II)V",
196
{ "nCreateNativeWindow", "(Landroid/graphics/
SurfaceTexture
;)V",
/frameworks/base/include/camera/
ICamera.h
54
const sp<ISurfaceTexture>&
surfaceTexture
) = 0;
/frameworks/base/media/libmediaplayerservice/
StagefrightPlayer.h
45
const sp<ISurfaceTexture> &
surfaceTexture
);
StagefrightPlayer.cpp
79
const sp<ISurfaceTexture> &
surfaceTexture
) {
82
return mPlayer->setSurfaceTexture(
surfaceTexture
);
MidiFile.h
40
const sp<ISurfaceTexture>&
surfaceTexture
)
/system/media/wilhelm/src/android/
android_GenericMediaPlayer.h
74
virtual void setVideoSurfaceTexture(const sp<ISurfaceTexture> &
surfaceTexture
);
android_GenericMediaPlayer.cpp
247
void GenericMediaPlayer::setVideoSurfaceTexture(const sp<ISurfaceTexture> &
surfaceTexture
) {
250
if (mVideoSurfaceTexture.get() ==
surfaceTexture
.get()) {
254
mPlayer->setVideoSurfaceTexture(
surfaceTexture
);
256
mVideoSurfaceTexture =
surfaceTexture
;
/frameworks/base/graphics/java/android/graphics/
SurfaceTexture.java
27
* <p>The image stream may come from either camera preview or video decode. A
SurfaceTexture
31
*
SurfaceTexture
object rather than to the device's display. When {@link #updateTexImage} is
32
* called, the contents of the texture object specified when the
SurfaceTexture
was created are
57
* <p>
SurfaceTexture
objects may be created on any thread. {@link #updateTexImage} may only be
62
public class
SurfaceTexture
{
76
void onFrameAvailable(
SurfaceTexture
surfaceTexture
);
91
* Construct a new
SurfaceTexture
to stream images to a given OpenGL texture.
95
public
SurfaceTexture
(int texName) {
100
* Construct a new
SurfaceTexture
to stream images to a given OpenGL texture
[
all
...]
/frameworks/base/include/media/
IMediaPlayer.h
45
const sp<ISurfaceTexture>&
surfaceTexture
) = 0;
/frameworks/base/libs/camera/
Camera.cpp
187
status_t Camera::setPreviewTexture(const sp<ISurfaceTexture>&
surfaceTexture
)
189
LOGV("setPreviewTexture(%p)",
surfaceTexture
.get());
192
if (
surfaceTexture
!= 0) {
193
return c->setPreviewTexture(
surfaceTexture
);
/frameworks/base/libs/gui/
ISurfaceComposer.cpp
143
const sp<ISurfaceTexture>&
surfaceTexture
) const
154
err = data.writeStrongBinder(
surfaceTexture
->asBinder());
250
sp<ISurfaceTexture>
surfaceTexture
=
252
int32_t result = authenticateSurfaceTexture(
surfaceTexture
) ? 1 : 0;
Surface.cpp
258
"mSurface = %p,
surfaceTexture
= %p, mIdentity = %d, ",
304
void Surface::init(const sp<ISurfaceTexture>&
surfaceTexture
)
306
if (mSurface != NULL ||
surfaceTexture
!= NULL) {
307
LOGE_IF(
surfaceTexture
==0, "got a NULL ISurfaceTexture from ISurface");
308
if (
surfaceTexture
!= NULL) {
309
setISurfaceTexture(
surfaceTexture
);
/frameworks/base/media/libmediaplayerservice/nuplayer/
NuPlayerDriver.h
42
const sp<ISurfaceTexture> &
surfaceTexture
);
NuPlayer.h
46
void setVideoSurfaceTexture(const sp<ISurfaceTexture> &
surfaceTexture
);
/frameworks/base/core/java/android/view/
Surface.java
39
* Create Surface from a {@link
SurfaceTexture
}.
42
*
SurfaceTexture
}, which can attach them an OpenGL ES texture via {@link
43
*
SurfaceTexture
#updateTexImage}.
45
* @param
surfaceTexture
The {@link
SurfaceTexture
} that is updated by this
48
public Surface(
SurfaceTexture
surfaceTexture
) {
53
initFromSurfaceTexture(
surfaceTexture
);
516
private native void initFromSurfaceTexture(
SurfaceTexture
surfaceTexture
);
[
all
...]
/system/media/mca/filterfw/jni/
jni_gl_environment.cpp
195
jobject
surfaceTexture
,
199
if (!
surfaceTexture
) {
200
LOGE("GLEnvironment: Null
SurfaceTexture
passed!");
204
ANativeWindow* window = ANativeWindow_fromSurfaceTexture(env,
surfaceTexture
);
210
// Don't care about format (will get overridden by
SurfaceTexture
Completed in 884 milliseconds
1
2
3