/external/webrtc/modules/video_coding/codecs/vp9/test/ |
D | vp9_impl_unittest.cc | 99 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(input_frame, nullptr)); in TEST_F() 105 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, 0)); in TEST_F() 124 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(NextInputFrame(), nullptr)); in TEST_F() 130 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, 0)); in TEST_F() 142 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(NextInputFrame(), nullptr)); in TEST_F() 148 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, 0)); in TEST_F() 181 WEBRTC_VIDEO_CODEC_OK); in TEST_F() 201 WEBRTC_VIDEO_CODEC_OK); in TEST_F() 244 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 277 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() [all …]
|
/external/webrtc/modules/video_coding/codecs/vp8/test/ |
D | vp8_impl_unittest.cc | 93 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in EncodeAndWaitForFrame() 128 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 144 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 163 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 171 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 199 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 256 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Release()); in TEST_F() 257 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST_F() 264 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Release()); in TEST_F() 270 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Release()); in TEST_F() [all …]
|
/external/webrtc/media/engine/ |
D | encoder_simulcast_proxy_unittest.cc | 75 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST() 87 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 108 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST() 116 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 132 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST() 142 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 159 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST() 169 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 190 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST() 200 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST()
|
D | fake_webrtc_video_engine.cc | 55 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 62 return WEBRTC_VIDEO_CODEC_OK; in Decode() 67 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 71 return WEBRTC_VIDEO_CODEC_OK; in Release() 154 return WEBRTC_VIDEO_CODEC_OK; in InitEncode() 163 return WEBRTC_VIDEO_CODEC_OK; in Encode() 168 return WEBRTC_VIDEO_CODEC_OK; in RegisterEncodeCompleteCallback() 172 return WEBRTC_VIDEO_CODEC_OK; in Release()
|
D | simulcast_encoder_adapter_unittest.cc | 636 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 638 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 640 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 644 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 646 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 648 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 664 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 667 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 671 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() 673 .WillOnce(Return(WEBRTC_VIDEO_CODEC_OK)); in TEST_F() [all …]
|
/external/webrtc/test/ |
D | configurable_frame_size_encoder.cc | 48 return WEBRTC_VIDEO_CODEC_OK; in InitEncode() 69 return WEBRTC_VIDEO_CODEC_OK; in Encode() 75 return WEBRTC_VIDEO_CODEC_OK; in RegisterEncodeCompleteCallback() 79 return WEBRTC_VIDEO_CODEC_OK; in Release() 88 return WEBRTC_VIDEO_CODEC_OK; in SetFrameSize()
|
D | fake_vp8_decoder.cc | 44 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 68 return WEBRTC_VIDEO_CODEC_OK; in Decode() 74 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 78 return WEBRTC_VIDEO_CODEC_OK; in Release()
|
D | fake_decoder.cc | 46 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 78 return WEBRTC_VIDEO_CODEC_OK; in Decode() 94 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 98 return WEBRTC_VIDEO_CODEC_OK; in Release()
|
/external/webrtc/api/video_codecs/test/ |
D | video_encoder_software_fallback_wrapper_unittest.cc | 125 encode_return_code_ == WEBRTC_VIDEO_CODEC_OK) { in Encode() 135 return WEBRTC_VIDEO_CODEC_OK; in RegisterEncodeCompleteCallback() 140 return WEBRTC_VIDEO_CODEC_OK; in Release() 155 int32_t init_encode_return_code_ = WEBRTC_VIDEO_CODEC_OK; 156 int32_t encode_return_code_ = WEBRTC_VIDEO_CODEC_OK; 206 EncodeFrame(WEBRTC_VIDEO_CODEC_OK); in EncodeFrame() 243 fake_encoder_->init_encode_return_code_ = WEBRTC_VIDEO_CODEC_OK; in InitEncode() 244 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in InitEncode() 275 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in UtilizeFallbackEncoder() 333 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, fallback_wrapper_->Release()); in TEST_F() [all …]
|
D | video_decoder_software_fallback_wrapper_unittest.cc | 59 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 64 return WEBRTC_VIDEO_CODEC_OK; in Release() 71 int32_t init_decode_return_code_ = WEBRTC_VIDEO_CODEC_OK; 72 int32_t decode_return_code_ = WEBRTC_VIDEO_CODEC_OK; 160 fake_decoder_->decode_return_code_ = WEBRTC_VIDEO_CODEC_OK; in TEST_F() 276 fake_decoder_->decode_return_code_ = WEBRTC_VIDEO_CODEC_OK; in TEST_F()
|
/external/webrtc/api/video_codecs/ |
D | video_decoder_software_fallback_wrapper.cc | 106 return InitFallbackDecoder() ? WEBRTC_VIDEO_CODEC_OK in InitDecode() 110 if (status == WEBRTC_VIDEO_CODEC_OK) { in InitDecode() 111 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 116 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 125 if (status != WEBRTC_VIDEO_CODEC_OK) { in InitHwDecoder() 141 if (status != WEBRTC_VIDEO_CODEC_OK) { in InitFallbackDecoder() 254 status = WEBRTC_VIDEO_CODEC_OK; in Release()
|
D | video_encoder_software_fallback_wrapper.cc | 251 if (ret != WEBRTC_VIDEO_CODEC_OK) { in InitFallbackEncoder() 299 return WEBRTC_VIDEO_CODEC_OK; in InitEncode() 303 if (ret == WEBRTC_VIDEO_CODEC_OK) { in InitEncode() 312 return WEBRTC_VIDEO_CODEC_OK; in InitEncode() 328 return WEBRTC_VIDEO_CODEC_OK; in Release() 454 WEBRTC_VIDEO_CODEC_OK) { in TryInitForcedFallbackEncoder() 467 WEBRTC_VIDEO_CODEC_OK) { in TryInitForcedFallbackEncoder()
|
/external/webrtc/test/testsupport/ |
D | ivf_video_frame_generator.cc | 50 WEBRTC_VIDEO_CODEC_OK); in IvfVideoFrameGenerator() 53 WEBRTC_VIDEO_CODEC_OK); in IvfVideoFrameGenerator() 82 RTC_CHECK_EQ(WEBRTC_VIDEO_CODEC_OK, in NextFrame() 113 return WEBRTC_VIDEO_CODEC_OK; in Decoded() 119 return WEBRTC_VIDEO_CODEC_OK; in Decoded()
|
/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_encoder_impl_unittest.cc | 45 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 57 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 69 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST() 81 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, in TEST()
|
D | h264_decoder_impl.cc | 172 if (ret != WEBRTC_VIDEO_CODEC_OK) { in InitDecode() 226 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 232 return WEBRTC_VIDEO_CODEC_OK; in Release() 238 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 354 return WEBRTC_VIDEO_CODEC_OK; in Decode()
|
/external/webrtc/modules/video_coding/codecs/multiplex/test/ |
D | multiplex_adapter_unittest.cc | 207 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Release()); in TEST_P() 211 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Release()); in TEST_P() 216 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(*input_frame, nullptr)); in TEST_P() 222 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, -1)); in TEST_P() 233 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(*yuva_frame, nullptr)); in TEST_P() 239 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, 0)); in TEST_P() 257 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(*input_frame, nullptr)); in TEST_P() 276 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(*yuva_frame, nullptr)); in TEST_P() 303 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(*yuva_frame, nullptr)); in TEST_P()
|
/external/webrtc/modules/video_coding/codecs/h264/test/ |
D | h264_impl_unittest.cc | 59 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(input_frame, nullptr)); in TEST_F() 65 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, 0)); in TEST_F() 84 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Encode(NextInputFrame(), nullptr)); in TEST_F() 90 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Decode(encoded_frame, false, 0)); in TEST_F()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | encoded_video_frame_producer.cc | 59 WEBRTC_VIDEO_CODEC_OK); in Encode() 70 RTC_CHECK_EQ(encoder_.Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_OK); in Encode() 74 WEBRTC_VIDEO_CODEC_OK); in Encode()
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | libaom_av1_encoder_unittest.cc | 56 WEBRTC_VIDEO_CODEC_OK); in TEST() 57 EXPECT_EQ(encoder->Release(), WEBRTC_VIDEO_CODEC_OK); in TEST() 66 WEBRTC_VIDEO_CODEC_OK); in TEST()
|
D | libaom_av1_decoder.cc | 92 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 167 return WEBRTC_VIDEO_CODEC_OK; in Decode() 173 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 182 return WEBRTC_VIDEO_CODEC_OK; in Release()
|
D | libaom_av1_unittest.cc | 81 WEBRTC_VIDEO_CODEC_OK); in TestAv1Decoder() 83 WEBRTC_VIDEO_CODEC_OK); in TestAv1Decoder() 93 if (error != WEBRTC_VIDEO_CODEC_OK) { in Decode() 139 WEBRTC_VIDEO_CODEC_OK); in TEST() 191 WEBRTC_VIDEO_CODEC_OK); in TEST_P() 261 WEBRTC_VIDEO_CODEC_OK); in TEST_P()
|
/external/webrtc/modules/video_coding/codecs/multiplex/ |
D | multiplex_decoder_adapter.cc | 46 return WEBRTC_VIDEO_CODEC_OK; in Decoded() 50 return WEBRTC_VIDEO_CODEC_OK; in Decoded() 127 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 157 if (rv != WEBRTC_VIDEO_CODEC_OK) in Decode() 166 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 177 return WEBRTC_VIDEO_CODEC_OK; in Release()
|
/external/webrtc/sdk/objc/unittests/ |
D | objc_video_decoder_factory_tests.mm | 43 return CreateDecoderFactoryReturning(WEBRTC_VIDEO_CODEC_OK); 62 EXPECT_EQ(decoder->InitDecode(settings, 1), WEBRTC_VIDEO_CODEC_OK); 78 EXPECT_EQ(decoder->Decode(encoded_image, false, 0), WEBRTC_VIDEO_CODEC_OK); 93 EXPECT_EQ(decoder->Release(), WEBRTC_VIDEO_CODEC_OK);
|
/external/webrtc/video/ |
D | video_stream_decoder_impl.cc | 110 if (init_result != WEBRTC_VIDEO_CODEC_OK) { in GetDecoder() 118 if (register_result != WEBRTC_VIDEO_CODEC_OK) { in GetDecoder() 222 case WEBRTC_VIDEO_CODEC_OK: { in DecodeFrame() 286 return WEBRTC_VIDEO_CODEC_OK; in Decoded() 293 return WEBRTC_VIDEO_CODEC_OK; in Decoded()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | libvpx_vp8_decoder.cc | 174 return WEBRTC_VIDEO_CODEC_OK; in InitDecode() 309 return WEBRTC_VIDEO_CODEC_OK; in Decode() 355 return WEBRTC_VIDEO_CODEC_OK; in ReturnFrame() 361 return WEBRTC_VIDEO_CODEC_OK; in RegisterDecodeCompleteCallback() 365 int ret_val = WEBRTC_VIDEO_CODEC_OK; in Release()
|