/external/libvpx/libvpx/test/ |
D | decode_test_driver.h | 27 : decoder_(decoder), iter_(NULL) {} in DxDataIterator() 30 return vpx_codec_get_frame(decoder_, &iter_); in Next() 34 vpx_codec_ctx_t *decoder_; 45 memset(&decoder_, 0, sizeof(decoder_)); in Decoder() 51 memset(&decoder_, 0, sizeof(decoder_)); in Decoder() 55 vpx_codec_destroy(&decoder_); in ~Decoder() 67 return DxDataIterator(&decoder_); in GetDxData() 80 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg); in Control() 86 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg); in Control() 91 const char *detail = vpx_codec_error_detail(&decoder_); in DecodeError() [all …]
|
D | byte_alignment_test.cc | 60 decoder_(NULL), in ByteAlignmentTest() 70 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp() 71 ASSERT_TRUE(decoder_ != NULL); in SetUp() 80 delete decoder_; in TearDown() 85 decoder_->Control(VP9_SET_BYTE_ALIGNMENT, byte_alignment, expected_value); in SetByteAlignment() 90 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame() 100 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames() 118 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames() 160 libvpx_test::VP9Decoder *decoder_; member in __anon348d9fed0111::ByteAlignmentTest
|
D | vp9_skip_loopfilter_test.cc | 29 decoder_(NULL), in SkipLoopFilterTest() 35 delete decoder_; in ~SkipLoopFilterTest() 51 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in Init() 52 ASSERT_TRUE(decoder_ != NULL); in Init() 59 decoder_->Control(VP9_SET_SKIP_LOOP_FILTER, value, expected_value); in SetSkipLoopFilter() 64 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame() 75 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeRemainingFrames() 85 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckMd5() 120 libvpx_test::VP9Decoder *decoder_; member in __anon25d4230f0111::SkipLoopFilterTest
|
D | vp9_ethread_test.cc | 35 decoder_ = codec_->CreateDecoder(cfg, 0); in VPxEncoderThreadTest() 40 delete decoder_; in ~VPxEncoderThreadTest() 85 const vpx_codec_err_t res = decoder_->DecodeFrame( in FramePktHook() 91 const vpx_image_t *img = decoder_->GetDxData().Next(); in FramePktHook() 104 ::libvpx_test::Decoder *decoder_;
|
D | external_frame_buffer_test.cc | 286 decoder_(NULL), in ExternalFrameBufferTest() 296 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp() 297 ASSERT_TRUE(decoder_ != NULL); in SetUp() 301 delete decoder_; in TearDown() 315 return decoder_->SetFrameBufferFunctions(cb_get, cb_release, &fb_list_); in SetFrameBufferFunctions() 320 decoder_->DecodeFrame(video_->cxdata(), video_->frame_size()); in DecodeOneFrame() 330 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 __anonf76746a10111::ExternalFrameBufferTest
|
D | svc_test.cc | 39 decoder_(0) { in SvcTest() 65 decoder_ = codec_factory.CreateDecoder(dec_cfg, 0); in SetUp() 73 delete(decoder_); in TearDown() 221 decoder_->DecodeFrame(static_cast<const uint8_t *>(inputs[i].buf), in DecodeNFrames() 223 ASSERT_EQ(VPX_CODEC_OK, res_dec) << decoder_->DecodeError(); in DecodeNFrames() 226 DxDataIterator dec_iter = decoder_->GetDxData(); in DecodeNFrames() 319 Decoder *decoder_; member in __anon16761f070111::SvcTest
|
D | decode_test_driver.cc | 38 res_dec = vpx_codec_decode(&decoder_, in DecodeFrame()
|
/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 …]
|
D | neteq_impl_unittest.cc | 455 } 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/ |
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/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/opencv3/modules/cudacodec/src/ |
D | video_decoder.hpp | 58 VideoDecoder(const FormatInfo& videoFormat, CUvideoctxlock lock) : lock_(lock), decoder_(0) in VideoDecoder() 85 return cuvidDecodePicture(decoder_, picParams) == CUDA_SUCCESS; in decodePicture() 93 cuSafeCall( cuvidMapVideoFrame(decoder_, picIdx, &ptr, &pitch, &videoProcParams) ); in mapFrame() 100 cuSafeCall( cuvidUnmapVideoFrame(decoder_, (CUdeviceptr) frame.data) ); in unmapFrame() 107 CUvideodecoder decoder_; member in cv::cudacodec::detail::VideoDecoder
|
D | video_decoder.cpp | 104 cuSafeCall( cuvidCreateDecoder(&decoder_, &createInfo_) ); in create() 109 if (decoder_) in release() 111 cuvidDestroyDecoder(decoder_); in release() 112 decoder_ = 0; in release()
|
/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::__anone5d53bdc0111::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()
|
D | neteq_external_decoder_test.h | 55 AudioDecoder* decoder_; variable
|
/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 …]
|
D | simulcast_unittest.h | 228 : 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/ |
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 …]
|
D | vp9_impl.h | 163 vpx_codec_ctx_t* decoder_; variable
|
/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()
|
D | videoprocessor_integrationtest.cc | 105 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/ |
D | simulator-arm64.h | 309 decoder_->Decode(instr); 585 if (!decoder_) { 592 decoder_->InsertVisitorBefore(print_disasm_, this); 594 decoder_->RemoveVisitor(print_disasm_); 848 Decoder<DispatchingDecoderVisitor>* decoder_;
|
/external/webrtc/webrtc/ |
D | video_decoder.h | 116 VideoDecoder* const decoder_; variable
|