xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Functions | Variables
demux_ivf.c File Reference
#include <stdlib.h>
#include "group_video.h"
#include <xine/xine_internal.h>
#include <xine/demux.h>
#include "bswap.h"

Data Structures

struct  demux_ivf_t
 

Macros

#define LOG_MODULE   "demux_ivf"
 
#define LOG_VERBOSE
 

Functions

static int demux_ivf_send_chunk (demux_plugin_t *this_gen)
 
static int demux_ivf_get_status (demux_plugin_t *this_gen)
 
static void demux_ivf_send_headers (demux_plugin_t *this_gen)
 
static int demux_ivf_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing)
 
static int demux_ivf_get_stream_length (demux_plugin_t *this_gen)
 
static uint32_t demux_ivf_get_capabilities (demux_plugin_t *this_gen)
 
static int demux_ivf_get_optional_data (demux_plugin_t *this_gen, void *data, int data_type)
 
static demux_plugin_topen_plugin (demux_class_t *class_gen, xine_stream_t *stream, input_plugin_t *input)
 
void * demux_ivf_init_class (xine_t *xine, const void *data)
 

Variables

struct { 
 
   uint32_t   buf_type 
 
   char   fourcc [4] 
 
ivf_tag_map [] 
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "demux_ivf"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Function Documentation

◆ demux_ivf_get_capabilities()

static uint32_t demux_ivf_get_capabilities ( demux_plugin_t * this_gen)
static

References DEMUX_CAP_NOCAP.

Referenced by open_plugin().

◆ demux_ivf_get_optional_data()

static int demux_ivf_get_optional_data ( demux_plugin_t * this_gen,
void * data,
int data_type )
static

References DEMUX_OPTIONAL_UNSUPPORTED.

Referenced by open_plugin().

◆ demux_ivf_get_status()

static int demux_ivf_get_status ( demux_plugin_t * this_gen)
static

Referenced by open_plugin().

◆ demux_ivf_get_stream_length()

static int demux_ivf_get_stream_length ( demux_plugin_t * this_gen)
static

Referenced by open_plugin().

◆ demux_ivf_init_class()

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

◆ demux_ivf_seek()

static int demux_ivf_seek ( demux_plugin_t * this_gen,
off_t start_pos,
int start_time,
int playing )
static

References _x_demux_flush_engine(), DEMUX_OK, and input().

Referenced by open_plugin().

◆ demux_ivf_send_chunk()

static int demux_ivf_send_chunk ( demux_plugin_t * this_gen)
static

◆ demux_ivf_send_headers()

static void demux_ivf_send_headers ( demux_plugin_t * this_gen)
static

◆ open_plugin()

static demux_plugin_t * open_plugin ( demux_class_t * class_gen,
xine_stream_t * stream,
input_plugin_t * input )
static

Variable Documentation

◆ buf_type

uint32_t buf_type

◆ fourcc

char fourcc[4]

◆ [struct]

const struct { ... } ivf_tag_map[]
Initial value:
= {
{ BUF_VIDEO_AV1, "AV01" },
{ BUF_VIDEO_H264, "H264" },
{ BUF_VIDEO_HEVC, "HEVC" },
{ BUF_VIDEO_VP8, "VP80" },
{ BUF_VIDEO_VP9, "VP90" },
}
#define BUF_VIDEO_VP9
Definition buffer.h:195
#define BUF_VIDEO_HEVC
Definition buffer.h:196
#define BUF_VIDEO_AV1
Definition buffer.h:197
#define BUF_VIDEO_VP8
Definition buffer.h:194
#define BUF_VIDEO_H264
Definition buffer.h:167

Referenced by open_plugin().