Lines Matching refs:hwbDesc
1125 AHardwareBuffer_Desc hwbDesc; in run_test() local
1126 hwbDesc.width = DEV_W; in run_test()
1127 hwbDesc.height = DEV_H; in run_test()
1128 hwbDesc.layers = 1; in run_test()
1130 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in run_test()
1134 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in run_test()
1139 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in run_test()
1141 hwbDesc.stride = 0; in run_test()
1142 hwbDesc.rfu0= 0; in run_test()
1143 hwbDesc.rfu1= 0; in run_test()
1145 if (int error = AHardwareBuffer_allocate(&hwbDesc, &buffer)) { in run_test()
1153 AHardwareBuffer_describe(buffer, &hwbDesc); in run_test()
1169 dst += hwbDesc.stride; in run_test()
1175 uint32_t dstPixel = bufferAddr[y * hwbDesc.stride + x]; in run_test()