commit | f5f5c8498808e4a8c40cfb5e7bbceb47e45bb009 | [log] [tgz] |
---|---|---|
author | Urvang Joshi <urvang@google.com> | Thu Oct 19 16:17:54 2017 -0700 |
committer | Urvang Joshi <urvang@google.com> | Mon Oct 23 16:39:34 2017 +0000 |
tree | d25b4292f32b6994faec55ed75fd9d89f04f1b11 | |
parent | 72e0b3fa620a809ecd27ba8b1fcb18b24887c384 [diff] [blame] |
Use ATTRIBUTE_PACKED for some more enums. After this patch, they use 1 byte instead of 4 bytes. BUG=aomedia:940 Change-Id: Id00f2a0618e458ba7fb985ecc10d581f156a18cd
diff --git a/av1/common/filter.h b/av1/common/filter.h index c955aa7..2f1689a 100644 --- a/av1/common/filter.h +++ b/av1/common/filter.h
@@ -29,7 +29,7 @@ #define USE_12TAP_FILTER 0 #define USE_EXTRA_FILTER 0 -typedef enum { +typedef enum ATTRIBUTE_PACKED { EIGHTTAP_REGULAR, EIGHTTAP_SMOOTH, #if USE_EXTRA_FILTER