<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Dirac Video Codec</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <h1 align="center" color="#606080"> Dirac - A Video Codec </h1> <p align="center"> Created by the <a href="http://www.bbc.co.uk">British Broadcasting Corporation</a>. </p> <hr> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="a00234.html">dirac</a>::<a class="el" href="a00137.html">StreamFrameOutput</a> </div> <div class="contents"> <h1>dirac::StreamFrameOutput Class Reference</h1><!-- doxytag: class="dirac::StreamFrameOutput" --><!-- doxytag: inherits="dirac::StreamPicOutput" --><code>#include <<a class="el" href="a00211_source.html">pic_io.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dirac::StreamFrameOutput:</div> <div class="dynsection"> <p><center><img src="a00137.png" usemap="#dirac::StreamFrameOutput_map" border="0" alt=""></center> <map name="dirac::StreamFrameOutput_map"> <area href="a00139.html" alt="dirac::StreamPicOutput" shape="rect" coords="0,0,159,24"> </map> </div> <p> <a href="a00317.html">List of all members.</a><h2>Public Member Functions</h2> <ul> <li><a class="el" href="a00137.html#350dca36b552e888013c168f1f8bf63f">StreamFrameOutput</a> (std::ostream *op_ptr, const <a class="el" href="a00131.html">SourceParams</a> &sp) <li>virtual <a class="el" href="a00137.html#fe2fff5cddbdc95b54cca41fd302df6a">~StreamFrameOutput</a> () <dl class="el"><dd class="mdescRight">virtual Destructor <a href="#fe2fff5cddbdc95b54cca41fd302df6a"></a><br></dl><li>bool <a class="el" href="a00137.html#b14c05b50042310129f4bf41d7a0a140">WriteToNextFrame</a> (const <a class="el" href="a00108.html">Picture</a> &myframe) <dl class="el"><dd class="mdescRight">Write the next frame to the output. <a href="#b14c05b50042310129f4bf41d7a0a140"></a><br></dl></ul> <h2>Protected Member Functions</h2> <ul> <li>bool <a class="el" href="a00137.html#dcf1867006299290f1c1a70e11a6aa51">WriteFrameComponent</a> (const <a class="el" href="a00107.html">PicArray</a> &pic_data, const <a class="el" href="a00234.html#39dd89c4c7484412efd87d41548271cd">CompSort</a> &cs) <dl class="el"><dd class="mdescRight">Write a frame component to file. <a href="#dcf1867006299290f1c1a70e11a6aa51"></a><br></dl></ul> <h2>Private Member Functions</h2> <ul> <li><a class="el" href="a00137.html#98c526844eba68c9adfc1c1752149885">StreamFrameOutput</a> () <dl class="el"><dd class="mdescRight">Body-less Default Constructor. <a href="#98c526844eba68c9adfc1c1752149885"></a><br></dl></ul> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="350dca36b552e888013c168f1f8bf63f"></a><!-- doxytag: member="dirac::StreamFrameOutput::StreamFrameOutput" ref="350dca36b552e888013c168f1f8bf63f" args="(std::ostream *op_ptr, const SourceParams &sp)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dirac::StreamFrameOutput::StreamFrameOutput </td> <td>(</td> <td class="paramtype">std::ostream * </td> <td class="paramname"> <em>op_ptr</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00131.html">SourceParams</a> & </td> <td class="paramname"> <em>sp</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor, takes <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>op_ptr</em> </td><td>the output stream object </td></tr> <tr><td valign="top"></td><td valign="top"><em>sp</em> </td><td>the source parameters </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="fe2fff5cddbdc95b54cca41fd302df6a"></a><!-- doxytag: member="dirac::StreamFrameOutput::~StreamFrameOutput" ref="fe2fff5cddbdc95b54cca41fd302df6a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual dirac::StreamFrameOutput::~StreamFrameOutput </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="98c526844eba68c9adfc1c1752149885"></a><!-- doxytag: member="dirac::StreamFrameOutput::StreamFrameOutput" ref="98c526844eba68c9adfc1c1752149885" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dirac::StreamFrameOutput::StreamFrameOutput </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="dcf1867006299290f1c1a70e11a6aa51"></a><!-- doxytag: member="dirac::StreamFrameOutput::WriteFrameComponent" ref="dcf1867006299290f1c1a70e11a6aa51" args="(const PicArray &pic_data, const CompSort &cs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool dirac::StreamFrameOutput::WriteFrameComponent </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00107.html">PicArray</a> & </td> <td class="paramname"> <em>pic_data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00234.html#39dd89c4c7484412efd87d41548271cd">CompSort</a> & </td> <td class="paramname"> <em>cs</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b14c05b50042310129f4bf41d7a0a140"></a><!-- doxytag: member="dirac::StreamFrameOutput::WriteToNextFrame" ref="b14c05b50042310129f4bf41d7a0a140" args="(const Picture &myframe)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool dirac::StreamFrameOutput::WriteToNextFrame </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00108.html">Picture</a> & </td> <td class="paramname"> <em>myframe</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="a00139.html#f46fd0fd7a10e6400343e8b014843d78">dirac::StreamPicOutput</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00211_source.html">pic_io.h</a></ul> </div> <hr> <p align="center"><small> © 2004 British Broadcasting Corporation. Dirac code licensed under the <a href="http://www.mozilla.org/MPL/">Mozilla Public License (MPL) Version 1.1</a>.<br> HTML documentation generated by Dimitri van Heesch's excellent <a href="http://www.doxygen.org">Doxygen</a> tool. </small></p> </body> </html>