Bring palette back to nextgenv2
It was removed by the master branch merge. Change-Id: I4b2a524c9e052e41063359afcb4ba22bf78344cf
This commit is contained in:
@@ -128,6 +128,13 @@ void vp10_encode_tiles_mt(VP10_COMP *cpi) {
|
||||
memcpy(thread_data->td->counts, &cpi->common.counts,
|
||||
sizeof(cpi->common.counts));
|
||||
}
|
||||
|
||||
// Allocate buffers used by palette coding mode.
|
||||
if (cpi->common.allow_screen_content_tools && i < num_workers - 1) {
|
||||
MACROBLOCK *x = &thread_data->td->mb;
|
||||
CHECK_MEM_ERROR(cm, x->palette_buffer,
|
||||
vpx_memalign(16, sizeof(*x->palette_buffer)));
|
||||
}
|
||||
}
|
||||
|
||||
// Encode a frame
|
||||
|
||||
Reference in New Issue
Block a user