diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2009-02-14 23:28:09 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2009-02-14 23:28:09 +0000 |
commit | 3bffe5fc9de876329c7a866a89808950056451be (patch) | |
tree | 34b4330b8d8539f9eb35384b7ae902db20d538a8 | |
parent | 0b2eb2e8bec898d9c57cd3ecee554e059d5013b3 (diff) | |
download | ffmpeg-3bffe5fc9de876329c7a866a89808950056451be.tar.gz |
Deprecate some unused xvmc structure fields.
Originally committed as revision 17297 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/xvmc.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h index 89891f0cf1..8e6334829f 100644 --- a/libavcodec/xvmc.h +++ b/libavcodec/xvmc.h @@ -38,9 +38,13 @@ struct xvmc_render_state { XvMCMacroBlock* mv_blocks; int total_number_of_mv_blocks; int total_number_of_data_blocks; +#if LIBAVCODEC_VERSION_MAJOR < 53 int mc_type; ///< XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT +#endif int idct; ///< indicate that IDCT acceleration level is used +#if LIBAVCODEC_VERSION_MAJOR < 53 int chroma_format; ///< XVMC_CHROMA_FORMAT_420/422/444 +#endif int unsigned_intra; ///< +-128 for intra pictures after clipping XvMCSurface* p_surface; ///< pointer to rendered surface, never changed //}@ @@ -64,11 +68,12 @@ struct xvmc_render_state { int next_free_data_block_num; ///< used in add_mv_block, pointer to next free block //}@ -/** extensions */ +/** extensions may be placed here*/ +#if LIBAVCODEC_VERSION_MAJOR < 53 //@{ void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered //}@ - +#endif }; #endif /* AVCODEC_XVMC_H */ |