Lines Matching refs:prefix

69 #define INTEL_SAMPLE_POS_ELEM(prefix, arr, sample_idx) \
70 prefix##sample_idx##XOffset = arr[sample_idx].x; \
71 prefix##sample_idx##YOffset = arr[sample_idx].y;
73 #define INTEL_SAMPLE_POS_1X_ARRAY(prefix, arr)\
74 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0);
76 #define INTEL_SAMPLE_POS_2X_ARRAY(prefix, arr) \
77 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0); \
78 INTEL_SAMPLE_POS_ELEM(prefix, arr, 1);
80 #define INTEL_SAMPLE_POS_4X_ARRAY(prefix, arr) \
81 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0); \
82 INTEL_SAMPLE_POS_ELEM(prefix, arr, 1); \
83 INTEL_SAMPLE_POS_ELEM(prefix, arr, 2); \
84 INTEL_SAMPLE_POS_ELEM(prefix, arr, 3);
86 #define INTEL_SAMPLE_POS_8X_ARRAY(prefix, arr) \
87 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0); \
88 INTEL_SAMPLE_POS_ELEM(prefix, arr, 1); \
89 INTEL_SAMPLE_POS_ELEM(prefix, arr, 2); \
90 INTEL_SAMPLE_POS_ELEM(prefix, arr, 3); \
91 INTEL_SAMPLE_POS_ELEM(prefix, arr, 4); \
92 INTEL_SAMPLE_POS_ELEM(prefix, arr, 5); \
93 INTEL_SAMPLE_POS_ELEM(prefix, arr, 6); \
94 INTEL_SAMPLE_POS_ELEM(prefix, arr, 7);
96 #define INTEL_SAMPLE_POS_16X_ARRAY(prefix, arr) \
97 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0); \
98 INTEL_SAMPLE_POS_ELEM(prefix, arr, 1); \
99 INTEL_SAMPLE_POS_ELEM(prefix, arr, 2); \
100 INTEL_SAMPLE_POS_ELEM(prefix, arr, 3); \
101 INTEL_SAMPLE_POS_ELEM(prefix, arr, 4); \
102 INTEL_SAMPLE_POS_ELEM(prefix, arr, 5); \
103 INTEL_SAMPLE_POS_ELEM(prefix, arr, 6); \
104 INTEL_SAMPLE_POS_ELEM(prefix, arr, 7); \
105 INTEL_SAMPLE_POS_ELEM(prefix, arr, 8); \
106 INTEL_SAMPLE_POS_ELEM(prefix, arr, 9); \
107 INTEL_SAMPLE_POS_ELEM(prefix, arr, 10); \
108 INTEL_SAMPLE_POS_ELEM(prefix, arr, 11); \
109 INTEL_SAMPLE_POS_ELEM(prefix, arr, 12); \
110 INTEL_SAMPLE_POS_ELEM(prefix, arr, 13); \
111 INTEL_SAMPLE_POS_ELEM(prefix, arr, 14); \
112 INTEL_SAMPLE_POS_ELEM(prefix, arr, 15);
114 #define INTEL_SAMPLE_POS_1X(prefix) \
115 INTEL_SAMPLE_POS_1X_ARRAY(prefix, intel_sample_positions_1x)
117 #define INTEL_SAMPLE_POS_2X(prefix) \
118 INTEL_SAMPLE_POS_2X_ARRAY(prefix, intel_sample_positions_2x)
120 #define INTEL_SAMPLE_POS_4X(prefix) \
121 INTEL_SAMPLE_POS_4X_ARRAY(prefix, intel_sample_positions_4x)
123 #define INTEL_SAMPLE_POS_8X(prefix) \
124 INTEL_SAMPLE_POS_8X_ARRAY(prefix, intel_sample_positions_8x)
126 #define INTEL_SAMPLE_POS_16X(prefix) \
127 INTEL_SAMPLE_POS_16X_ARRAY(prefix, intel_sample_positions_16x)