Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 2741) sorted by relevance

12345678910>>...110

/frameworks/rs/
DrsHidlAdaptation.h53 …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 …]
DrsAllocation.h50 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 …]
Drs.spec9 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 …]
DrsApiStubs.h28 …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 …]
Drs_hal.h144 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 …]
DrsRuntime.h33 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
34 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
35 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *);
36 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *);
41 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot);
43 void rsrClearFrameBufferObjectColorTarget(Context *, uint32_t slot);
63 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex);
65 uint32_t primIndex, uint32_t start, uint32_t len);
80 uint32_t dstOff,
81 uint32_t dstMip,
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DDngUtils.h66 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/rs/script_api/include/
Drs_allocation_data.rsh68 … 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/rs/cpp/
DrsDispatch.h24 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/compile/mclinker/include/mcld/LD/
DResolveInfo.h96 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/
DBufferHubDefs.h57 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 …]
DGraphicBuffer.h97 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
98 uint32_t inLayerCount, uint64_t inUsage,
134 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth,
135 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
136 uint32_t inStride);
139 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, in GraphicBuffer()
140 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer()
141 uint32_t inStride) in GraphicBuffer()
144 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
145 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride,
[all …]
/frameworks/ml/nn/runtime/
DModelBuilder.h46 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/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h15 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 …]
Dbuffer_hub_defs.h18 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/rs/driver/
DrsdAllocation.h38 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/driver/runtime/
Drs_structs.h40 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 …]
Drs_allocation.c5 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/cpu_ref/
DrsCpuIntrinsicHistogram.cpp29 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/compile/mclinker/include/mcld/ADT/
DStringHash.h27 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/
DVisualizer.h80 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/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h97 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
98 uint32_t inLayerCount, uint64_t inUsage,
134 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth,
135 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
136 uint32_t inStride);
139 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, in GraphicBuffer()
140 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer()
141 uint32_t inStride) in GraphicBuffer()
144 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
145 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride,
[all …]
/frameworks/av/media/extractors/mp4/
DSampleTable.h42 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/
DDngUtils.cpp44 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 …]
/frameworks/ml/nn/runtime/test/
DTestRemoveDefaultArguments.cpp121 void setSupportedInputCount(uint32_t count) { mSupportedInputCount = count; } in setSupportedInputCount()
135 uint32_t mSupportedInputCount = std::numeric_limits<uint32_t>::max();
153 void test(const test_helper::TestModel& testModel, uint32_t originalInputCount, in test()
154 uint32_t expectedInputCount) { in test()
173 uint32_t numDevices = 0; in getDeviceByName()
176 for (uint32_t i = 0; i < numDevices; i++) { in getDeviceByName()
194 const uint32_t originalInputCount = 11; in TEST_F()
195 const uint32_t expectedInputCount = 10; in TEST_F()
201 const uint32_t originalInputCount = 11; in TEST_F()
202 const uint32_t expectedInputCount = 11; in TEST_F()
[all …]

12345678910>>...110