Home
last modified time | relevance | path

Searched refs:VPX_CODEC_OK (Results 1 – 25 of 41) sorted by relevance

12

/external/libvpx/libvpx/test/
Dbyte_alignment_test.cc39 { kLegacyByteAlignment, VPX_CODEC_OK, true },
40 { 32, VPX_CODEC_OK, true },
41 { 64, VPX_CODEC_OK, true },
42 { 128, VPX_CODEC_OK, true },
43 { 256, VPX_CODEC_OK, true },
44 { 512, VPX_CODEC_OK, true },
45 { 1024, VPX_CODEC_OK, true },
88 if (res == VPX_CODEC_OK) video_->Next(); in DecodeOneFrame()
96 if (res != VPX_CODEC_OK) return res; in DecodeRemainingFrames()
99 return VPX_CODEC_OK; in DecodeRemainingFrames()
[all …]
Dvp9_skip_loopfilter_test.cc60 if (res == VPX_CODEC_OK) { in DecodeOneFrame()
71 if (res != VPX_CODEC_OK) return res; in DecodeRemainingFrames()
74 return VPX_CODEC_OK; in DecodeRemainingFrames()
125 skip_loop_filter.SetSkipLoopFilter(non_zero_value, VPX_CODEC_OK); in TEST()
126 ASSERT_EQ(VPX_CODEC_OK, skip_loop_filter.DecodeRemainingFrames()); in TEST()
135 skip_loop_filter.SetSkipLoopFilter(non_zero_value, VPX_CODEC_OK); in TEST()
136 ASSERT_EQ(VPX_CODEC_OK, skip_loop_filter.DecodeRemainingFrames()); in TEST()
145 skip_loop_filter.SetSkipLoopFilter(non_zero_value, VPX_CODEC_OK); in TEST()
146 ASSERT_EQ(VPX_CODEC_OK, skip_loop_filter.DecodeRemainingFrames()); in TEST()
155 skip_loop_filter.SetSkipLoopFilter(non_zero_value, VPX_CODEC_OK); in TEST()
[all …]
Dencode_test_driver.h113 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
118 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
123 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
128 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
133 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
138 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
143 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
148 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
154 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
159 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Control()
[all …]
Dexternal_frame_buffer_test.cc223 ASSERT_EQ(VPX_CODEC_OK, in PreDecodeFrameHook()
325 if (res == VPX_CODEC_OK) video_->Next(); in DecodeOneFrame()
333 if (res != VPX_CODEC_OK) return res; in DecodeRemainingFrames()
336 return VPX_CODEC_OK; in DecodeRemainingFrames()
424 ASSERT_EQ(VPX_CODEC_OK, in TEST_F()
427 ASSERT_EQ(VPX_CODEC_OK, DecodeRemainingFrames()); in TEST_F()
436 ASSERT_EQ(VPX_CODEC_OK, in TEST_F()
439 ASSERT_EQ(VPX_CODEC_OK, DecodeRemainingFrames()); in TEST_F()
447 ASSERT_EQ(VPX_CODEC_OK, in TEST_F()
450 ASSERT_EQ(VPX_CODEC_OK, DecodeOneFrame()); in TEST_F()
[all …]
Ddecode_api_test.cc49 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_dec_init(&dec, kCodecs[i], NULL, 0)); in TEST()
56 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_destroy(&dec)); in TEST()
65 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_dec_init(&dec, &vpx_codec_vp8_dx_algo, NULL, in TEST()
90 default: EXPECT_EQ(VPX_CODEC_OK, res) << kControls[i]; break; in TestVp9Controls()
125 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_dec_init(&dec, codec, NULL, 0)); in TEST()
138 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_destroy(&dec)); in TEST()
148 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_dec_init(&dec, codec, NULL, 0)); in TestPeekInfo()
154 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_destroy(&dec)); in TestPeekInfo()
160 EXPECT_EQ((data_sz < peek_size) ? VPX_CODEC_UNSUP_BITSTREAM : VPX_CODEC_OK, in TestPeekInfo()
Dframe_size_tests.cc20 : EncoderTest(&::libvpx_test::kVP9), expected_res_(VPX_CODEC_OK) {} in VP9FrameSizeTestsLarge()
66 expected_res_ = VPX_CODEC_OK; in TEST_F()
82 expected_res_ = VPX_CODEC_OK; in TEST_F()
92 expected_res_ = VPX_CODEC_OK; in TEST_F()
Ddecode_test_driver.h63 void Control(int ctrl_id, int arg) { Control(ctrl_id, arg, VPX_CODEC_OK); } in Control()
68 ASSERT_EQ(VPX_CODEC_OK, res) << DecodeError(); in Control()
106 ASSERT_EQ(VPX_CODEC_OK, res) << DecodeError(); in InitOnce()
136 EXPECT_EQ(VPX_CODEC_OK, res_dec) << decoder->DecodeError(); in HandleDecodeResult()
137 return VPX_CODEC_OK == res_dec; in HandleDecodeResult()
Dencode_api_test.cc57 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_enc_config_default(kCodecs[i], &cfg, 0)); in TEST()
58 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_enc_init(&enc, kCodecs[i], &cfg, 0)); in TEST()
59 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_encode(&enc, NULL, 0, 0, 0, 0)); in TEST()
61 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_destroy(&enc)); in TEST()
101 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_encode(&enc, &img, 0, 1, 0, 0)); in TEST()
Dencode_test_driver.cc35 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in InitEncoder()
43 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in InitEncoder()
82 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in EncodeFrameInternal()
89 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in EncodeFrameInternal()
98 ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); in Flush()
104 ASSERT_EQ(VPX_CODEC_OK, res); in InitializeConfig()
Dlevel_test.cc126 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_enc_config_default(codec, &cfg, 0)); in TEST_P()
128 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_enc_init(&enc, codec, &cfg, 0)); in TEST_P()
134 EXPECT_EQ(VPX_CODEC_OK, in TEST_P()
140 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_destroy(&enc)); in TEST_P()
Ddecode_test_driver.cc56 ASSERT_EQ(VPX_CODEC_OK, res_peek) in HandlePeekResult()
62 ASSERT_EQ(VPX_CODEC_OK, res_peek) in HandlePeekResult()
93 ASSERT_EQ(VPX_CODEC_OK, res_dec) << decoder->DecodeError(); in RunLoop()
Dvp8_decrypt_test.cc55 ASSERT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError(); in TEST()
66 ASSERT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError(); in TEST()
Dvp9_decrypt_test.cc55 ASSERT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError(); in TEST()
66 ASSERT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError(); in TEST()
Duser_priv_test.cc61 if (res != VPX_CODEC_OK) { in DecodeFile()
62 EXPECT_EQ(VPX_CODEC_OK, res) << decoder.DecodeError(); in DecodeFile()
Dtile_independence_test.cc60 if (res != VPX_CODEC_OK) { in UpdateMD5()
62 ASSERT_EQ(VPX_CODEC_OK, res); in UpdateMD5()
Dvp9_encoder_parms_get_to_decoder.cc130 EXPECT_EQ(VPX_CODEC_OK, res_dec) << decoder->DecodeError(); in HandleDecodeResult()
131 return VPX_CODEC_OK == res_dec; in HandleDecodeResult()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c56 return VPX_CODEC_OK; in decoder_init()
71 return VPX_CODEC_OK; in decoder_destroy()
133 return VPX_CODEC_OK; in decoder_peek_si_internal()
171 return VPX_CODEC_OK; in decoder_peek_si_internal()
188 return VPX_CODEC_OK; in decoder_get_si()
283 return VPX_CODEC_OK; in init_decoder()
307 if (res != VPX_CODEC_OK) return res; in decode_one()
328 return VPX_CODEC_OK; in decode_one()
342 return VPX_CODEC_OK; in decoder_decode()
351 if (res != VPX_CODEC_OK) return res; in decoder_decode()
[all …]
Dvp9_cx_iface.c129 if (res != VPX_CODEC_OK) in update_error_state()
363 return VPX_CODEC_OK; in validate_config()
401 return VPX_CODEC_OK; in validate_img()
639 return VPX_CODEC_OK; in set_encoder_config()
665 if (res == VPX_CODEC_OK) { in encoder_set_config()
683 return VPX_CODEC_OK; in ctrl_get_quantizer()
691 return VPX_CODEC_OK; in ctrl_get_quantizer64()
697 if (res == VPX_CODEC_OK) { in update_extra_cfg()
782 return VPX_CODEC_OK; in ctrl_set_arnr_type()
898 return VPX_CODEC_OK; in ctrl_get_level()
[all …]
/external/libvpx/libvpx/examples/
Dsvc_encodeframe.c135 return VPX_CODEC_OK; in extract_option()
144 vpx_codec_err_t res = VPX_CODEC_OK; in parse_layer_options_from_string()
163 if (res != VPX_CODEC_OK) break; in parse_layer_options_from_string()
169 if (res == VPX_CODEC_OK && i != num_layers) { in parse_layer_options_from_string()
193 vpx_codec_err_t res = VPX_CODEC_OK; in parse_options()
196 if (options == NULL) return VPX_CODEC_OK; in parse_options()
219 if (res != VPX_CODEC_OK) break; in parse_options()
224 if (res != VPX_CODEC_OK) break; in parse_options()
229 if (res != VPX_CODEC_OK) break; in parse_options()
233 if (res != VPX_CODEC_OK) break; in parse_options()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c88 vpx_codec_err_t res = VPX_CODEC_OK; in vp8_init()
123 return VPX_CODEC_OK; in vp8_destroy()
131 vpx_codec_err_t res = VPX_CODEC_OK; in vp8_peek_si_internal()
192 return VPX_CODEC_OK; in vp8_get_si()
238 *res = VPX_CODEC_OK; in update_fragments()
300 res = VPX_CODEC_OK; in vp8_decode()
352 if (res == VPX_CODEC_OK) ctx->decoder_init = 1; in vp8_decode()
537 vpx_codec_err_t res = VPX_CODEC_OK; in image2yuvconfig()
597 return VPX_CODEC_OK; in vp8_get_quantizer()
608 return VPX_CODEC_OK; in vp8_set_postproc()
[all …]
Dvp8_cx_iface.c275 return VPX_CODEC_OK; in validate_config()
290 return VPX_CODEC_OK; in validate_img()
443 return VPX_CODEC_OK; in set_vp8e_config()
481 return VPX_CODEC_OK; in get_quantizer()
489 return VPX_CODEC_OK; in get_quantizer64()
495 if (res == VPX_CODEC_OK) { in update_extracfg()
602 vpx_codec_err_t res = VPX_CODEC_OK; in vp8e_mr_alloc_mem()
621 res = VPX_CODEC_OK; in vp8e_mr_alloc_mem()
632 vpx_codec_err_t res = VPX_CODEC_OK; in vp8e_init()
711 return VPX_CODEC_OK; in vp8e_destroy()
[all …]
/external/libvpx/libvpx/vpx/src/
Dvpx_codec.c35 case VPX_CODEC_OK: return "Success"; in vpx_codec_err_to_string()
78 res = VPX_CODEC_OK; in vpx_codec_destroy()
Dvpx_encoder.c68 vpx_codec_err_t res = VPX_CODEC_OK; in vpx_codec_enc_init_multi_ver()
163 res = VPX_CODEC_OK; in vpx_codec_enc_config_default()
191 vpx_codec_err_t res = VPX_CODEC_OK; in vpx_codec_encode()
301 return VPX_CODEC_OK; in vpx_codec_set_cx_data_buf()
Dvpx_decoder.c147 res = VPX_CODEC_OK; in vpx_codec_register_put_frame_cb()
166 res = VPX_CODEC_OK; in vpx_codec_register_put_slice_cb()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c309 pbi->common.error.error_code = VPX_CODEC_OK; in vp8dx_receive_compressed_data()
446 return VPX_CODEC_OK; in vp8_create_decoder_instances()
459 return VPX_CODEC_OK; in vp8_remove_decoder_instances()

12