xine-lib: xine-lib-1.2.12/src/xine-engine/accel_vaapi.h File Reference

xine-lib 1.2.12

Data Structures | Macros | Typedefs
accel_vaapi.h File Reference
`#include <va/va.h>`

Go to the source code of this file.

## Data Structures
struct | vaapi_equalizer
struct | ff_vaapi_context_s
struct | ff_vaapi_surface_s
struct | vaapi_accel_funcs_s
struct | vaapi_accel_s

## Macros
#define | SURFACE_FREE 0
#define | SURFACE_ALOC 1
#define | SURFACE_RELEASE 2
#define | SURFACE_RENDER 3
#define | SURFACE_RENDER_RELEASE 5
#define | IMGFMT_VAAPI 0x56410000 /* 'VA'00 */
#define | IMGFMT_VAAPI_MASK 0xFFFF0000
#define | IMGFMT_VAAPI_CODEC_MASK 0x000000F0
#define | IMGFMT_VAAPI_CODEC(fmt) ((fmt) & IMGFMT_VAAPI_CODEC_MASK)
#define | IMGFMT_VAAPI_CODEC_MPEG2 (0x10)
#define | IMGFMT_VAAPI_CODEC_MPEG4 (0x20)
#define | IMGFMT_VAAPI_CODEC_H264 (0x30)
#define | IMGFMT_VAAPI_CODEC_VC1 (0x40)
#define | IMGFMT_VAAPI_CODEC_HEVC (0x50)
#define | IMGFMT_VAAPI_MPEG2 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG2)
#define | IMGFMT_VAAPI_MPEG2_IDCT (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG2|1)
#define | IMGFMT_VAAPI_MPEG2_MOCO (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG2|2)
#define | IMGFMT_VAAPI_MPEG4 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG4)
#define | IMGFMT_VAAPI_H263 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG4|1)
#define | IMGFMT_VAAPI_H264 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_H264)
#define | IMGFMT_VAAPI_HEVC (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_HEVC)
#define | IMGFMT_VAAPI_HEVC_MAIN10 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_HEVC|1)
#define | IMGFMT_VAAPI_VC1 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_VC1)
#define | IMGFMT_VAAPI_WMV3 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_VC1|1)

## Typedefs
typedef struct ff_vaapi_context_s | ff_vaapi_context_t
typedef struct ff_vaapi_surface_s | ff_vaapi_surface_t
typedef struct vaapi_accel_s | vaapi_accel_t

## Macro Definition Documentation

## ◆ IMGFMT_VAAPI

#define IMGFMT_VAAPI 0x56410000 /* 'VA'00 */

## ◆ IMGFMT_VAAPI_CODEC

#define IMGFMT_VAAPI_CODEC | ( |  | fmt | ) | ((fmt) & IMGFMT_VAAPI_CODEC_MASK)

## ◆ IMGFMT_VAAPI_CODEC_H264

#define IMGFMT_VAAPI_CODEC_H264 (0x30)

## ◆ IMGFMT_VAAPI_CODEC_HEVC

#define IMGFMT_VAAPI_CODEC_HEVC (0x50)

## ◆ IMGFMT_VAAPI_CODEC_MASK

#define IMGFMT_VAAPI_CODEC_MASK 0x000000F0

## ◆ IMGFMT_VAAPI_CODEC_MPEG2

#define IMGFMT_VAAPI_CODEC_MPEG2 (0x10)

## ◆ IMGFMT_VAAPI_CODEC_MPEG4

#define IMGFMT_VAAPI_CODEC_MPEG4 (0x20)

## ◆ IMGFMT_VAAPI_CODEC_VC1

#define IMGFMT_VAAPI_CODEC_VC1 (0x40)

## ◆ IMGFMT_VAAPI_H263

#define IMGFMT_VAAPI_H263 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG4|1)

## ◆ IMGFMT_VAAPI_H264

#define IMGFMT_VAAPI_H264 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_H264)

## ◆ IMGFMT_VAAPI_HEVC

#define IMGFMT_VAAPI_HEVC (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_HEVC)

## ◆ IMGFMT_VAAPI_HEVC_MAIN10

#define IMGFMT_VAAPI_HEVC_MAIN10 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_HEVC|1)

## ◆ IMGFMT_VAAPI_MASK

#define IMGFMT_VAAPI_MASK 0xFFFF0000

## ◆ IMGFMT_VAAPI_MPEG2

#define IMGFMT_VAAPI_MPEG2 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG2)

## ◆ IMGFMT_VAAPI_MPEG2_IDCT

#define IMGFMT_VAAPI_MPEG2_IDCT (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG2|1)

## ◆ IMGFMT_VAAPI_MPEG2_MOCO

#define IMGFMT_VAAPI_MPEG2_MOCO (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG2|2)

## ◆ IMGFMT_VAAPI_MPEG4

#define IMGFMT_VAAPI_MPEG4 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_MPEG4)

## ◆ IMGFMT_VAAPI_VC1

#define IMGFMT_VAAPI_VC1 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_VC1)

## ◆ IMGFMT_VAAPI_WMV3

#define IMGFMT_VAAPI_WMV3 (IMGFMT_VAAPI|IMGFMT_VAAPI_CODEC_VC1|1)

## ◆ SURFACE_ALOC

#define SURFACE_ALOC 1

## ◆ SURFACE_FREE

#define SURFACE_FREE 0

## ◆ SURFACE_RELEASE

#define SURFACE_RELEASE 2

## ◆ SURFACE_RENDER

#define SURFACE_RENDER 3

## ◆ SURFACE_RENDER_RELEASE

#define SURFACE_RENDER_RELEASE 5

## Typedef Documentation

## ◆ ff_vaapi_context_t

typedef struct ff_vaapi_context_s ff_vaapi_context_t

## ◆ ff_vaapi_surface_t

typedef struct ff_vaapi_surface_s ff_vaapi_surface_t

## ◆ vaapi_accel_t

typedef struct vaapi_accel_s vaapi_accel_t