Gnash  0.8.11dev
Enumerations | Functions
VaapiImageFormat.h File Reference
#include "dsodefs.h"
#include "vaapi_common.h"

Go to the source code of this file.

Enumerations

Functions

VaapiColorspace DSOEXPORT vaapi_image_format_get_colorspace (VaapiImageFormat format)
 Get colorspace for the specified image format. More...
 
VaapiImageFormat vaapi_get_image_format (VAImageFormat const &format)
 Return image format from a VA image format. More...
 

Enumeration Type Documentation

Color spaces.

Enumerator
VAAPI_COLORSPACE_UNKNOWN 
VAAPI_COLORSPACE_YUV 

Unknown colorspace.

VAAPI_COLORSPACE_RGB 

YUV colorspace.

RGB colorspace

Image types.

Enumerator
VAAPI_IMAGE_NONE 

Best format for the underlying hardware.

VAAPI_IMAGE_NV12 

Planar YUV 4:2:0, 12-bit, 1 plane for Y and 1 plane for UV.

VAAPI_IMAGE_YV12 

Planar YUV 4:2:0, 12-bit, 3 planes for Y V U.

VAAPI_IMAGE_I420 

Planar YUV 4:2:0, 12-bit, 3 planes for Y U V.

VAAPI_IMAGE_ARGB 

Packed RGB 8:8:8, 32-bit, A R G B.

VAAPI_IMAGE_RGBA 

Packed RGB 8:8:8, 32-bit, R G B A.

VAAPI_IMAGE_ABGR 

Packed RGB 8:8:8, 32-bit, A R G B.

VAAPI_IMAGE_BGRA 

Packed RGB 8:8:8, 32-bit, R G B A.

VAAPI_IMAGE_RGB32 

Packed RGB 8:8:8, 32-bit, A R G B, native endian byte-order.

VAAPI_IMAGE_RGB24 

Packed RGB 8:8:8, 24-bit, R G B.

Function Documentation

VaapiImageFormat vaapi_get_image_format ( VAImageFormat const &  format)

Return image format from a VA image format.

Referenced by gnash::VaapiGlobalContext::getImageFormat().

VaapiColorspace DSOEXPORT vaapi_image_format_get_colorspace ( VaapiImageFormat  format)