Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp217 GeneralResult<BufferDesc> unvalidatedConvert(const hal::V1_3::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
218 return BufferDesc{.dimensions = bufferDesc.dimensions}; in unvalidatedConvert()
332 GeneralResult<BufferDesc> convert(const hal::V1_3::BufferDesc& bufferDesc) { in convert() argument
333 return validatedConvert(bufferDesc); in convert()
561 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
562 return BufferDesc{.dimensions = bufferDesc.dimensions}; in unvalidatedConvert()
664 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc) { in convert() argument
665 return validatedConvert(bufferDesc); in convert()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h85 GeneralResult<BufferDesc> unvalidatedConvert(const aidl_hal::BufferDesc& bufferDesc);
132 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc);
168 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc);
/hardware/interfaces/neuralnetworks/utils/common/src/
DCommonUtils.cpp127 AHardwareBuffer_Desc bufferDesc; in createHidlMemoryFrom() local
128 AHardwareBuffer_describe(ahwb, &bufferDesc); in createHidlMemoryFrom()
130 const bool isBlob = bufferDesc.format == AHARDWAREBUFFER_FORMAT_BLOB; in createHidlMemoryFrom()
131 const size_t size = isBlob ? bufferDesc.width : 0; in createHidlMemoryFrom()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp433 GeneralResult<BufferDesc> unvalidatedConvert(const aidl_hal::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
434 return BufferDesc{.dimensions = NN_TRY(toUnsigned(bufferDesc.dimensions))}; in unvalidatedConvert()
738 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() argument
739 return BufferDesc{.dimensions = NN_TRY(toSigned(bufferDesc.dimensions))}; in unvalidatedConvert()
1017 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc) { in convert() argument
1018 return validatedConvert(bufferDesc); in convert()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.h96 : drmFd(fd), fbId(fb), bufferDesc(desc){}; in Framebuffer()
103 BufferDesc bufferDesc; member