813 #define VDP_INVALID_HANDLE 0xffffffffU
822 #define VDP_CHROMA_TYPE_420 ((VdpChromaType)0)
824 #define VDP_CHROMA_TYPE_422 ((VdpChromaType)1)
826 #define VDP_CHROMA_TYPE_444 ((VdpChromaType)2)
846 #define VDP_YCBCR_FORMAT_NV12 ((VdpYCbCrFormat)0)
858 #define VDP_YCBCR_FORMAT_YV12 ((VdpYCbCrFormat)1)
872 #define VDP_YCBCR_FORMAT_UYVY ((VdpYCbCrFormat)2)
886 #define VDP_YCBCR_FORMAT_YUYV ((VdpYCbCrFormat)3)
899 #define VDP_YCBCR_FORMAT_Y8U8V8A8 ((VdpYCbCrFormat)4)
912 #define VDP_YCBCR_FORMAT_V8U8Y8A8 ((VdpYCbCrFormat)5)
931 #define VDP_RGBA_FORMAT_B8G8R8A8 ((VdpRGBAFormat)0)
944 #define VDP_RGBA_FORMAT_R8G8B8A8 ((VdpRGBAFormat)1)
957 #define VDP_RGBA_FORMAT_R10G10B10A2 ((VdpRGBAFormat)2)
970 #define VDP_RGBA_FORMAT_B10G10R10A2 ((VdpRGBAFormat)3)
981 #define VDP_RGBA_FORMAT_A8 ((VdpRGBAFormat)4)
999 #define VDP_INDEXED_FORMAT_A4I4 ((VdpIndexedFormat)0)
1011 #define VDP_INDEXED_FORMAT_I4A4 ((VdpIndexedFormat)1)
1023 #define VDP_INDEXED_FORMAT_A8I8 ((VdpIndexedFormat)2)
1035 #define VDP_INDEXED_FORMAT_I8A8 ((VdpIndexedFormat)3)
1270 #define VDPAU_INTERFACE_VERSION 1
1283 #define VDPAU_VERSION 1
1292 uint32_t * api_version
1314 char const * * information_string
1387 #define VDP_PROCAMP_VERSION 0
1433 #define VDP_COLOR_STANDARD_ITUR_BT_601 ((VdpColorStandard)0)
1435 #define VDP_COLOR_STANDARD_ITUR_BT_709 ((VdpColorStandard)1)
1437 #define VDP_COLOR_STANDARD_SMPTE_240M ((VdpColorStandard)2)
1449 VdpColorStandard standard,
1451 VdpCSCMatrix * csc_matrix
1500 VdpChromaType surface_chroma_type,
1502 VdpBool * is_supported,
1503 uint32_t * max_width,
1504 uint32_t * max_height
1520 VdpChromaType surface_chroma_type,
1521 VdpYCbCrFormat bits_ycbcr_format,
1523 VdpBool * is_supported
1579 VdpChromaType chroma_type,
1583 VdpVideoSurface * surface
1592 VdpVideoSurface surface
1605 VdpVideoSurface surface,
1607 VdpChromaType * chroma_type,
1631 VdpVideoSurface surface,
1632 VdpYCbCrFormat destination_ycbcr_format,
1633 void *
const * destination_data,
1634 uint32_t
const * destination_pitches
1656 VdpVideoSurface surface,
1657 VdpYCbCrFormat source_ycbcr_format,
1658 void const *
const * source_data,
1659 uint32_t
const * source_pitches
1710 #define VDP_COLOR_TABLE_FORMAT_B8G8R8X8 ((VdpColorTableFormat)0)
1727 VdpRGBAFormat surface_rgba_format,
1729 VdpBool * is_supported,
1730 uint32_t * max_width,
1731 uint32_t * max_height
1746 VdpRGBAFormat surface_rgba_format,
1748 VdpBool * is_supported
1767 VdpRGBAFormat surface_rgba_format,
1768 VdpIndexedFormat bits_indexed_format,
1769 VdpColorTableFormat color_table_format,
1771 VdpBool * is_supported
1788 VdpRGBAFormat surface_rgba_format,
1789 VdpYCbCrFormat bits_ycbcr_format,
1791 VdpBool * is_supported
1814 VdpRGBAFormat rgba_format,
1818 VdpOutputSurface * surface
1827 VdpOutputSurface surface
1840 VdpOutputSurface surface,
1842 VdpRGBAFormat * rgba_format,
1867 VdpOutputSurface surface,
1869 void *
const * destination_data,
1870 uint32_t
const * destination_pitches
1893 VdpOutputSurface surface,
1894 void const *
const * source_data,
1895 uint32_t
const * source_pitches,
1896 VdpRect const * destination_rect
1925 VdpOutputSurface surface,
1926 VdpIndexedFormat source_indexed_format,
1927 void const *
const * source_data,
1928 uint32_t
const * source_pitch,
1929 VdpRect const * destination_rect,
1930 VdpColorTableFormat color_table_format,
1931 void const * color_table
1960 VdpOutputSurface surface,
1961 VdpYCbCrFormat source_ycbcr_format,
1962 void const *
const * source_data,
1963 uint32_t
const * source_pitches,
1964 VdpRect const * destination_rect,
1965 VdpCSCMatrix
const * csc_matrix
2021 VdpRGBAFormat surface_rgba_format,
2023 VdpBool * is_supported,
2024 uint32_t * max_width,
2025 uint32_t * max_height
2053 VdpRGBAFormat rgba_format,
2056 VdpBool frequently_accessed,
2058 VdpBitmapSurface * surface
2067 VdpBitmapSurface surface
2082 VdpBitmapSurface surface,
2084 VdpRGBAFormat * rgba_format,
2087 VdpBool * frequently_accessed
2110 VdpBitmapSurface surface,
2111 void const *
const * source_data,
2112 uint32_t
const * source_pitches,
2113 VdpRect const * destination_rect
2163 #define VDP_OUTPUT_SURFACE_RENDER_BLEND_STATE_VERSION 0
2202 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_0 0
2209 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_90 1
2216 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_180 2
2223 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_270 3
2232 #define VDP_OUTPUT_SURFACE_RENDER_COLOR_PER_VERTEX (1 << 2)
2305 VdpOutputSurface destination_surface,
2306 VdpRect const * destination_rect,
2307 VdpOutputSurface source_surface,
2385 VdpOutputSurface destination_surface,
2386 VdpRect const * destination_rect,
2387 VdpBitmapSurface source_surface,
2417 #define VDP_DECODER_PROFILE_MPEG1 ((VdpDecoderProfile)0)
2419 #define VDP_DECODER_PROFILE_MPEG2_SIMPLE ((VdpDecoderProfile)1)
2421 #define VDP_DECODER_PROFILE_MPEG2_MAIN ((VdpDecoderProfile)2)
2424 #define VDP_DECODER_PROFILE_H264_BASELINE ((VdpDecoderProfile)6)
2426 #define VDP_DECODER_PROFILE_H264_MAIN ((VdpDecoderProfile)7)
2428 #define VDP_DECODER_PROFILE_H264_HIGH ((VdpDecoderProfile)8)
2430 #define VDP_DECODER_PROFILE_VC1_SIMPLE ((VdpDecoderProfile)9)
2432 #define VDP_DECODER_PROFILE_VC1_MAIN ((VdpDecoderProfile)10)
2434 #define VDP_DECODER_PROFILE_VC1_ADVANCED ((VdpDecoderProfile)11)
2436 #define VDP_DECODER_PROFILE_MPEG4_PART2_SP ((VdpDecoderProfile)12)
2438 #define VDP_DECODER_PROFILE_MPEG4_PART2_ASP ((VdpDecoderProfile)13)
2440 #define VDP_DECODER_PROFILE_DIVX4_QMOBILE ((VdpDecoderProfile)14)
2442 #define VDP_DECODER_PROFILE_DIVX4_MOBILE ((VdpDecoderProfile)15)
2444 #define VDP_DECODER_PROFILE_DIVX4_HOME_THEATER ((VdpDecoderProfile)16)
2446 #define VDP_DECODER_PROFILE_DIVX4_HD_1080P ((VdpDecoderProfile)17)
2448 #define VDP_DECODER_PROFILE_DIVX5_QMOBILE ((VdpDecoderProfile)18)
2450 #define VDP_DECODER_PROFILE_DIVX5_MOBILE ((VdpDecoderProfile)19)
2452 #define VDP_DECODER_PROFILE_DIVX5_HOME_THEATER ((VdpDecoderProfile)20)
2454 #define VDP_DECODER_PROFILE_DIVX5_HD_1080P ((VdpDecoderProfile)21)
2456 #define VDP_DECODER_PROFILE_H264_CONSTRAINED_BASELINE ((VdpDecoderProfile)22)
2458 #define VDP_DECODER_PROFILE_H264_EXTENDED ((VdpDecoderProfile)23)
2460 #define VDP_DECODER_PROFILE_H264_PROGRESSIVE_HIGH ((VdpDecoderProfile)24)
2462 #define VDP_DECODER_PROFILE_H264_CONSTRAINED_HIGH ((VdpDecoderProfile)25)
2465 #define VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE ((VdpDecoderProfile)26)
2468 #define VDP_DECODER_LEVEL_MPEG1_NA 0
2471 #define VDP_DECODER_LEVEL_MPEG2_LL 0
2473 #define VDP_DECODER_LEVEL_MPEG2_ML 1
2475 #define VDP_DECODER_LEVEL_MPEG2_HL14 2
2477 #define VDP_DECODER_LEVEL_MPEG2_HL 3
2480 #define VDP_DECODER_LEVEL_H264_1 10
2482 #define VDP_DECODER_LEVEL_H264_1b 9
2484 #define VDP_DECODER_LEVEL_H264_1_1 11
2486 #define VDP_DECODER_LEVEL_H264_1_2 12
2488 #define VDP_DECODER_LEVEL_H264_1_3 13
2490 #define VDP_DECODER_LEVEL_H264_2 20
2492 #define VDP_DECODER_LEVEL_H264_2_1 21
2494 #define VDP_DECODER_LEVEL_H264_2_2 22
2496 #define VDP_DECODER_LEVEL_H264_3 30
2498 #define VDP_DECODER_LEVEL_H264_3_1 31
2500 #define VDP_DECODER_LEVEL_H264_3_2 32
2502 #define VDP_DECODER_LEVEL_H264_4 40
2504 #define VDP_DECODER_LEVEL_H264_4_1 41
2506 #define VDP_DECODER_LEVEL_H264_4_2 42
2508 #define VDP_DECODER_LEVEL_H264_5 50
2510 #define VDP_DECODER_LEVEL_H264_5_1 51
2513 #define VDP_DECODER_LEVEL_VC1_SIMPLE_LOW 0
2515 #define VDP_DECODER_LEVEL_VC1_SIMPLE_MEDIUM 1
2518 #define VDP_DECODER_LEVEL_VC1_MAIN_LOW 0
2520 #define VDP_DECODER_LEVEL_VC1_MAIN_MEDIUM 1
2522 #define VDP_DECODER_LEVEL_VC1_MAIN_HIGH 2
2525 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L0 0
2527 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L1 1
2529 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L2 2
2531 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L3 3
2533 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L4 4
2536 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L0 0
2538 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L1 1
2540 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L2 2
2542 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L3 3
2545 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L0 0
2547 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L1 1
2549 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L2 2
2551 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L3 3
2553 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L4 4
2555 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L5 5
2558 #define VDP_DECODER_LEVEL_DIVX_NA 0
2580 VdpDecoderProfile profile,
2582 VdpBool * is_supported,
2583 uint32_t * max_level,
2584 uint32_t * max_macroblocks,
2585 uint32_t * max_width,
2586 uint32_t * max_height
2612 VdpDecoderProfile profile,
2615 uint32_t max_references,
2617 VdpDecoder * decoder
2644 VdpDecoderProfile * profile,
2649 #define VDP_BITSTREAM_BUFFER_VERSION 0
2726 uint8_t f_code[2][2];
2728 uint8_t intra_quantizer_matrix[64];
2730 uint8_t non_intra_quantizer_matrix[64];
2759 int32_t field_order_cnt[2];
2794 int32_t field_order_cnt[2];
2848 uint8_t scaling_lists_4x4[6][16];
2850 uint8_t scaling_lists_8x8[2][64];
3035 uint8_t intra_quantizer_matrix[64];
3037 uint8_t non_intra_quantizer_matrix[64];
3076 VdpVideoSurface target,
3077 VdpPictureInfo
const * picture_info,
3078 uint32_t bitstream_buffer_count,
3174 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL ((VdpVideoMixerFeature)0)
3187 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL ((VdpVideoMixerFeature)1)
3196 #define VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE ((VdpVideoMixerFeature)2)
3204 #define VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION ((VdpVideoMixerFeature)3)
3212 #define VDP_VIDEO_MIXER_FEATURE_SHARPNESS ((VdpVideoMixerFeature)4)
3225 #define VDP_VIDEO_MIXER_FEATURE_LUMA_KEY ((VdpVideoMixerFeature)5)
3247 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 ((VdpVideoMixerFeature)11)
3254 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L2 ((VdpVideoMixerFeature)12)
3261 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L3 ((VdpVideoMixerFeature)13)
3268 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L4 ((VdpVideoMixerFeature)14)
3275 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L5 ((VdpVideoMixerFeature)15)
3282 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L6 ((VdpVideoMixerFeature)16)
3289 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L7 ((VdpVideoMixerFeature)17)
3296 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L8 ((VdpVideoMixerFeature)18)
3303 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L9 ((VdpVideoMixerFeature)19)
3331 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_WIDTH ((VdpVideoMixerParameter)0)
3344 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_HEIGHT ((VdpVideoMixerParameter)1)
3358 #define VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE ((VdpVideoMixerParameter)2)
3377 #define VDP_VIDEO_MIXER_PARAMETER_LAYERS ((VdpVideoMixerParameter)3)
3406 #define VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR ((VdpVideoMixerAttribute)0)
3434 #define VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX ((VdpVideoMixerAttribute)1)
3447 #define VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL ((VdpVideoMixerAttribute)2)
3463 #define VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL ((VdpVideoMixerAttribute)3)
3475 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA ((VdpVideoMixerAttribute)4)
3487 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA ((VdpVideoMixerAttribute)5)
3502 #define VDP_VIDEO_MIXER_ATTRIBUTE_SKIP_CHROMA_DEINTERLACE ((VdpVideoMixerAttribute)6)
3515 VdpVideoMixerFeature feature,
3517 VdpBool * is_supported
3532 VdpVideoMixerParameter parameter,
3534 VdpBool * is_supported
3548 VdpVideoMixerAttribute attribute,
3550 VdpBool * is_supported
3565 VdpVideoMixerParameter parameter,
3583 VdpVideoMixerAttribute attribute,
3617 uint32_t feature_count,
3618 VdpVideoMixerFeature
const * features,
3620 uint32_t parameter_count,
3621 VdpVideoMixerParameter
const * parameters,
3622 void const *
const * parameter_values,
3624 VdpVideoMixer * mixer
3638 VdpVideoMixer mixer,
3639 uint32_t feature_count,
3640 VdpVideoMixerFeature
const * features,
3641 VdpBool
const * feature_enables
3657 VdpVideoMixer mixer,
3658 uint32_t attribute_count,
3659 VdpVideoMixerAttribute
const * attributes,
3660 void const *
const * attribute_values
3675 VdpVideoMixer mixer,
3676 uint32_t feature_count,
3677 VdpVideoMixerFeature
const * features,
3679 VdpBool * feature_supports
3692 VdpVideoMixer mixer,
3693 uint32_t feature_count,
3694 VdpVideoMixerFeature
const * features,
3696 VdpBool * feature_enables
3712 VdpVideoMixer mixer,
3713 uint32_t parameter_count,
3714 VdpVideoMixerParameter
const * parameters,
3716 void *
const * parameter_values
3732 VdpVideoMixer mixer,
3733 uint32_t attribute_count,
3734 VdpVideoMixerAttribute
const * attributes,
3736 void *
const * attribute_values
3769 #define VDP_LAYER_VERSION 0
3867 VdpVideoMixer mixer,
3868 VdpOutputSurface background_surface,
3869 VdpRect const * background_source_rect,
3871 uint32_t video_surface_past_count,
3872 VdpVideoSurface
const * video_surface_past,
3873 VdpVideoSurface video_surface_current,
3874 uint32_t video_surface_future_count,
3875 VdpVideoSurface
const * video_surface_future,
3876 VdpRect const * video_source_rect,
3877 VdpOutputSurface destination_surface,
3878 VdpRect const * destination_rect,
3879 VdpRect const * destination_video_rect,
3880 uint32_t layer_count,
3953 VdpPresentationQueueTarget presentation_queue_target
3975 VdpPresentationQueueTarget presentation_queue_target,
3977 VdpPresentationQueue * presentation_queue
3986 VdpPresentationQueue presentation_queue
3999 VdpPresentationQueue presentation_queue,
4009 VdpPresentationQueue presentation_queue,
4021 VdpPresentationQueue presentation_queue,
4023 VdpTime * current_time
4067 VdpPresentationQueue presentation_queue,
4068 VdpOutputSurface surface,
4069 uint32_t clip_width,
4070 uint32_t clip_height,
4071 VdpTime earliest_presentation_time
4090 VdpPresentationQueue presentation_queue,
4091 VdpOutputSurface surface,
4093 VdpTime * first_presentation_time
4121 VdpPresentationQueue presentation_queue,
4122 VdpOutputSurface surface,
4125 VdpTime * first_presentation_time
4223 #define VDP_FUNC_ID_GET_ERROR_STRING ((VdpFuncId)0)
4225 #define VDP_FUNC_ID_GET_PROC_ADDRESS ((VdpFuncId)1)
4227 #define VDP_FUNC_ID_GET_API_VERSION ((VdpFuncId)2)
4229 #define VDP_FUNC_ID_GET_INFORMATION_STRING ((VdpFuncId)4)
4231 #define VDP_FUNC_ID_DEVICE_DESTROY ((VdpFuncId)5)
4233 #define VDP_FUNC_ID_GENERATE_CSC_MATRIX ((VdpFuncId)6)
4235 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)7)
4237 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES ((VdpFuncId)8)
4239 #define VDP_FUNC_ID_VIDEO_SURFACE_CREATE ((VdpFuncId)9)
4241 #define VDP_FUNC_ID_VIDEO_SURFACE_DESTROY ((VdpFuncId)10)
4243 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_PARAMETERS ((VdpFuncId)11)
4245 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR ((VdpFuncId)12)
4247 #define VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR ((VdpFuncId)13)
4249 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)14)
4251 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_GET_PUT_BITS_NATIVE_CAPABILITIES ((VdpFuncId)15)
4253 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_INDEXED_CAPABILITIES ((VdpFuncId)16)
4255 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_Y_CB_CR_CAPABILITIES ((VdpFuncId)17)
4257 #define VDP_FUNC_ID_OUTPUT_SURFACE_CREATE ((VdpFuncId)18)
4259 #define VDP_FUNC_ID_OUTPUT_SURFACE_DESTROY ((VdpFuncId)19)
4261 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_PARAMETERS ((VdpFuncId)20)
4263 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_BITS_NATIVE ((VdpFuncId)21)
4265 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_NATIVE ((VdpFuncId)22)
4267 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_INDEXED ((VdpFuncId)23)
4269 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_Y_CB_CR ((VdpFuncId)24)
4271 #define VDP_FUNC_ID_BITMAP_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)25)
4273 #define VDP_FUNC_ID_BITMAP_SURFACE_CREATE ((VdpFuncId)26)
4275 #define VDP_FUNC_ID_BITMAP_SURFACE_DESTROY ((VdpFuncId)27)
4277 #define VDP_FUNC_ID_BITMAP_SURFACE_GET_PARAMETERS ((VdpFuncId)28)
4279 #define VDP_FUNC_ID_BITMAP_SURFACE_PUT_BITS_NATIVE ((VdpFuncId)29)
4281 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_OUTPUT_SURFACE ((VdpFuncId)33)
4283 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_BITMAP_SURFACE ((VdpFuncId)34)
4285 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_VIDEO_SURFACE_LUMA ((VdpFuncId)35)
4287 #define VDP_FUNC_ID_DECODER_QUERY_CAPABILITIES ((VdpFuncId)36)
4289 #define VDP_FUNC_ID_DECODER_CREATE ((VdpFuncId)37)
4291 #define VDP_FUNC_ID_DECODER_DESTROY ((VdpFuncId)38)
4293 #define VDP_FUNC_ID_DECODER_GET_PARAMETERS ((VdpFuncId)39)
4295 #define VDP_FUNC_ID_DECODER_RENDER ((VdpFuncId)40)
4297 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_FEATURE_SUPPORT ((VdpFuncId)41)
4299 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_SUPPORT ((VdpFuncId)42)
4301 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_SUPPORT ((VdpFuncId)43)
4303 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_VALUE_RANGE ((VdpFuncId)44)
4305 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_VALUE_RANGE ((VdpFuncId)45)
4307 #define VDP_FUNC_ID_VIDEO_MIXER_CREATE ((VdpFuncId)46)
4309 #define VDP_FUNC_ID_VIDEO_MIXER_SET_FEATURE_ENABLES ((VdpFuncId)47)
4311 #define VDP_FUNC_ID_VIDEO_MIXER_SET_ATTRIBUTE_VALUES ((VdpFuncId)48)
4313 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_SUPPORT ((VdpFuncId)49)
4315 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_ENABLES ((VdpFuncId)50)
4317 #define VDP_FUNC_ID_VIDEO_MIXER_GET_PARAMETER_VALUES ((VdpFuncId)51)
4319 #define VDP_FUNC_ID_VIDEO_MIXER_GET_ATTRIBUTE_VALUES ((VdpFuncId)52)
4321 #define VDP_FUNC_ID_VIDEO_MIXER_DESTROY ((VdpFuncId)53)
4323 #define VDP_FUNC_ID_VIDEO_MIXER_RENDER ((VdpFuncId)54)
4325 #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_DESTROY ((VdpFuncId)55)
4327 #define VDP_FUNC_ID_PRESENTATION_QUEUE_CREATE ((VdpFuncId)56)
4329 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DESTROY ((VdpFuncId)57)
4331 #define VDP_FUNC_ID_PRESENTATION_QUEUE_SET_BACKGROUND_COLOR ((VdpFuncId)58)
4333 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_BACKGROUND_COLOR ((VdpFuncId)59)
4335 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_TIME ((VdpFuncId)62)
4337 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DISPLAY ((VdpFuncId)63)
4339 #define VDP_FUNC_ID_PRESENTATION_QUEUE_BLOCK_UNTIL_SURFACE_IDLE ((VdpFuncId)64)
4341 #define VDP_FUNC_ID_PRESENTATION_QUEUE_QUERY_SURFACE_STATUS ((VdpFuncId)65)
4343 #define VDP_FUNC_ID_PREEMPTION_CALLBACK_REGISTER ((VdpFuncId)66)
4345 #define VDP_FUNC_ID_BASE_WINSYS 0x1000
4358 VdpFuncId function_id,
4360 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:1630
float saturation
Definition: vdpau.h:1416
VdpPictureInfoMPEG4Part2 VdpPictureInfoDivX4
Picture parameter information for a DivX 4 picture.
Definition: vdpau.h:3046
VdpOutputSurfaceRenderBlendEquation
The blending equations.
Definition: vdpau.h:2155
uint32_t VdpYCbCrFormat
The set of all known YCbCr surface formats.
Definition: vdpau.h:831
uint32_t bitstream_bytes
Definition: vdpau.h:2663
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:1786
uint8_t quarter_sample
Definition: vdpau.h:3025
uint8_t frame_pred_frame_dct
Definition: vdpau.h:2707
uint8_t extended_dmv
Definition: vdpau.h:2932
uint8_t pquant
Definition: vdpau.h:2984
Application data buffer containing compressed video data.
Definition: vdpau.h:2655
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:1765
VdpOutputSurfaceRenderBlendFactor
The blending equation factors.
Definition: vdpau.h:2133
float hue
Definition: vdpau.h:1421
VdpStatus VdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, uint32_t width, uint32_t height, VdpVideoSurface *surface)
Create a VdpVideoSurface.
Definition: vdpau.h:1577
VdpBool is_long_term
Definition: vdpau.h:2747
uint32_t VdpIndexedFormat
The set of all known indexed surface formats.
Definition: vdpau.h:986
uint8_t q_scale_type
Definition: vdpau.h:2715
uint32_t VdpRGBAFormat
The set of all known RGB surface formats.
Definition: vdpau.h:917
uint8_t range_mapy
Definition: vdpau.h:2944
void const * bitstream
Definition: vdpau.h:2661
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:3711
uint8_t frame_mbs_only_flag
Definition: vdpau.h:2815
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:1892
uint8_t postprocflag
Definition: vdpau.h:2910
uint32_t struct_version
Definition: vdpau.h:2188
VdpPictureInfoMPEG4Part2 VdpPictureInfoDivX5
Picture parameter information for a DivX 5 picture.
Definition: vdpau.h:3054
uint8_t constrained_intra_pred_flag
Definition: vdpau.h:2809
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:1924
VdpRect const * source_rect
Definition: vdpau.h:3788
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:2578
uint32_t VdpVideoMixer
An opaque handle representing a VdpVideoMixer object.
Definition: vdpau.h:3592
float contrast
Definition: vdpau.h:1411
uint32_t VdpOutputSurface
An opaque handle representing a VdpOutputSurface object.
Definition: vdpau.h:1798
VdpStatus VdpGetProcAddress(VdpDevice device, VdpFuncId function_id, void **function_pointer)
Retrieve a VDPAU function pointer.
Definition: vdpau.h:4356
VdpStatus VdpVideoMixerSetAttributeValues(VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void const *const *attribute_values)
Set attribute values.
Definition: vdpau.h:3656
VdpStatus VdpVideoMixerGetAttributeValues(VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void *const *attribute_values)
Retrieve current attribute values.
Definition: vdpau.h:3731
uint32_t y1
Definition: vdpau.h:1069
VdpVideoSurface forward_reference
Definition: vdpau.h:2999
VdpOutputSurface source_surface
Definition: vdpau.h:3783
uint32_t VdpPresentationQueue
An opaque handle representing a presentation queue object.
Definition: vdpau.h:3960
VdpBool bottom_is_reference
Definition: vdpau.h:2757
VdpStatus VdpPresentationQueueGetBackgroundColor(VdpPresentationQueue presentation_queue, VdpColor *background_color)
Retrieve the current background color setting.
Definition: vdpau.h:4008
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:1866
VdpStatus VdpPresentationQueueBlockUntilSurfaceIdle(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpTime *first_presentation_time)
Wait for a surface to finish being displayed.
Definition: vdpau.h:4089
uint8_t direct_8x8_inference_flag
Definition: vdpau.h:2837
uint32_t slice_count
Definition: vdpau.h:2698
uint32_t VdpBitmapSurface
An opaque handle representing a VdpBitmapSurface object.
Definition: vdpau.h:2032
uint32_t struct_version
Definition: vdpau.h:1401
VdpVideoMixerPictureStructure
The structure of the picture present in a VdpVideoSurface.
Definition: vdpau.h:3753
uint8_t deblockEnable
Definition: vdpau.h:2978
VdpStatus VdpBitmapSurfaceDestroy(VdpBitmapSurface surface)
Destroy a VdpBitmapSurface.
Definition: vdpau.h:2066
VdpStatus VdpDecoderGetParameters(VdpDecoder decoder, VdpDecoderProfile *profile, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpDecoder.
Definition: vdpau.h:2641
VdpOutputSurfaceRenderBlendFactor blend_factor_source_alpha
Definition: vdpau.h:2191
uint8_t vop_fcode_backward
Definition: vdpau.h:3017
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:3674
int8_t second_chroma_qp_index_offset
Definition: vdpau.h:2821
uint8_t interlaced
Definition: vdpau.h:3021
uint32_t x0
Definition: vdpau.h:1063
uint32_t VdpColorTableFormat
The set of all known color table formats, for use with VdpOutputSurfacePutBitsIndexed.
Definition: vdpau.h:1697
uint8_t short_video_header
Definition: vdpau.h:3027
uint32_t VdpVideoMixerParameter
A VdpVideoMixer creation parameter.
Definition: vdpau.h:3317
uint32_t VdpDecoderProfile
The set of all known compressed video formats, and associated profiles, that may be decoded...
Definition: vdpau.h:2414
uint8_t pic_order_cnt_type
Definition: vdpau.h:2831
VdpStatus VdpDeviceDestroy(VdpDevice device)
Destroy a VdpDevice.
Definition: vdpau.h:1343
VdpStatus VdpVideoMixerSetFeatureEnables(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool const *feature_enables)
Enable or disable features.
Definition: vdpau.h:3637
uint8_t pic_order_present_flag
Definition: vdpau.h:2841
VdpStatus VdpPresentationQueueGetTime(VdpPresentationQueue presentation_queue, VdpTime *current_time)
Retrieve the presentation queue's "current" time.
Definition: vdpau.h:4020
VdpStatus VdpVideoMixerDestroy(VdpVideoMixer mixer)
Destroy a VdpVideoMixer.
Definition: vdpau.h:3744
VdpColor blend_constant
Definition: vdpau.h:2195
uint32_t slice_count
Definition: vdpau.h:2903
uint8_t num_ref_idx_l0_active_minus1
Definition: vdpau.h:2825
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:1518
uint8_t transform_8x8_mode_flag
Definition: vdpau.h:2817
uint8_t interlace
Definition: vdpau.h:2914
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:1725
uint32_t VdpDevice
An opaque handle representing a VdpDevice object.
Definition: vdpau.h:1336
VdpBool is_reference
Definition: vdpau.h:2796
uint8_t range_mapuv_flag
Definition: vdpau.h:2946
uint8_t alternate_vertical_scan_flag
Definition: vdpau.h:3031
VdpVideoSurface surface
Definition: vdpau.h:2745
VdpStatus VdpPresentationQueueCreate(VdpDevice device, VdpPresentationQueueTarget presentation_queue_target, VdpPresentationQueue *presentation_queue)
Create a VdpPresentationQueue.
Definition: vdpau.h:3973
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:3614
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:3074
uint8_t vop_fcode_forward
Definition: vdpau.h:3015
uint8_t fastuvmc
Definition: vdpau.h:2940
uint8_t resync_marker_disable
Definition: vdpau.h:3019
void VdpPreemptionCallback(VdpDevice device, void *context)
A callback to notify the client application that a device's display has been preempted.
Definition: vdpau.h:4182
float green
Definition: vdpau.h:1082
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:1498
VdpVideoSurface forward_reference
Definition: vdpau.h:2895
uint8_t intra_vlc_format
Definition: vdpau.h:2711
uint8_t num_ref_idx_l1_active_minus1
Definition: vdpau.h:2827
uint32_t y
Definition: vdpau.h:1048
uint8_t weighted_bipred_idc
Definition: vdpau.h:2813
VdpStatus VdpPreemptionCallbackRegister(VdpDevice device, VdpPreemptionCallback callback, void *context)
Configure the display preemption callback.
Definition: vdpau.h:4197
VdpStatus VdpBitmapSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpBool frequently_accessed, VdpBitmapSurface *surface)
Create a VdpBitmapSurface.
Definition: vdpau.h:2051
uint8_t full_pel_forward_vector
Definition: vdpau.h:2719
uint8_t range_mapuv
Definition: vdpau.h:2948
uint8_t quant_type
Definition: vdpau.h:3023
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:1959
A location within a surface.
Definition: vdpau.h:1044
uint32_t x1
Definition: vdpau.h:1067
uint8_t vop_coding_type
Definition: vdpau.h:3013
void VdpPictureInfo
A generic "picture information" type.
Definition: vdpau.h:2676
uint8_t entropy_coding_mode_flag
Definition: vdpau.h:2839
Definition of an additional VdpOutputSurface layer in the composting model.
Definition: vdpau.h:3775
VdpStatus VdpVideoMixerQueryParameterValueRange(VdpDevice device, VdpVideoMixerParameter parameter, void *min_value, void *max_value)
Query the implementation's supported for a specific parameter.
Definition: vdpau.h:3563
uint8_t picture_type
Definition: vdpau.h:2905
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:4066
uint32_t x
Definition: vdpau.h:1046
VdpOutputSurfaceRenderBlendEquation blend_equation_alpha
Definition: vdpau.h:2194
VdpStatus VdpVideoSurfaceDestroy(VdpVideoSurface surface)
Destroy a VdpVideoSurface.
Definition: vdpau.h:1591
int8_t pic_init_qp_minus26
Definition: vdpau.h:2823
uint8_t alternate_scan
Definition: vdpau.h:2713
uint8_t qpprime_y_zero_transform_bypass_flag
Definition: vdpau.h:2874
uint8_t log2_max_frame_num_minus4
Definition: vdpau.h:2829
uint32_t VdpChromaType
The set of all chroma formats for VdpVideoSurfaces.
Definition: vdpau.h:819
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:2081
float blue
Definition: vdpau.h:1083
VdpStatus VdpDecoderDestroy(VdpDecoder decoder)
Destroy a VdpDecoder.
Definition: vdpau.h:2625
uint8_t overlap
Definition: vdpau.h:2934
Picture parameter information for a VC1 picture.
Definition: vdpau.h:2890
uint8_t weighted_pred_flag
Definition: vdpau.h:2811
uint8_t concealment_motion_vectors
Definition: vdpau.h:2709
Complete blending operation definition.
Definition: vdpau.h:2184
VdpStatus VdpGetInformationString(char const **information_string)
Retrieve an implementation-specific string description of the implementation. This typically includes...
Definition: vdpau.h:1312
uint32_t VdpVideoMixerFeature
A VdpVideoMixer feature that must be requested at creation time to be used.
Definition: vdpau.h:3161
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:2384
Picture parameter information for an MPEG-4 Part 2 picture.
Definition: vdpau.h:2994
uint32_t VdpDecoder
An opaque handle representing a VdpDecoder object.
Definition: vdpau.h:2592
uint8_t finterpflag
Definition: vdpau.h:2918
VdpStatus VdpVideoMixerQueryFeatureSupport(VdpDevice device, VdpVideoMixerFeature feature, VdpBool *is_supported)
Query the implementation's support for a specific feature.
Definition: vdpau.h:3513
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: vdpau.h:2833
uint8_t rounding_control
Definition: vdpau.h:3029
int VdpBool
A boolean value, holding VDP_TRUE or VDP_FALSE.
Definition: vdpau.h:793
A rectangular region of a surface.
Definition: vdpau.h:1061
VdpStatus VdpOutputSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpOutputSurface *surface)
Create a VdpOutputSurface.
Definition: vdpau.h:1812
uint32_t VdpFuncId
A type suitable for VdpGetProcAddress's function_id parameter.
Definition: vdpau.h:4220
uint32_t VdpPresentationQueueTarget
An opaque handle representing the location where video will be presented.
Definition: vdpau.h:3945
uint8_t num_ref_frames
Definition: vdpau.h:2805
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:1744
VdpStatus VdpPresentationQueueDestroy(VdpPresentationQueue presentation_queue)
Destroy a VdpPresentationQueue.
Definition: vdpau.h:3985
uint8_t multires
Definition: vdpau.h:2954
uint8_t dquant
Definition: vdpau.h:2922
VdpPresentationQueueStatus
The status of a surface within a presentation queue.
Definition: vdpau.h:4100
uint8_t intra_dc_precision
Definition: vdpau.h:2705
uint32_t struct_version
Definition: vdpau.h:2659
uint32_t struct_version
Definition: vdpau.h:3779
uint32_t slice_count
Definition: vdpau.h:2792
uint8_t refdist_flag
Definition: vdpau.h:2926
uint8_t quantizer
Definition: vdpau.h:2928
float VdpCSCMatrix[3][4]
Storage for a color space conversion matrix.
Definition: vdpau.h:1385
VdpStatus VdpVideoMixerGetFeatureEnables(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool *feature_enables)
Retrieve whether features are enabled.
Definition: vdpau.h:3691
uint8_t pulldown
Definition: vdpau.h:2912
uint8_t rangered
Definition: vdpau.h:2966
uint8_t deblocking_filter_control_present_flag
Definition: vdpau.h:2843
uint8_t vstransform
Definition: vdpau.h:2936
uint8_t frame_coding_mode
Definition: vdpau.h:2907
VdpStatus VdpVideoSurfaceGetParameters(VdpVideoSurface surface, VdpChromaType *chroma_type, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpVideoSurface.
Definition: vdpau.h:1604
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:2109
uint16_t vop_time_increment_resolution
Definition: vdpau.h:3011
VdpStatus VdpGetApiVersion(uint32_t *api_version)
Retrieve the VDPAU version implemented by the backend.
Definition: vdpau.h:1290
uint8_t top_field_first
Definition: vdpau.h:2717
uint8_t maxbframes
Definition: vdpau.h:2971
VdpVideoSurface backward_reference
Definition: vdpau.h:3004
VdpOutputSurfaceRenderBlendFactor blend_factor_source_color
Definition: vdpau.h:2189
uint16_t frame_idx
Definition: vdpau.h:2765
Picture parameter information for an MPEG 1 or MPEG 2 picture.
Definition: vdpau.h:2686
VdpPictureInfoH264 pictureInfo
Definition: vdpau.h:2868
VdpStatus VdpVideoMixerQueryAttributeSupport(VdpDevice device, VdpVideoMixerAttribute attribute, VdpBool *is_supported)
Query the implementation's support for a specific attribute.
Definition: vdpau.h:3546
uint32_t VdpColorStandard
YCbCr color space specification.
Definition: vdpau.h:1430
Procamp operation parameterization data.
Definition: vdpau.h:1397
float alpha
Definition: vdpau.h:1084
uint8_t full_pel_backward_vector
Definition: vdpau.h:2721
uint32_t VdpVideoMixerAttribute
An adjustable attribute of VdpVideoMixer operation.
Definition: vdpau.h:3391
VdpVideoSurface forward_reference
Definition: vdpau.h:2691
VdpStatus VdpPresentationQueueQuerySurfaceStatus(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpPresentationQueueStatus *status, VdpTime *first_presentation_time)
Poll the current queue status of a surface.
Definition: vdpau.h:4120
VdpVideoSurface backward_reference
Definition: vdpau.h:2900
uint8_t top_field_first
Definition: vdpau.h:3033
VdpRect const * destination_rect
Definition: vdpau.h:3797
int8_t chroma_qp_index_offset
Definition: vdpau.h:2819
VdpOutputSurfaceRenderBlendFactor blend_factor_destination_color
Definition: vdpau.h:2190
uint8_t redundant_pic_cnt_present_flag
Definition: vdpau.h:2845
VdpStatus VdpGenerateCSCMatrix(VdpProcamp *procamp, VdpColorStandard standard, VdpCSCMatrix *csc_matrix)
Generate a color space conversion matrix.
Definition: vdpau.h:1447
VdpStatus
The set of all possible error codes.
Definition: vdpau.h:1099
VdpStatus VdpOutputSurfaceGetParameters(VdpOutputSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpOutputSurface.
Definition: vdpau.h:1839
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:2304
uint8_t field_pic_flag
Definition: vdpau.h:2801
Information about an H.264 reference frame.
Definition: vdpau.h:2740
uint8_t bottom_field_flag
Definition: vdpau.h:2803
Picture parameter information for an H.264 picture.
Definition: vdpau.h:2790
uint64_t VdpTime
The representation of a point in time.
Definition: vdpau.h:3935
uint8_t extended_mv
Definition: vdpau.h:2930
uint16_t frame_num
Definition: vdpau.h:2799
float brightness
Definition: vdpau.h:1406
VdpBool top_is_reference
Definition: vdpau.h:2752
VdpVideoSurface backward_reference
Definition: vdpau.h:2696
VdpStatus VdpDecoderCreate(VdpDevice device, VdpDecoderProfile profile, uint32_t width, uint32_t height, uint32_t max_references, VdpDecoder *decoder)
Create a VdpDecoder.
Definition: vdpau.h:2610
Picture parameter information for an H.264 Hi444PP picture.
Definition: vdpau.h:2866
uint32_t y0
Definition: vdpau.h:1065
uint32_t VdpVideoSurface
An opaque handle representing a VdpVideoSurface object.
Definition: vdpau.h:1530
char const * VdpGetErrorString(VdpStatus status)
Retrieve a string describing an error code.
Definition: vdpau.h:1242
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:3866
VdpStatus VdpVideoMixerQueryAttributeValueRange(VdpDevice device, VdpVideoMixerAttribute attribute, void *min_value, void *max_value)
Query the implementation's supported for a specific attribute.
Definition: vdpau.h:3581
uint8_t psf
Definition: vdpau.h:2920
uint8_t syncmarker
Definition: vdpau.h:2959
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:1655
uint8_t delta_pic_order_always_zero_flag
Definition: vdpau.h:2835
uint8_t tfcntrflag
Definition: vdpau.h:2916
VdpStatus VdpOutputSurfaceDestroy(VdpOutputSurface surface)
Destroy a VdpOutputSurface.
Definition: vdpau.h:1826
uint8_t loopfilter
Definition: vdpau.h:2938
uint8_t panscan_flag
Definition: vdpau.h:2924
float red
Definition: vdpau.h:1081
VdpOutputSurfaceRenderBlendFactor blend_factor_destination_alpha
Definition: vdpau.h:2192
uint8_t picture_coding_type
Definition: vdpau.h:2703
uint8_t range_mapy_flag
Definition: vdpau.h:2942
uint8_t picture_structure
Definition: vdpau.h:2701
VdpStatus VdpPresentationQueueTargetDestroy(VdpPresentationQueueTarget presentation_queue_target)
Destroy a VdpPresentationQueueTarget.
Definition: vdpau.h:3952
VdpStatus VdpVideoMixerQueryParameterSupport(VdpDevice device, VdpVideoMixerParameter parameter, VdpBool *is_supported)
Query the implementation's support for a specific parameter.
Definition: vdpau.h:3530
VdpStatus VdpPresentationQueueSetBackgroundColor(VdpPresentationQueue presentation_queue, VdpColor *const background_color)
Configure the background color setting.
Definition: vdpau.h:3998
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:2019
VdpOutputSurfaceRenderBlendEquation blend_equation_color
Definition: vdpau.h:2193
uint8_t mb_adaptive_frame_field_flag
Definition: vdpau.h:2807
uint8_t separate_colour_plane_flag
Definition: vdpau.h:2879