summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2015-03-16 12:15:17 -0700
committerAaron Plattner <aplattner@nvidia.com>2015-03-16 14:30:56 -0700
commit0b3d6a0387c1a4b494349c9385c81e06992d80ad (patch)
tree77eb8bcdfb934d8b0d6745051dbd1d0c4b15545d
parent8e1e235cbd81ed49b2646cf344503587b4e7a70a (diff)
Change HEVC profile numbers to 100 through 104
libvdpau 1.0 contained an error in its HEVC picture info structures. Rather than try to maintain backward compatibility with the incorrect definition, the existing VdpPictureInfoHEVC was updated to contain the fixed definition. Since the new structure is no longer compatible with the ABI defined by libvdpau 1.0, change the profile numbers for HEVC so that software built against the incorrect definition will not recognize the new profiles. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: José Hiram Soltren <jsoltren@nvidia.com>
-rw-r--r--include/vdpau/vdpau.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vdpau/vdpau.h b/include/vdpau/vdpau.h
index a0c4daf..e6803f7 100644
--- a/include/vdpau/vdpau.h
+++ b/include/vdpau/vdpau.h
@@ -2485,15 +2485,15 @@ typedef uint32_t VdpDecoderProfile;
#define VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE ((VdpDecoderProfile)26)
/** \hideinitializer */
/** \brief MPEG-H Part 2 == H.265 == HEVC */
-#define VDP_DECODER_PROFILE_HEVC_MAIN ((VdpDecoderProfile)50)
+#define VDP_DECODER_PROFILE_HEVC_MAIN ((VdpDecoderProfile)100)
/** \hideinitializer */
-#define VDP_DECODER_PROFILE_HEVC_MAIN_10 ((VdpDecoderProfile)51)
+#define VDP_DECODER_PROFILE_HEVC_MAIN_10 ((VdpDecoderProfile)101)
/** \hideinitializer */
-#define VDP_DECODER_PROFILE_HEVC_MAIN_STILL ((VdpDecoderProfile)52)
+#define VDP_DECODER_PROFILE_HEVC_MAIN_STILL ((VdpDecoderProfile)102)
/** \hideinitializer */
-#define VDP_DECODER_PROFILE_HEVC_MAIN_12 ((VdpDecoderProfile)53)
+#define VDP_DECODER_PROFILE_HEVC_MAIN_12 ((VdpDecoderProfile)103)
/** \hideinitializer */
-#define VDP_DECODER_PROFILE_HEVC_MAIN_444 ((VdpDecoderProfile)54)
+#define VDP_DECODER_PROFILE_HEVC_MAIN_444 ((VdpDecoderProfile)104)
/** \hideinitializer */
#define VDP_DECODER_LEVEL_MPEG1_NA 0