diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-07-16 16:36:23 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-08-02 10:46:11 +0200 |
commit | e3838b856f3cfa0a85db0bf427a0f733110c5158 (patch) | |
tree | f999c1f000992123e85a5857e9b111862f8a3c03 /libavcodec/decode.h | |
parent | eede1d2927db18b962741e6a09ec1401fdad6277 (diff) |
lavc: add API for exporting reconstructed frames from encoders
Diffstat (limited to 'libavcodec/decode.h')
-rw-r--r-- | libavcodec/decode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/decode.h b/libavcodec/decode.h index 1b40f714e1..f7828fbff4 100644 --- a/libavcodec/decode.h +++ b/libavcodec/decode.h @@ -54,6 +54,11 @@ typedef struct FrameDecodeData { } FrameDecodeData; /** + * avcodec_receive_frame() implementation for decoders. + */ +int ff_decode_receive_frame(AVCodecContext *avctx, AVFrame *frame); + +/** * Called by decoders to get the next packet for decoding. * * @param pkt An empty packet to be filled with data. |