Permalink
Browse files

Enable SIMD for CLPF

  • Loading branch information...
Arild Fuldseth (arilfuld) Thomas Davies
Arild Fuldseth (arilfuld) authored and Thomas Davies committed Mar 22, 2017
1 parent d0a88bd commit 2b2edc870dd7566790279f1f7aee5bf58e1495a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 enc/encode_frame.c
View
@@ -118,7 +118,7 @@ static int clpf_rdo(int y, int x, yuv_frame_t *rec, yuv_frame_t *org, const debl
int sub = plane != PLANE_Y && org->sub;
int index = ((ypos << sub) / MIN_PB_SIZE)*(rec->width / MIN_PB_SIZE) + ((xpos << sub) / MIN_PB_SIZE);
if (deblock_data[index].mode != MODE_SKIP) {
- if (use_simd && block_size == 8 && 0)
+ if (use_simd && block_size == 8)
TEMPLATE(detect_multi_clpf_simd)(rec_buffer, org_buffer, xpos, ypos, rec_width, rec_height, org_stride, rec_stride, sum, bitdepth - 8, block_size, damping);
else
TEMPLATE(detect_multi_clpf)(rec_buffer, org_buffer, xpos, ypos, rec_width, rec_height, org_stride, rec_stride, sum, bitdepth - 8, block_size, damping);

0 comments on commit 2b2edc8

Please sign in to comment.