Commit bcf25cda authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Align a buffer for simd operation


Change-Id: I11fdc9dbc4b0f4484e82ab1662ac329b8b7f2d6c
parent fb8fc2bd
......@@ -98,7 +98,7 @@ void av1_alloc_restoration_buffers(AV1_COMMON *cm) {
ROUND_POWER_OF_TWO(cm->height, cm->subsampling_y));
CHECK_MEM_ERROR(cm, cm->rst_internal.tmpbuf,
(int32_t *)aom_malloc(RESTORATION_TMPBUF_SIZE));
(int32_t *)aom_memalign(16, RESTORATION_TMPBUF_SIZE));
void av1_free_restoration_buffers(AV1_COMMON *cm) {
Supports Markdown
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