xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Typedefs | Functions | Variables
foovideo.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include "bswap.h"

Data Structures

struct  foovideo_class_t
 
struct  foovideo_decoder_s
 

Macros

#define VIDEOBUFSIZE   128*1024
 

Typedefs

typedef struct foovideo_decoder_s foovideo_decoder_t
 

Functions

static void foovideo_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
 
static void foovideo_flush (video_decoder_t *this_gen)
 
static void foovideo_reset (video_decoder_t *this_gen)
 
static void foovideo_discontinuity (video_decoder_t *this_gen)
 
static void foovideo_dispose (video_decoder_t *this_gen)
 
static video_decoder_topen_plugin (video_decoder_class_t *class_gen, xine_stream_t *stream)
 
static void dispose_class (video_decoder_class_t *this)
 
static void * init_plugin (xine_t *xine, const void *data)
 

Variables

static const uint32_t video_types []
 
static const decoder_info_t dec_info_video
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ VIDEOBUFSIZE

#define VIDEOBUFSIZE   128*1024

Referenced by foovideo_decode_data().

Typedef Documentation

◆ foovideo_decoder_t

Function Documentation

◆ dispose_class()

static void dispose_class ( video_decoder_class_t * this)
static

Referenced by init_plugin().

◆ foovideo_decode_data()

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

◆ foovideo_discontinuity()

static void foovideo_discontinuity ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ foovideo_dispose()

static void foovideo_dispose ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ foovideo_flush()

static void foovideo_flush ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ foovideo_reset()

static void foovideo_reset ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ init_plugin()

static void * init_plugin ( 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

Variable Documentation

◆ dec_info_video

const decoder_info_t dec_info_video
static
Initial value:
= {
.supported_types = video_types,
.priority = 5,
}
static const uint32_t video_types[]
Definition foovideo.c:263

◆ 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
Definition foovideo.c:276
static void * init_plugin(xine_t *xine, const void *data)
Definition foovideo.c:243
#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

const uint32_t video_types[]
static
Initial value:
= {
0
}
#define BUF_VIDEO_SORENSON_V3
Definition buffer.h:127
#define BUF_VIDEO_VQA
Definition buffer.h:135