/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/capi/ |
H A D | avformat_capi_mock.cpp | 21 AVFormatCapiMock::AVFormatCapiMock() : format_(nullptr) {} in AVFormatCapiMock() function in OHOS::MediaAVCodec::AVFormatCapiMock 23 AVFormatCapiMock::~AVFormatCapiMock() in ~AVFormatCapiMock() 28 bool AVFormatCapiMock::PutIntValue(const std::string_view &key, int32_t value) in PutIntValue() 36 bool AVFormatCapiMock::GetIntValue(const std::string_view &key, int32_t &value) in GetIntValue() 64 void AVFormatCapiMock::Destroy() in Destroy() 72 OH_AVFormat *AVFormatCapiMock::GetFormat() in GetFormat() 77 void AVFormatCapiMock::InitTrackFormat() in InitTrackFormat() 95 void AVFormatCapiMock::InitMetadataTrackFormat( in InitMetadataTrackFormat() 109 bool AVFormatCapiMock::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue() 125 bool AVFormatCapiMock::PutFloatValue(const std::string_view &key, float value) in PutFloatValue() [all …]
|
H A D | avformat_capi_mock.h | 24 class AVFormatCapiMock : public FormatMock { 26 explicit AVFormatCapiMock(OH_AVFormat *format) : format_(format) {} in AVFormatCapiMock() function 27 AVFormatCapiMock(); 28 ~AVFormatCapiMock();
|
H A D | avformat_capi_mock_factory.cpp | 22 std::shared_ptr<FormatMock> format = std::make_shared<AVFormatCapiMock>(); in CreateFormat() 30 std::shared_ptr<FormatMock> format = std::make_shared<AVFormatCapiMock>(); in CreateAudioFormat() 38 std::shared_ptr<FormatMock> format = std::make_shared<AVFormatCapiMock>(); in CreateVideoFormat()
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/capi/ |
H A D | avformat_capi_mock.cpp | 21 AVFormatCapiMock::AVFormatCapiMock() : format_(nullptr) {} in AVFormatCapiMock() function in OHOS::Media::AVFormatCapiMock 23 AVFormatCapiMock::~AVFormatCapiMock() {} in ~AVFormatCapiMock() 25 bool AVFormatCapiMock::PutIntValue(const std::string_view &key, int32_t value) in PutIntValue() 33 bool AVFormatCapiMock::GetIntValue(const std::string_view &key, int32_t &value) in GetIntValue() 61 void AVFormatCapiMock::Destroy() in Destroy() 69 OH_AVFormat *AVFormatCapiMock::GetFormat() in GetFormat() 74 void AVFormatCapiMock::InitTrackFormat() in InitTrackFormat() 97 bool AVFormatCapiMock::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue() 113 bool AVFormatCapiMock::PutFloatValue(const std::string_view &key, float value) in PutFloatValue() 121 bool AVFormatCapiMock::GetFloatValue(const std::string_view &key, float &value) in GetFloatValue() [all …]
|
H A D | avformat_capi_mock.h | 24 class AVFormatCapiMock : public FormatMock { 26 explicit AVFormatCapiMock(OH_AVFormat *format) : format_(format) {} in AVFormatCapiMock() function 27 AVFormatCapiMock(); 28 ~AVFormatCapiMock();
|
H A D | avformat_capi_mock_factory.cpp | 22 std::shared_ptr<FormatMock> format = std::make_shared<AVFormatCapiMock>(); in CreateFormat() 30 std::shared_ptr<FormatMock> format = std::make_shared<AVFormatCapiMock>(); in CreateAudioFormat() 38 std::shared_ptr<FormatMock> format = std::make_shared<AVFormatCapiMock>(); in CreateVideoFormat()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/capi/ |
H A D | videoenc_capi_mock.cpp | 45 auto formatMock = std::make_shared<AVFormatCapiMock>(format); in OnStreamChanged() 85 auto formatMock = std::make_shared<AVFormatCapiMock>(format); in OnStreamChangedExt() 115 auto formatMock = std::make_shared<AVFormatCapiMock>(parameter); in OnNeedInputParameter() 217 auto formatMock = std::static_pointer_cast<AVFormatCapiMock>(format); in Configure() 269 return std::make_shared<AVFormatCapiMock>(format); in GetOutputDescription() 275 return std::make_shared<AVFormatCapiMock>(format); in GetInputDescription() 280 auto formatMock = std::static_pointer_cast<AVFormatCapiMock>(format); in SetParameter()
|
H A D | videodec_capi_mock.cpp | 42 auto formatMock = std::make_shared<AVFormatCapiMock>(format); in OnStreamChanged() 82 auto formatMock = std::make_shared<AVFormatCapiMock>(format); in OnStreamChangedExt() 185 auto formatMock = std::static_pointer_cast<AVFormatCapiMock>(format); in Configure() 229 return std::make_shared<AVFormatCapiMock>(format); in GetOutputDescription() 234 auto formatMock = std::static_pointer_cast<AVFormatCapiMock>(format); in SetParameter()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/capi/ |
H A D | avsource_capi_mock.cpp | 37 return std::make_shared<AVFormatCapiMock>(format); in GetSourceFormat() 49 return std::make_shared<AVFormatCapiMock>(format); in GetTrackFormat()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avbuffer/capi/ |
H A D | avbuffer_capi_mock.cpp | 57 auto formatMock = std::make_shared<AVFormatCapiMock>(format); in GetParameter() 64 …return OH_AVBuffer_SetParameter(buffer_, std::static_pointer_cast<AVFormatCapiMock>(format)->GetFo… in SetParameter()
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/capi/ |
H A D | avbuffer_capi_mock.cpp | 57 auto formatMock = std::make_shared<AVFormatCapiMock>(format); in GetParameter() 65 …return OH_AVBuffer_SetParameter(buffer_, std::static_pointer_cast<AVFormatCapiMock>(format)->GetFo… in SetParameter()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avmuxer_test/capi/ |
H A D | avmuxer_capi_mock.cpp | 43 auto formatMock = std::static_pointer_cast<AVFormatCapiMock>(trackFormat); in AddTrack()
|