diff options
author | Boyuan Zhang <[email protected]> | 2015-10-23 13:37:48 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2015-10-27 19:09:55 -0400 |
commit | ad2752e94b535dbcf01829464431ce242068de53 (patch) | |
tree | 5c9ab18610286617550c268b7a0a7279d99c33d9 /src/gallium/state_trackers/va/va_private.h | |
parent | 38c3d7cfc42f00c47f720ab293ad88b9a0f637f2 (diff) |
st/va: add VAAPI HEVC decode support
Signed-off-by: Boyuan Zhang <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/va_private.h')
-rw-r--r-- | src/gallium/state_trackers/va/va_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/state_trackers/va/va_private.h index 1ea7be79aa3..93af1be19a7 100644 --- a/src/gallium/state_trackers/va/va_private.h +++ b/src/gallium/state_trackers/va/va_private.h @@ -112,6 +112,8 @@ PipeToProfile(enum pipe_video_profile profile) return VAProfileH264High; case PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED: return VAProfileNone; + case PIPE_VIDEO_PROFILE_HEVC_MAIN: + return VAProfileHEVCMain; default: assert(0); return -1; @@ -142,6 +144,8 @@ ProfileToPipe(VAProfile profile) return PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN; case VAProfileH264High: return PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH; + case VAProfileHEVCMain: + return PIPE_VIDEO_PROFILE_HEVC_MAIN; default: return PIPE_VIDEO_PROFILE_UNKNOWN; } @@ -174,6 +178,7 @@ typedef struct { struct pipe_mpeg4_picture_desc mpeg4; struct pipe_vc1_picture_desc vc1; struct pipe_h264_picture_desc h264; + struct pipe_h265_picture_desc h265; } desc; struct { |