diff avcodec.h @ 7721:198421b7dbc0 libavcodec

Add AVCodecContext.bits_per_raw_sample field.
author pross
date Fri, 29 Aug 2008 03:59:48 +0000
parents b1cacb2f48a0
children a618bba0b6b4
line wrap: on
line diff
--- a/avcodec.h	Fri Aug 29 03:52:10 2008 +0000
+++ b/avcodec.h	Fri Aug 29 03:59:48 2008 +0000
@@ -2251,6 +2251,14 @@
      * - 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;
 
 /**