Searched refs:yuvStrides (Results 1 – 4 of 4) sorted by relevance
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | VideoDecoderOutputBuffer.java | 51 @Nullable public int[] yuvStrides; field in VideoDecoderOutputBuffer 149 if (yuvStrides == null) { in initForYuvFrame() 150 yuvStrides = new int[3]; in initForYuvFrame() 152 yuvStrides[0] = yStride; in initForYuvFrame() 153 yuvStrides[1] = uvStride; in initForYuvFrame() 154 yuvStrides[2] = uvStride; in initForYuvFrame()
|
D | VideoDecoderRenderer.java | 179 outputBuffer.yuvStrides[i], in onDrawFrame() 195 if (previousWidths[i] != widths[i] || previousStrides[i] != outputBuffer.yuvStrides[i]) { in onDrawFrame() 196 Assertions.checkState(outputBuffer.yuvStrides[i] != 0); in onDrawFrame() 197 float widthRatio = (float) widths[i] / outputBuffer.yuvStrides[i]; in onDrawFrame() 206 previousStrides[i] = outputBuffer.yuvStrides[i]; in onDrawFrame()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | VideoFileRendererTest.java | 51 int[] yuvStrides = {frameWidth, frameWidth / 2, frameWidth / 2}; in testYuvRenderingToFile() local 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 | SurfaceViewRendererOnMeasureTest.java | 52 final int[] yuvStrides = new int[] {width, (width + 1) / 2, (width + 1) / 2}; 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()
|