]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
vp9/x86: make filter_48/84_v work on 32-bit.
[ffmpeg] / libavcodec / avcodec.h
index 75ef840e16e442b4cf8cf1e8c6c2a0ea32211b73..99467bb069fb9bd37be20fe9eb683511223711aa 100644 (file)
@@ -3004,6 +3004,13 @@ typedef struct AVCodecContext {
      */
     AVRational framerate;
 
+    /**
+     * Nominal unaccelerated pixel format, see AV_PIX_FMT_xxx.
+     * - encoding: unused.
+     * - decoding: Set by libavcodec before calling get_format()
+     */
+    enum AVPixelFormat sw_pix_fmt;
+
     /**
      * Timebase in which pkt_dts/pts and AVPacket.dts/pts are.
      * Code outside libavcodec should access this field using:
@@ -3396,6 +3403,12 @@ typedef struct AVHWAccel {
  */
 #define AV_HWACCEL_FLAG_IGNORE_LEVEL (1 << 0)
 
+/**
+ * Hardware acceleration can output YUV pixel formats with a different chroma
+ * sampling than 4:2:0 and/or other than 8 bits per component.
+ */
+#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1)
+
 /**
  * @}
  */
@@ -3451,7 +3464,7 @@ typedef struct AVSubtitleRect {
 
     /**
      * data+linesize for the bitmap of this subtitle.
-     * can be set for text/ass as well once they where rendered
+     * can be set for text/ass as well once they are rendered
      */
     AVPicture pict;
     enum AVSubtitleType type;