Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
CornerPinEffect Class Reference

#include <cornerpineffect.h>

Inheritance diagram for CornerPinEffect:
Effect

Public Member Functions

 CornerPinEffect (Clip *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 (Clip *c, const EffectMeta *em)
 
 ~Effect ()
 
void AddRow (EffectRow *row)
 
EffectRowrow (int i)
 
int row_count ()
 
EffectGizmoadd_gizmo (int type)
 
EffectGizmogizmo (int i)
 
int gizmo_count ()
 
bool IsEnabled ()
 
bool IsExpanded ()
 
virtual void refresh ()
 
virtual EffectPtr copy (Clip *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 Flags ()
 
void SetFlags (int flags)
 
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 ()
 
template<typename T >
randomNumber ()
 

Private Attributes

DoubleFieldtop_left_x
 
DoubleFieldtop_left_y
 
DoubleFieldtop_right_x
 
DoubleFieldtop_right_y
 
DoubleFieldbottom_left_x
 
DoubleFieldbottom_left_y
 
DoubleFieldbottom_right_x
 
DoubleFieldbottom_right_y
 
BoolFieldperspective
 
EffectGizmotop_left_gizmo
 
EffectGizmotop_right_gizmo
 
EffectGizmobottom_left_gizmo
 
EffectGizmobottom_right_gizmo
 

Additional Inherited Members

- Public Types inherited from Effect
enum  VideoEffectFlags { ShaderFlag = 0x1, CoordsFlag = 0x2, SuperimposeFlag = 0x4, ImageFlag = 0x8 }
 
- Public Slots inherited from Effect
void FieldChanged ()
 
void SetEnabled (bool b)
 
void SetExpanded (bool e)
 
- Signals inherited from Effect
void EnabledChanged (bool)
 
- Static Public Member Functions inherited from Effect
static EffectPtr Create (Clip *c, const EffectMeta *em)
 
static const EffectMetaGetInternalMeta (int internal_id, int type)
 
- Public Attributes inherited from Effect
Clipparent_clip
 
const EffectMetameta
 
int id
 
QString name
 
const char * ffmpeg_filter
 
- Protected Member Functions inherited from Effect
virtual bool AlwaysUpdate ()
 
- Protected Attributes inherited from Effect
QOpenGLShaderProgram * glslProgram
 
QString vertPath
 
QString fragPath
 
QImage img
 
QOpenGLTexture * texture
 

Constructor & Destructor Documentation

CornerPinEffect::CornerPinEffect ( Clip c,
const EffectMeta em 
)

Member Function Documentation

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

Reimplemented from Effect.

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

Reimplemented from Effect.

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

Reimplemented from Effect.

Member Data Documentation

EffectGizmo* CornerPinEffect::bottom_left_gizmo
private
DoubleField* CornerPinEffect::bottom_left_x
private
DoubleField* CornerPinEffect::bottom_left_y
private
EffectGizmo* CornerPinEffect::bottom_right_gizmo
private
DoubleField* CornerPinEffect::bottom_right_x
private
DoubleField* CornerPinEffect::bottom_right_y
private
BoolField* CornerPinEffect::perspective
private
EffectGizmo* CornerPinEffect::top_left_gizmo
private
DoubleField* CornerPinEffect::top_left_x
private
DoubleField* CornerPinEffect::top_left_y
private
EffectGizmo* CornerPinEffect::top_right_gizmo
private
DoubleField* CornerPinEffect::top_right_x
private
DoubleField* CornerPinEffect::top_right_y
private

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