Lines Matching defs:codec_id
106 static int GetMP4AudioObjectType(const std::string& codec_id,
109 if (Tokenize(codec_id, ".", &tokens) == 3 &&
116 MEDIA_LOG(log_cb) << "Malformed mimetype codec '" << codec_id << "'";
120 bool ValidateMP4ACodecID(const std::string& codec_id, const LogCB& log_cb) {
121 int audio_object_type = GetMP4AudioObjectType(codec_id, log_cb);
129 << " in codec '" << codec_id << "'";
164 std::string codec_id = codecs[i];
165 if (MatchPattern(codec_id, kMPEG2AACLCCodecInfo.pattern)) {
167 } else if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern)) {
168 int audio_object_type = GetMP4AudioObjectType(codec_id, log_cb);
221 std::string codec_id = codecs[i];
222 if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern) &&
223 GetMP4AudioObjectType(codec_id, log_cb) == kAACSBRObjectType) {
338 std::string codec_id = codecs[j];
340 if (MatchPattern(codec_id, type_info.codecs[k]->pattern) &&
342 type_info.codecs[k]->validator(codec_id, log_cb))) {
350 MEDIA_LOG(log_cb) << "Codec '" << codec_id