Target_LibAVCodec Class Reference

#include <trgt_av.h>

Inheritance diagram for Target_LibAVCodec:

synfig::Target_Scanline synfig::Target

List of all members.

Public Member Functions

 Target_LibAVCodec (const char *filename)
virtual ~Target_LibAVCodec ()
virtual bool init ()
virtual bool set_rend_desc (synfig::RendDesc *desc)
 Sets the RendDesc for the Target to desc.
virtual bool start_frame (synfig::ProgressCallback *cb)
 Marks the start of a frame.
virtual void end_frame ()
 Marks the end of a frame.
virtual synfig::Colorstart_scanline (int scanline)
 Marks the start of a scanline.
virtual bool end_scanline ()
 Marks the end of a scanline.


Constructor & Destructor Documentation

Target_LibAVCodec::Target_LibAVCodec ( const char *  filename  ) 

Target_LibAVCodec::~Target_LibAVCodec (  )  [virtual]


Member Function Documentation

bool Target_LibAVCodec::init (  )  [virtual]

Reimplemented from synfig::Target.

References synfig::warning().

bool Target_LibAVCodec::set_rend_desc ( synfig::RendDesc d  )  [virtual]

bool Target_LibAVCodec::start_frame ( synfig::ProgressCallback cb  )  [virtual]

Marks the start of a frame.

Returns:
true on success, false upon an error.
See also:
end_frame(), start_scanline()

Implements synfig::Target_Scanline.

void Target_LibAVCodec::end_frame (  )  [virtual]

Marks the end of a frame.

See also:
start_frame()

Implements synfig::Target_Scanline.

References convert_surface_frame(), synfig::Target::gamma(), and synfig::warning().

Color * Target_LibAVCodec::start_scanline ( int  scanline  )  [virtual]

Marks the start of a scanline.

Parameters:
scanline Which scanline is going to be rendered.
Returns:
The address where the target wants the scanline to be written.
Warning:
Must be called after start_frame()
See also:
end_scanline(), start_frame()

Implements synfig::Target_Scanline.

bool Target_LibAVCodec::end_scanline (  )  [virtual]

Marks the end of a scanline.

Takes the data that was put at the address returned to by start_scanline() and does whatever it is supposed to do with it.

Returns:
true on success, false on failure.
See also:
start_scanline()

Implements synfig::Target_Scanline.


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

Generated on Fri Jul 31 00:01:57 2009 for synfig-core by  doxygen 1.5.6