Home
last modified time | relevance | path

Searched refs:qualified_formats (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/camera/3_4/
Dformat_metadata_factory.cpp103 std::vector<uint32_t> qualified_formats; in AddFormatComponents() local
104 res = device->GetQualifiedFormats(&qualified_formats); in AddFormatComponents()
111 HAL_LOGI("Supports %zu qualified formats.", qualified_formats.size()); in AddFormatComponents()
136 if (qualified_formats.size() != 0) { in AddFormatComponents()
137 v4l2_format = qualified_formats[0]; in AddFormatComponents()
149 } else if (qualified_formats.size() == 0) { in AddFormatComponents()
164 v4l2_format = qualified_formats[0]; in AddFormatComponents()
Dstream_format.cpp148 const SupportedFormats& qualified_formats, in FindBestFitFormat() argument
171 for (const auto& format : qualified_formats) { in FindBestFitFormat()
202 SupportedFormats qualified_formats; in GetQualifiedFormats() local
211 if (FindFormatByResolution(qualified_formats, supported_format.width, in GetQualifiedFormats()
215 qualified_formats.push_back(supported_format); in GetQualifiedFormats()
218 return qualified_formats; in GetQualifiedFormats()
Dformat_metadata_factory_test.cpp72 std::vector<uint32_t> qualified_formats = {V4L2_PIX_FMT_YUYV}; in TEST_F() local
82 .WillOnce(DoAll(SetArgPointee<0>(qualified_formats), Return(0))); in TEST_F()
143 std::vector<uint32_t> qualified_formats = {V4L2_PIX_FMT_YUYV}; in TEST_F() local
146 .WillOnce(DoAll(SetArgPointee<0>(qualified_formats), Return(0))); in TEST_F()
Dstream_format.h63 const arc::SupportedFormats& qualified_formats,