[PATCH libdrm 1/3] tests: util: pattern: Use 64bit RGB samples

2018-07-07 Thread Hyun Kwon
Use of 32bit RGB samples, where each component is 8bit, cannot support formats with components greater than 8bit (ex, XRGB2101010). Introduce MAKE_RGBA_64() which creates pixels from a 64bit sample. Each component in a 64bit sample is 16bit long, thus a pixel with 10bit components can be generated

[PATCH LIBDRM 1/3] tests: util: pattern: Use 64bit RGB samples

2018-05-04 Thread Hyun Kwon
Use of 32bit RGB samples, where each component is 8bit, cannot support formats with components greater than 8bit (ex, XRGB2101010). Introduce MAKE_RGBA_64() which creates pixels from a 64bit sample. Each component in a 64bit sample is 16bit long, thus a pixel with 10bit components can be generated