summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-12-18 14:39:15 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-12-18 14:39:15 +0100
commit362028cac913e232ce8c3702fa4c96b33fc5e0de (patch)
tree9ddb25aabdab4278d23fb61c72735f4250ea588f /libavcodec/avcodec.h
parent2630f7f709049113dc03d6b999efad6acc423d67 (diff)
parent16216b713f9a21865cc07993961cf5d0ece24916 (diff)
Merge commit '16216b713f9a21865cc07993961cf5d0ece24916'
* commit '16216b713f9a21865cc07993961cf5d0ece24916': lavc: Drop exporting 2-pass encoding stats Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 616bcae03c..35965d7a25 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2672,22 +2672,29 @@ typedef struct AVCodecContext {
/* This doesn't take account of any particular */
/* headers inside the transmitted RTP payload. */
+#if FF_API_STAT_BITS
/* statistics, used for 2-pass encoding */
+ attribute_deprecated
int mv_bits;
+ attribute_deprecated
int header_bits;
+ attribute_deprecated
int i_tex_bits;
+ attribute_deprecated
int p_tex_bits;
+ attribute_deprecated
int i_count;
+ attribute_deprecated
int p_count;
+ attribute_deprecated
int skip_count;
+ attribute_deprecated
int misc_bits;
- /**
- * number of bits used for the previously encoded frame
- * - encoding: Set by libavcodec.
- * - decoding: unused
- */
+ /** @deprecated this field is unused */
+ attribute_deprecated
int frame_bits;
+#endif
/**
* pass1 encoding statistics output buffer