Home
last modified time | relevance | path

Searched refs:decoder_ (Results 1 – 25 of 36) sorted by relevance

12

/external/protobuf/js/binary/
Dreader.js71 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length);
77 this.fieldCursor_ = this.decoder_.getCursor();
127 newReader.decoder_.setBlock(opt_bytes, opt_start, opt_length);
151 this.decoder_.clear();
177 return this.decoder_.getCursor();
186 return this.decoder_.getBuffer();
222 return this.error_ || this.decoder_.getError();
233 this.decoder_.setBlock(bytes, start, length);
244 this.decoder_.reset();
255 this.decoder_.advance(count);
[all …]
Ddecoder.js66 this.decoder_ = null;
100 this.decoder_ = opt_decoder;
106 this.atEnd_ = !this.decoder_ && !this.elements_;
154 if (this.decoder_) {
155 this.decoder_.free();
157 this.decoder_ = null;
192 if (this.decoder_) {
193 if (this.decoder_.atEnd()) {
197 this.nextValue_ = this.nextMethod_.call(this.decoder_);
/external/libvpx/libvpx/test/
Ddecode_test_driver.h27 : decoder_(decoder), iter_(NULL) {} in DxDataIterator()
29 const vpx_image_t *Next() { return vpx_codec_get_frame(decoder_, &iter_); } in Next()
32 vpx_codec_ctx_t *decoder_;
43 memset(&decoder_, 0, sizeof(decoder_)); in Decoder()
48 memset(&decoder_, 0, sizeof(decoder_)); in Decoder()
51 virtual ~Decoder() { vpx_codec_destroy(&decoder_); } in ~Decoder()
61 DxDataIterator GetDxData() { return DxDataIterator(&decoder_); } in GetDxData()
67 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg); in Control()
73 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg); in Control()
78 const char *detail = vpx_codec_error_detail(&decoder_); in DecodeError()
[all …]
Dbyte_alignment_test.cc58 ByteAlignmentTest() : video_(NULL), decoder_(NULL), md5_file_(NULL) {} in ByteAlignmentTest()
67 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp()
68 ASSERT_TRUE(decoder_ != NULL); in SetUp()
76 delete decoder_; in TearDown()
81 decoder_->Control(VP9_SET_BYTE_ALIGNMENT, byte_alignment, expected_value); in SetByteAlignment()
86 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame()
95 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames()
112 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames()
154 libvpx_test::VP9Decoder *decoder_; member in __anon499c25ac0111::ByteAlignmentTest
Dvp9_skip_loopfilter_test.cc27 SkipLoopFilterTest() : video_(NULL), decoder_(NULL), md5_file_(NULL) {} in SkipLoopFilterTest()
31 delete decoder_; in ~SkipLoopFilterTest()
46 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in Init()
47 ASSERT_TRUE(decoder_ != NULL); in Init()
54 decoder_->Control(VP9_SET_SKIP_LOOP_FILTER, value, expected_value); in SetSkipLoopFilter()
59 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame()
70 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames()
79 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckMd5()
114 libvpx_test::VP9Decoder *decoder_; member in __anon8f47182e0111::SkipLoopFilterTest
Dexternal_frame_buffer_test.cc280 ExternalFrameBufferTest() : video_(NULL), decoder_(NULL), num_buffers_(0) {} in ExternalFrameBufferTest()
289 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp()
290 ASSERT_TRUE(decoder_ != NULL); in SetUp()
294 delete decoder_; in TearDown()
307 return decoder_->SetFrameBufferFunctions(cb_get, cb_release, &fb_list_); in SetFrameBufferFunctions()
312 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame()
321 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames()
330 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames()
340 libvpx_test::VP9Decoder *decoder_; member in __anon896bff800111::ExternalFrameBufferTest
Dsvc_test.cc37 codec_initialized_(false), decoder_(0) { in SvcTest()
63 decoder_ = codec_factory.CreateDecoder(dec_cfg, 0); in SetUp()
71 delete (decoder_); in TearDown()
216 const vpx_codec_err_t res_dec = decoder_->DecodeFrame( in DecodeNFrames()
218 ASSERT_EQ(VPX_CODEC_OK, res_dec) << decoder_->DecodeError(); in DecodeNFrames()
221 DxDataIterator dec_iter = decoder_->GetDxData(); in DecodeNFrames()
312 Decoder *decoder_; member in __anonef38b6260111::SvcTest
Ddecode_test_driver.cc38 &decoder_, cxdata, static_cast<unsigned int>(size), user_priv, 0)); in DecodeFrame()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc109 decoder_(NULL) {} in AudioDecoderTest()
129 delete decoder_; in TearDown()
130 decoder_ = NULL; in TearDown()
198 size_t dec_len = decoder_->Decode( in EncodeDecodeTest()
232 decoder_->Reset(); in ReInitTest()
234 dec_len = decoder_->Decode(encoded_, enc_len, codec_input_rate_hz_, in ReInitTest()
240 decoder_->Reset(); in ReInitTest()
242 dec_len = decoder_->Decode(encoded_, enc_len, codec_input_rate_hz_, in ReInitTest()
261 decoder_->Reset(); in DecodePlcTest()
263 size_t dec_len = decoder_->Decode(encoded_, enc_len, codec_input_rate_hz_, in DecodePlcTest()
[all …]
Dneteq_impl_unittest.cc455 } decoder_; in TEST_F() local
458 &decoder_, NetEqDecoder::kDecoderPCM16B, in TEST_F()
481 static_cast<size_t>(decoder_.next_value() - 1)); in TEST_F()
826 } decoder_; in TEST_F() local
831 EXPECT_CALL(decoder_, PacketDuration(Pointee(kFirstPayloadValue), in TEST_F()
836 EXPECT_CALL(decoder_, in TEST_F()
840 EXPECT_CALL(decoder_, DecodeInternal(Pointee(kSecondPayloadValue), in TEST_F()
851 EXPECT_CALL(decoder_, PacketDuration(Pointee(kSecondPayloadValue), in TEST_F()
857 &decoder_, NetEqDecoder::kDecoderPCM16B, in TEST_F()
/external/webrtc/webrtc/video/
Dvideo_decoder.cc54 decoder_(decoder), in VideoDecoderSoftwareFallbackWrapper()
63 return decoder_->InitDecode(codec_settings, number_of_cores); in InitDecode()
81 " (fallback from: " + decoder_->ImplementationName() + ")"; in InitFallbackDecoder()
94 int32_t ret = decoder_->Decode(input_image, missing_frames, fragmentation, in Decode()
119 int32_t ret = decoder_->RegisterDecodeCompleteCallback(callback); in RegisterDecodeCompleteCallback()
128 return decoder_->Release(); in Release()
134 return decoder_->Reset(); in Reset()
140 return decoder_->PrefersLateDecoding(); in PrefersLateDecoding()
146 return decoder_->ImplementationName(); in ImplementationName()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc111 decoder_.reset(VP8Decoder::Create()); in SetUp()
118 decoder_->RegisterDecodeCompleteCallback(decode_complete_callback_.get()); in SetUp()
157 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->InitDecode(&codec_inst_, 1)); in SetUpEncodeDecode()
190 rtc::scoped_ptr<VideoDecoder> decoder_; member in webrtc::TestVp8Impl
219 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Release()); in TEST_F()
220 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->InitDecode(&codec_inst_, 1)); in TEST_F()
236 decoder_->Decode(encoded_frame_, false, NULL)); in TEST_F()
256 decoder_->Decode(encoded_frame_, false, NULL)); in TEST_F()
261 decoder_->Decode(encoded_frame_, false, NULL)); in TEST_F()
265 decoder_->Decode(encoded_frame_, false, NULL)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dvideo_coding_robustness_unittest.cc47 vcm_->RegisterExternalDecoder(&decoder_, video_codec_.plType); in SetUp()
76 NiceMock<MockVideoDecoder> decoder_; member in webrtc::VCMRobustnessTest
88 EXPECT_CALL(decoder_, in TEST_F()
155 EXPECT_CALL(decoder_, InitDecode(_, _)).Times(1); in TEST_F()
156 EXPECT_CALL(decoder_, Release()).Times(1); in TEST_F()
162 EXPECT_CALL(decoder_, Copy()).Times(0); in TEST_F()
166 EXPECT_CALL(decoder_, in TEST_F()
172 EXPECT_CALL(decoder_, in TEST_F()
178 EXPECT_CALL(decoder_, in TEST_F()
184 EXPECT_CALL(decoder_, in TEST_F()
Dvideo_receiver_unittest.cc37 receiver_->RegisterExternalDecoder(&decoder_, kUnusedPayloadType); in SetUp()
56 EXPECT_CALL(decoder_, Decode(_, _, _, _, _)).Times(0); in InsertAndVerifyPaddingFrame()
68 EXPECT_CALL(decoder_, Decode(_, _, _, _, _)).Times(1); in InsertAndVerifyDecodableFrame()
75 NiceMock<MockVideoDecoder> decoder_; member in webrtc::vcm::__anon64b7271b0111::TestVideoReceiver
/external/v8/src/wasm/
Dmodule-decoder.cc98 : decoder_(decoder), in WasmSectionIterator()
106 return section_code_ != kUnknownSectionCode && decoder_.more(); in more()
128 if (decoder_.pc() != section_end_) { in advance()
129 const char* msg = decoder_.pc() < section_end_ ? "shorter" : "longer"; in advance()
130 decoder_.error(decoder_.pc(), decoder_.pc(), in advance()
134 static_cast<size_t>(decoder_.pc() - section_start_)); in advance()
140 Decoder& decoder_; member in v8::internal::wasm::__anon96a422e80111::WasmSectionIterator
150 if (!decoder_.more()) { in next()
154 uint8_t section_code = decoder_.consume_u8("section code"); in next()
156 uint32_t section_length = decoder_.consume_u32v("section length"); in next()
[all …]
Dfunction-body-decoder-impl.h244 bool has_next() { return decoder_->ok() && index_ <= table_count_; } in has_next()
250 decoder_->checked_read_u32v(pc_, 0, &length, "branch table entry"); in next()
263 : decoder_(decoder), in BranchTableIterator()
270 Decoder* decoder_;
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dneteq_external_decoder_test.cc23 decoder_(decoder), in NetEqExternalDecoderTest()
25 channels_(decoder_->Channels()) { in NetEqExternalDecoderTest()
34 neteq_->RegisterExternalDecoder(decoder_, codec_, name_, in Init()
Dneteq_external_decoder_test.h55 AudioDecoder* decoder_; variable
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc1059 decoder_(NULL), in VP8DecoderImpl()
1087 if (decoder_ == NULL) { in InitDecode()
1088 decoder_ = new vpx_codec_ctx_t; in InitDecode()
1106 if (vpx_codec_dec_init(decoder_, vpx_codec_vp8_dx(), &cfg, flags)) { in InitDecode()
1156 vpx_codec_control(decoder_, VP8_SET_POSTPROC, &ppcfg); in Decode()
1194 if (vpx_codec_decode(decoder_, NULL, 0, 0, VPX_DL_REALTIME)) { in Decode()
1200 img = vpx_codec_get_frame(decoder_, &iter); in Decode()
1217 if (vpx_codec_decode(decoder_, buffer, input_image._length, 0, in Decode()
1250 img = vpx_codec_get_frame(decoder_, &iter); in Decode()
1268 if (vpx_codec_control(decoder_, VP8D_GET_LAST_REF_UPDATES, in Decode()
[all …]
Dsimulcast_unittest.h228 : encoder_(encoder), decoder_(decoder) {} in TestVp8Simulcast()
306 decoder_->RegisterDecodeCompleteCallback(&decoder_callback_); in SetUpCodec()
309 EXPECT_EQ(0, decoder_->InitDecode(&settings_, 1)); in SetUpCodec()
323 decoder_->Release(); in TearDown()
688 decoder_->RegisterDecodeCompleteCallback(&decoder_callback); in TestRPSIEncodeDecode()
752 decoder_->Decode(encoded_frame, false, NULL); in TestRPSIEncodeDecode()
754 decoder_->Decode(encoded_frame, false, NULL); in TestRPSIEncodeDecode()
890 decoder_->RegisterDecodeCompleteCallback(&decoder_callback); in TestStrideEncodeDecode()
919 EXPECT_EQ(0, decoder_->Decode(encoded_frame, false, NULL)); in TestStrideEncodeDecode()
921 decoder_->Decode(encoded_frame, false, NULL); in TestStrideEncodeDecode()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc824 decoder_(NULL), in VP9DecoderImpl()
858 if (decoder_ == NULL) { in InitDecode()
859 decoder_ = new vpx_codec_ctx_t; in InitDecode()
866 if (vpx_codec_dec_init(decoder_, vpx_codec_vp9_dx(), &cfg, flags)) { in InitDecode()
874 if (!frame_buffer_pool_.InitializeVpxUsePool(decoder_)) { in InitDecode()
914 if (vpx_codec_decode(decoder_, buffer, in Decode()
922 img = vpx_codec_get_frame(decoder_, &iter); in Decode()
970 if (decoder_ != NULL) { in Release()
973 if (vpx_codec_destroy(decoder_)) { in Release()
976 delete decoder_; in Release()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc49 decoder_(decoder), in VideoProcessorImpl()
102 register_result = decoder_->RegisterDecodeCompleteCallback(decode_callback_); in Init()
123 init_result = decoder_->InitDecode(config_.codec_settings, nbr_of_cores); in Init()
149 decoder_->RegisterDecodeCompleteCallback(NULL); in ~VideoProcessorImpl()
296 decoder_->Decode(copied_image, last_frame_missing_, NULL); in FrameEncoded()
Dvideoprocessor_integrationtest.cc105 VideoDecoder* decoder_; member in webrtc::VideoProcessorIntegrationTest
155 decoder_ = VP8Decoder::Create(); in SetUpCodecConfig()
159 decoder_ = VP9Decoder::Create(); in SetUpCodecConfig()
225 encoder_, decoder_, frame_reader_, frame_writer_, packet_manipulator_, in SetUpCodecConfig()
413 delete decoder_; in TearDown()
495 EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->Release()); in ProcessFramesAndVerify()
/external/v8/src/arm64/
Dsimulator-arm64.h310 decoder_->Decode(instr);
586 if (!decoder_) {
593 decoder_->InsertVisitorBefore(print_disasm_, this);
595 decoder_->RemoveVisitor(print_disasm_);
846 Decoder<DispatchingDecoderVisitor>* decoder_;
/external/webrtc/webrtc/
Dvideo_decoder.h116 VideoDecoder* const decoder_; variable

12