Lines Matching refs:bufferUsage
90 std::string getUsageString(hidl_bitfield<BufferUsage> bufferUsage) { in getUsageString() argument
93 Underlying usage = static_cast<Underlying>(bufferUsage); in getUsageString()
253 uint64_t bufferUsage = BO_USE_NONE; in convertToBufferUsage() local
257 bufferUsage |= BO_USE_SW_READ_RARELY; in convertToBufferUsage()
261 bufferUsage |= BO_USE_SW_READ_OFTEN; in convertToBufferUsage()
265 bufferUsage |= BO_USE_SW_WRITE_RARELY; in convertToBufferUsage()
269 bufferUsage |= BO_USE_SW_WRITE_OFTEN; in convertToBufferUsage()
272 bufferUsage |= BO_USE_TEXTURE; in convertToBufferUsage()
275 bufferUsage |= BO_USE_RENDERING; in convertToBufferUsage()
279 bufferUsage |= BO_USE_SCANOUT | BO_USE_TEXTURE; in convertToBufferUsage()
283 bufferUsage |= BO_USE_LINEAR; in convertToBufferUsage()
286 bufferUsage |= BO_USE_NONE; in convertToBufferUsage()
290 bufferUsage |= BO_USE_SW_READ_OFTEN; in convertToBufferUsage()
293 bufferUsage |= BO_USE_CAMERA_WRITE; in convertToBufferUsage()
296 bufferUsage |= BO_USE_CAMERA_READ; in convertToBufferUsage()
299 bufferUsage |= BO_USE_RENDERSCRIPT; in convertToBufferUsage()
302 bufferUsage |= BO_USE_HW_VIDEO_DECODER; in convertToBufferUsage()
305 *outBufferUsage = bufferUsage; in convertToBufferUsage()