Lines Matching full:allocation
68 Return<Allocation> Context::allocationAdapterCreate(Type type, Allocation baseAlloc) {
72 return rs_to_hidl<Allocation>(_subAlloc);
75 Return<void> Context::allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) {
82 Return<Type> Context::allocationGetType(Allocation allocation) {
83 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
88 Return<Allocation> Context::allocationCreateTyped(Type type, AllocationMipmapControl amips, int32_t usage, Ptr ptr) {
94 return rs_to_hidl<Allocation>(_allocation);
97 Return<Allocation> Context::allocationCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint8_t>& bitmap, int32_t usage) {
103 return rs_to_hidl<Allocation>(_allocation);
106 Return<Allocation> Context::allocationCubeCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint8_t>& bitmap, int32_t usage) {
112 return rs_to_hidl<Allocation>(_allocation);
115 Return<NativeWindow> Context::allocationGetNativeWindow(Allocation allocation) {
116 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
121 Return<void> Context::allocationSetNativeWindow(Allocation allocation, NativeWindow nativewindow) {
122 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
128 Return<void> Context::allocationSetupBufferQueue(Allocation alloc, uint32_t numBuffer) {
135 Return<void> Context::allocationShareBufferQueue(Allocation baseAlloc, Allocation subAlloc) {
142 Return<void> Context::allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes) {
143 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
150 Return<void> Context::allocation1DWrite(Allocation allocation, uint32_t offset, uint32_t lod, uint32_t count, const hidl_vec<uint8_t>& data) {
151 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
161 Return<void> Context::allocationElementWrite(Allocation allocation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const hidl_vec<uint8_t>& data, Size compIdx) {
162 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
174 Return<void> Context::allocation2DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, const hidl_vec<uint8_t>& data, Size stride) {
175 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
189 Return<void> Context::allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) {
190 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
205 Return<void> Context::allocationGenerateMipmaps(Allocation allocation) {
206 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
211 Return<void> Context::allocationRead(Allocation allocation, Ptr data, Size sizeBytes) {
212 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
219 Return<void> Context::allocation1DRead(Allocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, Ptr data, Size sizeBytes) {
220 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
230 Return<void> Context::allocationElementRead(Allocation allocation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, Ptr data, Size sizeBytes, Size compIdx) {
231 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
243 Return<void> Context::allocation2DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, Ptr data, Size sizeBytes, Size stride) {
244 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
258 Return<void> Context::allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) {
259 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
274 Return<void> Context::allocationSyncAll(Allocation allocation, AllocationUsageType usageType) {
275 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
281 Return<void> Context::allocationResize1D(Allocation allocation, uint32_t dimX) {
282 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
288 Return<void> Context::allocationCopy2DRange(Allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, AllocationCubemapFace dstFace, uint32_t width, uint32_t height, Allocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, AllocationCubemapFace srcFace) {
305 Return<void> Context::allocationCopy3DRange(Allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstMip, uint32_t width, uint32_t height, uint32_t depth, Allocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcMip) {
323 Return<void> Context::allocationIoSend(Allocation allocation) {
324 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
329 Return<void> Context::allocationIoReceive(Allocation allocation) {
330 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
335 Return<void> Context::allocationGetPointer(Allocation allocation, uint32_t lod, AllocationCubemapFace face, uint32_t z, allocationGetPointer_cb _hidl_cb) {
336 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
496 Return<Closure> Context::closureCreate(ScriptKernelID kernelID, Allocation returnValue, const hidl_vec<ScriptFieldID>& fieldIDS, const hidl_vec<int64_t>& values, const hidl_vec<int32_t>& sizes, const hidl_vec<Closure>& depClosures, const hidl_vec<ScriptFieldID>& depFieldIDS) {
579 Return<void> Context::scriptGroupSetOutput(ScriptGroup sg, ScriptKernelID kid, Allocation alloc) {
587 Return<void> Context::scriptGroupSetInput(ScriptGroup sg, ScriptKernelID kid, Allocation alloc) {
618 Return<void> Context::scriptBindAllocation(Script script, Allocation allocation, uint32_t slot) {
620 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
649 Return<void> Context::scriptForEach(Script vs, uint32_t slot, const hidl_vec<Allocation>& vains, Allocation vaout, const hidl_vec<uint8_t>& params, Ptr sc) {
652 std::vector<RsAllocation> _vains = hidl_to_rs<RsAllocation>(vains, [](Allocation val) { return hidl_to_rs<RsAllocation>(val); });
662 Return<void> Context::scriptReduce(Script vs, uint32_t slot, const hidl_vec<Allocation>& vains, Allocation vaout, Ptr sc) {
665 Allocation val) { return hidl_to_rs<RsAllocation>(val); });