Gnash  0.8.11dev
Namespaces | Macros | Functions
vaapi_utils.cpp File Reference
#include "vaapi_utils.h"
#include <stdio.h>
#include <stdarg.h>

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 

Macros

#define PROFILE(profile)   case VAProfile##profile: return "VAProfile" #profile
 
#define ENTRYPOINT(entrypoint)   case VAEntrypoint##entrypoint: return "VAEntrypoint" #entrypoint
 

Functions

void gnash::vaapi_set_is_enabled (bool enabled)
 Enable video acceleration (with VA API) More...
 
bool gnash::vaapi_is_enabled ()
 Check whether video acceleration is enabled. More...
 
void DSOEXPORT gnash::vaapi_dprintf (const char *format,...)
 Debug output. More...
 
bool gnash::vaapi_check_status (VAStatus status, const char *msg)
 Check VA status for success or print out an error. More...
 
const char * gnash::string_of_FOURCC (std::uint32_t fourcc)
 Return a string representation of a FOURCC. More...
 
const char * gnash::string_of_VAProfile (VAProfile profile)
 Return a string representation of a VAProfile. More...
 
const char * gnash::string_of_VAEntrypoint (VAEntrypoint entrypoint)
 Return a string representation of a VAEntrypoint. More...
 

Macro Definition Documentation

§ ENTRYPOINT

#define ENTRYPOINT (   entrypoint)    case VAEntrypoint##entrypoint: return "VAEntrypoint" #entrypoint

§ PROFILE

#define PROFILE (   profile)    case VAProfile##profile: return "VAProfile" #profile