Mercurial > libavcodec.hg
comparison xvmc.h @ 8903:9f1f4704d89c libavcodec
Drop struct members display_flags and state with the next major version bump.
They are not used within FFmpeg.
author | diego |
---|---|
date | Sun, 15 Feb 2009 00:40:57 +0000 |
parents | 40d31e22a2ac |
children | 23f3b98db75c |
comparison
equal
deleted
inserted
replaced
8902:aa49d3e97b70 | 8903:9f1f4704d89c |
---|---|
51 XvMCSurface* p_past_surface; ///< pointer to the past surface | 51 XvMCSurface* p_past_surface; ///< pointer to the past surface |
52 XvMCSurface* p_future_surface; ///< pointer to the future prediction surface | 52 XvMCSurface* p_future_surface; ///< pointer to the future prediction surface |
53 | 53 |
54 unsigned int picture_structure; ///< top/bottom fields or frame | 54 unsigned int picture_structure; ///< top/bottom fields or frame |
55 unsigned int flags; ///< XVMC_SECOND_FIELD - 1st or 2nd field in the sequence | 55 unsigned int flags; ///< XVMC_SECOND_FIELD - 1st or 2nd field in the sequence |
56 #if LIBAVCODEC_VERSION_MAJOR < 53 | |
56 unsigned int display_flags; ///< 1, 2 or 1+2 fields for XvMCPutSurface | 57 unsigned int display_flags; ///< 1, 2 or 1+2 fields for XvMCPutSurface |
58 #endif | |
57 //}@ | 59 //}@ |
58 | 60 |
59 /** modified by calling application and the decoder */ | 61 /** modified by calling application and the decoder */ |
60 //@{ | 62 //@{ |
63 #if LIBAVCODEC_VERSION_MAJOR < 53 | |
61 int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction | 64 int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction |
65 #endif | |
62 int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo | 66 int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo |
63 int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder | 67 int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder |
64 | 68 |
65 int next_free_data_block_num; ///< used in add_mv_block, pointer to next free block | 69 int next_free_data_block_num; ///< used in add_mv_block, pointer to next free block |
66 //}@ | 70 //}@ |