/external/protobuf/js/binary/ |
D | reader.js | 71 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 …]
|
D | decoder.js | 67 this.decoder_ = null; 101 this.decoder_ = opt_decoder; 107 this.atEnd_ = !this.decoder_ && !this.elements_; 155 if (this.decoder_) { 156 this.decoder_.free(); 158 this.decoder_ = null; 193 if (this.decoder_) { 194 if (this.decoder_.atEnd()) { 198 this.nextValue_ = this.nextMethod_.call(this.decoder_);
|
/external/libaom/libaom/test/ |
D | decode_test_driver.h | 30 : decoder_(decoder), iter_(NULL) {} in DxDataIterator() 32 const aom_image_t *Next() { return aom_codec_get_frame(decoder_, &iter_); } in Next() 35 aom_codec_ctx_t *decoder_; 46 memset(&decoder_, 0, sizeof(decoder_)); in Decoder() 51 memset(&decoder_, 0, sizeof(decoder_)); in Decoder() 54 virtual ~Decoder() { aom_codec_destroy(&decoder_); } in ~Decoder() 64 DxDataIterator GetDxData() { return DxDataIterator(&decoder_); } in GetDxData() 70 const aom_codec_err_t res = aom_codec_control(&decoder_, ctrl_id, arg); in Control() 76 const aom_codec_err_t res = aom_codec_control(&decoder_, ctrl_id, arg); in Control() 81 const char *detail = aom_codec_error_detail(&decoder_); in DecodeError() [all …]
|
D | av1_ext_tile_test.cc | 48 decoder_ = codec_->CreateDecoder(cfg, 0); in AV1ExtTileTest() 49 decoder_->Control(AV1_SET_TILE_MODE, 1); in AV1ExtTileTest() 50 decoder_->Control(AV1D_EXT_TILE_DEBUG, 1); in AV1ExtTileTest() 51 decoder_->Control(AV1_SET_DECODE_TILE_ROW, -1); in AV1ExtTileTest() 52 decoder_->Control(AV1_SET_DECODE_TILE_COL, -1); in AV1ExtTileTest() 63 delete decoder_; in ~AV1ExtTileTest() 125 decoder_->Control(AV1_SET_DECODE_TILE_ROW, -1); in FramePktHook() 126 decoder_->Control(AV1_SET_DECODE_TILE_COL, -1); in FramePktHook() 128 decoder_->Control(AV1_SET_DECODE_TILE_ROW, r); in FramePktHook() 129 decoder_->Control(AV1_SET_DECODE_TILE_COL, c); in FramePktHook() [all …]
|
D | ethread_test.cc | 37 decoder_ = codec_->CreateDecoder(cfg, 0); in AVxEncoderThreadTest() 38 if (decoder_->IsAV1()) { in AVxEncoderThreadTest() 39 decoder_->Control(AV1_SET_DECODE_TILE_ROW, -1); in AVxEncoderThreadTest() 40 decoder_->Control(AV1_SET_DECODE_TILE_COL, -1); in AVxEncoderThreadTest() 47 virtual ~AVxEncoderThreadTest() { delete decoder_; } in ~AVxEncoderThreadTest() 103 const aom_codec_err_t res = decoder_->DecodeFrame( in FramePktHook() 109 const aom_image_t *img = decoder_->GetDxData().Next(); in FramePktHook() 212 ::libaom_test::Decoder *decoder_; 220 decoder_->Control(AV1_SET_TILE_MODE, 0); in TEST_P() 228 decoder_->Control(AV1_SET_TILE_MODE, 0); in TEST_P() [all …]
|
D | sb_multipass_test.cc | 35 decoder_ = codec_->CreateDecoder(cfg, 0); in AV1SBMultipassTest() 36 if (decoder_->IsAV1()) { in AV1SBMultipassTest() 37 decoder_->Control(AV1_SET_DECODE_TILE_ROW, -1); in AV1SBMultipassTest() 38 decoder_->Control(AV1_SET_DECODE_TILE_COL, -1); in AV1SBMultipassTest() 45 virtual ~AV1SBMultipassTest() { delete decoder_; } in ~AV1SBMultipassTest() 87 const aom_codec_err_t res = decoder_->DecodeFrame( in FramePktHook() 93 const aom_image_t *img = decoder_->GetDxData().Next(); in FramePktHook() 142 ::libaom_test::Decoder *decoder_;
|
D | external_frame_buffer_test.cc | 309 ExternalFrameBufferTest() : video_(NULL), decoder_(NULL), num_buffers_(0) {} in ExternalFrameBufferTest() 319 decoder_ = new libaom_test::AV1Decoder(cfg, 0); in SetUp() 320 ASSERT_TRUE(decoder_ != NULL); in SetUp() 324 delete decoder_; in TearDown() 325 decoder_ = NULL; in TearDown() 339 return decoder_->SetFrameBufferFunctions(cb_get, cb_release, &fb_list_); in SetFrameBufferFunctions() 344 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame() 353 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames() 362 libaom_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames() 372 libaom_test::AV1Decoder *decoder_; member in __anoned54b0ea0111::ExternalFrameBufferTest [all …]
|
/external/libvpx/libvpx/test/ |
D | decode_test_driver.h | 27 : 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 …]
|
D | byte_alignment_test.cc | 58 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 __anona40139380111::ByteAlignmentTest
|
D | vp9_skip_loopfilter_test.cc | 27 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 __anonc962433a0111::SkipLoopFilterTest
|
D | external_frame_buffer_test.cc | 289 ExternalFrameBufferTest() : video_(NULL), decoder_(NULL), num_buffers_(0) {} in ExternalFrameBufferTest() 298 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp() 299 ASSERT_TRUE(decoder_ != NULL); in SetUp() 303 delete decoder_; in TearDown() 304 decoder_ = NULL; in TearDown() 318 return decoder_->SetFrameBufferFunctions(cb_get, cb_release, &fb_list_); in SetFrameBufferFunctions() 323 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame() 332 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames() 340 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames() 350 libvpx_test::VP9Decoder *decoder_; member in __anonb6fe1d8c0111::ExternalFrameBufferTest [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_unittest.cc | 109 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 …]
|
/external/webrtc/webrtc/video/ |
D | video_decoder.cc | 54 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/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | video_decoder_e2e_test.cpp | 253 decoder_ = MediaCodecDecoder::Create(g_env->input_file_path(), g_env->video_codec_profile(), in SetUp() 258 ASSERT_TRUE(decoder_); in SetUp() 259 g_env->configure_cb()->OnDecoderReady(decoder_.get()); in SetUp() 261 decoder_->Rewind(); in SetUp() 263 ASSERT_TRUE(decoder_->Configure()); in SetUp() 264 ASSERT_TRUE(decoder_->Start()); in SetUp() 266 decoder_->AddOutputBufferReadyCb(std::bind(&C2VideoDecoderE2ETest::CountFrame, this, in SetUp() 269 decoder_->AddOutputFormatChangedCb(std::bind(&C2VideoDecoderE2ETest::VerifyOutputFormat, in SetUp() 275 if (!decoder_) { in TearDown() 278 EXPECT_TRUE(decoder_->Stop()); in TearDown() [all …]
|
/external/vixl/src/aarch64/ |
D | cpu-features-auditor-aarch64.h | 62 : available_(available), decoder_(decoder) { in available_() 63 if (decoder_ != NULL) decoder_->AppendVisitor(this); in available_() 68 : available_(available), decoder_(NULL) {} in available_() 71 if (decoder_ != NULL) decoder_->RemoveVisitor(this); in ~CPUFeaturesAuditor() 119 Decoder* decoder_; variable
|
D | decoder-aarch64.h | 303 decoder_(NULL) { in CompiledDecodeNode() 315 decoder_(decoder) {} in CompiledDecodeNode() 367 Decoder* decoder_; variable 380 decoder_(decoder), in DecodeNode() 387 decoder_(decoder), 435 compiled_node_ = new CompiledDecodeNode(visitor_fn_, decoder_); in CreateVisitorNode() 505 Decoder* decoder_; variable
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/ |
D | vp8_impl_unittest.cc | 111 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/ |
D | video_coding_robustness_unittest.cc | 47 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()
|
D | video_receiver_unittest.cc | 37 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::__anondd4cb8a70111::TestVideoReceiver
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_external_decoder_test.cc | 23 decoder_(decoder), in NetEqExternalDecoderTest() 25 channels_(decoder_->Channels()) { in NetEqExternalDecoderTest() 34 neteq_->RegisterExternalDecoder(decoder_, codec_, name_, in Init()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.cc | 1059 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 …]
|
/external/v8/src/wasm/ |
D | module-decoder.cc | 165 : decoder_(decoder), in WasmSectionIterator() 172 inline bool more() const { return decoder_->ok() && decoder_->more(); } in more() 197 if (move_to_section_end && decoder_->pc() < section_end_) { in advance() 198 decoder_->consume_bytes( in advance() 199 static_cast<uint32_t>(section_end_ - decoder_->pc())); in advance() 201 if (decoder_->pc() != section_end_) { in advance() 202 const char* msg = decoder_->pc() < section_end_ ? "shorter" : "longer"; in advance() 203 decoder_->errorf(decoder_->pc(), in advance() 207 static_cast<size_t>(decoder_->pc() - section_start_)); in advance() 213 Decoder* decoder_; member in v8::internal::wasm::__anonbb7684740211::WasmSectionIterator [all …]
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | packet_sequence_state.h | 60 this->decoder_ = nullptr; 71 if (!decoder_) { in GetOrCreateDecoder() 74 decoder_ = std::unique_ptr<void, std::function<void(void*)>>( in GetOrCreateDecoder() 91 return reinterpret_cast<typename MessageType::Decoder*>(decoder_.get()); in GetOrCreateDecoder() 132 std::unique_ptr<void, std::function<void(void*)>> decoder_; variable
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 824 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/ |
D | videoprocessor.cc | 49 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()
|