xine-lib  1.2.9
Data Structures | 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_class_t
 
struct  vpx_decoder_s
 

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 (xine_t *xine, uint32_t buffer_type, const char *identifier)
 
static void * init_plugin_vp8 (xine_t *xine, void *data)
 

Variables

static const uint32_t video_types_vp8 []
 
static const decoder_info_t dec_info_video_vp8
 
const plugin_info_t xine_plugin_info [] EXPORTED
 

Typedef Documentation

◆ vpx_decoder_t

typedef struct vpx_decoder_s vpx_decoder_t

Function Documentation

◆ init_plugin()

static void* init_plugin ( xine_t xine,
uint32_t  buffer_type,
const char *  identifier 
)
static

◆ init_plugin_vp8()

static void* init_plugin_vp8 ( xine_t xine,
void *  data 
)
static

References BUF_VIDEO_VP8, and init_plugin().

◆ 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_vp8

const decoder_info_t dec_info_video_vp8
static
Initial value:
= {
1
}
static const uint32_t video_types_vp8[]
Definition: libvpx.c:356

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
}
static void * init_plugin_vp8(xine_t *xine, void *data)
Definition: libvpx.c:340
#define XINE_VERSION_CODE
Definition: xine_internal.h:56
NULL
Definition: xine_plugin.c:91
static const decoder_info_t dec_info_video_vp8
Definition: libvpx.c:368
#define PLUGIN_VIDEO_DECODER
Definition: xine_plugin.h:32
#define PLUGIN_NONE
Definition: xine_plugin.h:28

◆ video_types_vp8

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