Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 25 of 35) sorted by relevance

12

/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.h58 size_t Size; member
86 status_t getCurrentPreviewSize(Size &previewSize);
89 status_t getCurrentPictureSize(Size &pictureSize);
94 status_t getCurrentVideoSize(Size &videoSize);
181 Size getPreviewSizeFromVideoSizes(Size currentVideoSize);
184 Vector<Size> mSupportedPreviewSizes;
185 Vector<Size> mSupportedPictureSizes;
186 Vector<Size> mSupportedVideoSizes;
275 void setViVSize(Size VideoSize, int camIndex);
304 void setViVSize(Size VideoSize, int camIndex);
[all …]
Dqcamera_test.cpp472 mSections[i].Size, fh); in encodeJPEG()
481 mJEXIFSection.Size, fh); in encodeJPEG()
489 mSections[i].Size, fh); in encodeJPEG()
591 mSections[mSectionsRead].Size = itemlen; in ReadSectionsFromBuffer()
648 mSections[mSectionsRead].Size = size; in ReadSectionsFromBuffer()
874 Size currentPictureSize = mSupportedPictureSizes.itemAt( in postData()
957 mJEXIFSection.Data = (unsigned char*)malloc(mJEXIFTmp->Size); in postData()
965 mJEXIFTmp->Data, mJEXIFTmp->Size); in postData()
1056 Size currentVideoSize = mSupportedVideoSizes.itemAt(mCurrentVideoSizeIdx); in dataCallbackTimestamp()
1736 mInterpr->setViVSize((Size) mSupportedVideoSizes.itemAt( in openCamera()
[all …]
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraUtils.h38 struct Size { struct
42 bool operator==(const Size& other) const { argument
48 size_t operator()(const Size& sz) const { in operator()
67 Size maxVideoSize;
79 Size size;
86 Size minStreamSize;
DExternalCameraDeviceSession.h71 using ::android::hardware::camera::external::common::Size;
247 Size getMaxJpegResolution() const;
248 Size getMaxThumbResolution() const;
260 const Size& v4lSize, const Size& thumbSize,
283 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out);
293 sp<AllocatedFrame>& in, const Size& outSize,
297 sp<AllocatedFrame>& in, const Size& outSize,
301 Size sz, uint32_t format);
303 static int encodeJpegYU12(const Size &inSz,
329 std::unordered_map<Size, sp<AllocatedFrame>, SizeHasher> mIntermediateBuffers;
[all …]
DExternalCameraDevice_3_4.h44 using ::android::hardware::camera::external::common::Size;
142 const Size& minStreamSize,
/hardware/interfaces/camera/common/1.0/default/include/
DCameraParameters.h30 struct Size { struct
34 Size() { in Size() argument
39 Size(int w, int h) { in Size() argument
66 void getSupportedPreviewSizes(Vector<Size> &sizes) const;
86 void getSupportedVideoSizes(Vector<Size> &sizes) const;
103 void getSupportedPictureSizes(Vector<Size> &sizes) const;
/hardware/interfaces/renderscript/1.0/default/
DContext.h66 Return<void> allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes) override;
68 …2_t x, uint32_t y, uint32_t z, uint32_t lod, const hidl_vec<uint8_t>& data, Size compIdx) override;
69 …tionCubemapFace face, uint32_t w, uint32_t h, const hidl_vec<uint8_t>& data, Size stride) override;
70 …32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) override;
72 Return<void> allocationRead(Allocation allocation, Ptr data, Size sizeBytes) override;
73 …cation allocation, uint32_t xoff, uint32_t lod, uint32_t count, Ptr data, Size sizeBytes) override;
74 …tion, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, Ptr data, Size sizeBytes, Size compIdx) ov…
75 …od, AllocationCubemapFace face, uint32_t w, uint32_t h, Ptr data, Size sizeBytes, Size stride) ove…
76 …zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) ove…
85 …Return<void> elementGetSubElements(Element element, Size numSubElem, elementGetSubElements_cb _hid…
[all …]
DContext.cpp156 Return<void> Context::allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes) { in allocationCopyToBitmap()
175 …n, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const hidl_vec<uint8_t>& data, Size compIdx) { in allocationElementWrite()
188 …, AllocationCubemapFace face, uint32_t w, uint32_t h, const hidl_vec<uint8_t>& data, Size stride) { in allocation2DWrite()
203 …ff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) { in allocation3DWrite()
225 Return<void> Context::allocationRead(Allocation allocation, Ptr data, Size sizeBytes) { in allocationRead()
233 …ead(Allocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, Ptr data, Size sizeBytes) { in allocation1DRead()
244 …cation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, Ptr data, Size sizeBytes, Size compIdx) { in allocationElementRead()
257 …t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, Ptr data, Size sizeBytes, Size stride) { in allocation2DRead()
272 …_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) { in allocation3DRead()
358 Size stride = static_cast<Size>(_stride); in allocationGetPointer()
[all …]
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsCopyTests.cpp49 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P()
51 (Size)dataOut.size()*sizeof(float)); in TEST_P()
88 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float), 0); in TEST_P()
124 (Size)dataOut.size()*sizeof(float), 0); in TEST_P()
161 (Size)dataOut1.size()*sizeof(float)); in TEST_P()
164 context->allocationRead(allocation, (Ptr)dataOut2.data(), (Size)dataOut2.size()*sizeof(float)); in TEST_P()
211 context->allocationRead(allocDst, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float)); in TEST_P()
263 context->allocationRead(allocDst, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float)); in TEST_P()
322 256, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float), 0); in TEST_P()
367 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint8_t), in TEST_P()
[all …]
DVtsMiscellaneousTests.cpp126 Size stride; in TEST_P()
128 [&](Ptr _dataPtr, Size _stride){ in TEST_P()
130 EXPECT_EQ(Size(0), stride); in TEST_P()
134 [&](Ptr _dataPtr, Size _stride){ in TEST_P()
136 EXPECT_EQ(Size(0), stride); in TEST_P()
187 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint32_t), 0); in TEST_P()
253 (Ptr)dataOut1.data(), (Size)dataOut1.size()*sizeof(uint32_t), 0); in TEST_P()
261 (Ptr)dataOut2.data(), (Size)dataOut2.size()*sizeof(uint32_t), 0); in TEST_P()
283 context->contextPeekMessage([&](MessageToClientType _type, Size _size, uint32_t _subID){ in TEST_P()
287 [&](MessageToClientType _type, Size _size){ in TEST_P()
DVtsScriptTests.cpp224 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P()
229 context->allocationRead(vout, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint8_t)); in TEST_P()
272 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P()
277 context->allocationRead(vaout, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(int)); in TEST_P()
314 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P()
320 context->allocationRead(allocation, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(int)); in TEST_P()
408 (Ptr)dataOut.data(), (Size)dataOut.size(), 0); in TEST_P()
443 context->allocation1DWrite(allocation, 0, 0, (Size)_dataIn.size(), _dataIn); in TEST_P()
486 context->allocationRead(allocation, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint8_t)); in TEST_P()
520 context->allocation1DWrite(allocation, 0, 0, (Size)_dataIn.size(), _dataIn); in TEST_P()
[all …]
DVtsHalRenderscriptV1_0TargetTest.h56 using ::android::hardware::renderscript::V1_0::Size;
/hardware/interfaces/renderscript/1.0/
DIContext.hal29 // use Ptr/Size. The convention is that vec<> is used whenever the paramter is
31 // parameters, so a more explicit Ptr/Size is used.
193 * @param sizeBytes Size of the buffer pointed to by "data"
196 allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes);
238 Size compIdx);
263 uint32_t h, vec<uint8_t> data, Size stride);
289 uint32_t d, vec<uint8_t> data, Size stride);
318 * @param sizeBytes Size of the buffer pointed to by "data"
321 allocationRead(Allocation allocation, Ptr data, Size sizeBytes);
339 * @param sizeBytes Size of the buffer pointed to by "data"
[all …]
Dtypes.hal34 typedef uint64_t Size;
/hardware/qcom/camera/msm8998/
DQCameraParameters.h24 using ::android::hardware::camera::common::V1_0::helper::Size;
245 void getSupportedHfrSizes(Vector<Size> &sizes) const;
/hardware/interfaces/camera/common/1.0/default/
DCameraParameters.cpp329 static void parseSizesList(const char *sizesStr, Vector<Size> &sizes) in parseSizesList()
345 sizes.push(Size(width, height)); in parseSizesList()
378 void CameraParameters::getSupportedPreviewSizes(Vector<Size> &sizes) const in getSupportedPreviewSizes()
399 void CameraParameters::getSupportedVideoSizes(Vector<Size> &sizes) const in getSupportedVideoSizes()
449 void CameraParameters::getSupportedPictureSizes(Vector<Size> &sizes) const in getSupportedPictureSizes()
/hardware/nxp/nfc/halimpl/common/
DphNfcTypes.h108 uint32_t Size; /* Size of the datablock*/ member
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp982 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out) { in getCropRect()
1041 sp<AllocatedFrame>& in, const Size& outSz, YCbCrLayout* out) { in cropAndScaleLocked()
1042 Size inSz = {in->mWidth, in->mHeight}; in cropAndScaleLocked()
1133 sp<AllocatedFrame>& in, const Size &outSz, YCbCrLayout* out) { in cropAndScaleThumbLocked()
1134 Size inSz {in->mWidth, in->mHeight}; in cropAndScaleThumbLocked()
1192 Size cropSz = { 2*static_cast<uint32_t>(fWcrop/2.0f), in cropAndScaleThumbLocked()
1278 const YCbCrLayout& in, const YCbCrLayout& out, Size sz, uint32_t format) { in formatConvertLocked()
1360 const Size & inSz, const YCbCrLayout& inLayout, in encodeJpegYU12()
1547 Size ExternalCameraDeviceSession::getMaxJpegResolution() const { in getMaxJpegResolution()
1548 Size ret { 0, 0 }; in getMaxJpegResolution()
[all …]
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/
DExternalCameraDevice_3_5.h43 using ::android::hardware::camera::external::common::Size;
DExternalCameraDeviceSession.h57 using ::android::hardware::camera::external::common::Size;
/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc.cc394 tMsg.Size = sizeof(tDeferredInfo); in phTmlNfc_TmlThread()
495 tMsg.Size = sizeof(tDeferredInfo); in phTmlNfc_TmlWriterThread()
/hardware/interfaces/memtrack/1.0/
Dtypes.hal23 * (Shared_Clean + Shared_Dirty + Private_Clean + Private_Dirty = Size).
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc883 msg.Size = 0; in phNxpNciHal_open_complete()
953 msg.Size = 0; in phNxpNciHal_write_internal()
1876 msg.Size = 0; in phNxpNciHal_core_initialized()
2063 msg.Size = 0; in phNxpNciHal_core_initialized_complete()
2192 msg.Size = 0; in phNxpNciHal_close_complete()
2447 msg.Size = 0; in phNxpNciHal_power_cycle_complete()
3135 msg.Size = 0; in phNxpNciHal_hci_network_reset()
/hardware/interfaces/wifi/hostapd/1.0/
DIHostapd.hal26 * Size limits for some of the params used in this interface.
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantIface.hal27 * Size limits for some of the params used in this interface.

12