xine-lib: xine-lib-1.2.13/src/video_out/hw_frame.c File Reference

xine-lib 1.2.13-20230125hg15249

Macros | Functions
hw_frame.c File Reference
`#include <stddef.h>`
`#include <xine/video_out.h>`
`#include <xine/xine_internal.h>`
`#include "xine_hw_frame_plugin.h"`

## Macros
#define | HW_FRAME_PLUGIN(_api) xine_container_of(_api, xine_hw_frame_plugin_t, api)

## Functions
static void | default_hwdec_destroy (xine_hwdec_t **api)
xine_hwdec_t * | _x_hwdec_new (xine_t *xine, vo_driver_t *vo_driver, unsigned visual_type, const void *visual, unsigned flags)

## Macro Definition Documentation

## ◆ HW_FRAME_PLUGIN

#define HW_FRAME_PLUGIN | ( |  | _api | ) | xine_container_of(_api, xine_hw_frame_plugin_t, api)

Referenced by default_hwdec_destroy().

## Function Documentation

## ◆ _x_hwdec_new()

xine_hwdec_t * _x_hwdec_new | ( | xine_t * | xine,
|  | vo_driver_t * | vo_driver,
|  | unsigned | visual_type,
|  | const void * | visual,
|  | unsigned | flags )

References _x_find_module(), xine_hw_frame_plugin_s::api, default_hwdec_destroy(), xine_hwdec_t::destroy, HW_FRAME_PLUGIN_TYPE, NULL, hw_frame_plugin_params_t::xine, and xine_hw_frame_plugin_s::xine.

Referenced by opengl2_open_plugin().

## ◆ default_hwdec_destroy()

static void default_hwdec_destroy | ( | xine_hwdec_t ** | api | ) |
| static

References _x_free_module(), HW_FRAME_PLUGIN, xine_hw_frame_plugin_s::module, NULL, and xine_hw_frame_plugin_s::xine.

Referenced by _x_hwdec_new().