Home
last modified time | relevance | path

Searched refs:resolutions (Results 1 – 7 of 7) sorted by relevance

/device/generic/goldfish/camera/
DEmulatedQemuCamera.cpp75 std::vector<Size> resolutions; in Initialize() local
86 resolutions.push_back(Size(width, height)); in Initialize()
104 for (const auto& res : resolutions) { in Initialize()
114 for (auto res = resolutions.begin(); res != resolutions.end(); ) { in Initialize()
117 res = resolutions.erase(res); in Initialize()
123 if (resolutions.empty()) { in Initialize()
130 for (size_t i = 0; i < resolutions.size(); ++i) { in Initialize()
134 sizesStream << resolutions[i].first << 'x' << resolutions[i].second; in Initialize()
150 std::string preferred_size = std::to_string(resolutions[0].first) in Initialize()
151 + "x" + std::to_string(resolutions[0].second); in Initialize()
[all …]
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedFakeCamera.cpp74 std::ostringstream resolutions; in Initialize() local
75 for (size_t index = 0; index < params.resolutions.size(); ++index) { in Initialize()
76 if (resolutions.str().size()) { in Initialize()
77 resolutions << ","; in Initialize()
79 resolutions << params.resolutions[index].width << "x" in Initialize()
80 << params.resolutions[index].height; in Initialize()
84 resolutions.str().c_str()); in Initialize()
86 resolutions.str().c_str()); in Initialize()
DCameraConfiguration.h41 std::vector<Resolution> resolutions; member
DCameraConfiguration.cpp265 camera.resolutions.push_back(CameraDefinition::Resolution()); in ConfigureCameras()
266 CameraDefinition::Resolution& resolution = camera.resolutions.back(); in ConfigureCameras()
DEmulatedFakeCamera2.cpp110 for (size_t index = 0; index < params.resolutions.size(); ++index) { in Initialize()
111 mAvailableRawSizes.push_back(params.resolutions[index].width); in Initialize()
112 mAvailableRawSizes.push_back(params.resolutions[index].height); in Initialize()
113 mAvailableProcessedSizes.push_back(params.resolutions[index].width); in Initialize()
114 mAvailableProcessedSizes.push_back(params.resolutions[index].height); in Initialize()
115 mAvailableJpegSizes.push_back(params.resolutions[index].width); in Initialize()
116 mAvailableJpegSizes.push_back(params.resolutions[index].height); in Initialize()
121 for (size_t index = 0; index < params.resolutions.size(); ++index) { in Initialize()
122 if (width <= params.resolutions[index].width && in Initialize()
123 height <= params.resolutions[index].height) { in Initialize()
[all …]
DEmulatedFakeCamera3.cpp1084 for (size_t index = 0; index < params.resolutions.size(); ++index) { in constructStaticInfo()
1085 if (width <= params.resolutions[index].width && in constructStaticInfo()
1086 height <= params.resolutions[index].height) { in constructStaticInfo()
1087 width = params.resolutions[index].width; in constructStaticInfo()
1088 height = params.resolutions[index].height; in constructStaticInfo()
/device/linaro/bootloader/edk2/OvmfPkg/
DREADME310 This enables further resolutions at OS runtime, and provides S3