summaryrefslogtreecommitdiff
path: root/frame.h
diff options
context:
space:
mode:
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_