diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-02 20:41:20 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-07 13:48:02 +0200 |
commit | 20ed57016563c10157093ed3785f17b5ce27fdca (patch) | |
tree | 73346b7a4b0ce66bf1d4b651f714fb1a315d247f /frame.h | |
parent | e59239d9eb7a48844104b2fbbcb96c069204950a (diff) |
Major rework of decoder implementation
Diffstat (limited to 'frame.h')
-rw-r--r-- | frame.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -18,7 +18,6 @@ #ifndef RECEIVER_FRAME_H_ #define RECEIVER_FRAME_H_ -#include <stddef.h> #include <stdint.h> struct FramePlane { @@ -36,8 +35,7 @@ struct Frame { struct FramePlane planes[4]; }; -struct Frame* FrameCreate(uint32_t width, uint32_t height, uint32_t fourcc, - uint32_t nplanes, const struct FramePlane* planes); -void FrameDestroy(struct Frame** frame); +void FrameReset(struct Frame* frame, uint32_t width, uint32_t height, + uint32_t fourcc, uint32_t nplanes); #endif // RECEIVER_FRAME_H_ |