Mercurial > libavcodec.hg
comparison xvmc.h @ 8898:0e5888f9b8cb libavcodec
Deprecate some unused xvmc structure fields.
author | iive |
---|---|
date | Sat, 14 Feb 2009 23:28:09 +0000 |
parents | c5112df7f8b8 |
children | 856ed45c4cfa |
comparison
equal
deleted
inserted
replaced
8897:fa198e44b199 | 8898:0e5888f9b8cb |
---|---|
36 | 36 |
37 short* data_blocks; | 37 short* data_blocks; |
38 XvMCMacroBlock* mv_blocks; | 38 XvMCMacroBlock* mv_blocks; |
39 int total_number_of_mv_blocks; | 39 int total_number_of_mv_blocks; |
40 int total_number_of_data_blocks; | 40 int total_number_of_data_blocks; |
41 #if LIBAVCODEC_VERSION_MAJOR < 53 | |
41 int mc_type; ///< XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT | 42 int mc_type; ///< XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT |
43 #endif | |
42 int idct; ///< indicate that IDCT acceleration level is used | 44 int idct; ///< indicate that IDCT acceleration level is used |
45 #if LIBAVCODEC_VERSION_MAJOR < 53 | |
43 int chroma_format; ///< XVMC_CHROMA_FORMAT_420/422/444 | 46 int chroma_format; ///< XVMC_CHROMA_FORMAT_420/422/444 |
47 #endif | |
44 int unsigned_intra; ///< +-128 for intra pictures after clipping | 48 int unsigned_intra; ///< +-128 for intra pictures after clipping |
45 XvMCSurface* p_surface; ///< pointer to rendered surface, never changed | 49 XvMCSurface* p_surface; ///< pointer to rendered surface, never changed |
46 //}@ | 50 //}@ |
47 | 51 |
48 /** set by the decoder | 52 /** set by the decoder |
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 //}@ |
67 /** extensions */ | 71 /** extensions may be placed here*/ |
72 #if LIBAVCODEC_VERSION_MAJOR < 53 | |
68 //@{ | 73 //@{ |
69 void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered | 74 void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered |
70 //}@ | 75 //}@ |
71 | 76 #endif |
72 }; | 77 }; |
73 | 78 |
74 #endif /* AVCODEC_XVMC_H */ | 79 #endif /* AVCODEC_XVMC_H */ |