summaryrefslogtreecommitdiff
path: root/frame.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-04-02 20:41:20 +0200
committerMikhail Burakov <mburakov@mailbox.org>2023-04-07 13:48:02 +0200
commit20ed57016563c10157093ed3785f17b5ce27fdca (patch)
tree73346b7a4b0ce66bf1d4b651f714fb1a315d247f /frame.h
parente59239d9eb7a48844104b2fbbcb96c069204950a (diff)
Major rework of decoder implementation
Diffstat (limited to 'frame.h')
-rw-r--r--frame.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/frame.h b/frame.h
index 0f894f4..18163f6 100644
--- a/frame.h
+++ b/frame.h
@@ -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_