798 #define VDP_INVALID_HANDLE 0xffffffffU
807 #define VDP_CHROMA_TYPE_420 (VdpChromaType)0
809 #define VDP_CHROMA_TYPE_422 (VdpChromaType)1
811 #define VDP_CHROMA_TYPE_444 (VdpChromaType)2
831 #define VDP_YCBCR_FORMAT_NV12 (VdpYCbCrFormat)0
843 #define VDP_YCBCR_FORMAT_YV12 (VdpYCbCrFormat)1
857 #define VDP_YCBCR_FORMAT_UYVY (VdpYCbCrFormat)2
871 #define VDP_YCBCR_FORMAT_YUYV (VdpYCbCrFormat)3
884 #define VDP_YCBCR_FORMAT_Y8U8V8A8 (VdpYCbCrFormat)4
897 #define VDP_YCBCR_FORMAT_V8U8Y8A8 (VdpYCbCrFormat)5
916 #define VDP_RGBA_FORMAT_B8G8R8A8 (VdpRGBAFormat)0
929 #define VDP_RGBA_FORMAT_R8G8B8A8 (VdpRGBAFormat)1
942 #define VDP_RGBA_FORMAT_R10G10B10A2 (VdpRGBAFormat)2
955 #define VDP_RGBA_FORMAT_B10G10R10A2 (VdpRGBAFormat)3
966 #define VDP_RGBA_FORMAT_A8 (VdpRGBAFormat)4
984 #define VDP_INDEXED_FORMAT_A4I4 (VdpIndexedFormat)0
996 #define VDP_INDEXED_FORMAT_I4A4 (VdpIndexedFormat)1
1008 #define VDP_INDEXED_FORMAT_A8I8 (VdpIndexedFormat)2
1020 #define VDP_INDEXED_FORMAT_I8A8 (VdpIndexedFormat)3
1255 #define VDPAU_INTERFACE_VERSION 1
1268 #define VDPAU_VERSION 1
1277 uint32_t * api_version
1299 char const * * information_string
1372 #define VDP_PROCAMP_VERSION 0
1418 #define VDP_COLOR_STANDARD_ITUR_BT_601 (VdpColorStandard)0
1420 #define VDP_COLOR_STANDARD_ITUR_BT_709 (VdpColorStandard)1
1422 #define VDP_COLOR_STANDARD_SMPTE_240M (VdpColorStandard)2
1434 VdpColorStandard standard,
1436 VdpCSCMatrix * csc_matrix
1485 VdpChromaType surface_chroma_type,
1487 VdpBool * is_supported,
1488 uint32_t * max_width,
1489 uint32_t * max_height
1505 VdpChromaType surface_chroma_type,
1506 VdpYCbCrFormat bits_ycbcr_format,
1508 VdpBool * is_supported
1564 VdpChromaType chroma_type,
1568 VdpVideoSurface * surface
1577 VdpVideoSurface surface
1590 VdpVideoSurface surface,
1592 VdpChromaType * chroma_type,
1616 VdpVideoSurface surface,
1617 VdpYCbCrFormat destination_ycbcr_format,
1618 void *
const * destination_data,
1619 uint32_t
const * destination_pitches
1641 VdpVideoSurface surface,
1642 VdpYCbCrFormat source_ycbcr_format,
1643 void const *
const * source_data,
1644 uint32_t
const * source_pitches
1695 #define VDP_COLOR_TABLE_FORMAT_B8G8R8X8 (VdpColorTableFormat)0
1712 VdpRGBAFormat surface_rgba_format,
1714 VdpBool * is_supported,
1715 uint32_t * max_width,
1716 uint32_t * max_height
1731 VdpRGBAFormat surface_rgba_format,
1733 VdpBool * is_supported
1752 VdpRGBAFormat surface_rgba_format,
1753 VdpIndexedFormat bits_indexed_format,
1754 VdpColorTableFormat color_table_format,
1756 VdpBool * is_supported
1773 VdpRGBAFormat surface_rgba_format,
1774 VdpYCbCrFormat bits_ycbcr_format,
1776 VdpBool * is_supported
1799 VdpRGBAFormat rgba_format,
1803 VdpOutputSurface * surface
1812 VdpOutputSurface surface
1825 VdpOutputSurface surface,
1827 VdpRGBAFormat * rgba_format,
1852 VdpOutputSurface surface,
1854 void *
const * destination_data,
1855 uint32_t
const * destination_pitches
1878 VdpOutputSurface surface,
1879 void const *
const * source_data,
1880 uint32_t
const * source_pitches,
1881 VdpRect const * destination_rect
1910 VdpOutputSurface surface,
1911 VdpIndexedFormat source_indexed_format,
1912 void const *
const * source_data,
1913 uint32_t
const * source_pitch,
1914 VdpRect const * destination_rect,
1915 VdpColorTableFormat color_table_format,
1916 void const * color_table
1945 VdpOutputSurface surface,
1946 VdpYCbCrFormat source_ycbcr_format,
1947 void const *
const * source_data,
1948 uint32_t
const * source_pitches,
1949 VdpRect const * destination_rect,
1950 VdpCSCMatrix
const * csc_matrix
2006 VdpRGBAFormat surface_rgba_format,
2008 VdpBool * is_supported,
2009 uint32_t * max_width,
2010 uint32_t * max_height
2038 VdpRGBAFormat rgba_format,
2041 VdpBool frequently_accessed,
2043 VdpBitmapSurface * surface
2052 VdpBitmapSurface surface
2067 VdpBitmapSurface surface,
2069 VdpRGBAFormat * rgba_format,
2072 VdpBool * frequently_accessed
2095 VdpBitmapSurface surface,
2096 void const *
const * source_data,
2097 uint32_t
const * source_pitches,
2098 VdpRect const * destination_rect
2148 #define VDP_OUTPUT_SURFACE_RENDER_BLEND_STATE_VERSION 0
2187 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_0 0
2194 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_90 1
2201 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_180 2
2208 #define VDP_OUTPUT_SURFACE_RENDER_ROTATE_270 3
2217 #define VDP_OUTPUT_SURFACE_RENDER_COLOR_PER_VERTEX (1 << 2)
2290 VdpOutputSurface destination_surface,
2291 VdpRect const * destination_rect,
2292 VdpOutputSurface source_surface,
2370 VdpOutputSurface destination_surface,
2371 VdpRect const * destination_rect,
2372 VdpBitmapSurface source_surface,
2402 #define VDP_DECODER_PROFILE_MPEG1 (VdpDecoderProfile)0
2404 #define VDP_DECODER_PROFILE_MPEG2_SIMPLE (VdpDecoderProfile)1
2406 #define VDP_DECODER_PROFILE_MPEG2_MAIN (VdpDecoderProfile)2
2409 #define VDP_DECODER_PROFILE_H264_BASELINE (VdpDecoderProfile)6
2411 #define VDP_DECODER_PROFILE_H264_MAIN (VdpDecoderProfile)7
2413 #define VDP_DECODER_PROFILE_H264_HIGH (VdpDecoderProfile)8
2415 #define VDP_DECODER_PROFILE_VC1_SIMPLE (VdpDecoderProfile)9
2417 #define VDP_DECODER_PROFILE_VC1_MAIN (VdpDecoderProfile)10
2419 #define VDP_DECODER_PROFILE_VC1_ADVANCED (VdpDecoderProfile)11
2421 #define VDP_DECODER_PROFILE_MPEG4_PART2_SP (VdpDecoderProfile)12
2423 #define VDP_DECODER_PROFILE_MPEG4_PART2_ASP (VdpDecoderProfile)13
2425 #define VDP_DECODER_PROFILE_DIVX4_QMOBILE (VdpDecoderProfile)14
2427 #define VDP_DECODER_PROFILE_DIVX4_MOBILE (VdpDecoderProfile)15
2429 #define VDP_DECODER_PROFILE_DIVX4_HOME_THEATER (VdpDecoderProfile)16
2431 #define VDP_DECODER_PROFILE_DIVX4_HD_1080P (VdpDecoderProfile)17
2433 #define VDP_DECODER_PROFILE_DIVX5_QMOBILE (VdpDecoderProfile)18
2435 #define VDP_DECODER_PROFILE_DIVX5_MOBILE (VdpDecoderProfile)19
2437 #define VDP_DECODER_PROFILE_DIVX5_HOME_THEATER (VdpDecoderProfile)20
2439 #define VDP_DECODER_PROFILE_DIVX5_HD_1080P (VdpDecoderProfile)21
2442 #define VDP_DECODER_LEVEL_MPEG1_NA 0
2445 #define VDP_DECODER_LEVEL_MPEG2_LL 0
2447 #define VDP_DECODER_LEVEL_MPEG2_ML 1
2449 #define VDP_DECODER_LEVEL_MPEG2_HL14 2
2451 #define VDP_DECODER_LEVEL_MPEG2_HL 3
2454 #define VDP_DECODER_LEVEL_H264_1 10
2456 #define VDP_DECODER_LEVEL_H264_1b 9
2458 #define VDP_DECODER_LEVEL_H264_1_1 11
2460 #define VDP_DECODER_LEVEL_H264_1_2 12
2462 #define VDP_DECODER_LEVEL_H264_1_3 13
2464 #define VDP_DECODER_LEVEL_H264_2 20
2466 #define VDP_DECODER_LEVEL_H264_2_1 21
2468 #define VDP_DECODER_LEVEL_H264_2_2 22
2470 #define VDP_DECODER_LEVEL_H264_3 30
2472 #define VDP_DECODER_LEVEL_H264_3_1 31
2474 #define VDP_DECODER_LEVEL_H264_3_2 32
2476 #define VDP_DECODER_LEVEL_H264_4 40
2478 #define VDP_DECODER_LEVEL_H264_4_1 41
2480 #define VDP_DECODER_LEVEL_H264_4_2 42
2482 #define VDP_DECODER_LEVEL_H264_5 50
2484 #define VDP_DECODER_LEVEL_H264_5_1 51
2487 #define VDP_DECODER_LEVEL_VC1_SIMPLE_LOW 0
2489 #define VDP_DECODER_LEVEL_VC1_SIMPLE_MEDIUM 1
2492 #define VDP_DECODER_LEVEL_VC1_MAIN_LOW 0
2494 #define VDP_DECODER_LEVEL_VC1_MAIN_MEDIUM 1
2496 #define VDP_DECODER_LEVEL_VC1_MAIN_HIGH 2
2499 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L0 0
2501 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L1 1
2503 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L2 2
2505 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L3 3
2507 #define VDP_DECODER_LEVEL_VC1_ADVANCED_L4 4
2510 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L0 0
2512 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L1 1
2514 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L2 2
2516 #define VDP_DECODER_LEVEL_MPEG4_PART2_SP_L3 3
2519 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L0 0
2521 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L1 1
2523 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L2 2
2525 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L3 3
2527 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L4 4
2529 #define VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L5 5
2532 #define VDP_DECODER_LEVEL_DIVX_NA 0
2554 VdpDecoderProfile profile,
2556 VdpBool * is_supported,
2557 uint32_t * max_level,
2558 uint32_t * max_macroblocks,
2559 uint32_t * max_width,
2560 uint32_t * max_height
2586 VdpDecoderProfile profile,
2589 uint32_t max_references,
2591 VdpDecoder * decoder
2618 VdpDecoderProfile * profile,
2623 #define VDP_BITSTREAM_BUFFER_VERSION 0
2700 uint8_t f_code[2][2];
2702 uint8_t intra_quantizer_matrix[64];
2704 uint8_t non_intra_quantizer_matrix[64];
2733 int32_t field_order_cnt[2];
2764 int32_t field_order_cnt[2];
2818 uint8_t scaling_lists_4x4[6][16];
2820 uint8_t scaling_lists_8x8[2][64];
2978 uint8_t intra_quantizer_matrix[64];
2980 uint8_t non_intra_quantizer_matrix[64];
3019 VdpVideoSurface target,
3020 VdpPictureInfo
const * picture_info,
3021 uint32_t bitstream_buffer_count,
3117 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL (VdpVideoMixerFeature)0
3130 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL (VdpVideoMixerFeature)1
3139 #define VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE (VdpVideoMixerFeature)2
3147 #define VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION (VdpVideoMixerFeature)3
3155 #define VDP_VIDEO_MIXER_FEATURE_SHARPNESS (VdpVideoMixerFeature)4
3168 #define VDP_VIDEO_MIXER_FEATURE_LUMA_KEY (VdpVideoMixerFeature)5
3190 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 (VdpVideoMixerFeature)11
3197 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L2 (VdpVideoMixerFeature)12
3204 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L3 (VdpVideoMixerFeature)13
3211 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L4 (VdpVideoMixerFeature)14
3218 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L5 (VdpVideoMixerFeature)15
3225 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L6 (VdpVideoMixerFeature)16
3232 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L7 (VdpVideoMixerFeature)17
3239 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L8 (VdpVideoMixerFeature)18
3246 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L9 (VdpVideoMixerFeature)19
3274 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_WIDTH (VdpVideoMixerParameter)0
3287 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_HEIGHT (VdpVideoMixerParameter)1
3301 #define VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE (VdpVideoMixerParameter)2
3320 #define VDP_VIDEO_MIXER_PARAMETER_LAYERS (VdpVideoMixerParameter)3
3349 #define VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR (VdpVideoMixerAttribute)0
3377 #define VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX (VdpVideoMixerAttribute)1
3390 #define VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL (VdpVideoMixerAttribute)2
3406 #define VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL (VdpVideoMixerAttribute)3
3418 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA (VdpVideoMixerAttribute)4
3430 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA (VdpVideoMixerAttribute)5
3445 #define VDP_VIDEO_MIXER_ATTRIBUTE_SKIP_CHROMA_DEINTERLACE (VdpVideoMixerAttribute)6
3458 VdpVideoMixerFeature feature,
3460 VdpBool * is_supported
3475 VdpVideoMixerParameter parameter,
3477 VdpBool * is_supported
3491 VdpVideoMixerAttribute attribute,
3493 VdpBool * is_supported
3508 VdpVideoMixerParameter parameter,
3526 VdpVideoMixerAttribute attribute,
3560 uint32_t feature_count,
3561 VdpVideoMixerFeature
const * features,
3563 uint32_t parameter_count,
3564 VdpVideoMixerParameter
const * parameters,
3565 void const *
const * parameter_values,
3567 VdpVideoMixer * mixer
3581 VdpVideoMixer mixer,
3582 uint32_t feature_count,
3583 VdpVideoMixerFeature
const * features,
3584 VdpBool
const * feature_enables
3600 VdpVideoMixer mixer,
3601 uint32_t attribute_count,
3602 VdpVideoMixerAttribute
const * attributes,
3603 void const *
const * attribute_values
3618 VdpVideoMixer mixer,
3619 uint32_t feature_count,
3620 VdpVideoMixerFeature
const * features,
3622 VdpBool * feature_supports
3635 VdpVideoMixer mixer,
3636 uint32_t feature_count,
3637 VdpVideoMixerFeature
const * features,
3639 VdpBool * feature_enables
3655 VdpVideoMixer mixer,
3656 uint32_t parameter_count,
3657 VdpVideoMixerParameter
const * parameters,
3659 void *
const * parameter_values
3675 VdpVideoMixer mixer,
3676 uint32_t attribute_count,
3677 VdpVideoMixerAttribute
const * attributes,
3679 void *
const * attribute_values
3712 #define VDP_LAYER_VERSION 0
3810 VdpVideoMixer mixer,
3811 VdpOutputSurface background_surface,
3812 VdpRect const * background_source_rect,
3814 uint32_t video_surface_past_count,
3815 VdpVideoSurface
const * video_surface_past,
3816 VdpVideoSurface video_surface_current,
3817 uint32_t video_surface_future_count,
3818 VdpVideoSurface
const * video_surface_future,
3819 VdpRect const * video_source_rect,
3820 VdpOutputSurface destination_surface,
3821 VdpRect const * destination_rect,
3822 VdpRect const * destination_video_rect,
3823 uint32_t layer_count,
3896 VdpPresentationQueueTarget presentation_queue_target
3918 VdpPresentationQueueTarget presentation_queue_target,
3920 VdpPresentationQueue * presentation_queue
3929 VdpPresentationQueue presentation_queue
3942 VdpPresentationQueue presentation_queue,
3952 VdpPresentationQueue presentation_queue,
3964 VdpPresentationQueue presentation_queue,
3966 VdpTime * current_time
4010 VdpPresentationQueue presentation_queue,
4011 VdpOutputSurface surface,
4012 uint32_t clip_width,
4013 uint32_t clip_height,
4014 VdpTime earliest_presentation_time
4033 VdpPresentationQueue presentation_queue,
4034 VdpOutputSurface surface,
4036 VdpTime * first_presentation_time
4064 VdpPresentationQueue presentation_queue,
4065 VdpOutputSurface surface,
4068 VdpTime * first_presentation_time
4166 #define VDP_FUNC_ID_GET_ERROR_STRING (VdpFuncId)0
4168 #define VDP_FUNC_ID_GET_PROC_ADDRESS (VdpFuncId)1
4170 #define VDP_FUNC_ID_GET_API_VERSION (VdpFuncId)2
4172 #define VDP_FUNC_ID_GET_INFORMATION_STRING (VdpFuncId)4
4174 #define VDP_FUNC_ID_DEVICE_DESTROY (VdpFuncId)5
4176 #define VDP_FUNC_ID_GENERATE_CSC_MATRIX (VdpFuncId)6
4178 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_CAPABILITIES (VdpFuncId)7
4180 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES (VdpFuncId)8
4182 #define VDP_FUNC_ID_VIDEO_SURFACE_CREATE (VdpFuncId)9
4184 #define VDP_FUNC_ID_VIDEO_SURFACE_DESTROY (VdpFuncId)10
4186 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_PARAMETERS (VdpFuncId)11
4188 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR (VdpFuncId)12
4190 #define VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR (VdpFuncId)13
4192 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_CAPABILITIES (VdpFuncId)14
4194 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_GET_PUT_BITS_NATIVE_CAPABILITIES (VdpFuncId)15
4196 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_INDEXED_CAPABILITIES (VdpFuncId)16
4198 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_Y_CB_CR_CAPABILITIES (VdpFuncId)17
4200 #define VDP_FUNC_ID_OUTPUT_SURFACE_CREATE (VdpFuncId)18
4202 #define VDP_FUNC_ID_OUTPUT_SURFACE_DESTROY (VdpFuncId)19
4204 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_PARAMETERS (VdpFuncId)20
4206 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_BITS_NATIVE (VdpFuncId)21
4208 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_NATIVE (VdpFuncId)22
4210 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_INDEXED (VdpFuncId)23
4212 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_Y_CB_CR (VdpFuncId)24
4214 #define VDP_FUNC_ID_BITMAP_SURFACE_QUERY_CAPABILITIES (VdpFuncId)25
4216 #define VDP_FUNC_ID_BITMAP_SURFACE_CREATE (VdpFuncId)26
4218 #define VDP_FUNC_ID_BITMAP_SURFACE_DESTROY (VdpFuncId)27
4220 #define VDP_FUNC_ID_BITMAP_SURFACE_GET_PARAMETERS (VdpFuncId)28
4222 #define VDP_FUNC_ID_BITMAP_SURFACE_PUT_BITS_NATIVE (VdpFuncId)29
4224 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_OUTPUT_SURFACE (VdpFuncId)33
4226 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_BITMAP_SURFACE (VdpFuncId)34
4228 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_VIDEO_SURFACE_LUMA (VdpFuncId)35
4230 #define VDP_FUNC_ID_DECODER_QUERY_CAPABILITIES (VdpFuncId)36
4232 #define VDP_FUNC_ID_DECODER_CREATE (VdpFuncId)37
4234 #define VDP_FUNC_ID_DECODER_DESTROY (VdpFuncId)38
4236 #define VDP_FUNC_ID_DECODER_GET_PARAMETERS (VdpFuncId)39
4238 #define VDP_FUNC_ID_DECODER_RENDER (VdpFuncId)40
4240 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_FEATURE_SUPPORT (VdpFuncId)41
4242 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_SUPPORT (VdpFuncId)42
4244 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_SUPPORT (VdpFuncId)43
4246 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_VALUE_RANGE (VdpFuncId)44
4248 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_VALUE_RANGE (VdpFuncId)45
4250 #define VDP_FUNC_ID_VIDEO_MIXER_CREATE (VdpFuncId)46
4252 #define VDP_FUNC_ID_VIDEO_MIXER_SET_FEATURE_ENABLES (VdpFuncId)47
4254 #define VDP_FUNC_ID_VIDEO_MIXER_SET_ATTRIBUTE_VALUES (VdpFuncId)48
4256 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_SUPPORT (VdpFuncId)49
4258 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_ENABLES (VdpFuncId)50
4260 #define VDP_FUNC_ID_VIDEO_MIXER_GET_PARAMETER_VALUES (VdpFuncId)51
4262 #define VDP_FUNC_ID_VIDEO_MIXER_GET_ATTRIBUTE_VALUES (VdpFuncId)52
4264 #define VDP_FUNC_ID_VIDEO_MIXER_DESTROY (VdpFuncId)53
4266 #define VDP_FUNC_ID_VIDEO_MIXER_RENDER (VdpFuncId)54
4268 #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_DESTROY (VdpFuncId)55
4270 #define VDP_FUNC_ID_PRESENTATION_QUEUE_CREATE (VdpFuncId)56
4272 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DESTROY (VdpFuncId)57
4274 #define VDP_FUNC_ID_PRESENTATION_QUEUE_SET_BACKGROUND_COLOR (VdpFuncId)58
4276 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_BACKGROUND_COLOR (VdpFuncId)59
4278 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_TIME (VdpFuncId)62
4280 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DISPLAY (VdpFuncId)63
4282 #define VDP_FUNC_ID_PRESENTATION_QUEUE_BLOCK_UNTIL_SURFACE_IDLE (VdpFuncId)64
4284 #define VDP_FUNC_ID_PRESENTATION_QUEUE_QUERY_SURFACE_STATUS (VdpFuncId)65
4286 #define VDP_FUNC_ID_PREEMPTION_CALLBACK_REGISTER (VdpFuncId)66
4288 #define VDP_FUNC_ID_BASE_WINSYS 0x1000
4301 VdpFuncId function_id,
4303 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:1615
float saturation
Definition: vdpau.h:1401
VdpPictureInfoMPEG4Part2 VdpPictureInfoDivX4
Picture parameter information for a DivX 4 picture.
Definition: vdpau.h:2989
VdpOutputSurfaceRenderBlendEquation
The blending equations.
Definition: vdpau.h:2140
uint32_t VdpYCbCrFormat
The set of all known YCbCr surface formats.
Definition: vdpau.h:816
uint32_t bitstream_bytes
Definition: vdpau.h:2637
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:1771
uint8_t quarter_sample
Definition: vdpau.h:2968
uint8_t frame_pred_frame_dct
Definition: vdpau.h:2681
uint8_t extended_dmv
Definition: vdpau.h:2875
uint8_t pquant
Definition: vdpau.h:2927
Application data buffer containing compressed video data.
Definition: vdpau.h:2629
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:1750
VdpOutputSurfaceRenderBlendFactor
The blending equation factors.
Definition: vdpau.h:2118
float hue
Definition: vdpau.h:1406
VdpStatus VdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, uint32_t width, uint32_t height, VdpVideoSurface *surface)
Create a VdpVideoSurface.
Definition: vdpau.h:1562
VdpBool is_long_term
Definition: vdpau.h:2721
uint32_t VdpIndexedFormat
The set of all known indexed surface formats.
Definition: vdpau.h:971
uint8_t q_scale_type
Definition: vdpau.h:2689
uint32_t VdpRGBAFormat
The set of all known RGB surface formats.
Definition: vdpau.h:902
uint8_t range_mapy
Definition: vdpau.h:2887
void const * bitstream
Definition: vdpau.h:2635
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:3654
uint8_t frame_mbs_only_flag
Definition: vdpau.h:2785
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:1877
uint8_t postprocflag
Definition: vdpau.h:2853
uint32_t struct_version
Definition: vdpau.h:2173
VdpPictureInfoMPEG4Part2 VdpPictureInfoDivX5
Picture parameter information for a DivX 5 picture.
Definition: vdpau.h:2997
uint8_t constrained_intra_pred_flag
Definition: vdpau.h:2779
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:1909
VdpRect const * source_rect
Definition: vdpau.h:3731
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:2552
uint32_t VdpVideoMixer
An opaque handle representing a VdpVideoMixer object.
Definition: vdpau.h:3535
float contrast
Definition: vdpau.h:1396
uint32_t VdpOutputSurface
An opaque handle representing a VdpOutputSurface object.
Definition: vdpau.h:1783
VdpStatus VdpGetProcAddress(VdpDevice device, VdpFuncId function_id, void **function_pointer)
Retrieve a VDPAU function pointer.
Definition: vdpau.h:4299
VdpStatus VdpVideoMixerSetAttributeValues(VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void const *const *attribute_values)
Set attribute values.
Definition: vdpau.h:3599
VdpStatus VdpVideoMixerGetAttributeValues(VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void *const *attribute_values)
Retrieve current attribute values.
Definition: vdpau.h:3674
uint32_t y1
Definition: vdpau.h:1054
VdpVideoSurface forward_reference
Definition: vdpau.h:2942
VdpOutputSurface source_surface
Definition: vdpau.h:3726
uint32_t VdpPresentationQueue
An opaque handle representing a presentation queue object.
Definition: vdpau.h:3903
VdpBool bottom_is_reference
Definition: vdpau.h:2731
VdpStatus VdpPresentationQueueGetBackgroundColor(VdpPresentationQueue presentation_queue, VdpColor *background_color)
Retrieve the current background color setting.
Definition: vdpau.h:3951
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:1851
VdpStatus VdpPresentationQueueBlockUntilSurfaceIdle(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpTime *first_presentation_time)
Wait for a surface to finish being displayed.
Definition: vdpau.h:4032
uint8_t direct_8x8_inference_flag
Definition: vdpau.h:2807
uint32_t slice_count
Definition: vdpau.h:2672
uint32_t VdpBitmapSurface
An opaque handle representing a VdpBitmapSurface object.
Definition: vdpau.h:2017
uint32_t struct_version
Definition: vdpau.h:1386
VdpVideoMixerPictureStructure
The structure of the picture present in a VdpVideoSurface.
Definition: vdpau.h:3696
uint8_t deblockEnable
Definition: vdpau.h:2921
VdpStatus VdpBitmapSurfaceDestroy(VdpBitmapSurface surface)
Destroy a VdpBitmapSurface.
Definition: vdpau.h:2051
VdpStatus VdpDecoderGetParameters(VdpDecoder decoder, VdpDecoderProfile *profile, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpDecoder.
Definition: vdpau.h:2615
VdpOutputSurfaceRenderBlendFactor blend_factor_source_alpha
Definition: vdpau.h:2176
uint8_t vop_fcode_backward
Definition: vdpau.h:2960
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:3617
int8_t second_chroma_qp_index_offset
Definition: vdpau.h:2791
uint8_t interlaced
Definition: vdpau.h:2964
uint32_t x0
Definition: vdpau.h:1048
uint32_t VdpColorTableFormat
The set of all known color table formats, for use with VdpOutputSurfacePutBitsIndexed.
Definition: vdpau.h:1682
uint8_t short_video_header
Definition: vdpau.h:2970
uint32_t VdpVideoMixerParameter
A VdpVideoMixer creation parameter.
Definition: vdpau.h:3260
uint32_t VdpDecoderProfile
The set of all known compressed video formats, and associated profiles, that may be decoded...
Definition: vdpau.h:2399
uint8_t pic_order_cnt_type
Definition: vdpau.h:2801
VdpStatus VdpDeviceDestroy(VdpDevice device)
Destroy a VdpDevice.
Definition: vdpau.h:1328
VdpStatus VdpVideoMixerSetFeatureEnables(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool const *feature_enables)
Enable or disable features.
Definition: vdpau.h:3580
uint8_t pic_order_present_flag
Definition: vdpau.h:2811
VdpStatus VdpPresentationQueueGetTime(VdpPresentationQueue presentation_queue, VdpTime *current_time)
Retrieve the presentation queue's "current" time.
Definition: vdpau.h:3963
VdpStatus VdpVideoMixerDestroy(VdpVideoMixer mixer)
Destroy a VdpVideoMixer.
Definition: vdpau.h:3687
VdpColor blend_constant
Definition: vdpau.h:2180
uint32_t slice_count
Definition: vdpau.h:2846
uint8_t num_ref_idx_l0_active_minus1
Definition: vdpau.h:2795
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:1503
uint8_t transform_8x8_mode_flag
Definition: vdpau.h:2787
uint8_t interlace
Definition: vdpau.h:2857
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:1710
uint32_t VdpDevice
An opaque handle representing a VdpDevice object.
Definition: vdpau.h:1321
VdpBool is_reference
Definition: vdpau.h:2766
uint8_t range_mapuv_flag
Definition: vdpau.h:2889
uint8_t alternate_vertical_scan_flag
Definition: vdpau.h:2974
VdpVideoSurface surface
Definition: vdpau.h:2719
VdpStatus VdpPresentationQueueCreate(VdpDevice device, VdpPresentationQueueTarget presentation_queue_target, VdpPresentationQueue *presentation_queue)
Create a VdpPresentationQueue.
Definition: vdpau.h:3916
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:3557
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:3017
uint8_t vop_fcode_forward
Definition: vdpau.h:2958
uint8_t fastuvmc
Definition: vdpau.h:2883
uint8_t resync_marker_disable
Definition: vdpau.h:2962
void VdpPreemptionCallback(VdpDevice device, void *context)
A callback to notify the client application that a device's display has been preempted.
Definition: vdpau.h:4125
float green
Definition: vdpau.h:1067
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:1483
VdpVideoSurface forward_reference
Definition: vdpau.h:2838
uint8_t intra_vlc_format
Definition: vdpau.h:2685
uint8_t num_ref_idx_l1_active_minus1
Definition: vdpau.h:2797
uint32_t y
Definition: vdpau.h:1033
uint8_t weighted_bipred_idc
Definition: vdpau.h:2783
VdpStatus VdpPreemptionCallbackRegister(VdpDevice device, VdpPreemptionCallback callback, void *context)
Configure the display preemption callback.
Definition: vdpau.h:4140
VdpStatus VdpBitmapSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpBool frequently_accessed, VdpBitmapSurface *surface)
Create a VdpBitmapSurface.
Definition: vdpau.h:2036
uint8_t full_pel_forward_vector
Definition: vdpau.h:2693
uint8_t range_mapuv
Definition: vdpau.h:2891
uint8_t quant_type
Definition: vdpau.h:2966
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:1944
A location within a surface.
Definition: vdpau.h:1029
uint32_t x1
Definition: vdpau.h:1052
uint8_t vop_coding_type
Definition: vdpau.h:2956
uint8_t entropy_coding_mode_flag
Definition: vdpau.h:2809
Definition of an additional VdpOutputSurface layer in the composting model.
Definition: vdpau.h:3718
VdpStatus VdpVideoMixerQueryParameterValueRange(VdpDevice device, VdpVideoMixerParameter parameter, void *min_value, void *max_value)
Query the implementation's supported for a specific parameter.
Definition: vdpau.h:3506
uint8_t picture_type
Definition: vdpau.h:2848
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:4009
uint32_t x
Definition: vdpau.h:1031
VdpOutputSurfaceRenderBlendEquation blend_equation_alpha
Definition: vdpau.h:2179
VdpStatus VdpVideoSurfaceDestroy(VdpVideoSurface surface)
Destroy a VdpVideoSurface.
Definition: vdpau.h:1576
int8_t pic_init_qp_minus26
Definition: vdpau.h:2793
uint8_t alternate_scan
Definition: vdpau.h:2687
uint8_t log2_max_frame_num_minus4
Definition: vdpau.h:2799
uint32_t VdpChromaType
The set of all chroma formats for VdpVideoSurfaces.
Definition: vdpau.h:804
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:2066
float blue
Definition: vdpau.h:1068
VdpStatus VdpDecoderDestroy(VdpDecoder decoder)
Destroy a VdpDecoder.
Definition: vdpau.h:2599
uint8_t overlap
Definition: vdpau.h:2877
Picture parameter information for a VC1 picture.
Definition: vdpau.h:2833
uint8_t weighted_pred_flag
Definition: vdpau.h:2781
uint8_t concealment_motion_vectors
Definition: vdpau.h:2683
Complete blending operation definition.
Definition: vdpau.h:2169
VdpStatus VdpGetInformationString(char const **information_string)
Retrieve an implementation-specific string description of the implementation. This typically includes...
Definition: vdpau.h:1297
uint32_t VdpVideoMixerFeature
A VdpVideoMixer feature that must be requested at creation time to be used.
Definition: vdpau.h:3104
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:2369
Picture parameter information for an MPEG-4 Part 2 picture.
Definition: vdpau.h:2937
uint32_t VdpDecoder
An opaque handle representing a VdpDecoder object.
Definition: vdpau.h:2566
uint8_t finterpflag
Definition: vdpau.h:2861
VdpStatus VdpVideoMixerQueryFeatureSupport(VdpDevice device, VdpVideoMixerFeature feature, VdpBool *is_supported)
Query the implementation's support for a specific feature.
Definition: vdpau.h:3456
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: vdpau.h:2803
void * VdpPictureInfo
A generic "picture information" pointer type.
Definition: vdpau.h:2650
uint8_t rounding_control
Definition: vdpau.h:2972
int VdpBool
A boolean value, holding VDP_TRUE or VDP_FALSE.
Definition: vdpau.h:778
A rectangular region of a surface.
Definition: vdpau.h:1046
VdpStatus VdpOutputSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpOutputSurface *surface)
Create a VdpOutputSurface.
Definition: vdpau.h:1797
uint32_t VdpFuncId
A type suitable for VdpGetProcAddress's function_id parameter.
Definition: vdpau.h:4163
uint32_t VdpPresentationQueueTarget
An opaque handle representing the location where video will be presented.
Definition: vdpau.h:3888
uint8_t num_ref_frames
Definition: vdpau.h:2775
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:1729
VdpStatus VdpPresentationQueueDestroy(VdpPresentationQueue presentation_queue)
Destroy a VdpPresentationQueue.
Definition: vdpau.h:3928
uint8_t multires
Definition: vdpau.h:2897
uint8_t dquant
Definition: vdpau.h:2865
VdpPresentationQueueStatus
The status of a surface within a presentation queue.
Definition: vdpau.h:4043
uint8_t intra_dc_precision
Definition: vdpau.h:2679
uint32_t struct_version
Definition: vdpau.h:2633
uint32_t struct_version
Definition: vdpau.h:3722
uint32_t slice_count
Definition: vdpau.h:2762
uint8_t refdist_flag
Definition: vdpau.h:2869
uint8_t quantizer
Definition: vdpau.h:2871
float VdpCSCMatrix[3][4]
Storage for a color space conversion matrix.
Definition: vdpau.h:1370
VdpStatus VdpVideoMixerGetFeatureEnables(VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool *feature_enables)
Retrieve whether features are enabled.
Definition: vdpau.h:3634
uint8_t pulldown
Definition: vdpau.h:2855
uint8_t rangered
Definition: vdpau.h:2909
uint8_t deblocking_filter_control_present_flag
Definition: vdpau.h:2813
uint8_t vstransform
Definition: vdpau.h:2879
uint8_t frame_coding_mode
Definition: vdpau.h:2850
VdpStatus VdpVideoSurfaceGetParameters(VdpVideoSurface surface, VdpChromaType *chroma_type, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpVideoSurface.
Definition: vdpau.h:1589
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:2094
uint16_t vop_time_increment_resolution
Definition: vdpau.h:2954
VdpStatus VdpGetApiVersion(uint32_t *api_version)
Retrieve the VDPAU version implemented by the backend.
Definition: vdpau.h:1275
uint8_t top_field_first
Definition: vdpau.h:2691
uint8_t maxbframes
Definition: vdpau.h:2914
VdpVideoSurface backward_reference
Definition: vdpau.h:2947
VdpOutputSurfaceRenderBlendFactor blend_factor_source_color
Definition: vdpau.h:2174
uint16_t frame_idx
Definition: vdpau.h:2739
Picture parameter information for an MPEG 1 or MPEG 2 picture.
Definition: vdpau.h:2660
VdpStatus VdpVideoMixerQueryAttributeSupport(VdpDevice device, VdpVideoMixerAttribute attribute, VdpBool *is_supported)
Query the implementation's support for a specific attribute.
Definition: vdpau.h:3489
uint32_t VdpColorStandard
YCbCr color space specification.
Definition: vdpau.h:1415
Procamp operation parameterization data.
Definition: vdpau.h:1382
float alpha
Definition: vdpau.h:1069
uint8_t full_pel_backward_vector
Definition: vdpau.h:2695
uint32_t VdpVideoMixerAttribute
An adjustable attribute of VdpVideoMixer operation.
Definition: vdpau.h:3334
VdpVideoSurface forward_reference
Definition: vdpau.h:2665
VdpStatus VdpPresentationQueueQuerySurfaceStatus(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpPresentationQueueStatus *status, VdpTime *first_presentation_time)
Poll the current queue status of a surface.
Definition: vdpau.h:4063
VdpVideoSurface backward_reference
Definition: vdpau.h:2843
uint8_t top_field_first
Definition: vdpau.h:2976
VdpRect const * destination_rect
Definition: vdpau.h:3740
int8_t chroma_qp_index_offset
Definition: vdpau.h:2789
VdpOutputSurfaceRenderBlendFactor blend_factor_destination_color
Definition: vdpau.h:2175
uint8_t redundant_pic_cnt_present_flag
Definition: vdpau.h:2815
VdpStatus VdpGenerateCSCMatrix(VdpProcamp *procamp, VdpColorStandard standard, VdpCSCMatrix *csc_matrix)
Generate a color space conversion matrix.
Definition: vdpau.h:1432
VdpStatus
The set of all possible error codes.
Definition: vdpau.h:1084
VdpStatus VdpOutputSurfaceGetParameters(VdpOutputSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height)
Retrieve the parameters used to create a VdpOutputSurface.
Definition: vdpau.h:1824
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:2289
uint8_t field_pic_flag
Definition: vdpau.h:2771
Information about an H.264 reference frame.
Definition: vdpau.h:2714
uint8_t bottom_field_flag
Definition: vdpau.h:2773
Picture parameter information for an H.264 picture.
Definition: vdpau.h:2760
uint64_t VdpTime
The representation of a point in time.
Definition: vdpau.h:3878
uint8_t extended_mv
Definition: vdpau.h:2873
uint16_t frame_num
Definition: vdpau.h:2769
float brightness
Definition: vdpau.h:1391
VdpBool top_is_reference
Definition: vdpau.h:2726
VdpVideoSurface backward_reference
Definition: vdpau.h:2670
VdpStatus VdpDecoderCreate(VdpDevice device, VdpDecoderProfile profile, uint32_t width, uint32_t height, uint32_t max_references, VdpDecoder *decoder)
Create a VdpDecoder.
Definition: vdpau.h:2584
uint32_t y0
Definition: vdpau.h:1050
uint32_t VdpVideoSurface
An opaque handle representing a VdpVideoSurface object.
Definition: vdpau.h:1515
char const * VdpGetErrorString(VdpStatus status)
Retrieve a string describing an error code.
Definition: vdpau.h:1227
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:3809
VdpStatus VdpVideoMixerQueryAttributeValueRange(VdpDevice device, VdpVideoMixerAttribute attribute, void *min_value, void *max_value)
Query the implementation's supported for a specific attribute.
Definition: vdpau.h:3524
uint8_t psf
Definition: vdpau.h:2863
uint8_t syncmarker
Definition: vdpau.h:2902
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:1640
uint8_t delta_pic_order_always_zero_flag
Definition: vdpau.h:2805
uint8_t tfcntrflag
Definition: vdpau.h:2859
VdpStatus VdpOutputSurfaceDestroy(VdpOutputSurface surface)
Destroy a VdpOutputSurface.
Definition: vdpau.h:1811
uint8_t loopfilter
Definition: vdpau.h:2881
uint8_t panscan_flag
Definition: vdpau.h:2867
float red
Definition: vdpau.h:1066
VdpOutputSurfaceRenderBlendFactor blend_factor_destination_alpha
Definition: vdpau.h:2177
uint8_t picture_coding_type
Definition: vdpau.h:2677
uint8_t range_mapy_flag
Definition: vdpau.h:2885
uint8_t picture_structure
Definition: vdpau.h:2675
VdpStatus VdpPresentationQueueTargetDestroy(VdpPresentationQueueTarget presentation_queue_target)
Destroy a VdpPresentationQueueTarget.
Definition: vdpau.h:3895
VdpStatus VdpVideoMixerQueryParameterSupport(VdpDevice device, VdpVideoMixerParameter parameter, VdpBool *is_supported)
Query the implementation's support for a specific parameter.
Definition: vdpau.h:3473
VdpStatus VdpPresentationQueueSetBackgroundColor(VdpPresentationQueue presentation_queue, VdpColor *const background_color)
Configure the background color setting.
Definition: vdpau.h:3941
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:2004
VdpOutputSurfaceRenderBlendEquation blend_equation_color
Definition: vdpau.h:2178
uint8_t mb_adaptive_frame_field_flag
Definition: vdpau.h:2777