Home
last modified time | relevance | path

Searched refs:VideoCodecStatus (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/sdk/android/native_unittests/org/webrtc/
DFakeVideoEncoder.java19 public VideoCodecStatus initEncode(Settings settings, Callback encodeCallback) { in initEncode()
20 return VideoCodecStatus.OK; in initEncode()
24 public VideoCodecStatus release() { in release()
25 return VideoCodecStatus.OK; in release()
29 public VideoCodecStatus encode(VideoFrame frame, EncodeInfo info) { in encode()
30 return VideoCodecStatus.OK; in encode()
34 public VideoCodecStatus setRateAllocation(BitrateAllocation allocation, int framerate) { in setRateAllocation()
35 return VideoCodecStatus.OK; in setRateAllocation()
/external/webrtc/sdk/android/src/java/org/webrtc/
DHardwareVideoEncoder.java203 public VideoCodecStatus initEncode(Settings settings, Callback callback) { in initEncode()
223 private VideoCodecStatus initEncodeInternal() { in initEncodeInternal()
232 return VideoCodecStatus.FALLBACK_SOFTWARE; in initEncodeInternal()
275 return VideoCodecStatus.FALLBACK_SOFTWARE; in initEncodeInternal()
283 return VideoCodecStatus.OK; in initEncodeInternal()
287 public VideoCodecStatus release() { in release()
290 final VideoCodecStatus returnValue; in release()
292 returnValue = VideoCodecStatus.OK; in release()
298 returnValue = VideoCodecStatus.TIMEOUT; in release()
302 returnValue = VideoCodecStatus.ERROR; in release()
[all …]
DAndroidVideoDecoder.java148 public VideoCodecStatus initDecode(Settings settings, Callback callback) { in initDecode()
161 private VideoCodecStatus initDecodeInternal(int width, int height) { in initDecodeInternal()
168 return VideoCodecStatus.FALLBACK_SOFTWARE; in initDecodeInternal()
185 return VideoCodecStatus.FALLBACK_SOFTWARE; in initDecodeInternal()
197 return VideoCodecStatus.FALLBACK_SOFTWARE; in initDecodeInternal()
204 return VideoCodecStatus.OK; in initDecodeInternal()
208 public VideoCodecStatus decode(EncodedImage frame, DecodeInfo info) { in decode()
212 return VideoCodecStatus.UNINITIALIZED; in decode()
217 return VideoCodecStatus.ERR_PARAMETER; in decode()
223 return VideoCodecStatus.ERR_PARAMETER; in decode()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DWrappedNativeVideoEncoder.java21 public final VideoCodecStatus initEncode(Settings settings, Callback encodeCallback) { in initEncode()
26 public final VideoCodecStatus release() { in release()
31 public final VideoCodecStatus encode(VideoFrame frame, EncodeInfo info) { in encode()
36 public final VideoCodecStatus setRateAllocation(BitrateAllocation allocation, int framerate) { in setRateAllocation()
DWrappedNativeVideoDecoder.java20 public final VideoCodecStatus initDecode(Settings settings, Callback decodeCallback) { in initDecode()
25 public final VideoCodecStatus release() { in release()
30 public final VideoCodecStatus decode(EncodedImage frame, DecodeInfo info) { in decode()
DVideoDecoder.java80 @CalledByNative VideoCodecStatus initDecode(Settings settings, Callback decodeCallback); in initDecode()
84 @CalledByNative VideoCodecStatus release(); in release()
88 @CalledByNative VideoCodecStatus decode(EncodedImage frame, DecodeInfo info); in decode()
DVideoEncoder.java284 @CalledByNative VideoCodecStatus initEncode(Settings settings, Callback encodeCallback); in initEncode()
289 @CalledByNative VideoCodecStatus release(); in release()
294 @CalledByNative VideoCodecStatus encode(VideoFrame frame, EncodeInfo info); in encode()
297 @CalledByNative VideoCodecStatus setRateAllocation(BitrateAllocation allocation, int framerate); in setRateAllocation()
DVideoCodecStatus.java17 public enum VideoCodecStatus { enum
34 private VideoCodecStatus(int number) { in VideoCodecStatus() method in VideoCodecStatus
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DAndroidVideoDecoderInstrumentationTest.java144 assertEquals(VideoCodecStatus.OK, encoder.initEncode(ENCODER_SETTINGS, encodeCallback)); in encodeTestFrames()
156 assertEquals(VideoCodecStatus.OK, encoder.release()); in encodeTestFrames()
181 assertEquals(VideoCodecStatus.OK, decoder.initDecode(SETTINGS, null /* decodeCallback */)); in testInitialize()
182 assertEquals(VideoCodecStatus.OK, decoder.release()); in testInitialize()
190 assertEquals(VideoCodecStatus.OK, decoder.initDecode(SETTINGS, callback)); in testDecode()
193 assertEquals(VideoCodecStatus.OK, in testDecode()
199 assertEquals(VideoCodecStatus.OK, decoder.release()); in testDecode()
DHardwareVideoEncoderTest.java334 final VideoCodecStatus returnValue = encoder.encode(frame, info); in testEncodeFrame()
377 assertEquals(VideoCodecStatus.OK, encoder.initEncode(SETTINGS, null)); in testInitialize()
378 assertEquals(VideoCodecStatus.OK, encoder.release()); in testInitialize()
386 assertEquals(VideoCodecStatus.OK, encoder.initEncode(SETTINGS, callback)); in testEncode()
399 assertEquals(VideoCodecStatus.OK, encoder.release()); in testEncode()
407 assertEquals(VideoCodecStatus.OK, encoder.initEncode(SETTINGS, callback)); in testEncodeAltenatingBuffers()
426 assertEquals(VideoCodecStatus.OK, encoder.release()); in testEncodeAltenatingBuffers()
434 assertEquals(VideoCodecStatus.OK, encoder.initEncode(SETTINGS, callback)); in testEncodeDifferentSizes()
455 assertEquals(VideoCodecStatus.OK, encoder.release()); in testEncodeDifferentSizes()
/external/webrtc/sdk/android/tests/src/org/webrtc/
DHardwareVideoEncoderTest.java37 import org.webrtc.VideoCodecStatus;
156 .isEqualTo(VideoCodecStatus.OK); in testInit()
188 .isEqualTo(VideoCodecStatus.OK); in testEncodeByteBuffer()
249 assertThat(encoder.release()).isEqualTo(VideoCodecStatus.OK); in testRelease()
262 assertThat(encoder.release()).isEqualTo(VideoCodecStatus.OK); in testReleaseMultipleTimes()
263 assertThat(encoder.release()).isEqualTo(VideoCodecStatus.OK); in testReleaseMultipleTimes()
DAndroidVideoDecoderTest.java224 .isEqualTo(VideoCodecStatus.OK); in testInit()
246 assertThat(decoder.release()).isEqualTo(VideoCodecStatus.OK); in testRelease()
259 assertThat(decoder.release()).isEqualTo(VideoCodecStatus.OK); in testReleaseMultipleTimes()
260 assertThat(decoder.release()).isEqualTo(VideoCodecStatus.OK); in testReleaseMultipleTimes()
275 .isEqualTo(VideoCodecStatus.OK); in testDecodeQueuesData()
418 .isEqualTo(VideoCodecStatus.FALLBACK_SOFTWARE); in testConfigureExceptionTriggerSWFallback()
430 .isEqualTo(VideoCodecStatus.FALLBACK_SOFTWARE); in testStartExceptionTriggerSWFallback()
/external/webrtc/sdk/android/
DBUILD.gn198 "api/org/webrtc/VideoCodecStatus.java",
1176 "api/org/webrtc/VideoCodecStatus.java",