summaryrefslogtreecommitdiff
path: root/libavcodec/encode.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-07-16 16:36:23 +0200
committerAnton Khirnov <anton@khirnov.net>2022-08-02 10:46:11 +0200
commite3838b856f3cfa0a85db0bf427a0f733110c5158 (patch)
treef999c1f000992123e85a5857e9b111862f8a3c03 /libavcodec/encode.h
parenteede1d2927db18b962741e6a09ec1401fdad6277 (diff)
lavc: add API for exporting reconstructed frames from encoders
Diffstat (limited to 'libavcodec/encode.h')
-rw-r--r--libavcodec/encode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/encode.h b/libavcodec/encode.h
index b2536bf0f3..bc77918d8f 100644
--- a/libavcodec/encode.h
+++ b/libavcodec/encode.h
@@ -27,6 +27,11 @@
#include "packet.h"
/**
+ * avcodec_receive_frame() implementation for encoders.
+ */
+int ff_encode_receive_frame(AVCodecContext *avctx, AVFrame *frame);
+
+/**
* Called by encoders to get the next frame for encoding.
*
* @param frame An empty frame to be filled with data.