]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
h264: rewrite has_b_frame calculation code,
[ffmpeg] / libavcodec / avcodec.h
index 07377c87c74aa57c7de923de4c62c67fc17d66a2..d62cbfb14c990b2b0d1891927d2aa81f17f60865 100644 (file)
@@ -221,6 +221,7 @@ enum CodecID {
 #endif
     CODEC_ID_UTVIDEO_DEPRECATED,
     CODEC_ID_BMV_VIDEO,
+    CODEC_ID_VBLE,
     CODEC_ID_UTVIDEO = 0x800,
 
     CODEC_ID_G2M        = MKBETAG( 0 ,'G','2','M'),
@@ -254,6 +255,7 @@ enum CodecID {
     CODEC_ID_PCM_BLURAY,
     CODEC_ID_PCM_LXF,
     CODEC_ID_S302M,
+    CODEC_ID_PCM_S8_PLANAR,
 
     /* various ADPCM codecs */
     CODEC_ID_ADPCM_IMA_QT = 0x11000,
@@ -1366,10 +1368,12 @@ typedef struct AVCodecContext {
     int frame_number;   ///< audio or video frame number
 
     /**
-     * Number of frames the decoded output will be delayed relative to
-     * the encoded input.
+     * Encoding: Number of frames delay there will be from the encoder input to
+     *           the decoder output. (we assume the decoder matches the spec)
+     * Decoding: Number of frames delay in addition to what a standard decoder
+     *           as specified in the spec would produce.
      * - encoding: Set by libavcodec.
-     * - decoding: unused
+     * - decoding: Set by libavcodec.
      */
     int delay;