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

◆ achans

int lives_clip_t::achans

number of audio channels (0, 1 or 2)

◆ afilesize

int64_t lives_clip_t::afilesize

◆ arate

int lives_clip_t::arate

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

◆ arps

int lives_clip_t::arps

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

◆ asampsize

int lives_clip_t::asampsize

audio sample size in bits (8 or 16)

◆ aseek_pos

int64_t lives_clip_t::aseek_pos

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

◆ audio_waveform

float** lives_clip_t::audio_waveform

values for drawing the audio wave

◆ author

char lives_clip_t::author[256]

◆ aw_sizes

int* lives_clip_t::aw_sizes

size of each audio_waveform in floats

◆ bpp

int lives_clip_t::bpp

bits per pixel of the image frames, 24 or 32

◆ cb_src

int lives_clip_t::cb_src

source clip for clipboard

◆ changed

boolean lives_clip_t::changed

◆ clip_type

lives_clip_type_t lives_clip_t::clip_type

◆ comment

char lives_clip_t::comment[256]

◆ deinterlace

boolean lives_clip_t::deinterlace

auto deinterlace

◆ end

int lives_clip_t::end

◆ event_list

weed_plant_t* lives_clip_t::event_list

◆ event_list_back

weed_plant_t* lives_clip_t::event_list_back

◆ ext_src

void* lives_clip_t::ext_src

points to opaque source for non-disk types

◆ f_size

int64_t lives_clip_t::f_size

◆ file_name

char lives_clip_t::file_name[PATH_MAX]

input file

◆ fps

double lives_clip_t::fps

◆ frame_index

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

◆ frame_index_back

int* lives_clip_t::frame_index_back

for undo

◆ frameno

int lives_clip_t::frameno

◆ frames

int lives_clip_t::frames

number of video frames

◆ freeze_fps

double lives_clip_t::freeze_fps

pb_fps for paused / frozen clips

◆ fx_frame_pump

int lives_clip_t::fx_frame_pump

rfx frame pump for virtual clips (CLIP_TYPE_FILE)

◆ handle

char lives_clip_t::handle[256]

◆ header_version

int lives_clip_t::header_version

◆ hsize

int lives_clip_t::hsize

framerate of the clip

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

◆ img_type

lives_image_type_t lives_clip_t::img_type

◆ info_file

char lives_clip_t::info_file[PATH_MAX]

◆ insert_end

int lives_clip_t::insert_end

◆ insert_start

int lives_clip_t::insert_start

◆ interlace

lives_interlace_t lives_clip_t::interlace

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

◆ is_loaded

boolean lives_clip_t::is_loaded

should we continue loading if we come back to this clip

◆ is_untitled

boolean lives_clip_t::is_untitled

◆ keep_without_preview

boolean lives_clip_t::keep_without_preview

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

◆ keywords

char lives_clip_t::keywords[256]

◆ last_frameno

int lives_clip_t::last_frameno

◆ laudio_drawable

lives_painter_surface_t* lives_clip_t::laudio_drawable

◆ laudio_time

double lives_clip_t::laudio_time

◆ layout_map

LiVESList* lives_clip_t::layout_map

◆ menuentry

LiVESWidget* lives_clip_t::menuentry

◆ menuentry_func

ulong lives_clip_t::menuentry_func

◆ mime_type

char lives_clip_t::mime_type[256]

◆ name

char lives_clip_t::name[CLIP_NAME_MAXLEN]

the display name

◆ needs_update

boolean lives_clip_t::needs_update

loaded values were incorrect, update header

◆ next_event

weed_plant_t* lives_clip_t::next_event

◆ no_proc_read_errors

boolean lives_clip_t::no_proc_read_errors

skip read error dialogs in processing

◆ no_proc_sys_errors

boolean lives_clip_t::no_proc_sys_errors

skip system error dialogs in processing

◆ no_proc_write_errors

boolean lives_clip_t::no_proc_write_errors

skip write error dialogs in processing

◆ nokeep

boolean lives_clip_t::nokeep

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

◆ nopreview

boolean lives_clip_t::nopreview

don't show preview/pause buttons on processing

◆ ohsize

int lives_clip_t::ohsize

◆ old_frames

int lives_clip_t::old_frames

for deordering, etc.

◆ old_laudio_time

double lives_clip_t::old_laudio_time

◆ old_raudio_time

double lives_clip_t::old_raudio_time

◆ op_dir

char* lives_clip_t::op_dir

◆ op_ds_warn_level

uint64_t lives_clip_t::op_ds_warn_level

current disk space warning level for any output directory

◆ opening

boolean lives_clip_t::opening

◆ opening_audio

boolean lives_clip_t::opening_audio

◆ opening_loc

boolean lives_clip_t::opening_loc

◆ opening_only_audio

boolean lives_clip_t::opening_only_audio

◆ orig_file_name

boolean lives_clip_t::orig_file_name

◆ ovsize

int lives_clip_t::ovsize

◆ pb_fps

double lives_clip_t::pb_fps

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

◆ play_paused

boolean lives_clip_t::play_paused

◆ pointer_time

double lives_clip_t::pointer_time

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

◆ proc_ptr

xprocess* lives_clip_t::proc_ptr

the processing window

◆ progress_end

int lives_clip_t::progress_end

◆ progress_start

int lives_clip_t::progress_start

◆ ratio_fps

boolean lives_clip_t::ratio_fps

if the fps was set by a ratio

◆ raudio_drawable

lives_painter_surface_t* lives_clip_t::raudio_drawable

◆ raudio_time

double lives_clip_t::raudio_time

◆ redo_text

char lives_clip_t::redo_text[32]

◆ redoable

boolean lives_clip_t::redoable

◆ resample_events

event* lives_clip_t::resample_events

for block resampler

◆ restoring

boolean lives_clip_t::restoring

◆ save_file_name

char lives_clip_t::save_file_name[PATH_MAX]

◆ signed_endian

uint32_t lives_clip_t::signed_endian

bitfield

◆ start

int lives_clip_t::start

◆ stored_layout_audio

double lives_clip_t::stored_layout_audio

◆ stored_layout_fps

double lives_clip_t::stored_layout_fps

◆ stored_layout_frame

int lives_clip_t::stored_layout_frame

layout map for the current layout

◆ stored_layout_idx

int lives_clip_t::stored_layout_idx

◆ subt

lives_subtitles_t* lives_clip_t::subt

◆ title

char lives_clip_t::title[256]

◆ type

char lives_clip_t::type[64]

◆ undo1_boolean

boolean lives_clip_t::undo1_boolean

◆ undo1_dbl

double lives_clip_t::undo1_dbl

◆ undo1_int

int lives_clip_t::undo1_int

◆ undo1_uint

uint32_t lives_clip_t::undo1_uint

◆ undo2_boolean

boolean lives_clip_t::undo2_boolean

◆ undo2_dbl

double lives_clip_t::undo2_dbl

◆ undo2_int

int lives_clip_t::undo2_int

◆ undo3_boolean

boolean lives_clip_t::undo3_boolean

◆ undo3_int

int lives_clip_t::undo3_int

◆ undo4_int

int lives_clip_t::undo4_int

◆ undo_achans

int lives_clip_t::undo_achans

◆ undo_action

lives_undo_t lives_clip_t::undo_action

undo

◆ undo_arate

int lives_clip_t::undo_arate

audio playback rate

◆ undo_arps

int lives_clip_t::undo_arps

audio sample rate

◆ undo_asampsize

int lives_clip_t::undo_asampsize

◆ undo_end

int lives_clip_t::undo_end

◆ undo_signed_endian

uint32_t lives_clip_t::undo_signed_endian

◆ undo_start

int lives_clip_t::undo_start

◆ undo_text

char lives_clip_t::undo_text[32]

◆ undoable

boolean lives_clip_t::undoable

◆ unique_id

uint64_t lives_clip_t::unique_id

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

◆ video_time

double lives_clip_t::video_time

◆ vsize

int lives_clip_t::vsize

frame height (vertical) in pixels

◆ was_in_set

boolean lives_clip_t::was_in_set

◆ was_renamed

boolean lives_clip_t::was_renamed

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