Searched refs:hasPrefix (Results 1 – 1 of 1) sorted by relevance
/hardware/google/av/media/sfplugin/ |
D | Codec2InfoBuilder.cpp | 60 bool hasPrefix(const std::string& s, const char* prefix) { in hasPrefix() function 132 bool isVideo = hasPrefix(mediaType, "video/") == 0; in queryOmxCapabilities() 133 bool isImage = hasPrefix(mediaType, "image/") == 0; in queryOmxCapabilities() 265 if (!hasPrefix(codec.first, "OMX.")) { in buildOmxInfo() 279 if (!hasPrefix(name, "OMX.google.")) { in buildOmxInfo() 297 if (hasPrefix(key, "feature-") && in buildOmxInfo() 298 !hasPrefix(key, "feature-bitrate-modes")) { in buildOmxInfo() 299 caps->addDetail(key.c_str(), hasPrefix(value, "1") ? 1 : 0); in buildOmxInfo() 388 if (hasPrefix(canonName, "c2.vda.")) { in buildMediaCodecList() 391 if (hasPrefix(canonName, "c2.android.")) { in buildMediaCodecList() [all …]
|