File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,18 @@ class AvExport IEncoder
23
23
24
24
/* *
25
25
* @brief Encode a new frame, and get coded frame
26
- * @param sourceFrame frame need to be encoded
27
- * @param codedFrame data of the coded frame if present (first frames can be delayed)
26
+ * @param sourceFrame: frame that needs to be encoded
27
+ * @param codedFrame: output encoded coded data (first frames can be delayed)
28
28
* @return status of encoding
29
+ * @throw runtime_error if the encoded process failed.
29
30
*/
30
31
virtual bool encodeFrame (const Frame& sourceFrame, CodedData& codedFrame) = 0;
31
32
32
33
/* *
33
34
* @brief Get delayed encoded frames
34
- * @param codedFrame data of the coded frame if present (first frames can be delayed)
35
+ * @param codedFrame: output encoded coded data of last frames
35
36
* @return status of encoding
37
+ * @throw runtime_error if the encoded process failed.
36
38
*/
37
39
virtual bool encodeFrame (CodedData& codedFrame) = 0;
38
40
You can’t perform that action at this time.
0 commit comments