Just simply the description of the planes.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
PIPE_FORMAT_NONE
};
+const enum pipe_format const_resource_formats_P016[3] = {
+ PIPE_FORMAT_R16_UNORM,
+ PIPE_FORMAT_R16G16_UNORM,
+ PIPE_FORMAT_NONE
+};
+
const unsigned const_resource_plane_order_YUV[3] = {
0,
1,
case PIPE_FORMAT_UYVY:
return const_resource_formats_UYVY;
+ case PIPE_FORMAT_P016:
+ return const_resource_formats_P016;
+
default:
return NULL;
}
case PIPE_FORMAT_B8G8R8A8_UNORM:
case PIPE_FORMAT_YUYV:
case PIPE_FORMAT_UYVY:
+ case PIPE_FORMAT_P016:
return const_resource_plane_order_YUV;
default: