Olive
Public Member Functions | Public Attributes | Private Attributes | List of all members
Clip Class Reference

#include <clip.h>

Public Member Functions

 Clip (SequencePtr s)
 
 ~Clip ()
 
ClipPtr copy (SequencePtr s)
 
void reset_audio ()
 
void reset ()
 
void refresh ()
 
long get_clip_in_with_transition ()
 
long get_timeline_in_with_transition ()
 
long get_timeline_out_with_transition ()
 
long getLength ()
 
double getMediaFrameRate ()
 
long getMaximumLength ()
 
void recalculateMaxLength ()
 
int getWidth ()
 
int getHeight ()
 
void refactor_frame_rate (ComboAction *ca, double multiplier, bool change_timeline_points)
 
void queue_clear ()
 
void queue_remove_earliest ()
 
QVector< Marker > & get_markers ()
 

Public Attributes

SequencePtr sequence
 
bool enabled
 
long clip_in
 
long timeline_in
 
long timeline_out
 
int track
 
QString name
 
quint8 color_r
 
quint8 color_g
 
quint8 color_b
 
Mediamedia
 
int media_stream
 
double speed
 
double cached_fr
 
bool reverse
 
bool maintain_audio_pitch
 
bool autoscale
 
QList< EffectPtreffects
 
QVector< int > linked
 
TransitionPtr opening_transition
 
TransitionPtr closing_transition
 
AVFormatContext * formatCtx
 
AVStream * stream
 
AVCodec * codec
 
AVCodecContext * codecCtx
 
AVPacket * pkt
 
AVFrame * frame
 
AVDictionary * opts
 
long calculated_length
 
int load_id
 
bool undeletable
 
bool reached_end
 
bool pkt_written
 
bool open
 
bool finished_opening
 
bool replaced
 
bool ignore_reverse
 
int pix_fmt
 
bool use_existing_frame
 
bool multithreaded
 
Cachercacher
 
QWaitCondition can_cache
 
int max_queue_size
 
QVector< AVFrame * > queue
 
QMutex queue_lock
 
QMutex render_lock
 
QMutex lock
 
QMutex open_lock
 
int64_t last_invalid_ts
 
AVFilterGraph * filter_graph
 
AVFilterContext * buffersink_ctx
 
AVFilterContext * buffersrc_ctx
 
QOpenGLFramebufferObject ** fbo
 
QOpenGLTexture * texture
 
long texture_frame
 
int64_t reverse_target
 
int frame_sample_index
 
qint64 audio_buffer_write
 
bool audio_reset
 
bool audio_just_reset
 
long audio_target_frame
 

Private Attributes

QVector< Markermarkers
 

Constructor & Destructor Documentation

◆ Clip()

Clip::Clip ( SequencePtr  s)

◆ ~Clip()

Clip::~Clip ( )

Member Function Documentation

◆ copy()

ClipPtr Clip::copy ( SequencePtr  s)

◆ get_clip_in_with_transition()

long Clip::get_clip_in_with_transition ( )

◆ get_markers()

QVector< Marker > & Clip::get_markers ( )

◆ get_timeline_in_with_transition()

long Clip::get_timeline_in_with_transition ( )

◆ get_timeline_out_with_transition()

long Clip::get_timeline_out_with_transition ( )

◆ getHeight()

int Clip::getHeight ( )

◆ getLength()

long Clip::getLength ( )

◆ getMaximumLength()

long Clip::getMaximumLength ( )

◆ getMediaFrameRate()

double Clip::getMediaFrameRate ( )

◆ getWidth()

int Clip::getWidth ( )

◆ queue_clear()

void Clip::queue_clear ( )

◆ queue_remove_earliest()

void Clip::queue_remove_earliest ( )

◆ recalculateMaxLength()

void Clip::recalculateMaxLength ( )

◆ refactor_frame_rate()

void Clip::refactor_frame_rate ( ComboAction ca,
double  multiplier,
bool  change_timeline_points 
)

◆ refresh()

void Clip::refresh ( )

◆ reset()

void Clip::reset ( )

◆ reset_audio()

void Clip::reset_audio ( )

Member Data Documentation

◆ audio_buffer_write

qint64 Clip::audio_buffer_write

◆ audio_just_reset

bool Clip::audio_just_reset

◆ audio_reset

bool Clip::audio_reset

◆ audio_target_frame

long Clip::audio_target_frame

◆ autoscale

bool Clip::autoscale

◆ buffersink_ctx

AVFilterContext* Clip::buffersink_ctx

◆ buffersrc_ctx

AVFilterContext* Clip::buffersrc_ctx

◆ cached_fr

double Clip::cached_fr

◆ cacher

Cacher* Clip::cacher

◆ calculated_length

long Clip::calculated_length

◆ can_cache

QWaitCondition Clip::can_cache

◆ clip_in

long Clip::clip_in

◆ closing_transition

TransitionPtr Clip::closing_transition

◆ codec

AVCodec* Clip::codec

◆ codecCtx

AVCodecContext* Clip::codecCtx

◆ color_b

quint8 Clip::color_b

◆ color_g

quint8 Clip::color_g

◆ color_r

quint8 Clip::color_r

◆ effects

QList<EffectPtr> Clip::effects

◆ enabled

bool Clip::enabled

◆ fbo

QOpenGLFramebufferObject** Clip::fbo

◆ filter_graph

AVFilterGraph* Clip::filter_graph

◆ finished_opening

bool Clip::finished_opening

◆ formatCtx

AVFormatContext* Clip::formatCtx

◆ frame

AVFrame* Clip::frame

◆ frame_sample_index

int Clip::frame_sample_index

◆ ignore_reverse

bool Clip::ignore_reverse

◆ last_invalid_ts

int64_t Clip::last_invalid_ts

◆ linked

QVector<int> Clip::linked

◆ load_id

int Clip::load_id

◆ lock

QMutex Clip::lock

◆ maintain_audio_pitch

bool Clip::maintain_audio_pitch

◆ markers

QVector<Marker> Clip::markers
private

◆ max_queue_size

int Clip::max_queue_size

◆ media

Media* Clip::media

◆ media_stream

int Clip::media_stream

◆ multithreaded

bool Clip::multithreaded

◆ name

QString Clip::name

◆ open

bool Clip::open

◆ open_lock

QMutex Clip::open_lock

◆ opening_transition

TransitionPtr Clip::opening_transition

◆ opts

AVDictionary* Clip::opts

◆ pix_fmt

int Clip::pix_fmt

◆ pkt

AVPacket* Clip::pkt

◆ pkt_written

bool Clip::pkt_written

◆ queue

QVector<AVFrame*> Clip::queue

◆ queue_lock

QMutex Clip::queue_lock

◆ reached_end

bool Clip::reached_end

◆ render_lock

QMutex Clip::render_lock

◆ replaced

bool Clip::replaced

◆ reverse

bool Clip::reverse

◆ reverse_target

int64_t Clip::reverse_target

◆ sequence

SequencePtr Clip::sequence

◆ speed

double Clip::speed

◆ stream

AVStream* Clip::stream

◆ texture

QOpenGLTexture* Clip::texture

◆ texture_frame

long Clip::texture_frame

◆ timeline_in

long Clip::timeline_in

◆ timeline_out

long Clip::timeline_out

◆ track

int Clip::track

◆ undeletable

bool Clip::undeletable

◆ use_existing_frame

bool Clip::use_existing_frame

The documentation for this class was generated from the following files: