Commit f5f5c849 authored by Urvang Joshi's avatar Urvang Joshi

Use ATTRIBUTE_PACKED for some more enums.

After this patch, they use 1 byte instead of 4 bytes.

BUG=aomedia:940

Change-Id: Id00f2a0618e458ba7fb985ecc10d581f156a18cd
parent 72e0b3fa
......@@ -304,7 +304,7 @@ typedef enum ATTRIBUTE_PACKED {
TX_TYPES_1D,
} TX_TYPE_1D;
typedef enum {
typedef enum ATTRIBUTE_PACKED {
DCT_DCT, // DCT in both horizontal and vertical
ADST_DCT, // ADST in vertical, DCT in horizontal
DCT_ADST, // DCT in vertical, ADST in horizontal
......
......@@ -29,7 +29,7 @@ extern "C" {
#define USE_12TAP_FILTER 0
#define USE_EXTRA_FILTER 0
typedef enum {
typedef enum ATTRIBUTE_PACKED {
EIGHTTAP_REGULAR,
EIGHTTAP_SMOOTH,
#if USE_EXTRA_FILTER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment