Skip to content

Commit 492cd38

Browse files
committed
IInputEssence: add documentation
1 parent a7b4158 commit 492cd38

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/AvTranscoder/essenceStream/IInputEssence.hpp

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,25 @@ class AvExport IInputEssence
1111
{
1212
public:
1313
virtual ~IInputEssence() {};
14-
14+
15+
/**
16+
* @brief Setup the decoder
17+
*/
1518
virtual void setup() = 0;
1619

20+
/**
21+
* @brief Decode next frame
22+
* @param frameBuffer: the frame decoded
23+
* @return status of decoding
24+
*/
1725
virtual bool readNextFrame( Frame& frameBuffer ) = 0;
26+
27+
/**
28+
* @brief Decode substream of next frame
29+
* @param frameBuffer: the frame decoded
30+
* @param subStreamIndex: index of substream to extract
31+
* @return status of decoding
32+
*/
1833
virtual bool readNextFrame( Frame& frameBuffer, const size_t subStreamIndex ) = 0;
1934
};
2035

0 commit comments

Comments
 (0)