Home
last modified time | relevance | path

Searched refs:bufferDesc (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DConversions.h40 GeneralResult<BufferDesc> unvalidatedConvert(const hal::V1_3::BufferDesc& bufferDesc);
54 GeneralResult<BufferDesc> convert(const hal::V1_3::BufferDesc& bufferDesc);
80 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc);
94 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc);
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h90 GeneralResult<BufferDesc> unvalidatedConvert(const aidl_hal::BufferDesc& bufferDesc);
124 GeneralResult<BufferDesc> convert(const aidl_hal::BufferDesc& bufferDesc);
151 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc);
191 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc);
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp232 GeneralResult<BufferDesc> unvalidatedConvert(const hal::V1_3::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
233 return BufferDesc{.dimensions = bufferDesc.dimensions}; in unvalidatedConvert()
350 GeneralResult<BufferDesc> convert(const hal::V1_3::BufferDesc& bufferDesc) { in convert() argument
351 return validatedConvert(bufferDesc); in convert()
597 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
598 return BufferDesc{.dimensions = bufferDesc.dimensions}; in unvalidatedConvert()
703 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc) { in convert() argument
704 return validatedConvert(bufferDesc); in convert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp454 GeneralResult<BufferDesc> unvalidatedConvert(const aidl_hal::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
455 auto dimensions = NN_TRY(toUnsigned(bufferDesc.dimensions)); in unvalidatedConvert()
589 GeneralResult<BufferDesc> convert(const aidl_hal::BufferDesc& bufferDesc) { in convert() argument
590 return validatedConvert(bufferDesc); in convert()
823 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
824 auto dimensions = NN_TRY(toSigned(bufferDesc.dimensions)); in unvalidatedConvert()
1156 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc) { in convert() argument
1157 return validatedConvert(bufferDesc); in convert()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp460 AHardwareBuffer_Desc bufferDesc; in createHidlMemoryFrom() local
461 AHardwareBuffer_describe(ahwb, &bufferDesc); in createHidlMemoryFrom()
463 const bool isBlob = bufferDesc.format == AHARDWAREBUFFER_FORMAT_BLOB; in createHidlMemoryFrom()
464 const size_t size = isBlob ? bufferDesc.width : 0; in createHidlMemoryFrom()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.h135 : drmFd(fd), fbId(fb), bufferDesc(desc){}; in Framebuffer()
142 BufferDesc bufferDesc; member
DExynosDisplayDrmInterface.cpp220 [bufferDesc = Framebuffer::BufferDesc{config.buffer_id, drmFormat, in getBuffer()
222 auto& buffer) { return buffer->bufferDesc == bufferDesc; }); in getBuffer()
462 if (removedBufferDescs.count((*bufferIter)->bufferDesc)) { in uncacheLayerBuffers()