Gnash  0.8.10
Namespaces | Defines | Functions
vaapi_utils.cpp File Reference
#include "vaapi_utils.h"
#include <stdio.h>
#include <stdarg.h>

Namespaces

namespace  gnash
 

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


Defines

#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)
bool gnash::vaapi_is_enabled ()
 Check whether video acceleration is enabled.
void DSOEXPORT gnash::vaapi_dprintf (const char *format,...)
 Debug output.
bool gnash::vaapi_check_status (VAStatus status, const char *msg)
 Check VA status for success or print out an error.
const char * gnash::string_of_FOURCC (boost::uint32_t fourcc)
 Return a string representation of a FOURCC.
const char * gnash::string_of_VAProfile (VAProfile profile)
 Return a string representation of a VAProfile.
const char * gnash::string_of_VAEntrypoint (VAEntrypoint entrypoint)
 Return a string representation of a VAEntrypoint.

Define Documentation

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