/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 …]
|
/external/flac/src/libFLAC++/ |
D | stream_decoder.cpp | 55 decoder_(::FLAC__stream_decoder_new()) in Stream() 60 if(0 != decoder_) { in ~Stream() 61 (void)::FLAC__stream_decoder_finish(decoder_); in ~Stream() 62 ::FLAC__stream_decoder_delete(decoder_); in ~Stream() 68 return 0 != decoder_; in is_valid() 74 return static_cast<bool>(::FLAC__stream_decoder_set_ogg_serial_number(decoder_, value)); in set_ogg_serial_number() 80 return static_cast<bool>(::FLAC__stream_decoder_set_md5_checking(decoder_, value)); in set_md5_checking() 86 return static_cast<bool>(::FLAC__stream_decoder_set_metadata_respond(decoder_, type)); in set_metadata_respond() 92 return static_cast<bool>(::FLAC__stream_decoder_set_metadata_respond_application(decoder_, id)); in set_metadata_respond_application() 98 return static_cast<bool>(::FLAC__stream_decoder_set_metadata_respond_all(decoder_)); in set_metadata_respond_all() [all …]
|
/external/webrtc/test/ |
D | audio_decoder_proxy_factory.h | 30 : decoder_(decoder) {} in AudioDecoderProxyFactory() 45 return std::make_unique<DecoderProxy>(decoder_); in MakeAudioDecoder() 53 explicit DecoderProxy(AudioDecoder* decoder) : decoder_(decoder) {} in DecoderProxy() 58 return decoder_->ParsePayload(std::move(payload), timestamp); in ParsePayload() 61 bool HasDecodePlc() const override { return decoder_->HasDecodePlc(); } in HasDecodePlc() 63 int ErrorCode() override { return decoder_->ErrorCode(); } in ErrorCode() 65 void Reset() override { decoder_->Reset(); } in Reset() 67 int SampleRateHz() const override { return decoder_->SampleRateHz(); } in SampleRateHz() 69 size_t Channels() const override { return decoder_->Channels(); } in Channels() 79 decoder_->PacketDuration(encoded, encoded_len) * in DecodeInternal() [all …]
|
D | video_decoder_proxy_factory.h | 29 : decoder_(decoder) {} in VideoDecoderProxyFactory() 39 return std::make_unique<DecoderProxy>(decoder_); in CreateVideoDecoder() 47 explicit DecoderProxy(VideoDecoder* decoder) : decoder_(decoder) {} in DecoderProxy() 53 return decoder_->Decode(input_image, missing_frames, render_time_ms); in Decode() 57 return decoder_->InitDecode(config, number_of_cores); in InitDecode() 61 return decoder_->RegisterDecodeCompleteCallback(callback); in RegisterDecodeCompleteCallback() 63 int32_t Release() override { return decoder_->Release(); } in Release() 64 bool PrefersLateDecoding() const { return decoder_->PrefersLateDecoding(); } in PrefersLateDecoding() 66 return decoder_->ImplementationName(); in ImplementationName() 69 VideoDecoder* const decoder_; variable [all …]
|
/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 __anon55e58cc60111::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 __anon7369f4940111::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 __anon851278160111::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 __anon1f8ef9680111::ExternalFrameBufferTest [all …]
|
/external/pigweed/pw_protobuf/public/pw_protobuf/ |
D | decoder.h | 218 : decoder_({}), handler_(nullptr), state_(kReady) {} in CallbackDecoder() 230 Status ReadInt32(int32_t* out) { return decoder_.ReadInt32(out); } in ReadInt32() 233 Status ReadUint32(uint32_t* out) { return decoder_.ReadUint32(out); } in ReadUint32() 236 Status ReadInt64(int64_t* out) { return decoder_.ReadInt64(out); } in ReadInt64() 239 Status ReadUint64(uint64_t* out) { return decoder_.ReadUint64(out); } in ReadUint64() 242 Status ReadSint32(int32_t* out) { return decoder_.ReadSint32(out); } in ReadSint32() 245 Status ReadSint64(int64_t* out) { return decoder_.ReadSint64(out); } in ReadSint64() 248 Status ReadBool(bool* out) { return decoder_.ReadBool(out); } in ReadBool() 251 Status ReadFixed32(uint32_t* out) { return decoder_.ReadFixed32(out); } in ReadFixed32() 254 Status ReadFixed64(uint64_t* out) { return decoder_.ReadFixed64(out); } in ReadFixed64() [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_unittest.cc | 102 decoder_(NULL) {} in AudioDecoderTest() 114 delete decoder_; in TearDown() 115 decoder_ = NULL; in TearDown() 184 decoder_->ParsePayload(std::move(encoded), /*timestamp=*/0); in EncodeDecodeTest() 225 decoder_->Reset(); in ReInitTest() 227 decoder_->ParsePayload(std::move(encoded[i]), /*timestamp=*/0); in ReInitTest() 244 decoder_->Reset(); in DecodePlcTest() 247 decoder_->ParsePayload(std::move(encoded), /*timestamp=*/0); in DecodePlcTest() 256 decoder_->DecodePlc(/*num_frames=*/1, /*decoded=*/output.data()); in DecodePlcTest() 266 AudioDecoder* decoder_; member in webrtc::AudioDecoderTest [all …]
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | libvpx_vp8_decoder.cc | 128 decoder_(NULL), in LibvpxVp8Decoder() 147 if (decoder_ == NULL) { in InitDecode() 148 decoder_ = new vpx_codec_ctx_t; in InitDecode() 149 memset(decoder_, 0, sizeof(*decoder_)); in InitDecode() 158 if (vpx_codec_dec_init(decoder_, vpx_codec_vp8_dx(), &cfg, flags)) { in InitDecode() 159 delete decoder_; in InitDecode() 160 decoder_ = nullptr; in InitDecode() 233 vpx_codec_control(decoder_, VP8_SET_POSTPROC, &ppcfg); in Decode() 268 if (vpx_codec_decode(decoder_, NULL, 0, 0, kDecodeDeadlineRealtime)) { in Decode() 274 img = vpx_codec_get_frame(decoder_, &iter); in Decode() [all …]
|
/external/webrtc/video/ |
D | frame_dumping_decoder.cc | 39 std::unique_ptr<VideoDecoder> decoder_; member in webrtc::__anon3a29915b0111::FrameDumpingDecoder 46 : decoder_(std::move(decoder)), in FrameDumpingDecoder() 55 return decoder_->InitDecode(codec_settings, number_of_cores); in InitDecode() 61 int32_t ret = decoder_->Decode(input_image, missing_frames, render_time_ms); in Decode() 69 return decoder_->RegisterDecodeCompleteCallback(callback); in RegisterDecodeCompleteCallback() 73 return decoder_->Release(); in Release() 77 return decoder_->PrefersLateDecoding(); in PrefersLateDecoding() 81 return decoder_->ImplementationName(); in ImplementationName()
|
/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | video_decoder_e2e_test.cpp | 256 decoder_ = MediaCodecDecoder::Create(g_env->input_file_path(), g_env->video_codec_profile(), in SetUp() 261 ASSERT_TRUE(decoder_); in SetUp() 262 g_env->configure_cb()->OnCodecReady(decoder_.get()); in SetUp() 264 decoder_->Rewind(); in SetUp() 266 ASSERT_TRUE(decoder_->Configure()); in SetUp() 267 ASSERT_TRUE(decoder_->Start()); in SetUp() 269 decoder_->AddOutputBufferReadyCb(std::bind(&C2VideoDecoderE2ETest::CountFrame, this, in SetUp() 272 decoder_->AddOutputFormatChangedCb(std::bind(&C2VideoDecoderE2ETest::VerifyOutputFormat, in SetUp() 278 if (!decoder_) { in TearDown() 281 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
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_coder_opus_common.h | 44 : decoder_(decoder), in OpusFrame() 51 ret = decoder_->PacketDuration(payload_.data(), payload_.size()); in Duration() 53 ret = decoder_->PacketDurationRedundant(payload_.data(), payload_.size()); in Duration() 65 ret = decoder_->Decode( in Decode() 66 payload_.data(), payload_.size(), decoder_->SampleRateHz(), in Decode() 69 ret = decoder_->DecodeRedundant( in Decode() 70 payload_.data(), payload_.size(), decoder_->SampleRateHz(), in Decode() 81 AudioDecoder* const decoder_;
|
/external/webrtc/modules/video_coding/ |
D | generic_decoder.cc | 195 decoder_(decoder), in VCMGenericDecoder() 199 RTC_DCHECK(decoder_); in VCMGenericDecoder() 203 decoder_->Release(); in ~VCMGenericDecoder() 205 decoder_.release(); in ~VCMGenericDecoder() 206 RTC_DCHECK(_isExternal || decoder_); in ~VCMGenericDecoder() 214 int err = decoder_->InitDecode(settings, numberOfCores); in InitDecode() 215 implementation_name_ = decoder_->ImplementationName(); in InitDecode() 243 int32_t ret = decoder_->Decode(frame.EncodedImage(), frame.MissingFrame(), in Decode() 245 const char* new_implementation_name = decoder_->ImplementationName(); in Decode() 267 return decoder_->RegisterDecodeCompleteCallback(callback); in RegisterDecodeCompleteCallback() [all …]
|
D | generic_decoder_unittest.cc | 69 decoder_(task_queue_factory_.get()), in GenericDecoderTest() 71 generic_decoder_(&decoder_, /*isExternal=*/true) {} in GenericDecoderTest() 86 webrtc::test::FakeDecoder decoder_; member in webrtc::video_coding::GenericDecoderTest 104 decoder_.SetDelayedDecoding(100); in TEST_F()
|
/external/flac/src/plugin_xmms/ |
D | plugin.c | 135 static FLAC__StreamDecoder *decoder_ = 0; variable 259 decoder_ = FLAC__stream_decoder_new(); in FLAC_XMMS__init() 294 if(decoder_ == 0) in FLAC_XMMS__play_file() 297 if(!safe_decoder_init_(filename, decoder_)) in FLAC_XMMS__play_file() 312 safe_decoder_finish_(decoder_); in FLAC_XMMS__play_file() 328 safe_decoder_finish_(decoder_); in FLAC_XMMS__play_file() 337 safe_decoder_finish_(decoder_); in FLAC_XMMS__play_file() 358 safe_decoder_finish_(decoder_); in FLAC_XMMS__stop() 390 safe_decoder_delete_(decoder_); in FLAC_XMMS__cleanup() 391 decoder_ = 0; in FLAC_XMMS__cleanup() [all …]
|
/external/webrtc/api/audio_codecs/ |
D | audio_decoder.cc | 30 : decoder_(decoder), payload_(std::move(payload)) {} in OldStyleEncodedFrame() 33 const int ret = decoder_->PacketDuration(payload_.data(), payload_.size()); in Duration() 40 const int ret = decoder_->Decode( in Decode() 41 payload_.data(), payload_.size(), decoder_->SampleRateHz(), in Decode() 49 AudioDecoder* const decoder_; member in webrtc::__anon58a508a30111::OldStyleEncodedFrame
|
/external/webrtc/modules/audio_coding/codecs/ |
D | legacy_encoded_audio_frame.cc | 23 : decoder_(decoder), payload_(std::move(payload)) {} in LegacyEncodedAudioFrame() 28 const int ret = decoder_->PacketDuration(payload_.data(), payload_.size()); in Duration() 35 const int ret = decoder_->Decode( in Decode() 36 payload_.data(), payload_.size(), decoder_->SampleRateHz(), in Decode()
|