]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/swscale_internal.h
Bump LIBAVCODEC_VERSION_MINOR due to AVSubtitle changes.
[ffmpeg] / libswscale / swscale_internal.h
index 8290c04ade423dd54966f8c0e18f95a646ae820b..48995571e08d712c5055c6a9d5ba13f71aa02371 100644 (file)
@@ -71,7 +71,7 @@ typedef struct SwsContext{
     int chrSrcW, chrSrcH, chrDstW, chrDstH;
     int lumXInc, chrXInc;
     int lumYInc, chrYInc;
-    int dstFormat, srcFormat;               ///< format 4:2:0 type is always YV12
+    enum PixelFormat dstFormat, srcFormat;  ///< format 4:2:0 type is always YV12
     int origDstFormat, origSrcFormat;       ///< format
     int chrSrcHSubSample, chrSrcVSubSample;
     int chrIntHSubSample, chrIntVSubSample;
@@ -80,6 +80,9 @@ typedef struct SwsContext{
     int sliceDir;
     double param[2];
 
+    uint32_t pal_yuv[256];
+    uint32_t pal_rgb[256];
+
     int16_t **lumPixBuf;
     int16_t **chrPixBuf;
     int16_t *hLumFilter;