Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp281 Vector<Size> availableJpegSizes = getAvailableJpegSizes(); in initialize() local
282 if (!availableJpegSizes.size()) return NO_INIT; in initialize()
285 pictureWidth = availableJpegSizes[0].width; in initialize()
286 pictureHeight = availableJpegSizes[0].height; in initialize()
296 for (size_t i=0; i < availableJpegSizes.size(); i++) { in initialize()
299 availableJpegSizes[i].width, in initialize()
300 availableJpegSizes[i].height); in initialize()
2835 Vector<Size> availableJpegSizes = getAvailableJpegSizes(); in getJpegStreamMinFrameDurationNs() local
2836 size_t streamIdx = availableJpegSizes.size(); in getJpegStreamMinFrameDurationNs()
2837 for (size_t i = 0; i < availableJpegSizes.size(); i++) { in getJpegStreamMinFrameDurationNs()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp385 camera_metadata_ro_entry availableJpegSizes = in getMaxJpegResolution() local
387 if (availableJpegSizes.count == 0 || availableJpegSizes.count % 2 != 0) { in getMaxJpegResolution()
392 for (size_t i = 0; i < availableJpegSizes.count; i += 2) { in getMaxJpegResolution()
393 if ((availableJpegSizes.data.i32[i] * availableJpegSizes.data.i32[i + 1]) in getMaxJpegResolution()
395 maxJpegWidth = availableJpegSizes.data.i32[i]; in getMaxJpegResolution()
396 maxJpegHeight = availableJpegSizes.data.i32[i + 1]; in getMaxJpegResolution()