]> git.sesse.net Git - qscale/blobdiff - libqscale.h
Link with LD=gcc; fixes a problem with missing reference to __stack_chk_fail_local.
[qscale] / libqscale.h
index 0d23510c2e9653381dc703f3e4b01017e393eec2..409a9bb7488366ddee5770bd38489eaddae48a2a 100644 (file)
@@ -8,6 +8,9 @@ typedef struct {
        /* True image size */
        unsigned width, height;
 
+       /* 1 = B/W, 3 = YCbCr */        
+       unsigned num_components;
+
        /* Component image sizes (possibly subsampled) */
        unsigned w0, h0;
        unsigned w1, h1;
@@ -24,6 +27,7 @@ typedef struct {
 
 enum qscale_scaling_filter {
        LANCZOS = 0,
+       MITCHELL = 1,
 };
 
 enum qscale_jpeg_mode {