Home
last modified time | relevance | path

Searched refs:GetDoubleValue (Results 1 – 25 of 51) sorted by relevance

123

/ohos5.0/foundation/multimedia/media_utils_lite/src/
H A Dformat.cpp169 bool FormatData::GetDoubleValue(double &val) const in GetDoubleValue() function in OHOS::Media::FormatData
299 bool Format::GetDoubleValue(const std::string &key, double &value) const in GetDoubleValue() function in OHOS::Media::Format
307 return (*iter->second).GetDoubleValue(value); in GetDoubleValue()
341 SET_DOUBLE_FORMAT(double, GetDoubleValue); in CopyFrom()
/ohos5.0/foundation/multimedia/media_utils_lite/interfaces/kits/
H A Dformat.h193 bool GetDoubleValue(double &val) const;
329 bool GetDoubleValue(const std::string &key, double &value) const;
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/
H A Davsource_format_unit_test.cpp105 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
154 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
202 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
249 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
378 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
425 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
474 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
521 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
570 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
617 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
[all …]
H A Davsource_hevc_unit_test.cpp307 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
348 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
393 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
439 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
481 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
522 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
625 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
686 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
747 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
808 …ASSERT_TRUE(format_->GetDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, formatVal_.frameRate));
[all …]
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/inner/
H A Davformat_inner_mock.cpp80 bool AVFormatInnerMock::GetDoubleValue(const std::string_view &key, double &value) in GetDoubleValue() function in OHOS::Media::AVFormatInnerMock
82 return format_.GetDoubleValue(key, value); in GetDoubleValue()
H A Davformat_inner_mock.h38 bool GetDoubleValue(const std::string_view &key, double &value) override;
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/inner/
H A Davformat_inner_mock.cpp81 bool AVFormatInnerMock::GetDoubleValue(const std::string_view &key, double &value) in GetDoubleValue() function in OHOS::MediaAVCodec::AVFormatInnerMock
83 return format_.GetDoubleValue(key, value); in GetDoubleValue()
H A Davformat_inner_mock.h39 bool GetDoubleValue(const std::string_view &key, double &value) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/sharedata/
H A Djs_share_data.cpp105 auto returnValue = JSVal(ToJSValue(data.GetDoubleValue())); in ReadDouble()
155 obj->SetProperty<double>(str.c_str(), value.GetDoubleValue()); in ReadObject()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dcjson_util.h50 double GetDoubleValue(cJSON* json, const std::string& key, double defaultValue = 0.0);
/ohos5.0/base/sensors/miscdevice/utils/common/include/
H A Djson_parser.h44 double GetDoubleValue(cJSON *json) const;
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/capi/
H A Davformat_capi_mock.h39 bool GetDoubleValue(const std::string_view &key, double &value) override;
H A Davformat_capi_mock.cpp137 bool AVFormatCapiMock::GetDoubleValue(const std::string_view &key, double &value) in GetDoubleValue() function in OHOS::Media::AVFormatCapiMock
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/capi/
H A Davformat_capi_mock.h39 bool GetDoubleValue(const std::string_view &key, double &value) override;
H A Davformat_capi_mock.cpp149 bool AVFormatCapiMock::GetDoubleValue(const std::string_view &key, double &value) in GetDoubleValue() function in OHOS::MediaAVCodec::AVFormatCapiMock
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/
H A Davformat_mock.h35 virtual bool GetDoubleValue(const std::string_view &key, double &value) = 0;
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/
H A Davformat_mock.h37 virtual bool GetDoubleValue(const std::string_view &key, double &value) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/
H A Drd_json_object.h50 double GetDoubleValue() const;
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/meta/
H A Dformat.h189 bool GetDoubleValue(const std::string_view &key, double &value) const;
/ohos5.0/base/sensors/miscdevice/utils/haptic_decoder/oh_json/src/
H A Ddefault_vibrator_decoder.cpp82 version_ = parser.GetDoubleValue(versionItem); in CheckMetadata()
257 point.intensity = (parser.GetDoubleValue(intensityItem)) * CURVE_INTENSITY_SCALE; in ParseCurve()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dcjson_util.cpp48 double GetDoubleValue(cJSON* json, const std::string& key, double defaultValue) in GetDoubleValue() function
/ohos5.0/base/sensors/miscdevice/utils/common/src/
H A Djson_parser.cpp133 double JsonParser::GetDoubleValue(cJSON *json) const in GetDoubleValue() function in OHOS::Sensors::JsonParser
/ohos5.0/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp539 ASSERT_EQ(CJsonUtil::GetDoubleValue(jsonRoot, "DOUBLE"), DOU_VAL);
541 …ASSERT_EQ(CJsonUtil::GetDoubleValue(jsonRoot, "DOUBLE_NOT_SET", DOU_VAL_DEFAULT), DOU_VAL_DEFAULT);
544 ASSERT_EQ(CJsonUtil::GetDoubleValue(nullptr, "DOUBLE", DOU_VAL_DEFAULT), DOU_VAL_DEFAULT);
/ohos5.0/foundation/multimedia/av_codec/services/dfx/
H A Davcodec_dump_utils.cpp79 ret = format.GetDoubleValue(key, valueTemp); in AddInfoFromFormat()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/codec/
H A Dstandard_codec_buffer_operator.cpp160 byteBufferWriter_.WriteData(data.GetDoubleValue()); in WriteData()

123