Home | History | Annotate | Download | only in core

Lines Matching refs:best_index

169   uint32_t best_index = 0, index;
188 best_index = UINT32(index);
189 for (size_t index = best_index + 1; index < num_modes; index ++) {
195 if (attrib[index].y_pixels > attrib[best_index].y_pixels) {
196 best_index = UINT32(index);
197 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) {
198 if (attrib[index].x_pixels > attrib[best_index].x_pixels) {
199 best_index = UINT32(index);
200 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) {
201 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) {
202 best_index = UINT32(index);
222 return best_index;