Revision eb3b2ef9

View differences:

libavcodec/xvmc.h
25 25

  
26 26
#include "avcodec.h"
27 27

  
28
#if LIBAVCODEC_VERSION_MAJOR < 53
28 29
#define AV_XVMC_STATE_DISPLAY_PENDING          1  /**  the surface should be shown, the video driver manipulates this */
29 30
#define AV_XVMC_STATE_PREDICTION               2  /**  the surface is needed for prediction, the codec manipulates this */
30 31
#define AV_XVMC_STATE_OSD_SOURCE               4  /**  this surface is needed for subpicture rendering */
32
#endif
31 33
#define AV_XVMC_RENDER_MAGIC          0x1DC711C0  /**< magic value to ensure that regular pixel routines haven't corrupted the struct */
32 34
                                                  //   1337 IDCT MCo
33 35

  
......
53 55

  
54 56
    unsigned int    picture_structure;            ///< top/bottom fields or frame
55 57
    unsigned int    flags;                        ///< XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
56
#if LIBAVCODEC_VERSION_MAJOR < 53
57
    unsigned int    display_flags;                ///< 1, 2 or 1+2 fields for XvMCPutSurface
58
#endif
59 58
//}@
60 59

  
61 60
    /** Offset in the mv array for the current slice:

Also available in: Unified diff