Skip to content

Commit 73db172

Browse files
describe for Doxygen documentation
1 parent dff9f2c commit 73db172

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/AvTranscoder/OutputStreamWriter.hpp

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,34 @@ class AvExport OutputStreamWriter
2121
{
2222
public:
2323
OutputStreamWriter()
24-
{
25-
}
24+
{}
2625

26+
/**
27+
* @brief Setup the encoder
28+
* @return status of setup
29+
*/
2730
virtual bool setup() = 0;
2831

2932
/**
30-
* @param[in] sourceFrame
31-
* @param[out] codedFrame
33+
* @brief Encode a new frame, and get coded frame
34+
* @param sourceFrame frame need to be encoded
35+
* @param codedFrame data of the coded frame if present (first frames can be delayed)
36+
* @return status of encoding
3237
*/
3338
virtual bool encodeFrame( const Frame& sourceFrame, DataStream& codedFrame ) = 0;
3439

3540
/**
36-
* get delayed encoded frames
41+
* @brief Get delayed encoded frames
42+
* @param codedFrame data of the coded frame if present (first frames can be delayed)
43+
* @return status of encoding
3744
*/
3845
virtual bool encodeFrame( DataStream& codedFrame ) = 0;
3946

47+
/**
48+
* @brief Set the profile for the encoder
49+
* @note see Profile to get list of supported profiles
50+
* @param profile selected profile name
51+
*/
4052
virtual void setProfile( const std::string& profile ) = 0;
4153

4254
};

0 commit comments

Comments
 (0)