Commit 4b23059c authored by Yaowu Xu's avatar Yaowu Xu

Remove dead assignments

av1/common/x86/av1_fwd_txfm1d_sse4.c
av1/encoder/rdopt.c

Change-Id: Ia386f78da64029b5f68b68a41485cc068dbf4098
parent e24609be
......@@ -49,8 +49,6 @@ void av1_fdct32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 1
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = _mm_add_epi32(buf0[0], buf0[31]);
buf1[31] = _mm_sub_epi32(buf0[0], buf0[31]);
buf1[1] = _mm_add_epi32(buf0[1], buf0[30]);
......@@ -345,8 +343,6 @@ void av1_fdct32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 9
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = buf0[0];
buf1[1] = buf0[16];
buf1[2] = buf0[8];
......@@ -436,8 +432,6 @@ void av1_fadst4_new_sse4_1(const __m128i *input, __m128i *output,
// stage 1
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = buf0[3];
buf1[1] = buf0[0];
buf1[2] = buf0[1];
......@@ -454,8 +448,6 @@ void av1_fadst4_new_sse4_1(const __m128i *input, __m128i *output,
// stage 3
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = _mm_add_epi32(buf0[0], buf0[2]);
buf1[2] = _mm_sub_epi32(buf0[0], buf0[2]);
buf1[1] = _mm_add_epi32(buf0[1], buf0[3]);
......@@ -472,8 +464,6 @@ void av1_fadst4_new_sse4_1(const __m128i *input, __m128i *output,
// stage 5
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = buf0[0];
buf1[1] = _mm_sub_epi32(_mm_set1_epi32(0), buf0[2]);
buf1[2] = buf0[3];
......@@ -535,8 +525,6 @@ void av1_fadst32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 1
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = buf0[31];
buf1[1] = buf0[0];
buf1[2] = buf0[29];
......@@ -609,8 +597,6 @@ void av1_fadst32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 3
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = _mm_add_epi32(buf0[0], buf0[16]);
buf1[16] = _mm_sub_epi32(buf0[0], buf0[16]);
buf1[1] = _mm_add_epi32(buf0[1], buf0[17]);
......@@ -683,8 +669,6 @@ void av1_fadst32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 5
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = _mm_add_epi32(buf0[0], buf0[8]);
buf1[8] = _mm_sub_epi32(buf0[0], buf0[8]);
buf1[1] = _mm_add_epi32(buf0[1], buf0[9]);
......@@ -757,8 +741,6 @@ void av1_fadst32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 7
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = _mm_add_epi32(buf0[0], buf0[4]);
buf1[4] = _mm_sub_epi32(buf0[0], buf0[4]);
buf1[1] = _mm_add_epi32(buf0[1], buf0[5]);
......@@ -831,8 +813,6 @@ void av1_fadst32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 9
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = _mm_add_epi32(buf0[0], buf0[2]);
buf1[2] = _mm_sub_epi32(buf0[0], buf0[2]);
buf1[1] = _mm_add_epi32(buf0[1], buf0[3]);
......@@ -905,8 +885,6 @@ void av1_fadst32_new_sse4_1(const __m128i *input, __m128i *output,
// stage 11
stage_idx++;
bit = cos_bit[stage_idx];
cospi = cospi_arr[bit - cos_bit_min];
buf1[0] = buf0[0];
buf1[1] = _mm_sub_epi32(_mm_set1_epi32(0), buf0[16]);
buf1[2] = buf0[24];
......
......@@ -936,7 +936,6 @@ int av1_cost_coeffs(const AV1_COMMON *const cm, MACROBLOCK *x, int plane,
if (eob == 0) {
// single eob token
cost = token_costs[0][0][pt][EOB_TOKEN];
c = 0;
} else {
if (use_fast_coef_costing) {
int band_left = *band_count++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment