Commit fb42c7fa authored by Angie Chiang's avatar Angie Chiang
Browse files

Copy ctx in get_entropy_contexts_plane for lv_map

This will fix Assertion in get_txb_ctx() for invalid sign value

After fixing this bug, we have around 0.2% gain on lowres.

With cb4x4 on only, lv_map provides 1.538% gain on lowres.

With cb4x4 + chroma_sub8x8, lv_map provides 1.468% gain on lowres.

Change-Id: I06f996ec5af0d5e79e377a3dc8c012862fc4b9c7
parent 30a2c5f2
......@@ -566,6 +566,12 @@ static void get_entropy_contexts_plane(
const ENTROPY_CONTEXT *const above = pd->above_context;
const ENTROPY_CONTEXT *const left = pd->left_context;
memcpy(t_above, above, sizeof(ENTROPY_CONTEXT) * num_4x4_w);
memcpy(t_left, left, sizeof(ENTROPY_CONTEXT) * num_4x4_h);
#endif // CONFIG_LV_MAP
int i;
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