Home
last modified time | relevance | path

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

/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/sdk/android/api/org/webrtc/
DVideoFrameDrawer.java61 @Nullable private int[] yuvTextures; field in VideoFrameDrawer.YuvUploader
85 if (yuvTextures == null) { in uploadYuvData()
86 yuvTextures = new int[3]; in uploadYuvData()
88 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in uploadYuvData()
94 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in uploadYuvData()
108 return yuvTextures; in uploadYuvData()
120 return yuvTextures; in getYuvTextures()
129 if (yuvTextures != null) { in release()
130 GLES20.glDeleteTextures(3, yuvTextures, 0); in release()
131 yuvTextures = null; in release()
DRendererCommon.java50 void drawYuv(int[] yuvTextures, float[] texMatrix, int frameWidth, int frameHeight, in drawYuv() argument
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoDecoderRenderer.java88 private final int[] yuvTextures = new int[3]; field in VideoDecoderRenderer
173 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in onDrawFrame()
227 GLES20.glGenTextures(3, yuvTextures, 0); in setupTextures()
231 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in setupTextures()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DGlRectDrawerTest.java155 final int yuvTextures[] = new int[3]; in testYuvRendering() local
157 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in testYuvRendering()
163 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in testYuvRendering()
171 drawer.drawYuv(yuvTextures, IDENTITY_MATRIX, WIDTH, HEIGHT, 0 /* viewportX */, in testYuvRendering()
210 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/webrtc/sdk/android/src/java/org/webrtc/
DGlGenericDrawer.java195 public void drawYuv(int[] yuvTextures, float[] texMatrix, int frameWidth, int frameHeight, in drawYuv() argument
202 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, yuvTextures[i]); in drawYuv()
/external/skqp/include/core/
DSkImage.h467 const GrBackendTexture yuvTextures[3],
475 const GrBackendTexture yuvTextures[3], GrSurfaceOrigin imageOrigin,
/external/skqp/docs/
DSkImage_Reference.bmh547 const GrBackendTexture yuvTextures[3],
565 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],