mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-09 18:28:30 +07:00
Merge "common: Fix unintialized reads in intra pred sse functions" into qt-qpr1-dev
This commit is contained in:
commit
c48a54d368
2 changed files with 3 additions and 3 deletions
|
|
@ -1969,7 +1969,7 @@ void ihevc_intra_pred_luma_mode_11_to_17_sse42(UWORD8 *pu1_ref,
|
|||
__m128i row_4x32b, two_nt_4x32b, ref_main_idx_4x32b, res_temp5_4x32b, sm3;
|
||||
|
||||
|
||||
UWORD8 ref_tmp[2 * MAX_CU_SIZE + 2];
|
||||
UWORD8 ref_tmp[2 * MAX_CU_SIZE + 2] = {0};
|
||||
UWORD8 *ref_main;
|
||||
UWORD8 *ref_temp;
|
||||
UNUSED(src_strd);
|
||||
|
|
@ -2799,7 +2799,7 @@ void ihevc_intra_pred_luma_mode_19_to_25_sse42(UWORD8 *pu1_ref,
|
|||
WORD32 inv_ang, inv_ang_sum;
|
||||
//WORD32 ref_main_idx, pos, fract, idx;
|
||||
WORD32 ref_idx;
|
||||
UWORD8 ref_tmp[(2 * MAX_CU_SIZE) + 2];
|
||||
UWORD8 ref_tmp[(2 * MAX_CU_SIZE) + 2] = {0};
|
||||
UWORD8 *ref_main, *ref_temp;
|
||||
|
||||
__m128i /*fract_8x16b,*/ const_temp_8x16b, sm3;
|
||||
|
|
|
|||
|
|
@ -946,7 +946,7 @@ WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc)
|
|||
/* While (MAX_TU_SIZE * 2 * 2) + 1 is the actaul size needed,
|
||||
au1_ref_sub_out size is kept as multiple of 8,
|
||||
so that SIMD functions can load 64 bits */
|
||||
UWORD8 au1_ref_sub_out[(MAX_TU_SIZE * 2 * 2) + 8];
|
||||
UWORD8 au1_ref_sub_out[(MAX_TU_SIZE * 2 * 2) + 8] = {0};
|
||||
UWORD8 *pu1_top_left, *pu1_top, *pu1_left;
|
||||
WORD32 luma_pred_func_idx, chroma_pred_func_idx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue