Lines Matching refs:Any
42 * Currently, The ToParcel/FromParcel function(In Any.h) supports single value convert to/from parcel.
214 static Any defaultString = std::string();
215 static Any defaultInt8 = (int8_t)0;
216 static Any defaultUInt8 = (uint8_t)0;
217 static Any defaultInt32 = (int32_t)0;
218 static Any defaultUInt32 = (uint32_t)0;
219 static Any defaultInt64 = (int64_t)0;
220 static Any defaultUInt64 = (uint64_t)0;
221 static Any defaultFloat = 0.0f;
222 static Any defaultDouble = (double)0.0;
223 static Any defaultBool = (bool) false;
224 static Any defaultSrcInputType = SrcInputType::UNKNOWN;
225 static Any defaultAudioSampleFormat = AudioSampleFormat::INVALID_WIDTH;
226 static Any defaultVideoPixelFormat = VideoPixelFormat::UNKNOWN;
227 static Any defaultMediaType = MediaType::UNKNOWN;
228 static Any defaultVideoH264Profile = VideoH264Profile::UNKNOWN;
229 static Any defaultVideoRotation = VideoRotation::VIDEO_ROTATION_0;
230 static Any defaultVideoOrientationType = VideoOrientationType::ROTATE_NONE;
231 static Any defaultColorPrimary = ColorPrimary::BT2020;
232 static Any defaultTransferCharacteristic = TransferCharacteristic::BT1361;
233 static Any defaultMatrixCoefficient = MatrixCoefficient::BT2020_CL;
234 static Any defaultHEVCProfile = HEVCProfile::HEVC_PROFILE_UNKNOW;
235 static Any defaultHEVCLevel = HEVCLevel::HEVC_LEVEL_UNKNOW;
236 static Any defaultChromaLocation = ChromaLocation::BOTTOM;
237 static Any defaultFileType = FileType::UNKNOW;
238 static Any defaultVideoEncodeBitrateMode = VideoEncodeBitrateMode::CBR;
239 static Any defaultTemporalGopReferenceMode = TemporalGopReferenceMode::ADJACENT_REFERENCE;
241 static Any defaultAudioChannelLayout = AudioChannelLayout::UNKNOWN;
242 static Any defaultAudioAacProfile = AudioAacProfile::ELD;
243 static Any defaultAudioAacStreamFormat = AudioAacStreamFormat::ADIF;
244 static Any defaultVectorUInt8 = std::vector<uint8_t>();
245 static Any defaultVectorUInt32 = std::vector<uint32_t>();
246 static Any defaultVectorVideoBitStreamFormat = std::vector<VideoBitStreamFormat>();
247 static std::map<TagType, const Any &> g_metadataDefaultValueMap = {
524 static std::map<AnyValueType, const Any &> g_ValueTypeDefaultValueMap = {
539 Any GetDefaultAnyValue(const TagType& tag)
546 std::optional<Any> GetDefaultAnyValueOpt(const TagType &tag)
555 Any GetDefaultAnyValue(const TagType &tag, AnyValueType type)
573 if (Any::IsSameTypeWith<int32_t>(iter->second)) {
575 } else if (Any::IsSameTypeWith<bool>(iter->second)) {
577 } else if (Any::IsSameTypeWith<int64_t>(iter->second)) {
579 } else if (Any::IsSameTypeWith<float>(iter->second)) {
581 } else if (Any::IsSameTypeWith<double>(iter->second)) {
583 } else if (Any::IsSameTypeWith<std::vector<uint8_t>>(iter->second)) {
585 } else if (Any::IsSameTypeWith<std::string>(iter->second)) {
635 Any value = GetDefaultAnyValue(key, type); //Init Default Value