Searched refs:bufferDesc (Results 1 – 5 of 5) sorted by relevance
217 GeneralResult<BufferDesc> unvalidatedConvert(const hal::V1_3::BufferDesc& bufferDesc) { in unvalidatedConvert() argument218 return BufferDesc{.dimensions = bufferDesc.dimensions}; in unvalidatedConvert()332 GeneralResult<BufferDesc> convert(const hal::V1_3::BufferDesc& bufferDesc) { in convert() argument333 return validatedConvert(bufferDesc); in convert()561 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() argument562 return BufferDesc{.dimensions = bufferDesc.dimensions}; in unvalidatedConvert()664 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc) { in convert() argument665 return validatedConvert(bufferDesc); in convert()
85 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);
127 AHardwareBuffer_Desc bufferDesc; in createHidlMemoryFrom() local128 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()
433 GeneralResult<BufferDesc> unvalidatedConvert(const aidl_hal::BufferDesc& bufferDesc) { in unvalidatedConvert() argument434 return BufferDesc{.dimensions = NN_TRY(toUnsigned(bufferDesc.dimensions))}; in unvalidatedConvert()738 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() argument739 return BufferDesc{.dimensions = NN_TRY(toSigned(bufferDesc.dimensions))}; in unvalidatedConvert()1017 nn::GeneralResult<BufferDesc> convert(const nn::BufferDesc& bufferDesc) { in convert() argument1018 return validatedConvert(bufferDesc); in convert()
96 : drmFd(fd), fbId(fb), bufferDesc(desc){}; in Framebuffer()103 BufferDesc bufferDesc; member