Home
last modified time | relevance | path

Searched refs:captureTimeNs (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DEncodedImage.java54 public final long captureTimeNs; field in EncodedImage
73 int encodedHeight, long captureTimeNs, FrameType frameType, int rotation, in EncodedImage() argument
78 this.captureTimeMs = TimeUnit.NANOSECONDS.toMillis(captureTimeNs); in EncodedImage()
79 this.captureTimeNs = captureTimeNs; in EncodedImage()
104 return captureTimeNs; in getCaptureTimeNs()
136 private long captureTimeNs; field in EncodedImage.Builder
162 this.captureTimeNs = TimeUnit.MILLISECONDS.toNanos(captureTimeMs); in setCaptureTimeMs()
166 public Builder setCaptureTimeNs(long captureTimeNs) { in setCaptureTimeNs() argument
167 this.captureTimeNs = captureTimeNs; in setCaptureTimeNs()
192 return new EncodedImage(buffer, releaseCallback, encodedWidth, encodedHeight, captureTimeNs, in createEncodedImage()
DFileVideoCapturer.java97 final long captureTimeNs = TimeUnit.MILLISECONDS.toNanos(SystemClock.elapsedRealtime()); in getNextFrame() local
130 return new VideoFrame(buffer, 0 /* rotation */, captureTimeNs); in getNextFrame()
/external/webrtc/sdk/android/src/java/org/webrtc/
DCamera1Session.java293 final long captureTimeNs = TimeUnit.MILLISECONDS.toNanos(SystemClock.elapsedRealtime()); in listenForBytebufferFrames()
308 final VideoFrame frame = new VideoFrame(frameBuffer, getFrameOrientation(), captureTimeNs); in listenForBytebufferFrames()
DAndroidVideoDecoder.java286 TimeUnit.NANOSECONDS.toMicros(frame.captureTimeNs), 0 /* flags */); in decode()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DHardwareVideoEncoderTest.java101 .setCaptureTimeNs(frame.captureTimeNs) in onEncodedFrame()
125 assertEquals(image.captureTimeNs, frame.getTimestampNs()); in assertFrameEncoded()
DAndroidVideoDecoderInstrumentationTest.java101 assertEquals(testImage.captureTimeNs / 1000, decodedFrame.getTimestampNs() / 1000); in assertFrameDecoded()
/external/webrtc/sdk/android/tests/src/org/webrtc/
DHardwareVideoEncoderTest.java235 assertThat(videoFrame.captureTimeNs).isEqualTo(42); in testDeliversOutputData()