• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavcodec/vaapi.h

Go to the documentation of this file.
00001 /*
00002  * Video Acceleration API (shared data between FFmpeg and the video player)
00003  * HW decode acceleration for MPEG-2, MPEG-4, H.264 and VC-1
00004  *
00005  * Copyright (C) 2008-2009 Splitted-Desktop Systems
00006  *
00007  * This file is part of FFmpeg.
00008  *
00009  * FFmpeg is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * FFmpeg is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with FFmpeg; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00022  */
00023 
00024 #ifndef AVCODEC_VAAPI_H
00025 #define AVCODEC_VAAPI_H
00026 
00027 #include <stdint.h>
00028 
00044 struct vaapi_context {
00051     void *display;
00052 
00059     uint32_t config_id;
00060 
00067     uint32_t context_id;
00068 
00075     uint32_t pic_param_buf_id;
00076 
00083     uint32_t iq_matrix_buf_id;
00084 
00091     uint32_t bitplane_buf_id;
00092 
00099     uint32_t *slice_buf_ids;
00100 
00107     unsigned int n_slice_buf_ids;
00108 
00115     unsigned int slice_buf_ids_alloc;
00116 
00123     void *slice_params;
00124 
00131     unsigned int slice_param_size;
00132 
00139     unsigned int slice_params_alloc;
00140 
00147     unsigned int slice_count;
00148 
00154     const uint8_t *slice_data;
00155 
00162     uint32_t slice_data_size;
00163 };
00164 
00165 /* @} */
00166 
00167 #endif /* AVCODEC_VAAPI_H */

Generated on Fri Sep 16 2011 17:17:44 for FFmpeg by  doxygen 1.7.1