summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2008-08-29 03:59:48 +0000
committerPeter Ross <pross@xvid.org>2008-08-29 03:59:48 +0000
commit312420f3fa3c327817876c9319f34f09d9b7058e (patch)
tree12314e5792821076beca95af247d7023330a7747 /libavcodec/avcodec.h
parent46a73068a600024ca9387fa00ed4ad5d4067d237 (diff)
Add AVCodecContext.bits_per_raw_sample field.
Originally committed as revision 15017 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b8eef3de25..62f6565217 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2251,6 +2251,14 @@ typedef struct AVCodecContext {
* - decoding: Set by user.
*/
int64_t reordered_opaque;
+
+ /**
+ * Bits per sample/pixel of internal libavcodec pixel/sample format.
+ * This field is applicable only when sample_fmt is SAMPLE_FMT_S32.
+ * - encoding: set by user.
+ * - decoding: set by libavcodec.
+ */
+ int bits_per_raw_sample;
} AVCodecContext;
/**