xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Typedefs | Functions
xine_theora_decoder.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
#include <pthread.h>
#include <math.h>
#include <theora/theora.h>
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>
#include <xine/metronom.h>
#include <xine/xineutils.h>
#include "ogg_combined.h"

Data Structures

struct  theora_decoder_s
 

Macros

#define LOG_MODULE   "theora_decoder"
 
#define LOG_VERBOSE
 

Typedefs

typedef struct theora_decoder_s theora_decoder_t
 

Functions

static void readin_op (theora_decoder_t *this, unsigned char *src, int size)
 
static void yuv2frame (yuv_buffer *yuv, vo_frame_t *frame, int offset_x, int offset_y, unsigned pixel_format)
 
static int collect_data (theora_decoder_t *this, buf_element_t *buf)
 
static void theora_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
 
static void theora_flush (video_decoder_t *this_gen)
 
static void theora_reset (video_decoder_t *this_gen)
 
static void theora_discontinuity (video_decoder_t *this_gen)
 
static void theora_dispose (video_decoder_t *this_gen)
 
static video_decoder_ttheora_open_plugin (video_decoder_class_t *class_gen, xine_stream_t *stream)
 
void * theora_init_plugin (xine_t *xine, const void *data)
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "theora_decoder"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Typedef Documentation

◆ theora_decoder_t

Function Documentation

◆ collect_data()

static int collect_data ( theora_decoder_t * this,
buf_element_t * buf )
static

◆ readin_op()

static void readin_op ( theora_decoder_t * this,
unsigned char * src,
int size )
static

References xine_fast_memcpy.

Referenced by collect_data().

◆ theora_decode_data()

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

◆ theora_discontinuity()

static void theora_discontinuity ( video_decoder_t * this_gen)
static

Referenced by theora_open_plugin().

◆ theora_dispose()

static void theora_dispose ( video_decoder_t * this_gen)
static

References lprintf.

Referenced by theora_open_plugin().

◆ theora_flush()

static void theora_flush ( video_decoder_t * this_gen)
static

Referenced by theora_open_plugin().

◆ theora_init_plugin()

void * theora_init_plugin ( xine_t * xine,
const void * data )

◆ theora_open_plugin()

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

◆ theora_reset()

static void theora_reset ( video_decoder_t * this_gen)
static

Referenced by theora_open_plugin().

◆ yuv2frame()

static void yuv2frame ( yuv_buffer * yuv,
vo_frame_t * frame,
int offset_x,
int offset_y,
unsigned pixel_format )
static