From 20ed57016563c10157093ed3785f17b5ce27fdca Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sun, 2 Apr 2023 20:41:20 +0200 Subject: Major rework of decoder implementation --- frame.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'frame.h') 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 #include 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_ -- cgit v1.2.3