833 #define VDP_INVALID_HANDLE 0xffffffffU
849 #define VDP_CHROMA_TYPE_420 ((VdpChromaType)0)
858 #define VDP_CHROMA_TYPE_422 ((VdpChromaType)1)
867 #define VDP_CHROMA_TYPE_444 ((VdpChromaType)2)
873 #define VDP_CHROMA_TYPE_420_FIELD ((VdpChromaType)3)
878 #define VDP_CHROMA_TYPE_422_FIELD ((VdpChromaType)4)
883 #define VDP_CHROMA_TYPE_444_FIELD ((VdpChromaType)5)
889 #define VDP_CHROMA_TYPE_420_FRAME ((VdpChromaType)6)
894 #define VDP_CHROMA_TYPE_422_FRAME ((VdpChromaType)7)
899 #define VDP_CHROMA_TYPE_444_FRAME ((VdpChromaType)8)
908 #define VDP_CHROMA_TYPE_420_16 ((VdpChromaType)9)
917 #define VDP_CHROMA_TYPE_422_16 ((VdpChromaType)10)
926 #define VDP_CHROMA_TYPE_444_16 ((VdpChromaType)11)
932 #define VDP_CHROMA_TYPE_420_FIELD_16 ((VdpChromaType)12)
937 #define VDP_CHROMA_TYPE_422_FIELD_16 ((VdpChromaType)13)
942 #define VDP_CHROMA_TYPE_444_FIELD_16 ((VdpChromaType)14)
948 #define VDP_CHROMA_TYPE_420_FRAME_16 ((VdpChromaType)15)
953 #define VDP_CHROMA_TYPE_422_FRAME_16 ((VdpChromaType)16)
958 #define VDP_CHROMA_TYPE_444_FRAME_16 ((VdpChromaType)17)
978 #define VDP_YCBCR_FORMAT_NV12 ((VdpYCbCrFormat)0)
990 #define VDP_YCBCR_FORMAT_YV12 ((VdpYCbCrFormat)1)
1004 #define VDP_YCBCR_FORMAT_UYVY ((VdpYCbCrFormat)2)
1018 #define VDP_YCBCR_FORMAT_YUYV ((VdpYCbCrFormat)3)
1031 #define VDP_YCBCR_FORMAT_Y8U8V8A8 ((VdpYCbCrFormat)4)
1044 #define VDP_YCBCR_FORMAT_V8U8Y8A8 ((VdpYCbCrFormat)5)
1058 #define VDP_YCBCR_FORMAT_Y_UV_444 ((VdpYCbCrFormat)6)
1070 #define VDP_YCBCR_FORMAT_Y_U_V_444 ((VdpYCbCrFormat)7)
1088 #define VDP_YCBCR_FORMAT_P010 ((VdpYCbCrFormat)8)
1102 #define VDP_YCBCR_FORMAT_P016 ((VdpYCbCrFormat)9)
1114 #define VDP_YCBCR_FORMAT_Y_U_V_444_16 ((VdpYCbCrFormat)11)
1133 #define VDP_RGBA_FORMAT_B8G8R8A8 ((VdpRGBAFormat)0)
1146 #define VDP_RGBA_FORMAT_R8G8B8A8 ((VdpRGBAFormat)1)
1159 #define VDP_RGBA_FORMAT_R10G10B10A2 ((VdpRGBAFormat)2)
1172 #define VDP_RGBA_FORMAT_B10G10R10A2 ((VdpRGBAFormat)3)
1183 #define VDP_RGBA_FORMAT_A8 ((VdpRGBAFormat)4)
1201 #define VDP_INDEXED_FORMAT_A4I4 ((VdpIndexedFormat)0)
1213 #define VDP_INDEXED_FORMAT_I4A4 ((VdpIndexedFormat)1)
1225 #define VDP_INDEXED_FORMAT_A8I8 ((VdpIndexedFormat)2)
1237 #define VDP_INDEXED_FORMAT_I8A8 ((VdpIndexedFormat)3)
1472 #define VDPAU_INTERFACE_VERSION 1
1485 #define VDPAU_VERSION 1
1494 uint32_t * api_version
1516 char const * * information_string
1589 #define VDP_PROCAMP_VERSION 0
1635 #define VDP_COLOR_STANDARD_ITUR_BT_601 ((VdpColorStandard)0)
1637 #define VDP_COLOR_STANDARD_ITUR_BT_709 ((VdpColorStandard)1)
1639 #define VDP_COLOR_STANDARD_SMPTE_240M ((VdpColorStandard)2)
1651 VdpColorStandard standard,
1653 VdpCSCMatrix * csc_matrix
1702 VdpChromaType surface_chroma_type,
1704 VdpBool * is_supported,
1705 uint32_t * max_width,
1706 uint32_t * max_height
1722 VdpChromaType surface_chroma_type,
1723 VdpYCbCrFormat bits_ycbcr_format,
1725 VdpBool * is_supported
1781 VdpChromaType chroma_type,
1785 VdpVideoSurface * surface
1794 VdpVideoSurface surface
1807 VdpVideoSurface surface,
1809 VdpChromaType * chroma_type,
1833 VdpVideoSurface surface,
1834 VdpYCbCrFormat destination_ycbcr_format,
1835 void *
const * destination_data,
1836 uint32_t
const * destination_pitches
1858 VdpVideoSurface surface,
1859 VdpYCbCrFormat source_ycbcr_format,
1860 void const *
const * source_data,
1861 uint32_t
const * source_pitches
1911 #define VDP_COLOR_TABLE_FORMAT_B8G8R8X8 ((VdpColorTableFormat)0)
1928 VdpRGBAFormat surface_rgba_format,
1930 VdpBool * is_supported,
1931 uint32_t * max_width,
1932 uint32_t * max_height
1947 VdpRGBAFormat surface_rgba_format,
1949 VdpBool * is_supported
1968 VdpRGBAFormat surface_rgba_format,
1969 VdpIndexedFormat bits_indexed_format,
1970 VdpColorTableFormat color_table_format,
1972 VdpBool * is_supported
1989 VdpRGBAFormat surface_rgba_format,
1990 VdpYCbCrFormat bits_ycbcr_format,
1992 VdpBool * is_supported
2015 VdpRGBAFormat rgba_format,
2019 VdpOutputSurface * surface
2028 VdpOutputSurface surface
2041 VdpOutputSurface surface,
2043 VdpRGBAFormat * rgba_format,
2068 VdpOutputSurface surface,
2070 void *
const * destination_data,
2071 uint32_t
const * destination_pitches
2094 VdpOutputSurface surface,
2095 void const *
const * source_data,
2096 uint32_t
const * source_pitches,
2097 VdpRect const * destination_rect
2126 VdpOutputSurface surface,
2127 VdpIndexedFormat source_indexed_format,
2128 void const *
const * source_data,
2129 uint32_t
const * source_pitch,
2130 VdpRect const * destination_rect,
2131 VdpColorTableFormat color_table_format,
2132 void const * color_table
2161 VdpOutputSurface surface,
2162 VdpYCbCrFormat source_ycbcr_format,
2163 void const *
const * source_data,
2164 uint32_t
const * source_pitches,
2165 VdpRect const * destination_rect,
2166 VdpCSCMatrix
const * csc_matrix
2221 VdpRGBAFormat surface_rgba_format,
2223 VdpBool * is_supported,
2224 uint32_t * max_width,
2225 uint32_t * max_height
2253 VdpRGBAFormat rgba_format,
2256 VdpBool frequently_accessed,
2258 VdpBitmapSurface * surface
2267 VdpBitmapSurface surface
2282 VdpBitmapSurface surface,
2284 VdpRGBAFormat * rgba_format,
2287 VdpBool * frequently_accessed
2310 VdpBitmapSurface surface,
2311 void const *
const * source_data,
2312 uint32_t
const * source_pitches,
2313 VdpRect const * destination_rect
2362 #define VDP_OUTPUT_SURFACE_RENDER_BLEND_STATE_VERSION 0
2401 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_0 0
2408 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_90 1
2415 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_180 2
2422 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_270 3
2431 #define VDP_OUTPUT_SURFACE_RENDER_COLOR_PER_VERTEX (1 << 2)
2504 VdpOutputSurface destination_surface,
2505 VdpRect const * destination_rect,
2506 VdpOutputSurface source_surface,
2584 VdpOutputSurface destination_surface,
2585 VdpRect const * destination_rect,
2586 VdpBitmapSurface source_surface,
2616 #define VDP_DECODER_PROFILE_MPEG1 ((VdpDecoderProfile)0)
2618 #define VDP_DECODER_PROFILE_MPEG2_SIMPLE ((VdpDecoderProfile)1)
2620 #define VDP_DECODER_PROFILE_MPEG2_MAIN ((VdpDecoderProfile)2)
2623 #define VDP_DECODER_PROFILE_H264_BASELINE ((VdpDecoderProfile)6)
2625 #define VDP_DECODER_PROFILE_H264_MAIN ((VdpDecoderProfile)7)
2627 #define VDP_DECODER_PROFILE_H264_HIGH ((VdpDecoderProfile)8)
2629 #define VDP_DECODER_PROFILE_VC1_SIMPLE ((VdpDecoderProfile)9)
2631 #define VDP_DECODER_PROFILE_VC1_MAIN ((VdpDecoderProfile)10)
2633 #define VDP_DECODER_PROFILE_VC1_ADVANCED ((VdpDecoderProfile)11)
2635 #define VDP_DECODER_PROFILE_MPEG4_PART2_SP ((VdpDecoderProfile)12)
2637 #define VDP_DECODER_PROFILE_MPEG4_PART2_ASP ((VdpDecoderProfile)13)
2639 #define VDP_DECODER_PROFILE_DIVX4_QMOBILE ((VdpDecoderProfile)14)
2641 #define VDP_DECODER_PROFILE_DIVX4_MOBILE ((VdpDecoderProfile)15)
2643 #define VDP_DECODER_PROFILE_DIVX4_HOME_THEATER ((VdpDecoderProfile)16)
2645 #define VDP_DECODER_PROFILE_DIVX4_HD_1080P ((VdpDecoderProfile)17)
2647 #define VDP_DECODER_PROFILE_DIVX5_QMOBILE ((VdpDecoderProfile)18)
2649 #define VDP_DECODER_PROFILE_DIVX5_MOBILE ((VdpDecoderProfile)19)
2651 #define VDP_DECODER_PROFILE_DIVX5_HOME_THEATER ((VdpDecoderProfile)20)
2653 #define VDP_DECODER_PROFILE_DIVX5_HD_1080P ((VdpDecoderProfile)21)
2655 #define VDP_DECODER_PROFILE_H264_CONSTRAINED_BASELINE ((VdpDecoderProfile)22)
2657 #define VDP_DECODER_PROFILE_H264_EXTENDED ((VdpDecoderProfile)23)
2659 #define VDP_DECODER_PROFILE_H264_PROGRESSIVE_HIGH ((VdpDecoderProfile)24)
2661 #define VDP_DECODER_PROFILE_H264_CONSTRAINED_HIGH ((VdpDecoderProfile)25)
2664 #define VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE ((VdpDecoderProfile)26)
2666 #define VDP_DECODER_PROFILE_VP9_PROFILE_0 ((VdpDecoderProfile)27)
2668 #define VDP_DECODER_PROFILE_VP9_PROFILE_1 ((VdpDecoderProfile)28)
2670 #define VDP_DECODER_PROFILE_VP9_PROFILE_2 ((VdpDecoderProfile)29)
2672 #define VDP_DECODER_PROFILE_VP9_PROFILE_3 ((VdpDecoderProfile)30)
2675 #define VDP_DECODER_PROFILE_HEVC_MAIN ((VdpDecoderProfile)100)
2677 #define VDP_DECODER_PROFILE_HEVC_MAIN_10 ((VdpDecoderProfile)101)
2679 #define VDP_DECODER_PROFILE_HEVC_MAIN_STILL ((VdpDecoderProfile)102)
2681 #define VDP_DECODER_PROFILE_HEVC_MAIN_12 ((VdpDecoderProfile)103)
2683 #define VDP_DECODER_PROFILE_HEVC_MAIN_444 ((VdpDecoderProfile)104)
2685 #define VDP_DECODER_PROFILE_HEVC_MAIN_444_10 ((VdpDecoderProfile)105)
2687 #define VDP_DECODER_PROFILE_HEVC_MAIN_444_12 ((VdpDecoderProfile)106)
2690 #define VDP_DECODER_LEVEL_MPEG1_NA 0
2693 #define VDP_DECODER_LEVEL_MPEG2_LL 0
2695 #define VDP_DECODER_LEVEL_MPEG2_ML 1
2697 #define VDP_DECODER_LEVEL_MPEG2_HL14 2
2699 #define VDP_DECODER_LEVEL_MPEG2_HL 3
2702 #define VDP_DECODER_LEVEL_H264_1 10
2704 #define VDP_DECODER_LEVEL_H264_1b 9
2706 #define VDP_DECODER_LEVEL_H264_1_1 11
2708 #define VDP_DECODER_LEVEL_H264_1_2 12
2710 #define VDP_DECODER_LEVEL_H264_1_3 13
2712 #define VDP_DECODER_LEVEL_H264_2 20
2714 #define VDP_DECODER_LEVEL_H264_2_1 21
2716 #define VDP_DECODER_LEVEL_H264_2_2 22
2718 #define VDP_DECODER_LEVEL_H264_3 30
2720 #define VDP_DECODER_LEVEL_H264_3_1 31
2722 #define VDP_DECODER_LEVEL_H264_3_2 32
2724 #define VDP_DECODER_LEVEL_H264_4 40
2726 #define VDP_DECODER_LEVEL_H264_4_1 41
2728 #define VDP_DECODER_LEVEL_H264_4_2 42
2730 #define VDP_DECODER_LEVEL_H264_5 50
2732 #define VDP_DECODER_LEVEL_H264_5_1 51
2735 #define VDP_DECODER_LEVEL_VC1_SIMPLE_LOW 0
2737 #define VDP_DECODER_LEVEL_VC1_SIMPLE_MEDIUM 1
2740 #define VDP_DECODER_LEVEL_VC1_MAIN_LOW 0
2742 #define VDP_DECODER_LEVEL_VC1_MAIN_MEDIUM 1
2744 #define VDP_DECODER_LEVEL_VC1_MAIN_HIGH 2
2747 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L0 0
2749 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L1 1
2751 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L2 2
2753 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L3 3
2755 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L4 4
2758 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L0 0
2760 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L1 1
2762 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L2 2
2764 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L3 3
2767 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L0 0
2769 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L1 1
2771 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L2 2
2773 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L3 3
2775 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L4 4
2777 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L5 5
2780 #define VDP_DECODER_LEVEL_DIVX_NA 0
2783 #define VDP_DECODER_LEVEL_VP9_L1 1
2791 #define VDP_DECODER_LEVEL_HEVC_1 30
2793 #define VDP_DECODER_LEVEL_HEVC_2 60
2795 #define VDP_DECODER_LEVEL_HEVC_2_1 63
2797 #define VDP_DECODER_LEVEL_HEVC_3 90
2799 #define VDP_DECODER_LEVEL_HEVC_3_1 93
2801 #define VDP_DECODER_LEVEL_HEVC_4 120
2803 #define VDP_DECODER_LEVEL_HEVC_4_1 123
2805 #define VDP_DECODER_LEVEL_HEVC_5 150
2807 #define VDP_DECODER_LEVEL_HEVC_5_1 153
2809 #define VDP_DECODER_LEVEL_HEVC_5_2 156
2811 #define VDP_DECODER_LEVEL_HEVC_6 180
2813 #define VDP_DECODER_LEVEL_HEVC_6_1 183
2815 #define VDP_DECODER_LEVEL_HEVC_6_2 186
2851 VdpDecoderProfile profile,
2854 void * capability_value
2877 VdpDecoderProfile profile,
2879 VdpBool * is_supported,
2880 uint32_t * max_level,
2881 uint32_t * max_macroblocks,
2882 uint32_t * max_width,
2883 uint32_t * max_height
2909 VdpDecoderProfile profile,
2912 uint32_t max_references,
2914 VdpDecoder * decoder
2941 VdpDecoderProfile * profile,
2946 #define VDP_BITSTREAM_BUFFER_VERSION 0
3015 uint8_t f_code[2][2];
3017 uint8_t intra_quantizer_matrix[64];
3019 uint8_t non_intra_quantizer_matrix[64];
3049 int32_t field_order_cnt[2];
3084 int32_t field_order_cnt[2];
3117 uint8_t scaling_lists_4x4[6][16];
3119 uint8_t scaling_lists_8x8[2][64];
3302 uint8_t intra_quantizer_matrix[64];
3303 uint8_t non_intra_quantizer_matrix[64];
3347 unsigned char refFrameSignBias[4];
3363 unsigned char segmentFeatureEnable[8][4];
3364 short segmentFeatureData[8][4];
3365 unsigned char mbSegmentTreeProbs[7];
3366 unsigned char segmentPredProbs[3];
3367 unsigned char reservedSegment16Bits[2];
3374 unsigned int activeRefIdx[3];
3377 unsigned int mbRefLfDelta[4];
3378 unsigned int mbModeLfDelta[2];
3426 uint8_t ScalingList4x4[6][16];
3429 uint8_t ScalingList8x8[6][64];
3432 uint8_t ScalingList16x16[6][64];
3435 uint8_t ScalingList32x32[2][64];
3438 uint8_t ScalingListDCCoeff16x16[6];
3441 uint8_t ScalingListDCCoeff32x32[2];
3500 uint16_t column_width_minus1[20];
3504 uint16_t row_height_minus1[22];
3569 VdpVideoSurface RefPics[16];
3572 int32_t PicOrderCntVal[16];
3576 uint8_t IsLongTerm[16];
3588 uint8_t RefPicSetStCurrBefore[8];
3591 uint8_t RefPicSetStCurrAfter[8];
3594 uint8_t RefPicSetLtCurr[8];
3649 int8_t cb_qp_adjustment[6];
3651 int8_t cr_qp_adjustment[6];
3685 VdpVideoSurface target,
3686 VdpPictureInfo
const * picture_info,
3687 uint32_t bitstream_buffer_count,
3782 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL ((VdpVideoMixerFeature)0)
3795 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL ((VdpVideoMixerFeature)1)
3804 #define VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE ((VdpVideoMixerFeature)2)
3812 #define VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION ((VdpVideoMixerFeature)3)
3820 #define VDP_VIDEO_MIXER_FEATURE_SHARPNESS ((VdpVideoMixerFeature)4)
3833 #define VDP_VIDEO_MIXER_FEATURE_LUMA_KEY ((VdpVideoMixerFeature)5)
3855 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 ((VdpVideoMixerFeature)11)
3862 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L2 ((VdpVideoMixerFeature)12)
3869 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L3 ((VdpVideoMixerFeature)13)
3876 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L4 ((VdpVideoMixerFeature)14)
3883 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L5 ((VdpVideoMixerFeature)15)
3890 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L6 ((VdpVideoMixerFeature)16)
3897 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L7 ((VdpVideoMixerFeature)17)
3904 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L8 ((VdpVideoMixerFeature)18)
3911 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L9 ((VdpVideoMixerFeature)19)
3939 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_WIDTH ((VdpVideoMixerParameter)0)
3952 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_HEIGHT ((VdpVideoMixerParameter)1)
3966 #define VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE ((VdpVideoMixerParameter)2)
3985 #define VDP_VIDEO_MIXER_PARAMETER_LAYERS ((VdpVideoMixerParameter)3)
4014 #define VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR ((VdpVideoMixerAttribute)0)
4042 #define VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX ((VdpVideoMixerAttribute)1)
4055 #define VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL ((VdpVideoMixerAttribute)2)
4071 #define VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL ((VdpVideoMixerAttribute)3)
4083 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA ((VdpVideoMixerAttribute)4)
4095 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA ((VdpVideoMixerAttribute)5)
4110 #define VDP_VIDEO_MIXER_ATTRIBUTE_SKIP_CHROMA_DEINTERLACE ((VdpVideoMixerAttribute)6)
4123 VdpVideoMixerFeature feature,
4125 VdpBool * is_supported
4140 VdpVideoMixerParameter parameter,
4142 VdpBool * is_supported
4156 VdpVideoMixerAttribute attribute,
4158 VdpBool * is_supported
4173 VdpVideoMixerParameter parameter,
4191 VdpVideoMixerAttribute attribute,
4225 uint32_t feature_count,
4226 VdpVideoMixerFeature
const * features,
4228 uint32_t parameter_count,
4229 VdpVideoMixerParameter
const * parameters,
4230 void const *
const * parameter_values,
4232 VdpVideoMixer * mixer
4246 VdpVideoMixer mixer,
4247 uint32_t feature_count,
4248 VdpVideoMixerFeature
const * features,
4249 VdpBool
const * feature_enables
4265 VdpVideoMixer mixer,
4266 uint32_t attribute_count,
4267 VdpVideoMixerAttribute
const * attributes,
4268 void const *
const * attribute_values
4283 VdpVideoMixer mixer,
4284 uint32_t feature_count,
4285 VdpVideoMixerFeature
const * features,
4287 VdpBool * feature_supports
4300 VdpVideoMixer mixer,
4301 uint32_t feature_count,
4302 VdpVideoMixerFeature
const * features,
4304 VdpBool * feature_enables
4320 VdpVideoMixer mixer,
4321 uint32_t parameter_count,
4322 VdpVideoMixerParameter
const * parameters,
4324 void *
const * parameter_values
4340 VdpVideoMixer mixer,
4341 uint32_t attribute_count,
4342 VdpVideoMixerAttribute
const * attributes,
4344 void *
const * attribute_values
4377 #define VDP_LAYER_VERSION 0
4475 VdpVideoMixer mixer,
4476 VdpOutputSurface background_surface,
4477 VdpRect const * background_source_rect,
4479 uint32_t video_surface_past_count,
4480 VdpVideoSurface
const * video_surface_past,
4481 VdpVideoSurface video_surface_current,
4482 uint32_t video_surface_future_count,
4483 VdpVideoSurface
const * video_surface_future,
4484 VdpRect const * video_source_rect,
4485 VdpOutputSurface destination_surface,
4486 VdpRect const * destination_rect,
4487 VdpRect const * destination_video_rect,
4488 uint32_t layer_count,
4560 VdpPresentationQueueTarget presentation_queue_target
4582 VdpPresentationQueueTarget presentation_queue_target,
4584 VdpPresentationQueue * presentation_queue
4593 VdpPresentationQueue presentation_queue
4606 VdpPresentationQueue presentation_queue,
4616 VdpPresentationQueue presentation_queue,
4628 VdpPresentationQueue presentation_queue,
4630 VdpTime * current_time
4674 VdpPresentationQueue presentation_queue,
4675 VdpOutputSurface surface,
4676 uint32_t clip_width,
4677 uint32_t clip_height,
4678 VdpTime earliest_presentation_time
4697 VdpPresentationQueue presentation_queue,
4698 VdpOutputSurface surface,
4700 VdpTime * first_presentation_time
4728 VdpPresentationQueue presentation_queue,
4729 VdpOutputSurface surface,
4732 VdpTime * first_presentation_time
4830 #define VDP_FUNC_ID_GET_ERROR_STRING ((VdpFuncId)0)
4832 #define VDP_FUNC_ID_GET_PROC_ADDRESS ((VdpFuncId)1)
4834 #define VDP_FUNC_ID_GET_API_VERSION ((VdpFuncId)2)
4836 #define VDP_FUNC_ID_GET_INFORMATION_STRING ((VdpFuncId)4)
4838 #define VDP_FUNC_ID_DEVICE_DESTROY ((VdpFuncId)5)
4840 #define VDP_FUNC_ID_GENERATE_CSC_MATRIX ((VdpFuncId)6)
4842 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)7)
4844 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES ((VdpFuncId)8)
4846 #define VDP_FUNC_ID_VIDEO_SURFACE_CREATE ((VdpFuncId)9)
4848 #define VDP_FUNC_ID_VIDEO_SURFACE_DESTROY ((VdpFuncId)10)
4850 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_PARAMETERS ((VdpFuncId)11)
4852 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR ((VdpFuncId)12)
4854 #define VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR ((VdpFuncId)13)
4856 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)14)
4858 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_GET_PUT_BITS_NATIVE_CAPABILITIES ((VdpFuncId)15)
4860 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_INDEXED_CAPABILITIES ((VdpFuncId)16)
4862 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_Y_CB_CR_CAPABILITIES ((VdpFuncId)17)
4864 #define VDP_FUNC_ID_OUTPUT_SURFACE_CREATE ((VdpFuncId)18)
4866 #define VDP_FUNC_ID_OUTPUT_SURFACE_DESTROY ((VdpFuncId)19)
4868 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_PARAMETERS ((VdpFuncId)20)
4870 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_BITS_NATIVE ((VdpFuncId)21)
4872 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_NATIVE ((VdpFuncId)22)
4874 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_INDEXED ((VdpFuncId)23)
4876 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_Y_CB_CR ((VdpFuncId)24)
4878 #define VDP_FUNC_ID_BITMAP_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)25)
4880 #define VDP_FUNC_ID_BITMAP_SURFACE_CREATE ((VdpFuncId)26)
4882 #define VDP_FUNC_ID_BITMAP_SURFACE_DESTROY ((VdpFuncId)27)
4884 #define VDP_FUNC_ID_BITMAP_SURFACE_GET_PARAMETERS ((VdpFuncId)28)
4886 #define VDP_FUNC_ID_BITMAP_SURFACE_PUT_BITS_NATIVE ((VdpFuncId)29)
4888 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_OUTPUT_SURFACE ((VdpFuncId)33)
4890 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_BITMAP_SURFACE ((VdpFuncId)34)
4892 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_VIDEO_SURFACE_LUMA ((VdpFuncId)35)
4894 #define VDP_FUNC_ID_DECODER_QUERY_CAPABILITIES ((VdpFuncId)36)
4896 #define VDP_FUNC_ID_DECODER_CREATE ((VdpFuncId)37)
4898 #define VDP_FUNC_ID_DECODER_DESTROY ((VdpFuncId)38)
4900 #define VDP_FUNC_ID_DECODER_GET_PARAMETERS ((VdpFuncId)39)
4902 #define VDP_FUNC_ID_DECODER_RENDER ((VdpFuncId)40)
4904 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_FEATURE_SUPPORT ((VdpFuncId)41)
4906 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_SUPPORT ((VdpFuncId)42)
4908 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_SUPPORT ((VdpFuncId)43)
4910 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_VALUE_RANGE ((VdpFuncId)44)
4912 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_VALUE_RANGE ((VdpFuncId)45)
4914 #define VDP_FUNC_ID_VIDEO_MIXER_CREATE ((VdpFuncId)46)
4916 #define VDP_FUNC_ID_VIDEO_MIXER_SET_FEATURE_ENABLES ((VdpFuncId)47)
4918 #define VDP_FUNC_ID_VIDEO_MIXER_SET_ATTRIBUTE_VALUES ((VdpFuncId)48)
4920 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_SUPPORT ((VdpFuncId)49)
4922 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_ENABLES ((VdpFuncId)50)
4924 #define VDP_FUNC_ID_VIDEO_MIXER_GET_PARAMETER_VALUES ((VdpFuncId)51)
4926 #define VDP_FUNC_ID_VIDEO_MIXER_GET_ATTRIBUTE_VALUES ((VdpFuncId)52)
4928 #define VDP_FUNC_ID_VIDEO_MIXER_DESTROY ((VdpFuncId)53)
4930 #define VDP_FUNC_ID_VIDEO_MIXER_RENDER ((VdpFuncId)54)
4932 #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_DESTROY ((VdpFuncId)55)
4934 #define VDP_FUNC_ID_PRESENTATION_QUEUE_CREATE ((VdpFuncId)56)
4936 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DESTROY ((VdpFuncId)57)
4938 #define VDP_FUNC_ID_PRESENTATION_QUEUE_SET_BACKGROUND_COLOR ((VdpFuncId)58)
4940 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_BACKGROUND_COLOR ((VdpFuncId)59)
4942 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_TIME ((VdpFuncId)62)
4944 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DISPLAY ((VdpFuncId)63)
4946 #define VDP_FUNC_ID_PRESENTATION_QUEUE_BLOCK_UNTIL_SURFACE_IDLE ((VdpFuncId)64)
4948 #define VDP_FUNC_ID_PRESENTATION_QUEUE_QUERY_SURFACE_STATUS ((VdpFuncId)65)
4950 #define VDP_FUNC_ID_PREEMPTION_CALLBACK_REGISTER ((VdpFuncId)66)
4952 #define VDP_FUNC_ID_DECODER_QUERY_CAPABILITY ((VdpFuncId)67)
4954 #define VDP_FUNC_ID_BASE_WINSYS 0x1000
4967 VdpFuncId function_id,
4969 void * * function_pointer
VdpStatus VdpVideoSurfaceGetBitsYCbCr(VdpVideoSurface surface, VdpYCbCrFormat destination_ycbcr_format, void *const *destination_data, uint32_t const *destination_pitches)
Copy image data from a VdpVideoSurface to application memory in a specified YCbCr format...
Definition: vdpau.h:1832
float saturation
Definition: vdpau.h:1618
VdpPictureInfoMPEG4Part2 VdpPictureInfoDivX4
Picture parameter information for a DivX 4 picture.
Definition: vdpau.h:3313
VdpOutputSurfaceRenderBlendEquation
The blending equations.
Definition: vdpau.h:2354
VdpVideoSurface goldenReference
Definition: vdpau.h:3330
uint32_t VdpYCbCrFormat
The set of all known YCbCr surface formats.
Definition: vdpau.h:963
uint32_t bitstream_bytes
Definition: vdpau.h:2960
unsigned char modeRefLfEnabled
Definition: vdpau.h:3354
unsigned short allowHighPrecisionMv
Definition: vdpau.h:3344
VdpStatus VdpOutputSurfaceQueryPutBitsYCbCrCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpYCbCrFormat bits_ycbcr_format, VdpBool *is_supported)
Query the implementation's capability to perform a PutBits operation using application data in a spec...
Definition: vdpau.h:1987
uint8_t pcm_sample_bit_depth_luma_minus1
Definition: vdpau.h:3446
uint8_t quarter_sample
Definition: vdpau.h:3296
uint8_t frame_pred_frame_dct
Definition: vdpau.h:3004
uint8_t extended_dmv
Definition: vdpau.h:3210
uint8_t pquant
Definition: vdpau.h:3261
Application data buffer containing compressed video data.
Definition: vdpau.h:2952
VdpStatus VdpOutputSurfaceQueryPutBitsIndexedCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpIndexedFormat bits_indexed_format, VdpColorTableFormat color_table_format, VdpBool *is_supported)
Query the implementation's capability to perform a PutBits operation using application data in a spec...
Definition: vdpau.h:1966
uint8_t NumPocStCurrAfter
Definition: vdpau.h:3582
VdpOutputSurfaceRenderBlendFactor
The blending equation factors.
Definition: vdpau.h:2332
float hue
Definition: vdpau.h:1623
VdpStatus VdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, uint32_t width, uint32_t height, VdpVideoSurface *surface)
Create a VdpVideoSurface.
Definition: vdpau.h:1779
VdpBool is_long_term
Definition: vdpau.h:3037
uint32_t VdpIndexedFormat
The set of all known indexed surface formats.
Definition: vdpau.h:1188
uint8_t q_scale_type
Definition: vdpau.h:3008
uint8_t sps_temporal_mvp_enabled_flag
Definition: vdpau.h:3462
uint8_t strong_intra_smoothing_enabled_flag
Definition: vdpau.h:3463
uint8_t intraSmoothingDisabledFlag
Definition: vdpau.h:3621
uint32_t VdpRGBAFormat
The set of all known RGB surface formats.
Definition: vdpau.h:1119
unsigned char bitDepthMinus8Luma
Definition: vdpau.h:3349
VdpStatus VdpDecoderQueryProfileCapability(VdpDevice device, VdpDecoderProfile profile, VdpDecoderCapability capability, void *capability_value)
Query the supported value of the requested capability, for the specified profile on the specified dev...
Definition: vdpau.h:2849
uint8_t num_tile_rows_minus1
Definition: vdpau.h:3494
uint8_t range_mapy
Definition: vdpau.h:3221
VdpVideoSurface altReference
Definition: vdpau.h:3331
void const * bitstream
Definition: vdpau.h:2958
int qpYAc
Definition: vdpau.h:3369
uint8_t bit_depth_chroma_minus8
Definition: vdpau.h:3411
VdpStatus VdpVideoMixerGetParameterValues(VdpVideoMixer mixer, uint32_t parameter_count, VdpVideoMixerParameter const *parameters, void *const *parameter_values)
Retrieve parameter values given at creation time.
Definition: vdpau.h:4319
uint8_t frame_mbs_only_flag
Definition: vdpau.h:3100
VdpStatus VdpOutputSurfacePutBitsNative(VdpOutputSurface surface, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect)
Copy image data from application memory in the surface's native format to a VdpOutputSurface.
Definition: vdpau.h:2093
uint8_t postprocflag
Definition: vdpau.h:3188
uint32_t struct_version
Definition: vdpau.h:2387
VdpPictureInfoMPEG4Part2 VdpPictureInfoDivX5
Picture parameter information for a DivX 5 picture.
Definition: vdpau.h:3321
uint8_t deblocking_filter_override_enabled_flag
Definition: vdpau.h:3512
uint8_t max_transform_hierarchy_depth_inter
Definition: vdpau.h:3420
uint8_t output_flag_present_flag
Definition: vdpau.h:3471
uint8_t constrained_intra_pred_flag
Definition: vdpau.h:3097
uint8_t long_term_ref_pics_present_flag
Definition: vdpau.h:3458
uint8_t transformSkipRotationEnableFlag
Definition: vdpau.h:3611
VdpStatus VdpOutputSurfacePutBitsIndexed(VdpOutputSurface surface, VdpIndexedFormat source_indexed_format, void const *const *source_data, uint32_t const *source_pitch, VdpRect const *destination_rect, VdpColorTableFormat color_table_format, void const *color_table)
Copy image data from application memory in a specific indexed format to a VdpOutputSurface.
Definition: vdpau.h:2125
VdpRect const * source_rect
Definition: vdpau.h:4396
VdpStatus VdpDecoderQueryCapabilities(VdpDevice device, VdpDecoderProfile profile, VdpBool *is_supported, uint32_t *max_level, uint32_t *max_macroblocks, uint32_t *max_width, uint32_t *max_height)
Query the implementation's VdpDecoder capabilities.
Definition: vdpau.h:2875
uint32_t NumShortTermPictureSliceHeaderBits
Definition: vdpau.h:3553
uint32_t VdpVideoMixer
An opaque handle representing a VdpVideoMixer object.
Definition: vdpau.h:4200
float contrast
Definition: vdpau.h:1613
uint32_t VdpOutputSurface
An opaque handle representing a VdpOutputSurface object.
Definition: vdpau.h:1999
uint8_t pps_slice_chroma_qp_offsets_present_flag
Definition: vdpau.h:3485
uint8_t transform_skip_enabled_flag
Definition: vdpau.h:3479
VdpStatus VdpGetProcAddress(VdpDevice device, VdpFuncId function_id, void **function_pointer)
Retrieve a VDPAU function pointer.
Definition: vdpau.h:4965
unsigned int mcompFilterType
Definition: vdpau.h:3376
VdpStatus VdpVideoMixerSetAttributeValues(VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void const *const *attribute_values)
Set attribute values.
Definition: vdpau.h:4264
uint8_t pps_range_extension_flag
Definition: vdpau.h:3632
VdpStatus VdpVideoMixerGetAttributeValues(VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void *const *attribute_values)
Retrieve current attribute values.
Definition: vdpau.h:4339
uint8_t log2_parallel_merge_level_minus2
Definition: vdpau.h:3523
uint32_t y1
Definition: vdpau.h:1271
uint8_t num_ref_idx_l1_default_active_minus1
Definition: vdpau.h:3476
VdpVideoSurface forward_reference
Definition: vdpau.h:3276
unsigned char colorSpace
Definition: vdpau.h:3333
VdpOutputSurface source_surface
Definition: vdpau.h:4391
uint8_t tiles_enabled_flag
Definition: vdpau.h:3489
uint32_t VdpPresentationQueue
An opaque handle representing a presentation queue object.
Definition: vdpau.h:4567
int8_t pps_tc_offset_div2
Definition: vdpau.h:3521
unsigned int height
Definition: vdpau.h:3326
uint8_t dependent_slice_segments_enabled_flag
Definition: vdpau.h:3470
uint8_t pcm_loop_filter_disabled_flag
Definition: vdpau.h:3454
Picture parameter information for an H.265/HEVC picture.
Definition: vdpau.h:3400
VdpBool bottom_is_reference
Definition: vdpau.h:3047
VdpStatus VdpPresentationQueueGetBackgroundColor(VdpPresentationQueue presentation_queue, VdpColor *background_color)
Retrieve the current background color setting.
Definition: vdpau.h:4615
unsigned short intraOnly
Definition: vdpau.h:3343
VdpStatus VdpOutputSurfaceGetBitsNative(VdpOutputSurface surface, VdpRect const *source_rect, void *const *destination_data, uint32_t const *destination_pitches)
Copy image data from a VdpOutputSurface to application memory in the surface's native format...
Definition: vdpau.h:2067
VdpVideoSurfaceSupportedPictureStructure
Definition: vdpau.h:2817
VdpStatus VdpPresentationQueueBlockUntilSurfaceIdle(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpTime *first_presentation_time)
Wait for a surface to finish being displayed.
Definition: vdpau.h:4696
uint8_t direct_8x8_inference_flag
Definition: vdpau.h:3111
uint32_t pic_height_in_luma_samples
Definition: vdpau.h:3409
uint32_t slice_count
Definition: vdpau.h:2995
uint32_t VdpBitmapSurface
An opaque handle representing a VdpBitmapSurface object.
Definition: vdpau.h:2232
unsigned int resetFrameContext
Definition: vdpau.h:3375
uint32_t struct_version
Definition: vdpau.h:1603
VdpVideoMixerPictureStructure
The structure of the picture present in a VdpVideoSurface.
Definition: vdpau.h:4361
uint8_t deblockEnable
Definition: vdpau.h:3255
uint8_t cabac_init_present_flag
Definition: vdpau.h:3474
VdpStatus VdpBitmapSurfaceDestroy(VdpBitmapSurface surface)
Destroy a VdpBitmapSurface.
Definition: vdpau.h:2266
unsigned short frameParallelDecoding
Definition: vdpau.h:3340
uint32_t NumDeltaPocsOfRefRpsIdx
Definition: vdpau.h:3545
uint8_t num_long_term_ref_pics_sps
Definition: vdpau.h:3461
uint8_t sps_range_extension_flag
Definition: vdpau.h:3609
VdpStatus VdpDecoderGetParameters(VdpDecoder decoder, VdpDecoderProfile *profile, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpDecoder.
Definition: vdpau.h:2938
VdpOutputSurfaceRenderBlendFactor blend_factor_source_alpha
Definition: vdpau.h:2390
uint8_t NumPocLtCurr
Definition: vdpau.h:3585
uint8_t vop_fcode_backward
Definition: vdpau.h:3292
VdpStatus VdpVideoMixerGetFeatureSupport(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool *feature_supports)
Retrieve whether features were requested at creation time.
Definition: vdpau.h:4282
uint8_t diffCuChromaQpAdjustmentDepth
Definition: vdpau.h:3640
int8_t second_chroma_qp_index_offset
Definition: vdpau.h:3103
uint8_t num_short_term_ref_pic_sets
Definition: vdpau.h:3457
uint8_t separate_colour_plane_flag
Definition: vdpau.h:3407
uint8_t interlaced
Definition: vdpau.h:3294
uint32_t x0
Definition: vdpau.h:1265
uint8_t sign_data_hiding_enabled_flag
Definition: vdpau.h:3473
uint32_t VdpColorTableFormat
The set of all known color table formats, for use with VdpOutputSurfacePutBitsIndexed.
Definition: vdpau.h:1898
uint8_t log2_diff_max_min_transform_block_size
Definition: vdpau.h:3419
uint8_t short_video_header
Definition: vdpau.h:3297
uint32_t VdpVideoMixerParameter
A VdpVideoMixer creation parameter.
Definition: vdpau.h:3925
uint32_t VdpDecoderProfile
The set of all known compressed video formats, and associated profiles, that may be decoded...
Definition: vdpau.h:2613
uint8_t pic_order_cnt_type
Definition: vdpau.h:3108
VdpStatus VdpDeviceDestroy(VdpDevice device)
Destroy a VdpDevice.
Definition: vdpau.h:1545
uint8_t bit_depth_luma_minus8
Definition: vdpau.h:3410
uint8_t deblocking_filter_control_present_flag
Definition: vdpau.h:3509
VdpStatus VdpVideoMixerSetFeatureEnables(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool const *feature_enables)
Enable or disable features.
Definition: vdpau.h:4245
uint8_t pic_order_present_flag
Definition: vdpau.h:3113
uint8_t amp_enabled_flag
Definition: vdpau.h:3442
uint8_t implicitRdpcmEnableFlag
Definition: vdpau.h:3615
VdpStatus VdpPresentationQueueGetTime(VdpPresentationQueue presentation_queue, VdpTime *current_time)
Retrieve the presentation queue's "current" time.
Definition: vdpau.h:4627
unsigned int uncompressedHeaderSize
Definition: vdpau.h:3379
VdpStatus VdpVideoMixerDestroy(VdpVideoMixer mixer)
Destroy a VdpVideoMixer.
Definition: vdpau.h:4352
VdpColor blend_constant
Definition: vdpau.h:2394
uint32_t slice_count
Definition: vdpau.h:3177
uint8_t num_ref_idx_l0_active_minus1
Definition: vdpau.h:3105
VdpStatus VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities(VdpDevice device, VdpChromaType surface_chroma_type, VdpYCbCrFormat bits_ycbcr_format, VdpBool *is_supported)
Query the implementation's VdpVideoSurface GetBits/PutBits capabilities.
Definition: vdpau.h:1720
uint8_t transform_8x8_mode_flag
Definition: vdpau.h:3101
uint8_t interlace
Definition: vdpau.h:3192
uint8_t log2_min_pcm_luma_coding_block_size_minus3
Definition: vdpau.h:3450
VdpStatus VdpOutputSurfaceQueryCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height)
Query the implementation's VdpOutputSurface capabilities.
Definition: vdpau.h:1926
uint32_t VdpDevice
An opaque handle representing a VdpDevice object.
Definition: vdpau.h:1538
VdpBool is_reference
Definition: vdpau.h:3086
uint8_t range_mapuv_flag
Definition: vdpau.h:3223
uint8_t alternate_vertical_scan_flag
Definition: vdpau.h:3300
VdpVideoSurface surface
Definition: vdpau.h:3035
uint8_t constrained_intra_pred_flag
Definition: vdpau.h:3478
VdpStatus VdpPresentationQueueCreate(VdpDevice device, VdpPresentationQueueTarget presentation_queue_target, VdpPresentationQueue *presentation_queue)
Create a VdpPresentationQueue.
Definition: vdpau.h:4580
VdpStatus VdpVideoMixerCreate(VdpDevice device, uint32_t feature_count, VdpVideoMixerFeature const *features, uint32_t parameter_count, VdpVideoMixerParameter const *parameters, void const *const *parameter_values, VdpVideoMixer *mixer)
Create a VdpVideoMixer.
Definition: vdpau.h:4222
VdpStatus VdpDecoderRender(VdpDecoder decoder, VdpVideoSurface target, VdpPictureInfo const *picture_info, uint32_t bitstream_buffer_count, VdpBitstreamBuffer const *bitstream_buffers)
Decode a compressed field/frame and render the result into a VdpVideoSurface.
Definition: vdpau.h:3683
uint8_t cabacBypassAlignmentEnableFlag
Definition: vdpau.h:3627
uint8_t vop_fcode_forward
Definition: vdpau.h:3291
unsigned int width
Definition: vdpau.h:3325
int qpChAc
Definition: vdpau.h:3372
unsigned short refreshEntropyProbs
Definition: vdpau.h:3345
uint8_t fastuvmc
Definition: vdpau.h:3218
uint8_t resync_marker_disable
Definition: vdpau.h:3293
void VdpPreemptionCallback(VdpDevice device, void *context)
A callback to notify the client application that a device's display has been preempted.
Definition: vdpau.h:4789
float green
Definition: vdpau.h:1284
uint8_t NumPocStCurrBefore
Definition: vdpau.h:3579
unsigned char loopFilterLevel
Definition: vdpau.h:3351
VdpStatus VdpVideoSurfaceQueryCapabilities(VdpDevice device, VdpChromaType surface_chroma_type, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height)
Query the implementation's VdpVideoSurface capabilities.
Definition: vdpau.h:1700
VdpVideoSurface forward_reference
Definition: vdpau.h:3169
uint8_t slice_segment_header_extension_present_flag
Definition: vdpau.h:3524
uint8_t intra_vlc_format
Definition: vdpau.h:3006
uint8_t log2_min_luma_coding_block_size_minus3
Definition: vdpau.h:3416
uint8_t num_ref_idx_l1_active_minus1
Definition: vdpau.h:3106
uint32_t NumLongTermPictureSliceHeaderBits
Definition: vdpau.h:3558
uint8_t transquant_bypass_enabled_flag
Definition: vdpau.h:3488
uint8_t entropy_coding_sync_enabled_flag
Definition: vdpau.h:3490
uint32_t y
Definition: vdpau.h:1250
uint8_t num_extra_slice_header_bits
Definition: vdpau.h:3472
uint8_t weighted_bipred_idc
Definition: vdpau.h:3099
VdpStatus VdpPreemptionCallbackRegister(VdpDevice device, VdpPreemptionCallback callback, void *context)
Configure the display preemption callback.
Definition: vdpau.h:4804
uint8_t pps_loop_filter_across_slices_enabled_flag
Definition: vdpau.h:3508
VdpStatus VdpBitmapSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpBool frequently_accessed, VdpBitmapSurface *surface)
Create a VdpBitmapSurface.
Definition: vdpau.h:2251
uint8_t full_pel_forward_vector
Definition: vdpau.h:3011
uint8_t range_mapuv
Definition: vdpau.h:3224
uint8_t quant_type
Definition: vdpau.h:3295
int8_t pps_cr_qp_offset
Definition: vdpau.h:3484
VdpStatus VdpOutputSurfacePutBitsYCbCr(VdpOutputSurface surface, VdpYCbCrFormat source_ycbcr_format, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect, VdpCSCMatrix const *csc_matrix)
Copy image data from application memory in a specific YCbCr format to a VdpOutputSurface.
Definition: vdpau.h:2160
A location within a surface.
Definition: vdpau.h:1246
unsigned short keyFrame
Definition: vdpau.h:3337
uint32_t x1
Definition: vdpau.h:1269
uint32_t NumPocTotalCurr
Definition: vdpau.h:3541
uint8_t vop_coding_type
Definition: vdpau.h:3290
uint8_t max_transform_hierarchy_depth_intra
Definition: vdpau.h:3421
uint8_t chromaQpAdjustmentEnableFlag
Definition: vdpau.h:3638
void VdpPictureInfo
A generic "picture information" type.
Definition: vdpau.h:2973
uint8_t entropy_coding_mode_flag
Definition: vdpau.h:3112
uint8_t pcm_sample_bit_depth_chroma_minus1
Definition: vdpau.h:3448
Definition of an additional VdpOutputSurface layer in the composting model.
Definition: vdpau.h:4383
VdpStatus VdpVideoMixerQueryParameterValueRange(VdpDevice device, VdpVideoMixerParameter parameter, void *min_value, void *max_value)
Query the implementation's supported for a specific parameter.
Definition: vdpau.h:4171
unsigned int compressedHeaderSize
Definition: vdpau.h:3380
uint8_t picture_type
Definition: vdpau.h:3179
unsigned short frameContextIdx
Definition: vdpau.h:3336
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: vdpau.h:3412
VdpStatus VdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, uint32_t clip_width, uint32_t clip_height, VdpTime earliest_presentation_time)
Enter a surface into the presentation queue.
Definition: vdpau.h:4673
uint32_t x
Definition: vdpau.h:1248
VdpOutputSurfaceRenderBlendEquation blend_equation_alpha
Definition: vdpau.h:2393
VdpStatus VdpVideoSurfaceDestroy(VdpVideoSurface surface)
Destroy a VdpVideoSurface.
Definition: vdpau.h:1793
int8_t pic_init_qp_minus26
Definition: vdpau.h:3104
uint8_t alternate_scan
Definition: vdpau.h:3007
uint8_t weighted_bipred_flag
Definition: vdpau.h:3487
uint8_t qpprime_y_zero_transform_bypass_flag
Definition: vdpau.h:3148
uint8_t log2_max_frame_num_minus4
Definition: vdpau.h:3107
uint32_t VdpChromaType
The set of all chroma formats for VdpVideoSurfaces.
Definition: vdpau.h:839
VdpStatus VdpBitmapSurfaceGetParameters(VdpBitmapSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height, VdpBool *frequently_accessed)
Retrieve the parameters used to create a VdpBitmapSurface.
Definition: vdpau.h:2281
float blue
Definition: vdpau.h:1285
VdpStatus VdpDecoderDestroy(VdpDecoder decoder)
Destroy a VdpDecoder.
Definition: vdpau.h:2922
uint8_t overlap
Definition: vdpau.h:3212
Picture parameter information for a VC1 picture.
Definition: vdpau.h:3164
uint8_t weighted_pred_flag
Definition: vdpau.h:3098
uint8_t diff_cu_qp_delta_depth
Definition: vdpau.h:3482
unsigned char segmentEnabled
Definition: vdpau.h:3358
uint8_t concealment_motion_vectors
Definition: vdpau.h:3005
Complete blending operation definition.
Definition: vdpau.h:2383
VdpStatus VdpGetInformationString(char const **information_string)
Retrieve an implementation-specific string description of the implementation. This typically includes...
Definition: vdpau.h:1514
uint32_t VdpVideoMixerFeature
A VdpVideoMixer feature that must be requested at creation time to be used.
Definition: vdpau.h:3769
VdpStatus VdpOutputSurfaceRenderBitmapSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags)
Composite a sub-rectangle of a VdpBitmapSurface into a sub-rectangle of a VdpOutputSurface; Output Su...
Definition: vdpau.h:2583
Picture parameter information for an MPEG-4 Part 2 picture.
Definition: vdpau.h:3271
uint8_t crossComponentPredictionEnableFlag
Definition: vdpau.h:3636
uint8_t persistentRiceAdaptationEnableFlag
Definition: vdpau.h:3625
uint32_t VdpDecoder
An opaque handle representing a VdpDecoder object.
Definition: vdpau.h:2889
uint8_t finterpflag
Definition: vdpau.h:3196
uint8_t loop_filter_across_tiles_enabled_flag
Definition: vdpau.h:3507
VdpStatus VdpVideoMixerQueryFeatureSupport(VdpDevice device, VdpVideoMixerFeature feature, VdpBool *is_supported)
Query the implementation's support for a specific feature.
Definition: vdpau.h:4121
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: vdpau.h:3109
uint8_t cu_qp_delta_enabled_flag
Definition: vdpau.h:3480
uint8_t rounding_control
Definition: vdpau.h:3299
uint32_t pic_width_in_luma_samples
Definition: vdpau.h:3408
int VdpBool
A boolean value, holding VDP_TRUE or VDP_FALSE.
Definition: vdpau.h:813
A rectangular region of a surface.
Definition: vdpau.h:1263
VdpStatus VdpOutputSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpOutputSurface *surface)
Create a VdpOutputSurface.
Definition: vdpau.h:2013
uint32_t VdpFuncId
A type suitable for VdpGetProcAddress's function_id parameter.
Definition: vdpau.h:4827
uint32_t VdpPresentationQueueTarget
An opaque handle representing the location where video will be presented.
Definition: vdpau.h:4552
uint8_t num_ref_frames
Definition: vdpau.h:3095
VdpStatus VdpOutputSurfaceQueryGetPutBitsNativeCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported)
Query the implementation's capability to perform a PutBits operation using application data matching ...
Definition: vdpau.h:1945
VdpStatus VdpPresentationQueueDestroy(VdpPresentationQueue presentation_queue)
Destroy a VdpPresentationQueue.
Definition: vdpau.h:4592
uint8_t multires
Definition: vdpau.h:3230
uint8_t sample_adaptive_offset_enabled_flag
Definition: vdpau.h:3443
uint8_t dquant
Definition: vdpau.h:3200
VdpPresentationQueueStatus
The status of a surface within a presentation queue.
Definition: vdpau.h:4707
uint8_t intra_dc_precision
Definition: vdpau.h:3003
uint8_t pps_deblocking_filter_disabled_flag
Definition: vdpau.h:3515
int qpYDc
Definition: vdpau.h:3370
uint32_t struct_version
Definition: vdpau.h:2956
uint32_t struct_version
Definition: vdpau.h:4387
uint32_t slice_count
Definition: vdpau.h:3082
int8_t pps_cb_qp_offset
Definition: vdpau.h:3483
uint8_t refdist_flag
Definition: vdpau.h:3204
uint8_t sps_max_dec_pic_buffering_minus1
Definition: vdpau.h:3415
uint8_t uniform_spacing_flag
Definition: vdpau.h:3496
uint8_t quantizer
Definition: vdpau.h:3206
float VdpCSCMatrix[3][4]
Storage for a color space conversion matrix.
Definition: vdpau.h:1587
VdpStatus VdpVideoMixerGetFeatureEnables(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool *feature_enables)
Retrieve whether features are enabled.
Definition: vdpau.h:4299
uint8_t IDRPicFlag
Definition: vdpau.h:3534
uint8_t pulldown
Definition: vdpau.h:3190
uint8_t transformSkipContextEnableFlag
Definition: vdpau.h:3613
uint8_t rangered
Definition: vdpau.h:3242
uint8_t RAPPicFlag
Definition: vdpau.h:3537
uint8_t deblocking_filter_control_present_flag
Definition: vdpau.h:3114
uint8_t vstransform
Definition: vdpau.h:3214
uint8_t frame_coding_mode
Definition: vdpau.h:3181
unsigned short subSamplingX
Definition: vdpau.h:3341
VdpStatus VdpVideoSurfaceGetParameters(VdpVideoSurface surface, VdpChromaType *chroma_type, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpVideoSurface.
Definition: vdpau.h:1806
VdpStatus VdpBitmapSurfacePutBitsNative(VdpBitmapSurface surface, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect)
Copy image data from application memory in the surface's native format to a VdpBitmapSurface.
Definition: vdpau.h:2309
uint16_t vop_time_increment_resolution
Definition: vdpau.h:3289
VdpPictureInfoHEVC444 VdpPictureInfoHEVCRangeExt
Picture parameter information for HEVC FormatRangeExtensions picture.
Definition: vdpau.h:3663
VdpStatus VdpGetApiVersion(uint32_t *api_version)
Retrieve the VDPAU version implemented by the backend.
Definition: vdpau.h:1492
uint8_t top_field_first
Definition: vdpau.h:3009
uint8_t maxbframes
Definition: vdpau.h:3247
VdpVideoSurface backward_reference
Definition: vdpau.h:3281
VdpOutputSurfaceRenderBlendFactor blend_factor_source_color
Definition: vdpau.h:2388
uint8_t weighted_pred_flag
Definition: vdpau.h:3486
uint16_t frame_idx
Definition: vdpau.h:3055
unsigned char log2TileRows
Definition: vdpau.h:3356
Picture parameter information for an MPEG 1 or MPEG 2 picture.
Definition: vdpau.h:2983
VdpPictureInfoH264 pictureInfo
Definition: vdpau.h:3138
VdpPictureInfoHEVC pictureInfo
Definition: vdpau.h:3606
VdpStatus VdpVideoMixerQueryAttributeSupport(VdpDevice device, VdpVideoMixerAttribute attribute, VdpBool *is_supported)
Query the implementation's support for a specific attribute.
Definition: vdpau.h:4154
uint32_t VdpColorStandard
YCbCr color space specification.
Definition: vdpau.h:1632
Procamp operation parameterization data.
Definition: vdpau.h:1599
float alpha
Definition: vdpau.h:1286
unsigned char segmentFeatureMode
Definition: vdpau.h:3361
uint8_t full_pel_backward_vector
Definition: vdpau.h:3013
unsigned char bitDepthMinus8Chroma
Definition: vdpau.h:3350
uint32_t VdpVideoMixerAttribute
An adjustable attribute of VdpVideoMixer operation.
Definition: vdpau.h:3999
uint8_t CurrRpsIdx
Definition: vdpau.h:3539
VdpVideoSurface forward_reference
Definition: vdpau.h:2988
VdpStatus VdpPresentationQueueQuerySurfaceStatus(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpPresentationQueueStatus *status, VdpTime *first_presentation_time)
Poll the current queue status of a surface.
Definition: vdpau.h:4727
uint8_t chromaQpAdjustmentTableSize
Definition: vdpau.h:3642
uint8_t log2SaoOffsetScaleLuma
Definition: vdpau.h:3645
VdpVideoSurface backward_reference
Definition: vdpau.h:3174
uint8_t top_field_first
Definition: vdpau.h:3301
VdpRect const * destination_rect
Definition: vdpau.h:4405
int8_t chroma_qp_index_offset
Definition: vdpau.h:3102
VdpOutputSurfaceRenderBlendFactor blend_factor_destination_color
Definition: vdpau.h:2389
uint8_t redundant_pic_cnt_present_flag
Definition: vdpau.h:3115
VdpStatus VdpGenerateCSCMatrix(VdpProcamp *procamp, VdpColorStandard standard, VdpCSCMatrix *csc_matrix)
Generate a color space conversion matrix.
Definition: vdpau.h:1649
int8_t init_qp_minus26
Definition: vdpau.h:3477
VdpStatus
The set of all possible error codes.
Definition: vdpau.h:1301
VdpStatus VdpOutputSurfaceGetParameters(VdpOutputSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpOutputSurface.
Definition: vdpau.h:2040
VdpStatus VdpOutputSurfaceRenderOutputSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags)
Composite a sub-rectangle of a VdpOutputSurface into a sub-rectangle of another VdpOutputSurface; Out...
Definition: vdpau.h:2503
uint8_t field_pic_flag
Definition: vdpau.h:3093
Information about an H.264 reference frame.
Definition: vdpau.h:3030
uint8_t log2MaxTransformSkipSize
Definition: vdpau.h:3634
uint8_t bottom_field_flag
Definition: vdpau.h:3094
Picture parameter information for an H.264 picture.
Definition: vdpau.h:3080
VdpDecoderCapability
Definition: vdpau.h:2822
uint64_t VdpTime
The representation of a point in time.
Definition: vdpau.h:4542
uint8_t extended_mv
Definition: vdpau.h:3208
unsigned char segmentMapUpdate
Definition: vdpau.h:3359
uint16_t frame_num
Definition: vdpau.h:3092
uint8_t pcm_enabled_flag
Definition: vdpau.h:3444
uint8_t log2SaoOffsetScaleChroma
Definition: vdpau.h:3647
float brightness
Definition: vdpau.h:1608
uint8_t chroma_format_idc
Definition: vdpau.h:3405
VdpBool top_is_reference
Definition: vdpau.h:3042
unsigned char log2TileColumns
Definition: vdpau.h:3355
VdpVideoSurface backward_reference
Definition: vdpau.h:2993
uint8_t log2_diff_max_min_luma_coding_block_size
Definition: vdpau.h:3417
VdpStatus VdpDecoderCreate(VdpDevice device, VdpDecoderProfile profile, uint32_t width, uint32_t height, uint32_t max_references, VdpDecoder *decoder)
Create a VdpDecoder.
Definition: vdpau.h:2907
Picture parameter information for an H.264 Hi444PP picture.
Definition: vdpau.h:3136
uint32_t y0
Definition: vdpau.h:1267
uint8_t log2_diff_max_min_pcm_luma_coding_block_size
Definition: vdpau.h:3452
unsigned char segmentMapTemporalUpdate
Definition: vdpau.h:3360
unsigned char loopFilterSharpness
Definition: vdpau.h:3352
Picture parameter information for an HEVC 444 picture.
Definition: vdpau.h:3604
uint32_t VdpVideoSurface
An opaque handle representing a VdpVideoSurface object.
Definition: vdpau.h:1732
uint8_t num_ref_idx_l0_default_active_minus1
Definition: vdpau.h:3475
unsigned short errorResilient
Definition: vdpau.h:3339
char const * VdpGetErrorString(VdpStatus status)
Retrieve a string describing an error code.
Definition: vdpau.h:1444
VdpStatus VdpVideoMixerRender(VdpVideoMixer mixer, VdpOutputSurface background_surface, VdpRect const *background_source_rect, VdpVideoMixerPictureStructure current_picture_structure, uint32_t video_surface_past_count, VdpVideoSurface const *video_surface_past, VdpVideoSurface video_surface_current, uint32_t video_surface_future_count, VdpVideoSurface const *video_surface_future, VdpRect const *video_source_rect, VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpRect const *destination_video_rect, uint32_t layer_count, VdpLayer const *layers)
Perform a video post-processing and compositing operation.
Definition: vdpau.h:4474
VdpStatus VdpVideoMixerQueryAttributeValueRange(VdpDevice device, VdpVideoMixerAttribute attribute, void *min_value, void *max_value)
Query the implementation's supported for a specific attribute.
Definition: vdpau.h:4189
uint8_t psf
Definition: vdpau.h:3198
uint8_t syncmarker
Definition: vdpau.h:3235
VdpStatus VdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface, VdpYCbCrFormat source_ycbcr_format, void const *const *source_data, uint32_t const *source_pitches)
Copy image data from application memory in a specific YCbCr format to a VdpVideoSurface.
Definition: vdpau.h:1857
uint8_t delta_pic_order_always_zero_flag
Definition: vdpau.h:3110
unsigned short profile
Definition: vdpau.h:3335
unsigned short showFrame
Definition: vdpau.h:3338
uint8_t tfcntrflag
Definition: vdpau.h:3194
int32_t CurrPicOrderCntVal
Definition: vdpau.h:3564
uint8_t log2_min_transform_block_size_minus2
Definition: vdpau.h:3418
VdpStatus VdpOutputSurfaceDestroy(VdpOutputSurface surface)
Destroy a VdpOutputSurface.
Definition: vdpau.h:2027
uint8_t loopfilter
Definition: vdpau.h:3216
uint8_t lists_modification_present_flag
Definition: vdpau.h:3522
uint8_t panscan_flag
Definition: vdpau.h:3202
float red
Definition: vdpau.h:1283
VdpOutputSurfaceRenderBlendFactor blend_factor_destination_alpha
Definition: vdpau.h:2391
uint8_t explicitRdpcmEnableFlag
Definition: vdpau.h:3617
uint8_t picture_coding_type
Definition: vdpau.h:3002
uint8_t range_mapy_flag
Definition: vdpau.h:3220
uint8_t num_tile_columns_minus1
Definition: vdpau.h:3492
uint8_t extendedPrecisionProcessingFlag
Definition: vdpau.h:3619
uint8_t intraBlockCopyEnableFlag
Definition: vdpau.h:3629
int qpChDc
Definition: vdpau.h:3371
uint8_t picture_structure
Definition: vdpau.h:3001
uint8_t highPrecisionOffsetsEnableFlag
Definition: vdpau.h:3623
int8_t pps_beta_offset_div2
Definition: vdpau.h:3518
VdpStatus VdpPresentationQueueTargetDestroy(VdpPresentationQueueTarget presentation_queue_target)
Destroy a VdpPresentationQueueTarget.
Definition: vdpau.h:4559
uint8_t scaling_list_enabled_flag
Definition: vdpau.h:3422
VdpVideoSurface lastReference
Definition: vdpau.h:3329
VdpStatus VdpVideoMixerQueryParameterSupport(VdpDevice device, VdpVideoMixerParameter parameter, VdpBool *is_supported)
Query the implementation's support for a specific parameter.
Definition: vdpau.h:4138
unsigned short subSamplingY
Definition: vdpau.h:3342
VdpStatus VdpPresentationQueueSetBackgroundColor(VdpPresentationQueue presentation_queue, VdpColor *const background_color)
Configure the background color setting.
Definition: vdpau.h:4605
VdpStatus VdpBitmapSurfaceQueryCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height)
Query the implementation's VdpBitmapSurface capabilities.
Definition: vdpau.h:2219
VdpOutputSurfaceRenderBlendEquation blend_equation_color
Definition: vdpau.h:2392
uint8_t mb_adaptive_frame_field_flag
Definition: vdpau.h:3096
uint8_t separate_colour_plane_flag
Definition: vdpau.h:3153