Home
last modified time | relevance | path

Searched refs:yuvTextures (Results 1 – 17 of 17) sorted by relevance

/external/skia/gm/
Dimagefromyuvtextures.cpp107 void createYUVTextures(GrContext* context, GrBackendTexture yuvTextures[3]) { in createYUVTextures()
115 yuvTextures[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), in createYUVTextures()
165 GrBackendTexture yuvTextures[3]; in onDraw() local
166 this->createYUVTextures(context, yuvTextures); in onDraw()
169 yuvTextures, in onDraw()
171 this->deleteBackendTextures(context, yuvTextures, 3); in onDraw()
184 GrBackendTexture yuvTextures[3]; in onDraw() local
186 this->createYUVTextures(context, yuvTextures); in onDraw()
188 context, yuvTextures[0].width(), yuvTextures[0].height(), &resultTexture); in onDraw()
192 yuvTextures, in onDraw()
[all …]
/external/skqp/gm/
Dimagefromyuvtextures.cpp96 void createYUVTextures(GrContext* context, GrBackendTexture yuvTextures[3]) { in createYUVTextures()
108 yuvTextures[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), in createYUVTextures()
168 GrBackendTexture yuvTextures[3]; in onDraw() local
169 this->createYUVTextures(context, yuvTextures); in onDraw()
172 yuvTextures, in onDraw()
174 this->deleteBackendTextures(context, yuvTextures, 3); in onDraw()
186 GrBackendTexture yuvTextures[3]; in onDraw() local
188 this->createYUVTextures(context, yuvTextures); in onDraw()
190 context, yuvTextures[0].width(), yuvTextures[0].height(), &resultTexture); in onDraw()
194 yuvTextures, in onDraw()
[all …]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DSurfaceViewRenderer.java72 private int[] yuvTextures = null; field in SurfaceViewRenderer
225 if (yuvTextures != null) { in release()
226 GLES20.glDeleteTextures(3, yuvTextures, 0); in release()
227 yuvTextures = null; in release()
501 if (yuvTextures == null) { in renderFrameOnRenderThread()
502 yuvTextures = new int[3]; in renderFrameOnRenderThread()
504 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in renderFrameOnRenderThread()
508 yuvTextures, frame.width, frame.height, frame.yuvStrides, frame.yuvPlanes); in renderFrameOnRenderThread()
509 drawer.drawYuv(yuvTextures, texMatrix, 0, 0, surfaceSize.x, surfaceSize.y); in renderFrameOnRenderThread()
DGlRectDrawer.java168 public void drawYuv(int[] yuvTextures, float[] texMatrix, int x, int y, int width, int height) { in drawYuv() argument
173 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in drawYuv()
DVideoRendererGui.java99 private int[] yuvTextures = { 0, 0, 0 }; field in VideoRendererGui.YuvImageRenderer
193 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in createTextures()
250 yuvUploader.uploadYuvData(yuvTextures, pendingFrame.width, pendingFrame.height, in draw()
283 drawer.drawYuv(yuvTextures, texMatrix, in draw()
DRendererCommon.java62 void drawYuv(int[] yuvTextures, float[] texMatrix, int x, int y, int width, int height); in drawYuv() argument
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java149 final int yuvTextures[] = new int[3]; in testYuvRendering() local
151 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in testYuvRendering()
157 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in testYuvRendering()
165 drawer.drawYuv(yuvTextures, RendererCommon.identityMatrix(), 0, 0, WIDTH, HEIGHT); in testYuvRendering()
201 GLES20.glDeleteTextures(3, yuvTextures, 0); in testYuvRendering()
/external/skqp/src/image/
DSkImage_Gpu.cpp275 const GrBackendTexture yuvTextures[3], in MakeFromYUVTexturesCopy()
284 SkISize size{yuvTextures[0].width(), yuvTextures[0].height()}; in MakeFromYUVTexturesCopy()
285 return SkImage_Gpu::MakeFromYUVATexturesCopy(ctx, yuvColorSpace, yuvTextures, yuvaIndices, in MakeFromYUVTexturesCopy()
290 GrContext* ctx, SkYUVColorSpace yuvColorSpace, const GrBackendTexture yuvTextures[3], in MakeFromYUVTexturesCopyWithExternalBackend()
298 SkISize size{yuvTextures[0].width(), yuvTextures[0].height()}; in MakeFromYUVTexturesCopyWithExternalBackend()
300 ctx, yuvColorSpace, yuvTextures, yuvaIndices, size, imageOrigin, backendTexture, in MakeFromYUVTexturesCopyWithExternalBackend()
DSkImage.cpp426 GrContext* context, SkYUVColorSpace yuvColorSpace, const GrBackendTexture yuvTextures[3], in MakeFromYUVTexturesCopyWithExternalBackend()
/external/skia/src/image/
DSkImage_Gpu.cpp285 const GrBackendTexture yuvTextures[3], in MakeFromYUVTexturesCopy()
294 SkISize size{yuvTextures[0].width(), yuvTextures[0].height()}; in MakeFromYUVTexturesCopy()
295 return SkImage_Gpu::MakeFromYUVATexturesCopy(ctx, yuvColorSpace, yuvTextures, yuvaIndices, in MakeFromYUVTexturesCopy()
300 GrContext* ctx, SkYUVColorSpace yuvColorSpace, const GrBackendTexture yuvTextures[3], in MakeFromYUVTexturesCopyWithExternalBackend()
308 SkISize size{yuvTextures[0].width(), yuvTextures[0].height()}; in MakeFromYUVTexturesCopyWithExternalBackend()
310 ctx, yuvColorSpace, yuvTextures, yuvaIndices, size, imageOrigin, backendTexture, in MakeFromYUVTexturesCopyWithExternalBackend()
DSkImage.cpp448 GrContext* context, SkYUVColorSpace yuvColorSpace, const GrBackendTexture yuvTextures[3], in MakeFromYUVTexturesCopyWithExternalBackend()
/external/skqp/include/core/
DSkImage.h467 const GrBackendTexture yuvTextures[3],
475 const GrBackendTexture yuvTextures[3], GrSurfaceOrigin imageOrigin,
/external/skia/include/core/
DSkImage.h469 const GrBackendTexture yuvTextures[3],
477 const GrBackendTexture yuvTextures[3], GrSurfaceOrigin imageOrigin,
/external/skqp/docs/
DSkImage_Reference.bmh547 const GrBackendTexture yuvTextures[3],
565 const GrBackendTexture yuvTextures[3], GrSurfaceOrigin imageOrigin,
/external/skia/docs/
DSkImage_Reference.bmh527 const GrBackendTexture yuvTextures[3],
545 const GrBackendTexture yuvTextures[3], GrSurfaceOrigin imageOrigin,
/external/skqp/site/user/api/
DSkImage_Reference.md85 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
90 …const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3], <a href='undocu…
1165 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
1183 …> yuvColorSpace, const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
/external/skia/site/user/api/
DSkImage_Reference.md85 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
90 …const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3], <a href='undocu…
1165 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
1183 …> yuvColorSpace, const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],