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

#include <cornerpineffect.h>

Inheritance diagram for CornerPinEffect:
Effect

Public Member Functions

 CornerPinEffect (ClipPtr c, const EffectMeta *em)
 
void process_coords (double timecode, GLTextureCoords &coords, int data)
 
void process_shader (double timecode, GLTextureCoords &coords, int iterations)
 
void gizmo_draw (double timecode, GLTextureCoords &coords)
 
- Public Member Functions inherited from Effect
 Effect (ClipPtr c, const EffectMeta *em)
 
 ~Effect ()
 
EffectRow * add_row (const QString &name, bool savable=true, bool keyframable=true)
 
EffectRow * row (int i)
 
int row_count ()
 
EffectGizmo * add_gizmo (int type)
 
EffectGizmo * gizmo (int i)
 
int gizmo_count ()
 
bool is_enabled ()
 
void set_enabled (bool b)
 
virtual void refresh ()
 
virtual EffectPtr copy (ClipPtr c)
 
void copy_field_keyframes (EffectPtr e)
 
virtual void load (QXmlStreamReader &stream)
 
virtual void custom_load (QXmlStreamReader &stream)
 
virtual void save (QXmlStreamWriter &stream)
 
void load_from_string (const QByteArray &s)
 
QByteArray save_to_string ()
 
bool is_open ()
 
void open ()
 
void close ()
 
bool is_glsl_linked ()
 
virtual void startEffect ()
 
virtual void endEffect ()
 
int getIterations ()
 
void setIterations (int i)
 
virtual void process_image (double timecode, uint8_t *input, uint8_t *output, int size)
 
virtual GLuint process_superimpose (double timecode)
 
virtual void process_audio (double timecode_start, double timecode_end, quint8 *samples, int nb_bytes, int channel_count)
 
void gizmo_move (EffectGizmo *sender, int x_movement, int y_movement, double timecode, bool done)
 
void gizmo_world_to_screen ()
 
bool are_gizmos_enabled ()
 

Private Attributes

EffectField * top_left_x
 
EffectField * top_left_y
 
EffectField * top_right_x
 
EffectField * top_right_y
 
EffectField * bottom_left_x
 
EffectField * bottom_left_y
 
EffectField * bottom_right_x
 
EffectField * bottom_right_y
 
EffectField * perspective
 
EffectGizmo * top_left_gizmo
 
EffectGizmo * top_right_gizmo
 
EffectGizmo * bottom_left_gizmo
 
EffectGizmo * bottom_right_gizmo
 

Additional Inherited Members

- Public Slots inherited from Effect
void field_changed ()
 
- Public Attributes inherited from Effect
ClipPtr parent_clip
 
const EffectMeta * meta
 
int id
 
QString name
 
CollapsibleWidget * container
 
bool enable_shader
 
bool enable_coords
 
bool enable_superimpose
 
bool enable_image
 
const char * ffmpeg_filter
 
- Protected Attributes inherited from Effect
QOpenGLShaderProgram * glslProgram
 
QString vertPath
 
QString fragPath
 
QImage img
 
QOpenGLTexture * texture
 
bool enable_always_update
 

Constructor & Destructor Documentation

◆ CornerPinEffect()

CornerPinEffect::CornerPinEffect ( ClipPtr  c,
const EffectMeta *  em 
)

Member Function Documentation

◆ gizmo_draw()

void CornerPinEffect::gizmo_draw ( double  timecode,
GLTextureCoords &  coords 
)
virtual

Reimplemented from Effect.

◆ process_coords()

void CornerPinEffect::process_coords ( double  timecode,
GLTextureCoords &  coords,
int  data 
)
virtual

Reimplemented from Effect.

◆ process_shader()

void CornerPinEffect::process_shader ( double  timecode,
GLTextureCoords &  coords,
int  iterations 
)
virtual

Reimplemented from Effect.

Member Data Documentation

◆ bottom_left_gizmo

EffectGizmo* CornerPinEffect::bottom_left_gizmo
private

◆ bottom_left_x

EffectField* CornerPinEffect::bottom_left_x
private

◆ bottom_left_y

EffectField* CornerPinEffect::bottom_left_y
private

◆ bottom_right_gizmo

EffectGizmo* CornerPinEffect::bottom_right_gizmo
private

◆ bottom_right_x

EffectField* CornerPinEffect::bottom_right_x
private

◆ bottom_right_y

EffectField* CornerPinEffect::bottom_right_y
private

◆ perspective

EffectField* CornerPinEffect::perspective
private

◆ top_left_gizmo

EffectGizmo* CornerPinEffect::top_left_gizmo
private

◆ top_left_x

EffectField* CornerPinEffect::top_left_x
private

◆ top_left_y

EffectField* CornerPinEffect::top_left_y
private

◆ top_right_gizmo

EffectGizmo* CornerPinEffect::top_right_gizmo
private

◆ top_right_x

EffectField* CornerPinEffect::top_right_x
private

◆ top_right_y

EffectField* CornerPinEffect::top_right_y
private

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