Home
last modified time | relevance | path

Searched refs:AllocatedFrame (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/camera/device/default/
DExternalCameraDeviceSession.h197 int cropAndScaleLocked(std::shared_ptr<AllocatedFrame>& in, const Size& outSize,
200 int cropAndScaleThumbLocked(std::shared_ptr<AllocatedFrame>& in, const Size& outSize,
225 std::shared_ptr<AllocatedFrame> mYu12Frame;
226 std::shared_ptr<AllocatedFrame> mYu12ThumbFrame;
227 std::unordered_map<Size, std::shared_ptr<AllocatedFrame>, SizeHasher> mIntermediateBuffers;
228 std::unordered_map<Size, std::shared_ptr<AllocatedFrame>, SizeHasher> mScaledYu12Frames;
DExternalCameraUtils.h175 class AllocatedFrame : public Frame {
177 AllocatedFrame(uint32_t w, uint32_t h); // only support V4L2_PIX_FMT_YUV420 for now
178 ~AllocatedFrame() override;
DExternalCameraUtils.cpp293 AllocatedFrame::AllocatedFrame(uint32_t w, uint32_t h) : Frame(w, h, V4L2_PIX_FMT_YUV420) {} in AllocatedFrame() function in android::hardware::camera::device::implementation::AllocatedFrame
294 AllocatedFrame::~AllocatedFrame() {} in ~AllocatedFrame()
296 int AllocatedFrame::getData(uint8_t** outData, size_t* dataSize) { in getData()
307 int AllocatedFrame::allocate(YCbCrLayout* out) { in allocate()
362 int AllocatedFrame::getLayout(YCbCrLayout* out) { in getLayout()
367 int AllocatedFrame::getCroppedLayout(const IMapper::Rect& rect, YCbCrLayout* out) { in getCroppedLayout()
DExternalCameraDeviceSession.cpp2150 mYu12Frame = std::make_shared<AllocatedFrame>(v4lSize.width, v4lSize.height); in allocateIntermediateBuffers()
2162 mYu12ThumbFrame = std::make_shared<AllocatedFrame>(thumbSize.width, thumbSize.height); in allocateIntermediateBuffers()
2178 std::shared_ptr<AllocatedFrame> buf = in allocateIntermediateBuffers()
2179 std::make_shared<AllocatedFrame>(stream.width, stream.height); in allocateIntermediateBuffers()
2350 std::shared_ptr<AllocatedFrame>& in, const Size& outSz, YCbCrLayout* out) { in cropAndScaleLocked()
2388 std::shared_ptr<AllocatedFrame> scaledYu12Buf; in cropAndScaleLocked()
2430 std::shared_ptr<AllocatedFrame>& in, const Size& outSz, YCbCrLayout* out) { in cropAndScaleThumbLocked()
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h149 sp<AllocatedFrame>& in, const Size& outSize,
153 sp<AllocatedFrame>& in, const Size& outSize,
178 sp<AllocatedFrame> mYu12Frame;
179 sp<AllocatedFrame> mYu12ThumbFrame;
180 std::unordered_map<Size, sp<AllocatedFrame>, SizeHasher> mIntermediateBuffers;
181 std::unordered_map<Size, sp<AllocatedFrame>, SizeHasher> mScaledYu12Frames;
DExternalCameraUtils.h166 class AllocatedFrame : public Frame {
168 AllocatedFrame(uint32_t w, uint32_t h); // only support V4L2_PIX_FMT_YUV420 for now
169 ~AllocatedFrame() override;
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp98 AllocatedFrame::AllocatedFrame( in AllocatedFrame() function in android::hardware::camera::device::V3_4::implementation::AllocatedFrame
102 AllocatedFrame::~AllocatedFrame() {} in ~AllocatedFrame()
104 int AllocatedFrame::allocate(YCbCrLayout* out) { in allocate()
158 int AllocatedFrame::getData(uint8_t** outData, size_t* dataSize) { in getData()
169 int AllocatedFrame::getLayout(YCbCrLayout* out) { in getLayout()
176 int AllocatedFrame::getCroppedLayout(const IMapper::Rect& rect, YCbCrLayout* out) { in getCroppedLayout()
DExternalCameraDeviceSession.cpp935 sp<AllocatedFrame>& in, const Size& outSz, YCbCrLayout* out) { in cropAndScaleLocked()
973 sp<AllocatedFrame> scaledYu12Buf; in cropAndScaleLocked()
1027 sp<AllocatedFrame>& in, const Size &outSz, YCbCrLayout* out) { in cropAndScaleThumbLocked()
1660 mYu12Frame = new AllocatedFrame(v4lSize.width, v4lSize.height); in allocateIntermediateBuffers()
1673 mYu12ThumbFrame = new AllocatedFrame(thumbSize.width, thumbSize.height); in allocateIntermediateBuffers()
1689 sp<AllocatedFrame> buf = new AllocatedFrame(stream.width, stream.height); in allocateIntermediateBuffers()