mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 20:54:07 +00:00
Fix indentation
This commit is contained in:
parent
7bc959c7c5
commit
1bb9a079a8
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue