mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-07 11:01:34 +07:00
Fixed handling invalid chroma tu size for error clips am: a76773ab74
am: 8322418219
Change-Id: Id99ec83d84b32c4c487a86b73c9eef74c73b1389
This commit is contained in:
commit
d337706792
1 changed files with 5 additions and 0 deletions
|
|
@ -886,6 +886,11 @@ WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc)
|
|||
src_strd = trans_size;
|
||||
|
||||
func_idx = 1 + 4 + log2_uv_trans_size_minus_2; /* DST func + Y funcs + cur func index*/
|
||||
|
||||
/* Handle error cases where 64x64 TU is signalled which results in 32x32 chroma.
|
||||
* By limiting func_idx to 7, max of 16x16 chroma is called */
|
||||
func_idx = MIN(func_idx, 7);
|
||||
|
||||
e_trans_type = (TRANSFORM_TYPE)(log2_uv_trans_size_minus_2 + 1);
|
||||
/* QP for U */
|
||||
i1_chroma_pic_qp_offset = ps_pps->i1_pic_cb_qp_offset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue