/frameworks/native/services/surfaceflinger/tests/ |
D | CommonTypes_test.cpp | 29 static_assert(static_cast<uint32_t>(AidlBlendMode::INVALID) == 30 static_cast<uint32_t>(HidlBlendMode::INVALID)); 31 static_assert(static_cast<uint32_t>(AidlBlendMode::NONE) == 32 static_cast<uint32_t>(HidlBlendMode::NONE)); 33 static_assert(static_cast<uint32_t>(AidlBlendMode::PREMULTIPLIED) == 34 static_cast<uint32_t>(HidlBlendMode::PREMULTIPLIED)); 35 static_assert(static_cast<uint32_t>(AidlBlendMode::COVERAGE) == 36 static_cast<uint32_t>(HidlBlendMode::COVERAGE)); 38 static_assert(static_cast<uint32_t>(ADATASPACE_UNKNOWN) == 39 static_cast<uint32_t>(AidlDataspace::UNKNOWN)); [all …]
|
/frameworks/rs/ |
D | rsHidlAdaptation.h | 53 …atic RsContext ContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContextType c… 59 …essageToClientType ContextGetMessage(RsContext, void*, size_t, size_t*, size_t, uint32_t*, size_t); 60 static RsMessageToClientType ContextPeekMessage(RsContext, size_t*, size_t, uint32_t*, size_t); 61 static void ContextSendMessage(RsContext, uint32_t, const uint8_t*, size_t); 69 static RsElement ElementCreate(RsContext, RsDataType, RsDataKind, bool, uint32_t); 70 …RsContext, const RsElement*, size_t, const char**, size_t, const size_t*, const uint32_t*, size_t); 71 … static void ElementGetNativeData(RsContext, RsElement, uint32_t *elemData, uint32_t elemDataSize); 72 …s(RsContext, RsElement, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSize); 74 …static RsType TypeCreate(RsContext, RsElement, uint32_t, uint32_t, uint32_t, bool, bool, uint32_t); 75 static void TypeGetNativeData(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSize); [all …]
|
D | rsAllocation.h | 50 const static uint32_t MAX_NUM_ALLOC = 16; 58 uint32_t usageFlags; 63 uint32_t yuv; 64 uint32_t elementSizeBytes; 75 uint32_t originX; 76 uint32_t originY; 77 uint32_t originZ; 78 uint32_t originLOD; 79 uint32_t originFace; 80 uint32_t originArray[Type::mMaxArrays]; [all …]
|
D | rs.spec | 9 param uint32_t *usrID 16 param uint32_t *usrID 21 param uint32_t id 41 param uint32_t dimX 42 param uint32_t dimY 43 param uint32_t dimZ 46 param uint32_t yuv 60 param uint32_t usages 70 param uint32_t usages 79 param uint32_t usages [all …]
|
D | rsApiStubs.h | 28 …C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContextType c… 34 …ata, size_t data_length, size_t * receiveLen, size_t receiveLen_length, uint32_t * usrID, size_t u… 35 …kMessage (RsContext rsc, size_t * receiveLen, size_t receiveLen_length, uint32_t * usrID, size_t u… 36 extern "C" void rsContextSendMessage (RsContext rsc, uint32_t id, const uint8_t * data, size_t data… 48 …Create (RsContext rsc, RsDataType mType, RsDataKind mKind, bool mNormalized, uint32_t mVectorSize); 49 …* names, size_t names_length_length, const size_t * names_length, const uint32_t * arraySize, size… 50 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, uint32_t *elemData, uint32_t… 51 …xt con, RsElement elem, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSize); 54 …eCreate (RsContext rsc, RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bo… 56 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… [all …]
|
D | rs_hal.h | 144 bool (*setSurface)(const Context *, uint32_t w, uint32_t h, RsNativeWindow); 150 void* (*allocRuntimeMem)(size_t size, uint32_t flags); 159 uint32_t flags); 165 uint32_t slot, 171 uint32_t slot, 178 uint32_t slot, 186 uint32_t slot, 190 uint32_t slot, 194 uint32_t slot, 198 const uint32_t *dims, [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | DngUtils.h | 66 virtual uint32_t getCount() const; 84 virtual status_t addGainMapsForMetadata(uint32_t lsmWidth, 85 uint32_t lsmHeight, 86 uint32_t activeAreaTop, 87 uint32_t activeAreaLeft, 88 uint32_t activeAreaBottom, 89 uint32_t activeAreaRight, 99 virtual status_t addGainMap(uint32_t top, 100 uint32_t left, 101 uint32_t bottom, [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ResolveInfo.h | 96 void setType(uint32_t pType); 98 void setDesc(uint32_t pDesc); 100 void setBinding(uint32_t pBinding); 102 void setOther(uint32_t pOther); 108 void setReserved(uint32_t pReserved); 158 uint32_t type() const; 160 uint32_t desc() const; 162 uint32_t binding() const; 164 uint32_t reserved() const; 184 uint32_t info() const { return (m_BitField & INFO_MASK); } in info() [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | BufferHubDefs.h | 57 static constexpr uint32_t kLowbitsMask = (1U << kMaxNumberOfClients) - 1U; 60 static constexpr uint32_t kHighBitsMask = ~kLowbitsMask; 63 static constexpr uint32_t kFirstClientBitMask = (1U << kMaxNumberOfClients) + 1U; 66 static inline bool isAnyClientGained(uint32_t state) { in isAnyClientGained() 67 uint32_t highBits = state >> kMaxNumberOfClients; in isAnyClientGained() 68 uint32_t lowBits = state & kLowbitsMask; in isAnyClientGained() 73 static inline bool isClientGained(uint32_t state, uint32_t client_bit_mask) { in isClientGained() 78 static inline bool isAnyClientPosted(uint32_t state) { in isAnyClientPosted() 79 uint32_t highBits = state >> kMaxNumberOfClients; in isAnyClientPosted() 80 uint32_t lowBits = state & kLowbitsMask; in isAnyClientPosted() [all …]
|
D | GraphicBuffer.h | 93 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 94 uint32_t inLayerCount, uint64_t inUsage, 130 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, 131 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage, 132 uint32_t inStride); 135 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, in GraphicBuffer() 136 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() 137 uint32_t inStride) in GraphicBuffer() 140 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 141 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride, [all …]
|
D | Gralloc.h | 54 virtual status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, 55 uint32_t height, android::PixelFormat format, 56 uint32_t layerCount, uint64_t usage, 57 uint32_t stride) const = 0; 59 virtual void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 60 uint32_t* outNumInts) const = 0; 83 virtual status_t isSupported(uint32_t /*width*/, uint32_t /*height*/, in isSupported() argument 84 android::PixelFormat /*format*/, uint32_t /*layerCount*/, in isSupported() 111 uint32_t* /*outPixelFormatFourCC*/) const { in getPixelFormatFourCC() argument 182 virtual status_t getDefaultPixelFormatFourCC(uint32_t /*width*/, uint32_t /*height*/, in getDefaultPixelFormatFourCC() argument [all …]
|
/frameworks/rs/cpp/ |
D | rsDispatch.h | 24 typedef void (*TypeGetNativeDataFnPtr)(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSiz… 25 typedef void (*ElementGetNativeDataFnPtr)(RsContext, RsElement, uint32_t *elemData, uint32_t elemDa… 26 …)(RsContext, RsElement, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSize); 30 …ontext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContextType c… 31 … (*ContextCreateVendorFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContextType c… 35 typedef void (*ClosureSetArgFnPtr)(RsContext, RsClosure, uint32_t, uintptr_t, int); 38 …lientType (*ContextGetMessageFnPtr) (RsContext, void*, size_t, size_t*, size_t, uint32_t*, size_t); 39 typedef RsMessageToClientType (*ContextPeekMessageFnPtr) (RsContext, size_t*, size_t, uint32_t*, si… 40 typedef void (*ContextSendMessageFnPtr) (RsContext, uint32_t, const uint8_t*, size_t); 44 …f RsType (*TypeCreateFnPtr) (RsContext, RsElement, uint32_t, uint32_t, uint32_t, bool, bool, uint3… [all …]
|
/frameworks/rs/script_api/include/ |
D | rs_allocation_data.rsh | 68 … rsAllocationCopy1DRange(rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, 69 rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip); 107 rsAllocationCopy2DRange(rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, 108 uint32_t dstMip, rs_allocation_cubemap_face dstFace, uint32_t width, 109 uint32_t height, rs_allocation srcAlloc, uint32_t srcXoff, 110 uint32_t srcYoff, uint32_t srcMip, rs_allocation_cubemap_face srcFace); 145 rsAllocationVLoadX_float2(rs_allocation a, uint32_t x); 150 rsAllocationVLoadX_float3(rs_allocation a, uint32_t x); 155 rsAllocationVLoadX_float4(rs_allocation a, uint32_t x); 160 rsAllocationVLoadX_double2(rs_allocation a, uint32_t x); [all …]
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | ion_buffer.h | 15 IonBuffer(uint32_t width, uint32_t height, uint32_t format, uint64_t usage); 16 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, 17 uint32_t stride, uint32_t format, uint64_t usage); 18 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, 19 uint32_t layer_count, uint32_t stride, uint32_t format, 37 int Alloc(uint32_t width, uint32_t height, uint32_t layer_count, 38 uint32_t format, uint64_t usage); 42 void Reset(buffer_handle_t handle, uint32_t width, uint32_t height, 43 uint32_t layer_count, uint32_t stride, uint32_t format, 49 int Import(buffer_handle_t handle, uint32_t width, uint32_t height, [all …]
|
D | buffer_hub_defs.h | 18 static constexpr uint32_t kMetadataFormat = HAL_PIXEL_FORMAT_BLOB; 19 static constexpr uint32_t kMetadataUsage = 25 static constexpr uint32_t kLowbitsMask = android::BufferHubDefs::kLowbitsMask; 26 static constexpr uint32_t kHighBitsMask = android::BufferHubDefs::kHighBitsMask; 27 static constexpr uint32_t kFirstClientBitMask = 30 static inline bool isAnyClientGained(uint32_t state) { in isAnyClientGained() 34 static inline bool isClientGained(uint32_t state, uint32_t client_bit_mask) { in isClientGained() 38 static inline bool isAnyClientPosted(uint32_t state) { in isAnyClientPosted() 42 static inline bool isClientPosted(uint32_t state, uint32_t client_bit_mask) { in isClientPosted() 46 static inline bool isAnyClientAcquired(uint32_t state) { in isAnyClientAcquired() [all …]
|
/frameworks/ml/nn/runtime/ |
D | ModelBuilder.h | 46 int setOperandValue(uint32_t index, const void* buffer, size_t length); 47 int setOperandValueFromMemory(uint32_t index, const Memory* memory, uint32_t offset, 49 int setOperandValueFromModel(uint32_t index, const ModelBuilder* value); 51 uint32_t index, const ANeuralNetworksSymmPerChannelQuantParams& extraParams); 52 int setOperandExtensionData(uint32_t index, const void* data, size_t length); 54 int addOperation(ANeuralNetworksOperationType type, uint32_t inputCount, const uint32_t* inputs, 55 uint32_t outputCount, const uint32_t* outputs); 56 int identifyInputsAndOutputs(uint32_t inputCount, const uint32_t* inputs, uint32_t outputCount, 57 const uint32_t* outputs); 77 uint32_t operandCount() const { in operandCount() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_structs.h | 40 uint32_t usageFlags; 42 uint32_t yuv; 43 uint32_t elementSizeBytes; 54 uint32_t originX; 55 uint32_t originY; 56 uint32_t originZ; 57 uint32_t originLOD; 58 uint32_t originFace; 59 uint32_t originArray[4/*Type::mMaxArrays*/]; 66 uint32_t dimX; [all …]
|
D | rs_allocation.c | 5 extern uint32_t __attribute__((overloadable)) 11 extern uint32_t __attribute__((overloadable)) 17 extern uint32_t __attribute__((overloadable)) 23 extern uint32_t __attribute__((overloadable)) 29 extern uint32_t __attribute__((overloadable)) 65 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, in rsOffset() 66 uint32_t z) { in rsOffset() 69 const uint32_t stride = (uint32_t)alloc->mHal.drvState.lod[0].stride; in rsOffset() 70 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffset() 77 rsOffsetNs(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { in rsOffsetNs() [all …]
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 38 uint32_t textureID; 43 uint32_t bufferID; 46 uint32_t renderTargetID; 80 uint32_t rsdAllocationGrallocBits(const android::renderscript::Context *rsc, 112 uint32_t xoff, uint32_t lod, size_t count, 116 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 117 uint32_t w, uint32_t h, 121 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 122 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, 127 uint32_t xoff, uint32_t lod, size_t count, [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicHistogram.cpp | 29 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; 30 void setGlobalObj(uint32_t slot, ObjectBase *data) override; 36 void preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, 38 uint32_t usrLen, const RsScriptCall *sc); 39 void postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, 41 uint32_t usrLen, const RsScriptCall *sc); 50 uint32_t xstart, uint32_t xend, 51 uint32_t outstep); 53 uint32_t xstart, uint32_t xend, 54 uint32_t outstep); [all …]
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBuffer.h | 93 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 94 uint32_t inLayerCount, uint64_t inUsage, 130 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, 131 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage, 132 uint32_t inStride); 135 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, in GraphicBuffer() 136 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() 137 uint32_t inStride) in GraphicBuffer() 140 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 141 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride, [all …]
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | StringHash.h | 27 template <uint32_t TYPE> 29 : public std::unary_function<const llvm::StringRef, uint32_t> { 30 uint32_t operator()(const llvm::StringRef pKey) const { in operator() 41 : public std::unary_function<const llvm::StringRef, uint32_t> { 42 uint32_t operator()(const llvm::StringRef pKey) const { 44 uint32_t a = 63689; 45 uint32_t hash_val = 0; 60 : public std::unary_function<const llvm::StringRef, uint32_t> { 61 uint32_t operator()(const llvm::StringRef pKey) const { 62 uint32_t hash_val = 1315423911; [all …]
|
/frameworks/base/media/jni/audioeffect/ |
D | Visualizer.h | 80 static uint32_t getMaxCaptureSize() { return VISUALIZER_CAPTURE_SIZE_MAX; } in getMaxCaptureSize() 82 static uint32_t getMinCaptureSize() { return VISUALIZER_CAPTURE_SIZE_MIN; } in getMinCaptureSize() 84 static uint32_t getMaxCaptureRate() { return CAPTURE_RATE_MAX; } in getMaxCaptureRate() 91 uint32_t waveformSize, 93 uint32_t fftSize, 95 uint32_t samplingrate); 99 status_t setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, uint32_t rate); 104 status_t setCaptureSize(uint32_t size); 105 uint32_t getCaptureSize() { return mCaptureSize; } in getCaptureSize() 108 uint32_t getCaptureRate() { return mCaptureRate; } in getCaptureRate() [all …]
|
/frameworks/av/media/extractors/mp4/ |
D | SampleTable.h | 42 uint32_t type, off64_t data_offset, size_t data_size); 48 uint32_t type, off64_t data_offset, size_t data_size); 59 uint32_t countChunkOffsets() const; 61 uint32_t countSamples() const; 66 uint32_t sampleIndex, 74 uint32_t getLastSampleIndexInChunk(); 84 uint32_t *sample_index, uint32_t flags); 87 uint32_t start_sample_index, uint32_t *sample_index, 88 uint32_t flags); 90 status_t findThumbnailSample(uint32_t *sample_index); [all …]
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 44 uint32_t OpcodeListBuilder::getCount() const { in getCount() 49 uint32_t count = convertToBigEndian(mCount); in buildOpList() 55 status_t OpcodeListBuilder::addGainMapsForMetadata(uint32_t lsmWidth, in addGainMapsForMetadata() 56 uint32_t lsmHeight, in addGainMapsForMetadata() 57 uint32_t activeAreaTop, in addGainMapsForMetadata() 58 uint32_t activeAreaLeft, in addGainMapsForMetadata() 59 uint32_t activeAreaBottom, in addGainMapsForMetadata() 60 uint32_t activeAreaRight, in addGainMapsForMetadata() 64 uint32_t activeAreaWidth = activeAreaRight - activeAreaLeft; in addGainMapsForMetadata() 65 uint32_t activeAreaHeight = activeAreaBottom - activeAreaTop; in addGainMapsForMetadata() [all …]
|