Home
last modified time | relevance | path

Searched refs:thumbSize (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp735 Size thumbSize{0, 0}; in getMaxThumbnailResolution() local
739 if (sz.width * sz.height > thumbSize.width * thumbSize.height) { in getMaxThumbnailResolution()
740 thumbSize = sz; in getMaxThumbnailResolution()
744 if (thumbSize.width * thumbSize.height == 0) { in getMaxThumbnailResolution()
748 return thumbSize; in getMaxThumbnailResolution()
DExternalCameraDeviceSession.cpp406 Size thumbSize{0, 0}; in configureStreams() local
411 if (sz.width * sz.height > thumbSize.width * thumbSize.height) { in configureStreams()
412 thumbSize = sz; in configureStreams()
416 if (thumbSize.width * thumbSize.height == 0) { in configureStreams()
2137 const Size& v4lSize, const Size& thumbSize, const std::vector<Stream>& streams, in allocateIntermediateBuffers() argument
2159 if (mYu12ThumbFrame == nullptr || mYu12ThumbFrame->mWidth != thumbSize.width || in allocateIntermediateBuffers()
2160 mYu12ThumbFrame->mHeight != thumbSize.height) { in allocateIntermediateBuffers()
2162 mYu12ThumbFrame = std::make_shared<AllocatedFrame>(thumbSize.width, thumbSize.height); in allocateIntermediateBuffers()
2574 Size thumbSize; in createJpegLocked() local
2593 thumbSize = Size{.width = entry.data.i32[0], .height = entry.data.i32[1]}; in createJpegLocked()
[all …]
DExternalCameraDeviceSession.h171 Status allocateIntermediateBuffers(const Size& v4lSize, const Size& thumbSize,
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp593 Size thumbSize { 0, 0 }; in getMaxThumbnailResolution() local
599 if(sz.width * sz.height > thumbSize.width * thumbSize.height) { in getMaxThumbnailResolution()
600 thumbSize = sz; in getMaxThumbnailResolution()
604 if (thumbSize.width * thumbSize.height == 0) { in getMaxThumbnailResolution()
608 return thumbSize; in getMaxThumbnailResolution()
DExternalCameraDeviceSession.cpp1264 Size thumbSize; in createJpegLocked() local
1288 thumbSize = Size { static_cast<uint32_t>(entry.data.i32[0]), in createJpegLocked()
1291 if (thumbSize.width == 0 && thumbSize.height == 0) { in createJpegLocked()
1326 ret = cropAndScaleThumbLocked(mYu12Frame, thumbSize, &yu12Thumb); in createJpegLocked()
1343 ret = encodeJpegYU12(thumbSize, yu12Thumb, in createJpegLocked()
1646 const Size& v4lSize, const Size& thumbSize, in allocateIntermediateBuffers() argument
1670 mYu12ThumbFrame->mWidth != thumbSize.width || in allocateIntermediateBuffers()
1671 mYu12ThumbFrame->mHeight != thumbSize.height) { in allocateIntermediateBuffers()
1673 mYu12ThumbFrame = new AllocatedFrame(thumbSize.width, thumbSize.height); in allocateIntermediateBuffers()
2422 Size thumbSize { 0, 0 }; in configureStreams() local
[all …]
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h121 const Size& v4lSize, const Size& thumbSize,