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

Data Structures

struct  image_decoder_s
 

Macros

#define LOG_MODULE   "image_video_decoder"
 
#define LOG_VERBOSE
 
#define MAGICK_VERSION   0x660
 

Typedefs

typedef struct image_decoder_s image_decoder_t
 

Functions

static vo_frame_t_image_decode_data (image_decoder_t *this, unsigned char *data, size_t size)
 
static void image_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
 
static void image_flush (video_decoder_t *this_gen)
 
static void image_reset (video_decoder_t *this_gen)
 
static void image_discontinuity (video_decoder_t *this_gen)
 
static void image_dispose (video_decoder_t *this_gen)
 
static video_decoder_topen_plugin (video_decoder_class_t *class_gen, xine_stream_t *stream)
 
static void * init_class (xine_t *xine, const void *data)
 

Variables

static const uint32_t supported_types []
 
static const decoder_info_t dec_info_image
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "image_video_decoder"

Referenced by _image_decode_data().

◆ LOG_VERBOSE

#define LOG_VERBOSE

◆ MAGICK_VERSION

#define MAGICK_VERSION   0x660

Typedef Documentation

◆ image_decoder_t

Function Documentation

◆ _image_decode_data()

static vo_frame_t * _image_decode_data ( image_decoder_t * this,
unsigned char * data,
size_t size )
static

◆ image_decode_data()

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

◆ image_discontinuity()

static void image_discontinuity ( video_decoder_t * this_gen)
static

Referenced by open_plugin().

◆ image_dispose()

static void image_dispose ( video_decoder_t * this_gen)
static

References lprintf, NULL, and xine_buffer_free.

Referenced by open_plugin().

◆ image_flush()

static void image_flush ( video_decoder_t * this_gen)
static

References NULL.

Referenced by open_plugin().

◆ image_reset()

static void image_reset ( video_decoder_t * this_gen)
static

References NULL.

Referenced by open_plugin().

◆ init_class()

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

const decoder_info_t dec_info_image
static
Initial value:
= {
.supported_types = supported_types,
.priority = 7,
}
static const uint32_t supported_types[]
Definition image.c:363

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
static void * init_class(xine_t *xine, const void *data)
Definition image.c:344
static const decoder_info_t dec_info_image
Definition image.c:370
#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

◆ supported_types

const uint32_t supported_types[]
static
Initial value:
= {
0
}
#define BUF_VIDEO_PNG
Definition buffer.h:198
#define BUF_VIDEO_JPEG
Definition buffer.h:108
#define BUF_VIDEO_IMAGE
Definition buffer.h:151