Gnash
0.8.10
|
Go to the source code of this file.
Enumerations | |
enum | VaapiColorspace { VAAPI_COLORSPACE_UNKNOWN, VAAPI_COLORSPACE_YUV, VAAPI_COLORSPACE_RGB } |
Color spaces. More... | |
enum | VaapiImageFormat { VAAPI_IMAGE_NONE = 0, VAAPI_IMAGE_NV12 = VA_FOURCC('N','V','1','2'), VAAPI_IMAGE_YV12 = VA_FOURCC('Y','V','1','2'), VAAPI_IMAGE_I420 = VA_FOURCC('I','4','2','0'), VAAPI_IMAGE_ARGB = VA_FOURCC('A','R','G','B'), VAAPI_IMAGE_RGBA = VA_FOURCC('R','G','B','A'), VAAPI_IMAGE_ABGR = VA_FOURCC('A','B','G','R'), VAAPI_IMAGE_BGRA = VA_FOURCC('B','G','R','A'), VAAPI_IMAGE_RGB32 = VA_FOURCC('R','G','B', 32), VAAPI_IMAGE_RGB24 = VA_FOURCC('R','G','B', 24) } |
Image types. More... | |
Functions | |
VaapiColorspace DSOEXPORT | vaapi_image_format_get_colorspace (VaapiImageFormat format) |
Get colorspace for the specified image format. | |
VaapiImageFormat | vaapi_get_image_format (VAImageFormat const &format) |
Return image format from a VA image format. |
enum VaapiColorspace |
enum VaapiImageFormat |
Image types.
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 | ) |
Get colorspace for the specified image format.
References VAAPI_IMAGE_NV12, VAAPI_IMAGE_YV12, VAAPI_IMAGE_I420, VAAPI_COLORSPACE_YUV, VAAPI_IMAGE_ARGB, VAAPI_IMAGE_RGBA, VAAPI_IMAGE_ABGR, VAAPI_IMAGE_BGRA, VAAPI_IMAGE_RGB32, VAAPI_IMAGE_RGB24, VAAPI_COLORSPACE_RGB, and VAAPI_COLORSPACE_UNKNOWN.