Gnash  0.8.10
vaapi_utils.h
Go to the documentation of this file.
00001 // vaapi_utils.h: VA API utilities
00002 // 
00003 // Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
00004 // 
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 3 of the License, or
00008 // (at your option) any later version.
00009 // 
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018 //
00019 
00020 #ifndef GNASH_VAAPI_UTILS_H
00021 #define GNASH_VAAPI_UTILS_H
00022 
00023 #include "vaapi_common.h"
00024 
00025 namespace gnash {
00026 
00028 void DSOEXPORT vaapi_set_is_enabled(bool enabled);
00029 
00031 bool DSOEXPORT vaapi_is_enabled();
00032 
00034 void DSOEXPORT vaapi_dprintf(const char *format, ...);
00035 
00037 bool DSOEXPORT vaapi_check_status(VAStatus status, const char *msg);
00038 
00040 DSOEXPORT const char* string_of_FOURCC(boost::uint32_t fourcc);
00041 
00043 DSOEXPORT const char* string_of_VAProfile(VAProfile profile);
00044 
00046 DSOEXPORT const char* string_of_VAEntrypoint(VAEntrypoint entrypoint);
00047 
00048 } // gnash namespace
00049 
00050 #endif // GNASH_VAAPI_UTILS_H
00051 
00052 // local Variables:
00053 // mode: C++
00054 // indent-tabs-mode: nil
00055 // End:
00056