xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Typedefs | Functions | Variables
libvpx.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <vpx/vpx_decoder.h>
#include <vpx/vp8dx.h>
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>

Data Structures

struct  vpx_decoder_s
 

Macros

#define LOG_MODULE   "libvpx_video_decoder"
 
#define LOG_VERBOSE
 

Typedefs

typedef struct vpx_decoder_s vpx_decoder_t
 

Functions

static void vpx_handle_header (vpx_decoder_t *this, buf_element_t *buf)
 
static void vpx_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
 
static void vpx_flush (video_decoder_t *this_gen)
 
static void vpx_reset (video_decoder_t *this_gen)
 
static void vpx_discontinuity (video_decoder_t *this_gen)
 
static void vpx_dispose (video_decoder_t *this_gen)
 
static video_decoder_topen_plugin (video_decoder_class_t *class_gen, xine_stream_t *stream)
 
static void * init_plugin_vpx (xine_t *xine, const void *data)
 

Variables

static const uint32_t video_types_vpx []
 
static const decoder_info_t dec_info_video_vpx
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "libvpx_video_decoder"

Referenced by open_plugin(), and vpx_decode_data().

◆ LOG_VERBOSE

#define LOG_VERBOSE

Typedef Documentation

◆ vpx_decoder_t

typedef struct vpx_decoder_s vpx_decoder_t

Function Documentation

◆ init_plugin_vpx()

static void * init_plugin_vpx ( xine_t * xine,
const void * data )
static

◆ open_plugin()

static video_decoder_t * open_plugin ( video_decoder_class_t * class_gen,
xine_stream_t * stream )
static

◆ vpx_decode_data()

static void vpx_decode_data ( video_decoder_t * this_gen,
buf_element_t * buf )
static

◆ vpx_discontinuity()

static void vpx_discontinuity ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ vpx_dispose()

static void vpx_dispose ( video_decoder_t * this_gen)
static

References NULL.

Referenced by open_plugin().

◆ vpx_flush()

static void vpx_flush ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ vpx_handle_header()

static void vpx_handle_header ( vpx_decoder_t * this,
buf_element_t * buf )
static

◆ vpx_reset()

static void vpx_reset ( video_decoder_t * this_gen)
static

References NULL.

Referenced by open_plugin().

Variable Documentation

◆ dec_info_video_vpx

const decoder_info_t dec_info_video_vpx
static
Initial value:
= {
.supported_types = video_types_vpx,
.priority = 1,
}
static const uint32_t video_types_vpx[]
Definition libvpx.c:371

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
static const decoder_info_t dec_info_video_vpx
Definition libvpx.c:379
static void * init_plugin_vpx(xine_t *xine, const void *data)
Definition libvpx.c:352
#define XINE_VERSION_CODE
Definition xine_internal.h:57
NULL
Definition xine_plugin.c:78
#define PLUGIN_NONE
Definition xine_plugin.h:29
#define PLUGIN_VIDEO_DECODER
Definition xine_plugin.h:33

◆ video_types_vpx

const uint32_t video_types_vpx[]
static
Initial value:
= {
0
}
#define BUF_VIDEO_VP8
Definition buffer.h:194