Fix indentation

This commit is contained in:
Pauli Oikkonen 2019-07-15 16:49:22 +03:00
parent 7bc959c7c5
commit 1bb9a079a8

View file

@ -383,8 +383,7 @@ static void sao_reconstruct_color_avx2(const encoder_control_t * const encoder,
int choose = atleast_32_elements + atleast_16_elements; int choose = atleast_32_elements + atleast_16_elements;
switch (choose) switch (choose) {
{
case 2:; case 2:;
@ -409,7 +408,6 @@ static void sao_reconstruct_color_avx2(const encoder_control_t * const encoder,
for (int i = x; i < block_width; i++) { for (int i = x; i < block_width; i++) {
new_rec_data[y * new_stride + i] = offsets[rec_data[y * stride + i]]; new_rec_data[y * new_stride + i] = offsets[rec_data[y * stride + i]];
} }
break; break;
default:; default:;
@ -438,8 +436,7 @@ static void sao_reconstruct_color_avx2(const encoder_control_t * const encoder,
bool use_8_elements = (block_width - x) >= 8; bool use_8_elements = (block_width - x) >= 8;
switch (use_8_elements) switch (use_8_elements) {
{
case true:; case true:;
const kvz_pixel *c_data = &rec_data[y * stride + x]; const kvz_pixel *c_data = &rec_data[y * stride + x];
@ -517,8 +514,7 @@ static int sao_band_ddistortion_avx2(const encoder_state_t * const state,
for (x = 0; x < block_width; x += 8) { for (x = 0; x < block_width; x += 8) {
bool use_8_elements = (block_width - x) >= 8; bool use_8_elements = (block_width - x) >= 8;
switch (use_8_elements) switch (use_8_elements) {
{
case true:; case true:;
//int band = (rec_data[y * block_width + x] >> shift) - band_pos; //int band = (rec_data[y * block_width + x] >> shift) - band_pos;