Home
last modified time | relevance | path

Searched refs:aDecoderPlugin (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestFFmpegAudioDecoder.cpp33 …std::shared_ptr<CodecPlugin> aDecoderPlugin = AuFfmpegDecoderCreator("AudioFfmpegDecoderPluginTest… variable
34 ASSERT_EQ(Status::ERROR_UNSUPPORTED_FORMAT, aDecoderPlugin->Init());
39 …std::shared_ptr<CodecPlugin> aDecoderPlugin = AuFfmpegDecoderCreator("AudioFfmpegDecoderPluginTest… variable
40 ASSERT_EQ(Status::ERROR_WRONG_STATE, aDecoderPlugin->Prepare());
52 ASSERT_EQ(Status::ERROR_WRONG_STATE, aDecoderPlugin->Start());
58 ASSERT_EQ(Status::OK, aDecoderPlugin->Stop());
65 ASSERT_EQ(Status::OK, aDecoderPlugin->SetParameter(Tag::AUDIO_SAMPLE_PER_FRAME, &value));
78 ASSERT_EQ(Status::OK, aDecoderPlugin->Flush());
86 ASSERT_EQ(Status::ERROR_INVALID_DATA, aDecoderPlugin->QueueInputBuffer(inputBuffer, timeoutMs));
89 ASSERT_EQ(Status::ERROR_WRONG_STATE, aDecoderPlugin->QueueInputBuffer(inputBuffer, timeoutMs));
[all …]