Lines Matching defs:formats
390 const translation_format *formats;
394 if (fRoster->GetInputFormats(id, &formats, &formatCount) != B_OK)
399 if (formats[j].type == inFormat) {
408 // search output formats
410 if (fRoster->GetOutputFormats(id, &formats, &formatCount) != B_OK)
416 if (formats[j].group != group || typesSeen.FindType(formats[j].type))
419 double formatQuality = formats[j].quality * formats[j].capability;
421 if (formats[j].type == fOutputFormat) {
423 bestPath.Add(formats[j].type);
431 if (FindPath(&formats[j], stream, typesSeen, path, quality) == B_OK) {
435 bestPath.Add(formats[j].type);
592 // test if the translator has formats of the specified type