comparison xvmc.h @ 8899:856ed45c4cfa libavcodec

Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
author diego
date Sat, 14 Feb 2009 23:45:35 +0000
parents 0e5888f9b8cb
children 12f4b161ce83
comparison
equal deleted inserted replaced
8898:0e5888f9b8cb 8899:856ed45c4cfa
20 20
21 #ifndef AVCODEC_XVMC_H 21 #ifndef AVCODEC_XVMC_H
22 #define AVCODEC_XVMC_H 22 #define AVCODEC_XVMC_H
23 23
24 #include <X11/extensions/XvMC.h> 24 #include <X11/extensions/XvMC.h>
25
26 #include "avcodec.h"
25 27
26 #define AV_XVMC_STATE_DISPLAY_PENDING 1 /** the surface should be shown, the video driver manipulates this */ 28 #define AV_XVMC_STATE_DISPLAY_PENDING 1 /** the surface should be shown, the video driver manipulates this */
27 #define AV_XVMC_STATE_PREDICTION 2 /** the surface is needed for prediction, the codec manipulates this */ 29 #define AV_XVMC_STATE_PREDICTION 2 /** the surface is needed for prediction, the codec manipulates this */
28 #define AV_XVMC_STATE_OSD_SOURCE 4 /** this surface is needed for subpicture rendering */ 30 #define AV_XVMC_STATE_OSD_SOURCE 4 /** this surface is needed for subpicture rendering */
29 #define AV_XVMC_RENDER_MAGIC 0x1DC711C0 /**< magic value to ensure that regular pixel routines haven't corrupted the struct */ 31 #define AV_XVMC_RENDER_MAGIC 0x1DC711C0 /**< magic value to ensure that regular pixel routines haven't corrupted the struct */