summaryrefslogtreecommitdiff
path: root/encode.h
diff options
context:
space:
mode:
Diffstat (limited to 'encode.h')
-rw-r--r--encode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/encode.h b/encode.h
index 085b0df..318ab02 100644
--- a/encode.h
+++ b/encode.h
@@ -26,6 +26,7 @@
struct EncodeContext;
struct GpuContext;
struct GpuFrame;
+struct TimingStats;
struct EncodeContext* EncodeContextCreate(struct GpuContext* gpu_context,
uint32_t width, uint32_t height,
@@ -33,7 +34,9 @@ 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);
+bool EncodeContextEncodeFrame(struct EncodeContext* encode_context, int fd,
+ struct TimingStats* encode,
+ struct TimingStats* drain);
void EncodeContextDestroy(struct EncodeContext** encode_context);
#endif // STREAMER_ENCODE_H_