summaryrefslogtreecommitdiff
path: root/encode.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-04-09 09:57:28 +0200
committerMikhail Burakov <mburakov@mailbox.org>2023-04-09 10:31:04 +0200
commit9c55db703b6505b1c9bd2a731a98116447d48fd3 (patch)
tree1c72f4883d3ba0adbf3185ed3a192a1a8fb49e56 /encode.h
parentd0c6311e9c9547a9ee10310edf0c47230e15ccbb (diff)
Switch from stdin to sockets and use io muxer
Diffstat (limited to 'encode.h')
-rw-r--r--encode.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/encode.h b/encode.h
index d03e286..fe76012 100644
--- a/encode.h
+++ b/encode.h
@@ -26,7 +26,6 @@
struct EncodeContext;
struct GpuContext;
struct GpuFrame;
-struct TimingStats;
struct EncodeContext* EncodeContextCreate(struct GpuContext* gpu_context,
uint32_t width, uint32_t height,
@@ -34,9 +33,7 @@ struct EncodeContext* EncodeContextCreate(struct GpuContext* gpu_context,
enum YuvRange range);
const struct GpuFrame* EncodeContextGetFrame(
struct EncodeContext* encode_context);
-bool EncodeContextEncodeFrame(struct EncodeContext* encode_context, int fd,
- struct TimingStats* encode,
- struct TimingStats* drain);
+bool EncodeContextEncodeFrame(struct EncodeContext* encode_context, int fd);
void EncodeContextDestroy(struct EncodeContext* encode_context);
#endif // STREAMER_ENCODE_H_