swscale: change flags from c_uint to c_int

This commit is contained in:
meh
2023-05-24 21:49:22 +02:00
committed by Till Höppner
parent dfa080351d
commit 32502ec62d
+21 -21
View File
@@ -1,27 +1,27 @@
use libc::{c_void, c_char, c_int, c_uint, c_float, c_double, uint8_t};
use ::avutil::{AVPixelFormat, AVClass};
pub const SWS_FAST_BILINEAR: c_uint = 1;
pub const SWS_BILINEAR: c_uint = 2;
pub const SWS_BICUBIC: c_uint = 4;
pub const SWS_X: c_uint = 8;
pub const SWS_POINT: c_uint = 0x10;
pub const SWS_AREA: c_uint = 0x20;
pub const SWS_BICUBLIN: c_uint = 0x40;
pub const SWS_GAUSS: c_uint = 0x80;
pub const SWS_SINC: c_uint = 0x100;
pub const SWS_LANCZOS: c_uint = 0x200;
pub const SWS_SPLINE: c_uint = 0x400;
pub const SWS_SRC_V_CHR_DROP_MASK: c_uint = 0x30000;
pub const SWS_SRC_V_CHR_DROP_SHIFT: c_uint = 16;
pub const SWS_PARAM_DEFAULT: c_uint = 123456;
pub const SWS_PRINT_INFO: c_uint = 0x1000;
pub const SWS_FULL_CHR_H_INT: c_uint = 0x2000;
pub const SWS_FULL_CHR_H_INP: c_uint = 0x4000;
pub const SWS_DIRECT_BGR: c_uint = 0x8000;
pub const SWS_ACCURATE_RND: c_uint = 0x40000;
pub const SWS_BITEXACT: c_uint = 0x80000;
pub const SWS_ERROR_DIFFUSION: c_uint = 0x800000;
pub const SWS_FAST_BILINEAR: c_int = 1;
pub const SWS_BILINEAR: c_int = 2;
pub const SWS_BICUBIC: c_int = 4;
pub const SWS_X: c_int = 8;
pub const SWS_POINT: c_int = 0x10;
pub const SWS_AREA: c_int = 0x20;
pub const SWS_BICUBLIN: c_int = 0x40;
pub const SWS_GAUSS: c_int = 0x80;
pub const SWS_SINC: c_int = 0x100;
pub const SWS_LANCZOS: c_int = 0x200;
pub const SWS_SPLINE: c_int = 0x400;
pub const SWS_SRC_V_CHR_DROP_MASK: c_int = 0x30000;
pub const SWS_SRC_V_CHR_DROP_SHIFT: c_int = 16;
pub const SWS_PARAM_DEFAULT: c_int = 123456;
pub const SWS_PRINT_INFO: c_int = 0x1000;
pub const SWS_FULL_CHR_H_INT: c_int = 0x2000;
pub const SWS_FULL_CHR_H_INP: c_int = 0x4000;
pub const SWS_DIRECT_BGR: c_int = 0x8000;
pub const SWS_ACCURATE_RND: c_int = 0x40000;
pub const SWS_BITEXACT: c_int = 0x80000;
pub const SWS_ERROR_DIFFUSION: c_int = 0x800000;
pub const SWS_CPU_CAPS_MMX: c_uint = 0x80000000;
pub const SWS_CPU_CAPS_MMXEXT: c_uint = 0x20000000;