Skip to content

i965: remove scaling factors from P010, P012

Tapani Pälli requested to merge tpalli/mesa:remove-px-scaling into master

Patch removes scaling factors introduced in 2a2e69f9 but leaves option to use scaling in place as it could be useful with other upcoming YUV formats.

We did this scaling because ffmpeg was shifting channel bits down, however it seems this is not the right place as compositor wants to flip same buffers directly to display as well and therefore bitshifting needs to be done by the client when receiving frame from ffmpeg.

Now P0x formats are treated the same, e.g. P010 is same as P016 but with lower 6 bits set to zeros.

Signed-off-by: Tapani Pälli tapani.palli@intel.com

Merge request reports