break;
}
return ((x << 4) | (x & 0xf));
- }
+}
static uint8_t
etc2_base_color2_h_mode(const uint8_t *in, GLuint index)
break;
}
return ((x << 4) | (x & 0xf));
- }
+}
static uint8_t
etc2_base_color_o_planar(const uint8_t *in, GLuint index)
*/
block->base_colors[0][i] = etc1_base_color_diff_hi(src[i]);
block->base_colors[1][i] = etc1_base_color_diff_lo(src[i]);
- }
+ }
}
if (block->is_ind_mode || block->is_diff_mode) {
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void
}
}
src += bs;
- }
+ }
src_row += src_stride;
- }
+ }
}
static void