Skip to content

Commit ee005ba

Browse files
author
Clement Champetier
committed
decoded data: added doc
1 parent 66102e3 commit ee005ba

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/AvTranscoder/data/decoded/AudioFrame.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ class AvExport AudioFrame : public Frame
6666
void assign(const unsigned char* ptrValue);
6767

6868
private:
69+
/**
70+
* @brief Allocate the audio buffer of the frame.
71+
*/
6972
void allocateAVSample(const AudioFrameDesc& ref);
7073
};
7174
}

src/AvTranscoder/data/decoded/Frame.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class AvExport Frame
1818
public:
1919
/**
2020
* @brief Allocate an empty frame.
21+
* @warn This only allocates the AVFrame itself, not the data buffers.
2122
*/
2223
Frame();
2324

src/AvTranscoder/data/decoded/VideoFrame.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ class AvExport VideoFrame : public Frame
6666
void assign(const unsigned char* ptrValue);
6767

6868
private:
69+
/**
70+
* @brief Allocate the image buffer of the frame.
71+
*/
6972
void allocateAVPicture(const VideoFrameDesc& desc);
7073
};
7174
}

0 commit comments

Comments
 (0)