Searched refs:renderMatrix (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoFrameDrawer.java | 33 Matrix renderMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, in drawTexture() argument 36 finalMatrix.preConcat(renderMatrix); in drawTexture() 152 int frameWidth, int frameHeight, @Nullable Matrix renderMatrix) { in calculateTransformedRenderSize() argument 153 if (renderMatrix == null) { in calculateTransformedRenderSize() 159 renderMatrix.mapPoints(dstPoints, srcPoints); in calculateTransformedRenderSize() 176 private final Matrix renderMatrix = new Matrix(); field in VideoFrameDrawer 200 renderMatrix.reset(); in drawFrame() 201 renderMatrix.preTranslate(0.5f, 0.5f); in drawFrame() 203 renderMatrix.preScale(1f, -1f); // I420-frames are upside down in drawFrame() 205 renderMatrix.preRotate(frame.getRotation()); in drawFrame() [all …]
|
D | YuvConverter.java | 171 final Matrix renderMatrix = new Matrix(); in convert() local 172 renderMatrix.preTranslate(0.5f, 0.5f); in convert() 173 renderMatrix.preScale(1f, -1f); in convert() 174 renderMatrix.preTranslate(-0.5f, -0.5f); in convert() 184 VideoFrameDrawer.drawTexture(drawer, preparedBuffer, renderMatrix, frameWidth, frameHeight, in convert() 190 VideoFrameDrawer.drawTexture(drawer, preparedBuffer, renderMatrix, frameWidth, frameHeight, in convert() 196 VideoFrameDrawer.drawTexture(drawer, preparedBuffer, renderMatrix, frameWidth, frameHeight, in convert()
|