Home
last modified time | relevance | path

Searched refs:WEBRTC_VIDEO_CODEC_OK (Results 1 – 25 of 53) sorted by relevance

123

/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc99 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/
Dvp8_impl_unittest.cc93 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/
Dencoder_simulcast_proxy_unittest.cc75 .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()
Dfake_webrtc_video_engine.cc55 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()
Dsimulcast_encoder_adapter_unittest.cc636 .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/
Dconfigurable_frame_size_encoder.cc48 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()
Dfake_vp8_decoder.cc44 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()
Dfake_decoder.cc46 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/
Dvideo_encoder_software_fallback_wrapper_unittest.cc125 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 …]
Dvideo_decoder_software_fallback_wrapper_unittest.cc59 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/
Dvideo_decoder_software_fallback_wrapper.cc106 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()
Dvideo_encoder_software_fallback_wrapper.cc251 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/
Divf_video_frame_generator.cc50 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/
Dh264_encoder_impl_unittest.cc45 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()
Dh264_decoder_impl.cc172 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/
Dmultiplex_adapter_unittest.cc207 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/
Dh264_impl_unittest.cc59 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/
Dencoded_video_frame_producer.cc59 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/
Dlibaom_av1_encoder_unittest.cc56 WEBRTC_VIDEO_CODEC_OK); in TEST()
57 EXPECT_EQ(encoder->Release(), WEBRTC_VIDEO_CODEC_OK); in TEST()
66 WEBRTC_VIDEO_CODEC_OK); in TEST()
Dlibaom_av1_decoder.cc92 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()
Dlibaom_av1_unittest.cc81 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/
Dmultiplex_decoder_adapter.cc46 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/
Dobjc_video_decoder_factory_tests.mm43 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/
Dvideo_stream_decoder_impl.cc110 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/
Dlibvpx_vp8_decoder.cc174 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()

123