Libav 0.7.1
|
00001 /* 00002 * Copyright (C) 2003 Ivan Kalvachev 00003 * 00004 * This file is part of Libav. 00005 * 00006 * Libav is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * Libav is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with Libav; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 #ifndef AVCODEC_XVMC_H 00022 #define AVCODEC_XVMC_H 00023 00024 #include <X11/extensions/XvMC.h> 00025 00026 #include "avcodec.h" 00027 00028 #define AV_XVMC_ID 0x1DC711C0 00031 struct xvmc_pix_fmt { 00032 00038 int xvmc_id; 00039 00047 short* data_blocks; 00048 00054 XvMCMacroBlock* mv_blocks; 00055 00061 int allocated_mv_blocks; 00062 00067 int allocated_data_blocks; 00068 00074 int idct; 00075 00081 int unsigned_intra; 00082 00089 XvMCSurface* p_surface; 00090 00098 XvMCSurface* p_past_surface; 00099 00104 XvMCSurface* p_future_surface; 00105 00110 unsigned int picture_structure; 00111 00116 unsigned int flags; 00117 //}@ 00118 00126 int start_mv_blocks_num; 00127 00135 int filled_mv_blocks_num; 00136 00148 int next_free_data_block_num; 00149 }; 00150 00151 #endif /* AVCODEC_XVMC_H */