xine-lib 1.2.11
Data Structures | Macros | Typedefs | Functions | Variables
xine_mpeg2new_decoder.c File Reference
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <inttypes.h>
#include <assert.h>
#include "./include/mpeg2.h"
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>

Data Structures

struct  img_state_t
 
struct  mpeg2_video_decoder_s
 

Macros

#define _x_abort()   do {} while (0)
 

Typedefs

typedef struct mpeg2_video_decoder_s mpeg2_video_decoder_t
 

Functions

static void mpeg2_video_print_bad_state (img_state_t *img_state)
 
static void mpeg2_video_free_all (img_state_t *img_state)
 
static void mpeg2_video_decode_data (video_decoder_t *this_gen, buf_element_t *buf_element)
 
static void mpeg2_video_flush (video_decoder_t *this_gen)
 
static void mpeg2_video_reset (video_decoder_t *this_gen)
 
static void mpeg2_video_discontinuity (video_decoder_t *this_gen)
 
static void mpeg2_video_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, const void *data)
 

Variables

static const uint32_t supported_types [] = { BUF_VIDEO_MPEG, 0 }
 
static const decoder_info_t dec_info_mpeg2
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ _x_abort

#define _x_abort ( )    do {} while (0)

Typedef Documentation

◆ mpeg2_video_decoder_t

Function Documentation

◆ init_plugin()

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

◆ mpeg2_video_decode_data()

static void mpeg2_video_decode_data ( video_decoder_t this_gen,
buf_element_t buf_element 
)
static

◆ mpeg2_video_discontinuity()

static void mpeg2_video_discontinuity ( video_decoder_t this_gen)
static

Referenced by open_plugin().

◆ mpeg2_video_dispose()

static void mpeg2_video_dispose ( video_decoder_t this_gen)
static

References mpeg2_close().

Referenced by open_plugin().

◆ mpeg2_video_flush()

static void mpeg2_video_flush ( video_decoder_t this_gen)
static

Referenced by open_plugin().

◆ mpeg2_video_free_all()

static void mpeg2_video_free_all ( img_state_t img_state)
static

◆ mpeg2_video_print_bad_state()

static void mpeg2_video_print_bad_state ( img_state_t img_state)
inlinestatic

Referenced by mpeg2_video_decode_data().

◆ mpeg2_video_reset()

static void mpeg2_video_reset ( video_decoder_t this_gen)
static

◆ open_plugin()

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

Variable Documentation

◆ dec_info_mpeg2

const decoder_info_t dec_info_mpeg2
static
Initial value:
= {
.supported_types = supported_types,
.priority = 6,
}
static const uint32_t supported_types[]
Definition: xine_mpeg2new_decoder.c:495

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
static void * init_plugin(xine_t *xine, const void *data)
Definition: xine_mpeg2new_decoder.c:480
static const decoder_info_t dec_info_mpeg2
Definition: xine_mpeg2new_decoder.c:497
NULL
Definition: xine_plugin.c:78
#define PLUGIN_NONE
Definition: xine_plugin.h:29
#define PLUGIN_VIDEO_DECODER
Definition: xine_plugin.h:33

◆ supported_types

const uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 }
static