case VA_FOURCC('N','V','1','2'):
return PIPE_FORMAT_NV12;
case VA_FOURCC('P','0','1','0'):
+ return PIPE_FORMAT_P010;
case VA_FOURCC('P','0','1','6'):
return PIPE_FORMAT_P016;
case VA_FOURCC('I','4','2','0'):
switch (p_format) {
case PIPE_FORMAT_NV12:
return VA_FOURCC('N','V','1','2');
+ case PIPE_FORMAT_P010:
+ return VA_FOURCC('P','0','1','0');
case PIPE_FORMAT_P016:
return VA_FOURCC('P','0','1','6');
case PIPE_FORMAT_IYUV:
sampler_views[extra] =
st->pipe->create_sampler_view(st->pipe, stObj->pt->next, &tmpl);
break;
+ case PIPE_FORMAT_P010:
case PIPE_FORMAT_P016:
/* we need one additional R16G16 view: */
tmpl.format = PIPE_FORMAT_RG1616_UNORM;