Home
last modified time | relevance | path

Searched refs:videoFrameBuffer (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/sdk/android/src/java/org/webrtc/
DHardwareVideoEncoder.java337 final VideoFrame.Buffer videoFrameBuffer = videoFrame.getBuffer(); in encode() local
338 final boolean isTextureBuffer = videoFrameBuffer instanceof VideoFrame.TextureBuffer; in encode()
370 int bufferSize = videoFrameBuffer.getHeight() * videoFrameBuffer.getWidth() * 3 / 2; in encode()
383 returnValue = encodeByteBuffer(videoFrame, videoFrameBuffer, bufferSize); in encode()
414 VideoFrame videoFrame, VideoFrame.Buffer videoFrameBuffer, int bufferSize) { in encodeByteBuffer() argument
441 fillInputBuffer(buffer, videoFrameBuffer); in encodeByteBuffer()
650 protected void fillInputBuffer(ByteBuffer buffer, VideoFrame.Buffer videoFrameBuffer) {
651 yuvFormat.fillBuffer(buffer, videoFrameBuffer);
/external/webrtc/sdk/android/tests/src/org/webrtc/
DHardwareVideoEncoderTest.java105 protected void fillInputBuffer(ByteBuffer buffer, Buffer videoFrameBuffer) { in fillInputBuffer() argument
106 I420Buffer i420Buffer = videoFrameBuffer.toI420(); in fillInputBuffer()