Home
last modified time | relevance | path

Searched refs:sortedFmts (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/camera/device/default/
DExternalCameraDevice.cpp948 std::vector<SupportedV4L2Format>& sortedFmts = *pFmts; in trimSupportedFormats() local
950 std::sort(sortedFmts.begin(), sortedFmts.end(), in trimSupportedFormats()
958 std::sort(sortedFmts.begin(), sortedFmts.end(), in trimSupportedFormats()
967 if (sortedFmts.empty()) { in trimSupportedFormats()
972 const auto& maxSize = sortedFmts[sortedFmts.size() - 1]; in trimSupportedFormats()
977 for (const auto& fmt : sortedFmts) { in trimSupportedFormats()
991 sortedFmts = out; in trimSupportedFormats()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp813 std::vector<SupportedV4L2Format>& sortedFmts = *pFmts; in trimSupportedFormats() local
815 std::sort(sortedFmts.begin(), sortedFmts.end(), in trimSupportedFormats()
823 std::sort(sortedFmts.begin(), sortedFmts.end(), in trimSupportedFormats()
832 if (sortedFmts.size() == 0) { in trimSupportedFormats()
837 const auto& maxSize = sortedFmts[sortedFmts.size() - 1]; in trimSupportedFormats()
842 for (const auto& fmt : sortedFmts) { in trimSupportedFormats()
857 sortedFmts = out; in trimSupportedFormats()