Home
last modified time | relevance | path

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

12345678910>>...95

/frameworks/native/services/surfaceflinger/tests/
DCommonTypes_test.cpp29 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/
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 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion,
29 RsContextType ct, uint32_t flags) __DEPRECATED_IN(31);
37 uint32_t* usrID, size_t usrID_length)
40 size_t receiveLen_length, uint32_t* usrID,
42 extern "C" void rsContextSendMessage(RsContext rsc, uint32_t id, const uint8_t* data,
59 bool mNormalized, uint32_t mVectorSize) __DEPRECATED_IN(31);
63 const uint32_t* arraySize, size_t arraySize_length)
65 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, uint32_t* elemData,
66 uint32_t elemDataSize) __DEPRECATED_IN(31);
68 const char** names, size_t* arraySizes, uint32_t dataSize)
[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/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.h93 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 …]
DGralloc.h54 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/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/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/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/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/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/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/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/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h93 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/
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/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/base/media/jni/audioeffect/
DVisualizer.h89 static uint32_t getMaxCaptureSize() { return VISUALIZER_CAPTURE_SIZE_MAX; } in getMaxCaptureSize()
91 static uint32_t getMinCaptureSize() { return VISUALIZER_CAPTURE_SIZE_MIN; } in getMinCaptureSize()
93 static uint32_t getMaxCaptureRate() { return CAPTURE_RATE_MAX; } in getMaxCaptureRate()
100 uint32_t waveformSize,
102 uint32_t fftSize,
104 uint32_t samplingrate);
108 status_t setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, uint32_t rate);
113 status_t setCaptureSize(uint32_t size);
114 uint32_t getCaptureSize() { return mCaptureSize; } in getCaptureSize()
117 uint32_t getCaptureRate() { return mCaptureRate; } in getCaptureRate()
[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 …]

12345678910>>...95