Searched refs:yuvPlanes (Results 1 – 5 of 5) sorted by relevance
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | VideoDecoderOutputBuffer.java | 49 @Nullable public ByteBuffer[] yuvPlanes; field in VideoDecoderOutputBuffer 133 if (yuvPlanes == null) { in initForYuvFrame() 134 yuvPlanes = new ByteBuffer[3]; in initForYuvFrame() 138 ByteBuffer[] yuvPlanes = this.yuvPlanes; in initForYuvFrame() local 141 yuvPlanes[0] = data.slice(); in initForYuvFrame() 142 yuvPlanes[0].limit(yLength); in initForYuvFrame() 144 yuvPlanes[1] = data.slice(); in initForYuvFrame() 145 yuvPlanes[1].limit(uvLength); in initForYuvFrame() 147 yuvPlanes[2] = data.slice(); in initForYuvFrame() 148 yuvPlanes[2].limit(uvLength); in initForYuvFrame()
|
D | VideoDecoderRenderer.java | 184 outputBuffer.yuvPlanes[i]); in onDrawFrame()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | VideoFileRendererTest.java | 53 ByteBuffer[] yuvPlanes = new ByteBuffer[3]; in testYuvRenderingToFile() local 57 yuvPlanes[i] = ByteBuffer.allocateDirect(planeSizes[i]); in testYuvRenderingToFile() 58 yuvPlanes[i].put(frameBytes, pos, planeSizes[i]); in testYuvRenderingToFile() 59 yuvPlanes[i].rewind(); in testYuvRenderingToFile() 64 JavaI420Buffer.wrap(frameWidth, frameHeight, yuvPlanes[0], yuvStrides[0], yuvPlanes[1], in testYuvRenderingToFile() 65 yuvStrides[1], yuvPlanes[2], yuvStrides[2], null /* releaseCallback */); in testYuvRenderingToFile()
|
D | GlRectDrawerTest.java | 147 final ByteBuffer[] yuvPlanes = new ByteBuffer[3]; in testYuvRendering() local 150 yuvPlanes[i] = ByteBuffer.allocateDirect(WIDTH * HEIGHT); in testYuvRendering() 151 random.nextBytes(yuvPlanes[i].array()); in testYuvRendering() 165 GLES20.GL_LUMINANCE, GLES20.GL_UNSIGNED_BYTE, yuvPlanes[i]); in testYuvRendering() 184 final float y_luma = normalizedByte(yuvPlanes[0].get()); in testYuvRendering() 185 final float u_chroma = normalizedByte(yuvPlanes[1].get()); in testYuvRendering() 186 final float v_chroma = normalizedByte(yuvPlanes[2].get()); in testYuvRendering()
|
D | SurfaceViewRendererOnMeasureTest.java | 54 final ByteBuffer[] yuvPlanes = new ByteBuffer[3]; in createFrame() local 56 yuvPlanes[i] = ByteBuffer.allocateDirect(yuvStrides[i] * yuvHeights[i]); in createFrame() 59 JavaI420Buffer.wrap(width, height, yuvPlanes[0], yuvStrides[0], yuvPlanes[1], yuvStrides[1], in createFrame() 60 yuvPlanes[2], yuvStrides[2], null /* releaseCallback */); in createFrame()
|