VPX: refactor vpx_idct16x16_1_add_sse2()

Change-Id: I431ea0d9abe764d110a1ba32a8cb15e2fdac8805
This commit is contained in:
Scott LaVarnway 2016-05-09 09:50:00 -07:00
parent d3a62ac850
commit 1490342be5

View File

@ -1311,24 +1311,10 @@ void vpx_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest,
dc_value = _mm_set1_epi16(a);
for (i = 0; i < 2; ++i) {
RECON_AND_STORE(dest + 0 * stride, dc_value);
RECON_AND_STORE(dest + 1 * stride, dc_value);
RECON_AND_STORE(dest + 2 * stride, dc_value);
RECON_AND_STORE(dest + 3 * stride, dc_value);
RECON_AND_STORE(dest + 4 * stride, dc_value);
RECON_AND_STORE(dest + 5 * stride, dc_value);
RECON_AND_STORE(dest + 6 * stride, dc_value);
RECON_AND_STORE(dest + 7 * stride, dc_value);
RECON_AND_STORE(dest + 8 * stride, dc_value);
RECON_AND_STORE(dest + 9 * stride, dc_value);
RECON_AND_STORE(dest + 10 * stride, dc_value);
RECON_AND_STORE(dest + 11 * stride, dc_value);
RECON_AND_STORE(dest + 12 * stride, dc_value);
RECON_AND_STORE(dest + 13 * stride, dc_value);
RECON_AND_STORE(dest + 14 * stride, dc_value);
RECON_AND_STORE(dest + 15 * stride, dc_value);
dest += 8;
for (i = 0; i < 16; ++i) {
RECON_AND_STORE(dest + 0, dc_value);
RECON_AND_STORE(dest + 8, dc_value);
dest += stride;
}
}