xine-lib 1.2.13-20230125hg15249
Data Structures | Functions
vaapi_frame.h File Reference
#include <xine/video_out.h>
#include "accel_vaapi.h"
#include "vaapi_util.h"
#include "../mem_frame.h"

Go to the source code of this file.

Data Structures

struct  vaapi_frame_t
 

Functions

vaapi_frame_t_x_va_frame_alloc_frame (vaapi_context_impl_t *va, vo_driver_t *driver, int guarded_render)
 
void _x_va_frame_update_frame_format (vo_driver_t *this_gen, vo_frame_t *frame_gen, uint32_t width, uint32_t height, double ratio, int format, int flags)
 
void _x_va_frame_provide_standard_frame_data (vo_frame_t *vo_frame, xine_current_frame_data_t *data)
 
void _x_va_frame_duplicate_frame_data (vo_frame_t *this_gen, vo_frame_t *original)
 
static vaapi_context_impl_t_ctx_from_frame (vo_frame_t *vo_frame)
 
static int _x_va_accel_profile_from_imgfmt (vo_frame_t *vo_frame, unsigned format)
 
static ff_vaapi_context_t_x_va_accel_get_context (vo_frame_t *vo_frame)
 
static int _x_va_accel_vaapi_init (vo_frame_t *vo_frame, int va_profile, int width, int height)
 
static int _x_va_accel_guarded_render (vo_frame_t *vo_frame)
 
static int _x_va_accel_lock_decode_dummy (vo_frame_t *vo_frame)
 
static ff_vaapi_surface_t_x_va_accel_get_vaapi_surface (vo_frame_t *vo_frame)
 
static ff_vaapi_surface_t_x_va_accel_alloc_vaapi_surface (vo_frame_t *vo_frame)
 
static void _x_va_accel_render_vaapi_surface (vo_frame_t *vo_frame, ff_vaapi_surface_t *va_surface)
 
static void _x_va_accel_release_vaapi_surface (vo_frame_t *vo_frame, ff_vaapi_surface_t *va_surface)
 
static void _x_va_frame_displayed (vo_frame_t *vo_frame)
 

Function Documentation

◆ _ctx_from_frame()

static vaapi_context_impl_t * _ctx_from_frame ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_accel_alloc_vaapi_surface()

static ff_vaapi_surface_t * _x_va_accel_alloc_vaapi_surface ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_accel_get_context()

static ff_vaapi_context_t * _x_va_accel_get_context ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_accel_get_vaapi_surface()

static ff_vaapi_surface_t * _x_va_accel_get_vaapi_surface ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_accel_guarded_render()

static int _x_va_accel_guarded_render ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_accel_lock_decode_dummy()

static int _x_va_accel_lock_decode_dummy ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_accel_profile_from_imgfmt()

static int _x_va_accel_profile_from_imgfmt ( vo_frame_t * vo_frame,
unsigned format )
inlinestatic

◆ _x_va_accel_release_vaapi_surface()

static void _x_va_accel_release_vaapi_surface ( vo_frame_t * vo_frame,
ff_vaapi_surface_t * va_surface )
inlinestatic

◆ _x_va_accel_render_vaapi_surface()

static void _x_va_accel_render_vaapi_surface ( vo_frame_t * vo_frame,
ff_vaapi_surface_t * va_surface )
inlinestatic

◆ _x_va_accel_vaapi_init()

static int _x_va_accel_vaapi_init ( vo_frame_t * vo_frame,
int va_profile,
int width,
int height )
inlinestatic

◆ _x_va_frame_alloc_frame()

vaapi_frame_t * _x_va_frame_alloc_frame ( vaapi_context_impl_t * va,
vo_driver_t * driver,
int guarded_render )

◆ _x_va_frame_displayed()

static void _x_va_frame_displayed ( vo_frame_t * vo_frame)
inlinestatic

◆ _x_va_frame_duplicate_frame_data()

void _x_va_frame_duplicate_frame_data ( vo_frame_t * this_gen,
vo_frame_t * original )

◆ _x_va_frame_provide_standard_frame_data()

void _x_va_frame_provide_standard_frame_data ( vo_frame_t * vo_frame,
xine_current_frame_data_t * data )

◆ _x_va_frame_update_frame_format()

void _x_va_frame_update_frame_format ( vo_driver_t * this_gen,
vo_frame_t * frame_gen,
uint32_t width,
uint32_t height,
double ratio,
int format,
int flags )