Lines Matching defs:codec_id
147 // Returns true if this method was able to map |codec_id| to a specific
150 // |is_ambiguous| is true if |codec_id| did not have enough information to
153 bool StringToCodec(const std::string& codec_id,
562 const char* const codec_id;
672 string_to_codec_map_[kUnambiguousCodecIDs[i].codec_id] =
677 string_to_codec_map_[kAmbiguousCodecIDs[i].codec_id] =
984 static bool ParseH264CodecID(const std::string& codec_id,
988 if (codec_id.size() != 11 ||
989 (!StartsWithASCII(codec_id, "avc1.", true) &&
990 !StartsWithASCII(codec_id, "avc3.", true))) {
994 std::string profile = StringToUpperASCII(codec_id.substr(5, 4));
1007 *is_ambiguous = !IsValidH264Level(StringToUpperASCII(codec_id.substr(9)));
1011 bool MimeUtil::StringToCodec(const std::string& codec_id,
1015 string_to_codec_map_.find(codec_id);
1022 // If |codec_id| is not in |string_to_codec_map_|, then we assume that it is
1025 return ParseH264CodecID(codec_id, codec, is_ambiguous);