*num_profiles = 0;
pscreen = VL_VA_PSCREEN(ctx);
- for (p = PIPE_VIDEO_PROFILE_MPEG2_SIMPLE; p <= PIPE_VIDEO_PROFILE_JPEG_BASELINE; ++p) {
+ for (p = PIPE_VIDEO_PROFILE_MPEG2_SIMPLE; p <= PIPE_VIDEO_PROFILE_VP9_PROFILE0; ++p) {
if (u_reduce_video_profile(p) == PIPE_VIDEO_FORMAT_MPEG4 && !debug_get_option_mpeg4())
continue;
return VAProfileHEVCMain10;
case PIPE_VIDEO_PROFILE_JPEG_BASELINE:
return VAProfileJPEGBaseline;
+ case PIPE_VIDEO_PROFILE_VP9_PROFILE0:
+ return VAProfileVP9Profile0;
case PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED:
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH10:
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH422:
return PIPE_VIDEO_PROFILE_HEVC_MAIN_10;
case VAProfileJPEGBaseline:
return PIPE_VIDEO_PROFILE_JPEG_BASELINE;
+ case VAProfileVP9Profile0:
+ return PIPE_VIDEO_PROFILE_VP9_PROFILE0;
case VAProfileNone:
return PIPE_VIDEO_PROFILE_UNKNOWN;
default: