summaryrefslogtreecommitdiff
path: root/libavcodec/codec.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/codec.h
parenteede1d2927db18b962741e6a09ec1401fdad6277 (diff)
lavc: add API for exporting reconstructed frames from encoders
Diffstat (limited to 'libavcodec/codec.h')
-rw-r--r--libavcodec/codec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/codec.h b/libavcodec/codec.h
index 03e8be90a2..77a1a3f5a2 100644
--- a/libavcodec/codec.h
+++ b/libavcodec/codec.h
@@ -183,6 +183,14 @@
#define AV_CODEC_CAP_ENCODER_FLUSH (1 << 21)
/**
+ * The encoder is able to output reconstructed frame data, i.e. raw frames that
+ * would be produced by decoding the encoded bitstream.
+ *
+ * Reconstructed frame output is enabled by the AV_CODEC_FLAG_RECON_FRAME flag.
+ */
+#define AV_CODEC_CAP_ENCODER_RECON_FRAME (1 << 22)
+
+/**
* AVProfile.
*/
typedef struct AVProfile {