summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index e71959142..1cf6cdb59 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -27,6 +27,7 @@
#define EVEN( a ) ( (a) + ( (a) & 1 ) )
#define MULTIPLE_16( a ) ( 16 * ( ( (a) + 8 ) / 16 ) )
+#define MULTIPLE_MOD( a, b ) ( b * ( ( (a) + (b / 2) ) / b ) )
#define HB_DVD_READ_BUFFER_SIZE 2048
@@ -139,6 +140,7 @@ struct hb_job_s
int pixel_ratio;
int pixel_aspect_width;
int pixel_aspect_height;
+ int modulus;
int maxWidth;
int maxHeight;