/hardware/qcom/camera/msm8998/QCamera2/HAL/test/ |
D | qcamera_test.h | 58 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 …]
|
D | qcamera_test.cpp | 472 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/ |
D | ExternalCameraUtils.h | 49 struct Size { struct 53 bool operator==(const Size& other) const { argument 59 size_t operator()(const Size& sz) const { in operator() 81 Size maxVideoSize; 93 Size size; 100 Size minStreamSize; 239 using ::android::hardware::camera::external::common::Size; 240 int getCropRect(CroppingType ct, const Size& inSize, 241 const Size& outSize, IMapper::Rect* out); 243 int formatConvert(const YCbCrLayout& in, const YCbCrLayout& out, Size sz, uint32_t format); [all …]
|
D | ExternalCameraDeviceSession.h | 71 using ::android::hardware::camera::external::common::Size; 121 const Size& v4lSize, const Size& thumbSize, 149 sp<AllocatedFrame>& in, const Size& outSize, 153 sp<AllocatedFrame>& in, const Size& outSize, 180 std::unordered_map<Size, sp<AllocatedFrame>, SizeHasher> mIntermediateBuffers; 181 std::unordered_map<Size, sp<AllocatedFrame>, SizeHasher> mScaledYu12Frames; 310 Size getMaxJpegResolution() const; 311 Size getMaxThumbResolution() const; 383 const Size mMaxThumbResolution; 384 const Size mMaxJpegResolution;
|
D | ExternalCameraDevice_3_4.h | 44 using ::android::hardware::camera::external::common::Size; 142 const Size& minStreamSize,
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | CameraParameters.h | 30 struct Size { struct 34 Size() { in Size() argument 39 Size(int w, int h) { in Size() function 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/ |
D | Context.h | 66 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 …]
|
D | Context.cpp | 156 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/ |
D | VtsCopyTests.cpp | 49 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 …]
|
D | VtsMiscellaneousTests.cpp | 126 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()
|
D | VtsScriptTests.cpp | 224 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 …]
|
D | VtsHalRenderscriptV1_0TargetTest.h | 56 using ::android::hardware::renderscript::V1_0::Size;
|
/hardware/interfaces/renderscript/1.0/ |
D | IContext.hal | 29 // 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 …]
|
D | types.hal | 34 typedef uint64_t Size;
|
/hardware/interfaces/camera/common/1.0/default/ |
D | CameraParameters.cpp | 329 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/ |
D | phNfcTypes.h | 108 uint32_t Size; /* Size of the datablock*/ member
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDeviceSession.cpp | 935 sp<AllocatedFrame>& in, const Size& outSz, YCbCrLayout* out) { in cropAndScaleLocked() 936 Size inSz = {in->mWidth, in->mHeight}; in cropAndScaleLocked() 1027 sp<AllocatedFrame>& in, const Size &outSz, YCbCrLayout* out) { in cropAndScaleThumbLocked() 1028 Size inSz {in->mWidth, in->mHeight}; in cropAndScaleThumbLocked() 1086 Size cropSz = { 2*static_cast<uint32_t>(fWcrop/2.0f), in cropAndScaleThumbLocked() 1182 Size ExternalCameraDeviceSession::getMaxJpegResolution() const { in getMaxJpegResolution() 1183 Size ret { 0, 0 }; in getMaxJpegResolution() 1186 ret = Size { fmt.width, fmt.height }; in getMaxJpegResolution() 1192 Size ExternalCameraDeviceSession::getMaxThumbResolution() const { in getMaxThumbResolution() 1264 Size thumbSize; in createJpegLocked() [all …]
|
D | ExternalCameraUtils.cpp | 245 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out) { in getCropRect() 304 const YCbCrLayout& in, const YCbCrLayout& out, Size sz, uint32_t format) { in formatConvert() 386 const Size & inSz, const YCbCrLayout& inLayout, in encodeJpegYU12() 563 Size getMaxThumbnailResolution(const common::V1_0::helper::CameraMetadata& chars) { in getMaxThumbnailResolution() 564 Size thumbSize { 0, 0 }; in getMaxThumbnailResolution() 568 Size sz { static_cast<uint32_t>(entry.data.i32[i]), in getMaxThumbnailResolution()
|
/hardware/interfaces/camera/device/3.6/default/ |
D | ExternalCameraOfflineSession.cpp | 94 Size inputSize = { mOfflineReqs[0]->frameIn->mWidth, mOfflineReqs[0]->frameIn->mHeight}; in initOutputThread() 95 Size maxThumbSize = V3_4::implementation::getMaxThumbnailResolution(mChars); in initOutputThread() 246 Size { halBuf.width, halBuf.height }, in threadLoop() 254 Size sz {halBuf.width, halBuf.height}; in threadLoop()
|
/hardware/interfaces/camera/device/3.6/default/include/ext_device_v3_6_impl/ |
D | ExternalCameraDevice_3_6.h | 38 using ::android::hardware::camera::external::common::Size;
|
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/ |
D | ExternalCameraDevice_3_5.h | 43 using ::android::hardware::camera::external::common::Size;
|
/hardware/interfaces/camera/provider/2.6/ |
D | ICameraProvider.hal | 42 * | Type | Size | Type | Size |
|
/hardware/nxp/nfc/halimpl/tml/ |
D | phTmlNfc.cc | 394 tMsg.Size = sizeof(tDeferredInfo); in phTmlNfc_TmlThread() 495 tMsg.Size = sizeof(tDeferredInfo); in phTmlNfc_TmlWriterThread()
|
/hardware/interfaces/memtrack/1.0/ |
D | types.hal | 23 * (Shared_Clean + Shared_Dirty + Private_Clean + Private_Dirty = Size).
|
/hardware/nxp/nfc/halimpl/hal/ |
D | phNxpNciHal.cc | 883 msg.Size = 0; in phNxpNciHal_open_complete() 956 msg.Size = 0; in phNxpNciHal_write_internal() 1879 msg.Size = 0; in phNxpNciHal_core_initialized() 2066 msg.Size = 0; in phNxpNciHal_core_initialized_complete() 2195 msg.Size = 0; in phNxpNciHal_close_complete() 2450 msg.Size = 0; in phNxpNciHal_power_cycle_complete() 3138 msg.Size = 0; in phNxpNciHal_hci_network_reset()
|