xine-lib 1.2.13-20230125hg15249
|
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include "bswap.h"
#include <xine/demux.h>
Data Structures | |
struct | demux_image_s |
Macros | |
#define | LOG_MODULE "demux_image" |
#define | LOG_VERBOSE |
#define | IMAGE_HEADER_LEN 4 |
Typedefs | |
typedef struct demux_image_s | demux_image_t |
Functions | |
static uint32_t | _probe (xine_t *xine, const uint8_t *header) |
static int | demux_image_get_status (demux_plugin_t *this_gen) |
static int | demux_image_next (demux_plugin_t *this_gen, int decoder_flags) |
static int | demux_image_send_chunk (demux_plugin_t *this_gen) |
static void | demux_image_send_headers (demux_plugin_t *this_gen) |
static int | demux_image_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_image_get_stream_length (demux_plugin_t *this_gen) |
static uint32_t | demux_image_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_image_get_optional_data (demux_plugin_t *this_gen, void *data, int data_type) |
static demux_plugin_t * | open_plugin (demux_class_t *class_gen, xine_stream_t *stream, input_plugin_t *input) |
static void * | init_class (xine_t *xine, const void *data) |
Variables | |
static const demuxer_info_t | demux_info_image |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define IMAGE_HEADER_LEN 4 |
Referenced by open_plugin().
#define LOG_MODULE "demux_image" |
#define LOG_VERBOSE |
typedef struct demux_image_s demux_image_t |
|
static |
References _x_decoder_available(), BUF_VIDEO_IMAGE, BUF_VIDEO_JPEG, and BUF_VIDEO_PNG.
Referenced by demux_image_next(), and open_plugin().
|
static |
References DEMUX_CAP_NOCAP.
Referenced by open_plugin().
|
static |
References DEMUX_OPTIONAL_UNSUPPORTED.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References _probe(), BUF_FLAG_FRAME_END, buf_type, BUF_VIDEO_IMAGE, buf_element_s::content, buf_element_s::decoder_flags, DEMUX_FINISHED, DEMUX_OK, input(), buf_element_s::max_size, buf_element_s::mem, buf_element_s::size, and buf_element_s::type.
Referenced by demux_image_send_chunk(), and demux_image_send_headers().
|
static |
References XINE_PARAM_DELAY_FINISHED_EVENT, and xine_set_param().
Referenced by open_plugin().
|
static |
References demux_image_next().
Referenced by open_plugin().
|
static |
References _x_demux_control_start(), _x_stream_info_set(), BUF_FLAG_PREVIEW, DEMUX_FINISHED, demux_image_next(), DEMUX_OK, input(), XINE_STREAM_INFO_HAS_AUDIO, and XINE_STREAM_INFO_HAS_VIDEO.
Referenced by open_plugin().
|
static |
References demux_plugin_s::dispose, N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References _probe(), _x_demux_read_header(), buf_type, xine_stream_s::content_detection_method, default_demux_plugin_dispose, DEMUX_FINISHED, demux_image_get_capabilities(), demux_image_get_optional_data(), demux_image_get_status(), demux_image_get_stream_length(), demux_image_seek(), demux_image_send_chunk(), demux_image_send_headers(), IMAGE_HEADER_LEN, input(), lprintf, METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, input_plugin_s::seek, and xine_stream_s::xine.
Referenced by init_class().
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |