#include <inttypes.h>
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
#include <weed/weed-palettes.h>
#include <sys/time.h>
#include "../../../src/lsd.h"
Go to the source code of this file.
|
typedef int | boolean |
|
typedef void *(* | malloc_f) (size_t) |
|
typedef void(* | free_f) (void *) |
|
typedef void *(* | memset_f) (void *, int, size_t) |
|
typedef void *(* | memcpy_f) (void *, const void *, size_t) |
|
typedef void *(* | realloc_f) (void *, size_t) |
|
typedef void *(* | calloc_f) (size_t, size_t) |
|
typedef void *(* | memmove_f) (void *, const void *, size_t) |
|
|
const char * | version (void) |
|
lives_clip_data_t * | get_clip_data (const char *URI, lives_clip_data_t *) |
| pass in NULL clip_data for the first call, subsequent calls (if the URI, current_clip or current_palette changes) should reuse the previous value. If URI or current_clip are invalid, clip_data will be freed and NULL returned. More...
|
|
boolean | get_frame (const lives_clip_data_t *, int64_t frame, int *rowstrides, int height, void **pixel_data) |
| frame starts at 0 More...
|
|
boolean | chill_out (const lives_clip_data_t *cdata) |
| free buffers when we arent playing sequentially / on standby More...
|
|
void | clip_data_free (lives_clip_data_t *) |
| free clip data - this should be called for each instance before unloading the module More...
|
|
const char * | module_check_init (void) |
|
boolean | set_palette (lives_clip_data_t *) |
|
int64_t | rip_audio (const lives_clip_data_t *, const char *fname, int64_t stframe, int64_t nframes, unsigned char **abuff) |
|
boolean | rip_audio_sequential (const lives_clip_data_t *, const char *fname) |
|
void | rip_audio_cleanup (const lives_clip_data_t *) |
|
void | module_unload (void) |
|
double | get_fps (const char *uri) |
|
◆ ABS
#define ABS |
( |
|
a | ) |
((a) >= 0. ? (a) : -(a)) |
◆ ALLOW_UNUSED
◆ DEC_PLUGIN_VERSION_MAJOR
#define DEC_PLUGIN_VERSION_MAJOR 3 |
◆ DEC_PLUGIN_VERSION_MINOR
#define DEC_PLUGIN_VERSION_MINOR 0 |
◆ FALSE
◆ get_le16int
#define get_le16int |
( |
|
p | ) |
(*(p + 1) << 8 | *(p)) |
◆ get_le32int
◆ get_le64int
◆ LIVES_SEEK_FAST
#define LIVES_SEEK_FAST (1<<0) |
◆ LIVES_SEEK_FAST_REV
#define LIVES_SEEK_FAST_REV (1<<1) |
◆ LIVES_SEEK_NEEDS_CALCULATION
#define LIVES_SEEK_NEEDS_CALCULATION (1<<2) |
◆ LIVES_SEEK_QUALITY_LOSS
#define LIVES_SEEK_QUALITY_LOSS (1<<3) |
◆ LSD_RANDFUNC
#define LSD_RANDFUNC |
( |
|
ptr, |
|
|
|
size |
|
) |
| myrand(ptr, size) |
◆ myfastrand0
◆ myfastrand1
#define myfastrand1 |
( |
|
fval | ) |
((fval) ^ ((fval) << 13)) |
◆ myfastrand2
#define myfastrand2 |
( |
|
fval | ) |
((fval) ^ ((fval) >> 7)) |
◆ myfastrand3
#define myfastrand3 |
( |
|
fval | ) |
((fval) ^ ((fval) << 17)) |
◆ PLUGIN_SUBTYPE_DLL
#define PLUGIN_SUBTYPE_DLL "dll" |
◆ PLUGIN_TYPE_DECODER
#define PLUGIN_TYPE_DECODER "decoder" |
◆ SYNC_HINT_AUDIO_PAD_END
#define SYNC_HINT_AUDIO_PAD_END (1<<3) |
◆ SYNC_HINT_AUDIO_PAD_START
#define SYNC_HINT_AUDIO_PAD_START (1<<1) |
◆ SYNC_HINT_AUDIO_TRIM_END
#define SYNC_HINT_AUDIO_TRIM_END (1<<2) |
◆ SYNC_HINT_AUDIO_TRIM_START
#define SYNC_HINT_AUDIO_TRIM_START (1<<0) |
◆ SYNC_HINT_VIDEO_PAD_END
#define SYNC_HINT_VIDEO_PAD_END (1<<5) |
◆ SYNC_HINT_VIDEO_PAD_START
#define SYNC_HINT_VIDEO_PAD_START (1<<4) |
◆ TRUE
◆ boolean
◆ calloc_f
typedef void*(* calloc_f) (size_t, size_t) |
◆ free_f
typedef void(* free_f) (void *) |
◆ malloc_f
typedef void*(* malloc_f) (size_t) |
◆ memcpy_f
typedef void*(* memcpy_f) (void *, const void *, size_t) |
◆ memmove_f
typedef void*(* memmove_f) (void *, const void *, size_t) |
◆ memset_f
typedef void*(* memset_f) (void *, int, size_t) |
◆ realloc_f
typedef void*(* realloc_f) (void *, size_t) |
◆ lives_interlace_t
Enumerator |
---|
LIVES_INTERLACE_NONE | |
LIVES_INTERLACE_BOTTOM_FIRST | |
LIVES_INTERLACE_TOP_FIRST | |
LIVES_INTERLACE_NONE | |
LIVES_INTERLACE_BOTTOM_FIRST | |
LIVES_INTERLACE_TOP_FIRST | |
Definition at line 52 of file decplugin.h.
◆ LiVESMediaType
Enumerator |
---|
LIVES_MEDIA_TYPE_UNKNOWN | |
LIVES_MEDIA_TYPE_VIDEO | |
LIVES_MEDIA_TYPE_AUDIO | |
LIVES_MEDIA_TYPE_DATA | |
Definition at line 303 of file decplugin.h.
◆ chill_out()
free buffers when we arent playing sequentially / on standby
◆ clip_data_free()
free clip data - this should be called for each instance before unloading the module
◆ get_clip_data()
pass in NULL clip_data for the first call, subsequent calls (if the URI, current_clip or current_palette changes) should reuse the previous value. If URI or current_clip are invalid, clip_data will be freed and NULL returned.
plugin may or may not check current_palette to see if it is valid
◆ get_fps()
double get_fps |
( |
const char * |
uri | ) |
|
◆ get_frame()
◆ module_check_init()
const char* module_check_init |
( |
void |
| ) |
|
◆ module_unload()
void module_unload |
( |
void |
| ) |
|
◆ rip_audio()
int64_t rip_audio |
( |
const lives_clip_data_t * |
, |
|
|
const char * |
fname, |
|
|
int64_t |
stframe, |
|
|
int64_t |
nframes, |
|
|
unsigned char ** |
abuff |
|
) |
| |
◆ rip_audio_cleanup()
◆ rip_audio_sequential()
◆ set_palette()
◆ version()
const char* version |
( |
void |
| ) |
|