LiVES  3.0.2
Data Fields
lives_clip_t Struct Reference

corresponds to one clip in the GUI More...

#include <main.h>

Data Fields

int bpp
 bits per pixel of the image frames, 24 or 32 More...
 
double fps
 
int hsize
 framerate of the clip More...
 
int vsize
 frame height (vertical) in pixels More...
 
int arps
 audio sample rate (the actual physical sample rate of the medium) More...
 
uint32_t signed_endian
 bitfield More...
 
int arate
 current audio playback rate (may vary from arps), can even be 0 or negative More...
 
uint64_t unique_id
 this and the handle can be used to uniquely id a file More...
 
int achans
 number of audio channels (0, 1 or 2) More...
 
int asampsize
 audio sample size in bits (8 or 16) More...
 
int frames
 number of video frames More...
 
char title [256]
 
char author [256]
 
char comment [256]
 
char keywords [256]
 
lives_interlace_t interlace
 interlace type (if known - none, topfirst, bottomfirst or : see plugins.h) More...
 
int header_version
 
xprocessproc_ptr
 the processing window More...
 
char handle [256]
 
int ohsize
 
int ovsize
 
int64_t f_size
 
int64_t afilesize
 
int old_frames
 for deordering, etc. More...
 
char file_name [PATH_MAX]
 input file More...
 
char info_file [PATH_MAX]
 
char name [CLIP_NAME_MAXLEN]
 the display name More...
 
char save_file_name [PATH_MAX]
 
char type [64]
 
int start
 
int end
 
int insert_start
 
int insert_end
 
int progress_start
 
int progress_end
 
boolean changed
 
LiVESWidget * menuentry
 
ulong menuentry_func
 
boolean orig_file_name
 
boolean was_renamed
 
boolean is_untitled
 
double pb_fps
 current playback rate, may vary from fps, can be 0. or negative More...
 
double freeze_fps
 pb_fps for paused / frozen clips More...
 
boolean play_paused
 
boolean was_in_set
 
boolean opening
 
boolean opening_audio
 
boolean opening_only_audio
 
boolean opening_loc
 
boolean restoring
 
boolean is_loaded
 should we continue loading if we come back to this clip More...
 
boolean nopreview
 don't show preview/pause buttons on processing More...
 
boolean nokeep
 don't show the 'keep' button - e.g. for operations which resize frames More...
 
double video_time
 
double laudio_time
 
double raudio_time
 
double pointer_time
 pointer time in timeline, also the playback start position for clipeditor (unless playing the selection) More...
 
double old_laudio_time
 
double old_raudio_time
 
int frameno
 
int last_frameno
 
eventresample_events
 for block resampler More...
 
weed_plant_t * event_list
 
weed_plant_t * event_list_back
 
weed_plant_t * next_event
 
LiVESList * layout_map
 
lives_undo_t undo_action
 undo More...
 
int undo_start
 
int undo_end
 
char undo_text [32]
 
char redo_text [32]
 
boolean undoable
 
boolean redoable
 
int undo1_int
 
int undo2_int
 
int undo3_int
 
int undo4_int
 
uint32_t undo1_uint
 
double undo1_dbl
 
double undo2_dbl
 
boolean undo1_boolean
 
boolean undo2_boolean
 
boolean undo3_boolean
 
int undo_arate
 audio playback rate More...
 
uint32_t undo_signed_endian
 
int undo_achans
 
int undo_asampsize
 
int undo_arps
 audio sample rate More...
 
lives_clip_type_t clip_type
 
void * ext_src
 points to opaque source for non-disk types More...
 
int * frame_index
 
int * frame_index_back
 for undo More...
 
int fx_frame_pump
 rfx frame pump for virtual clips (CLIP_TYPE_FILE) More...
 
boolean ratio_fps
 if the fps was set by a ratio More...
 
int64_t aseek_pos
 audio seek posn. (bytes) for when we switch clips More...
 
char mime_type [256]
 
boolean deinterlace
 auto deinterlace More...
 
lives_image_type_t img_type
 
int stored_layout_frame
 layout map for the current layout More...
 
int stored_layout_idx
 
double stored_layout_audio
 
double stored_layout_fps
 
lives_subtitles_tsubt
 
char * op_dir
 
uint64_t op_ds_warn_level
 current disk space warning level for any output directory More...
 
boolean no_proc_sys_errors
 skip system error dialogs in processing More...
 
boolean no_proc_read_errors
 skip read error dialogs in processing More...
 
boolean no_proc_write_errors
 skip write error dialogs in processing More...
 
boolean keep_without_preview
 allow keep, even when nopreview is set - TODO use only nopreview and nokeep More...
 
lives_painter_surface_t * laudio_drawable
 
lives_painter_surface_t * raudio_drawable
 
int cb_src
 source clip for clipboard More...
 
boolean needs_update
 loaded values were incorrect, update header More...
 
float ** audio_waveform
 values for drawing the audio wave More...
 
int * aw_sizes
 size of each audio_waveform in floats More...
 

Detailed Description

corresponds to one clip in the GUI

Field Documentation

int lives_clip_t::achans

number of audio channels (0, 1 or 2)

int64_t lives_clip_t::afilesize
int lives_clip_t::arate

current audio playback rate (may vary from arps), can even be 0 or negative

int lives_clip_t::arps

audio sample rate (the actual physical sample rate of the medium)

int lives_clip_t::asampsize

audio sample size in bits (8 or 16)

int64_t lives_clip_t::aseek_pos

audio seek posn. (bytes) for when we switch clips

float** lives_clip_t::audio_waveform

values for drawing the audio wave

char lives_clip_t::author[256]
int* lives_clip_t::aw_sizes

size of each audio_waveform in floats

int lives_clip_t::bpp

bits per pixel of the image frames, 24 or 32

int lives_clip_t::cb_src

source clip for clipboard

boolean lives_clip_t::changed
lives_clip_type_t lives_clip_t::clip_type
char lives_clip_t::comment[256]
boolean lives_clip_t::deinterlace

auto deinterlace

int lives_clip_t::end
weed_plant_t* lives_clip_t::event_list
weed_plant_t* lives_clip_t::event_list_back
void* lives_clip_t::ext_src

points to opaque source for non-disk types

int64_t lives_clip_t::f_size
char lives_clip_t::file_name[PATH_MAX]

input file

double lives_clip_t::fps
int* lives_clip_t::frame_index

index of frames for CLIP_TYPE_FILE >0 means corresponding frame within original clip -1 means corresponding image file (equivalent to CLIP_TYPE_DISK) size must be >= frames, MUST be contiguous in memory

int* lives_clip_t::frame_index_back

for undo

int lives_clip_t::frameno
int lives_clip_t::frames

number of video frames

double lives_clip_t::freeze_fps

pb_fps for paused / frozen clips

int lives_clip_t::fx_frame_pump

rfx frame pump for virtual clips (CLIP_TYPE_FILE)

char lives_clip_t::handle[256]
int lives_clip_t::header_version
int lives_clip_t::hsize

framerate of the clip

frame width (horizontal) in pixels (NOT macropixels !)

lives_image_type_t lives_clip_t::img_type
char lives_clip_t::info_file[PATH_MAX]
int lives_clip_t::insert_end
int lives_clip_t::insert_start
lives_interlace_t lives_clip_t::interlace

interlace type (if known - none, topfirst, bottomfirst or : see plugins.h)

boolean lives_clip_t::is_loaded

should we continue loading if we come back to this clip

boolean lives_clip_t::is_untitled
boolean lives_clip_t::keep_without_preview

allow keep, even when nopreview is set - TODO use only nopreview and nokeep

char lives_clip_t::keywords[256]
int lives_clip_t::last_frameno
lives_painter_surface_t* lives_clip_t::laudio_drawable
double lives_clip_t::laudio_time
LiVESList* lives_clip_t::layout_map
LiVESWidget* lives_clip_t::menuentry
ulong lives_clip_t::menuentry_func
char lives_clip_t::mime_type[256]
char lives_clip_t::name[CLIP_NAME_MAXLEN]

the display name

boolean lives_clip_t::needs_update

loaded values were incorrect, update header

weed_plant_t* lives_clip_t::next_event
boolean lives_clip_t::no_proc_read_errors

skip read error dialogs in processing

boolean lives_clip_t::no_proc_sys_errors

skip system error dialogs in processing

boolean lives_clip_t::no_proc_write_errors

skip write error dialogs in processing

boolean lives_clip_t::nokeep

don't show the 'keep' button - e.g. for operations which resize frames

boolean lives_clip_t::nopreview

don't show preview/pause buttons on processing

int lives_clip_t::ohsize
int lives_clip_t::old_frames

for deordering, etc.

double lives_clip_t::old_laudio_time
double lives_clip_t::old_raudio_time
char* lives_clip_t::op_dir
uint64_t lives_clip_t::op_ds_warn_level

current disk space warning level for any output directory

boolean lives_clip_t::opening
boolean lives_clip_t::opening_audio
boolean lives_clip_t::opening_loc
boolean lives_clip_t::opening_only_audio
boolean lives_clip_t::orig_file_name
int lives_clip_t::ovsize
double lives_clip_t::pb_fps

current playback rate, may vary from fps, can be 0. or negative

boolean lives_clip_t::play_paused
double lives_clip_t::pointer_time

pointer time in timeline, also the playback start position for clipeditor (unless playing the selection)

xprocess* lives_clip_t::proc_ptr

the processing window

int lives_clip_t::progress_end
int lives_clip_t::progress_start
boolean lives_clip_t::ratio_fps

if the fps was set by a ratio

lives_painter_surface_t* lives_clip_t::raudio_drawable
double lives_clip_t::raudio_time
char lives_clip_t::redo_text[32]
boolean lives_clip_t::redoable
event* lives_clip_t::resample_events

for block resampler

boolean lives_clip_t::restoring
char lives_clip_t::save_file_name[PATH_MAX]
uint32_t lives_clip_t::signed_endian

bitfield

int lives_clip_t::start
double lives_clip_t::stored_layout_audio
double lives_clip_t::stored_layout_fps
int lives_clip_t::stored_layout_frame

layout map for the current layout

int lives_clip_t::stored_layout_idx
lives_subtitles_t* lives_clip_t::subt
char lives_clip_t::title[256]
char lives_clip_t::type[64]
boolean lives_clip_t::undo1_boolean
double lives_clip_t::undo1_dbl
int lives_clip_t::undo1_int
uint32_t lives_clip_t::undo1_uint
boolean lives_clip_t::undo2_boolean
double lives_clip_t::undo2_dbl
int lives_clip_t::undo2_int
boolean lives_clip_t::undo3_boolean
int lives_clip_t::undo3_int
int lives_clip_t::undo4_int
int lives_clip_t::undo_achans
lives_undo_t lives_clip_t::undo_action

undo

int lives_clip_t::undo_arate

audio playback rate

int lives_clip_t::undo_arps

audio sample rate

int lives_clip_t::undo_asampsize
int lives_clip_t::undo_end
uint32_t lives_clip_t::undo_signed_endian
int lives_clip_t::undo_start
char lives_clip_t::undo_text[32]
boolean lives_clip_t::undoable
uint64_t lives_clip_t::unique_id

this and the handle can be used to uniquely id a file

double lives_clip_t::video_time
int lives_clip_t::vsize

frame height (vertical) in pixels

boolean lives_clip_t::was_in_set
boolean lives_clip_t::was_renamed

The documentation for this struct was generated from the following file: