Lines Matching refs:uint64_t
22 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage, in android_convertGralloc0To1Usage()
23 uint64_t* consumerUsage) { in android_convertGralloc0To1Usage()
24 constexpr uint64_t PRODUCER_MASK = in android_convertGralloc0To1Usage()
32 constexpr uint64_t CONSUMER_MASK = in android_convertGralloc0To1Usage()
39 *producerUsage = static_cast<uint64_t>(usage) & PRODUCER_MASK; in android_convertGralloc0To1Usage()
40 *consumerUsage = static_cast<uint64_t>(usage) & CONSUMER_MASK; in android_convertGralloc0To1Usage()
51 int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t consumerUsage) { in android_convertGralloc1To0Usage()
52 static_assert(uint64_t(GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN) == in android_convertGralloc1To0Usage()
53 uint64_t(GRALLOC1_PRODUCER_USAGE_CPU_READ_OFTEN), in android_convertGralloc1To0Usage()
55 uint64_t merged = producerUsage | consumerUsage; in android_convertGralloc1To0Usage()
58 merged &= ~uint64_t(GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN); in android_convertGralloc1To0Usage()
63 merged &= ~uint64_t(GRALLOC1_PRODUCER_USAGE_CPU_WRITE_OFTEN); in android_convertGralloc1To0Usage()