diff options
author | ManojGuptaBonda <mbonda@nvidia.com> | 2019-04-26 09:43:37 +0530 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2019-05-05 11:35:35 -0700 |
commit | fc8fb88f10efe7e15c08c12c8895d36cfc92316d (patch) | |
tree | a87be24ccf2c95baf942b64ee6e426f924673ed8 /libavcodec/vdpau_internal.h | |
parent | d617d54efa146ddd81309c6236ca561ae1914698 (diff) |
avcodec/vdpau_hevc: Pass sps and pps range extension flags to VDPAU
Pass SPS, PPS range extensions to VDPAU layer via
VdpPictureInfoHEVC444. Added VdpPictureInfoHEVC444 struct to
VdpPictureInfo union to populate the range extension params. Mapped
FF_PROFILE_HEVC_REXT to VDP_DECODER_PROFILE_HEVC_MAIN_444.
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r-- | libavcodec/vdpau_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 4d63e50b16..1ee38dbc55 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -51,6 +51,9 @@ union VDPAUPictureInfo { #ifdef VDP_DECODER_PROFILE_HEVC_MAIN VdpPictureInfoHEVC hevc; #endif +#ifdef VDP_YCBCR_FORMAT_Y_U_V_444 + VdpPictureInfoHEVC444 hevc_444; +#endif }; typedef struct VDPAUHWContext { |