mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-09 10:22:19 +07:00
libhevcdec: Update SAO support for 444 HBD
This commit is contained in:
parent
cb339fd3d1
commit
34bfb05bf1
2 changed files with 710 additions and 633 deletions
|
|
@ -443,8 +443,8 @@ void ihevc_hbd_sao_edge_offset_class1_chroma(UWORD16 *pu2_src,
|
|||
{
|
||||
WORD32 row, col;
|
||||
UWORD8 au1_mask[MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_top_tmp[MAX_CTB_SIZE];
|
||||
WORD8 au1_sign_up[MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_top_tmp[2 * MAX_CTB_SIZE];
|
||||
WORD8 au1_sign_up[2 * MAX_CTB_SIZE];
|
||||
WORD8 u1_sign_down;
|
||||
|
||||
/* Initialize the mask values */
|
||||
|
|
@ -713,9 +713,9 @@ void ihevc_hbd_sao_edge_offset_class2_chroma(UWORD16 *pu2_src,
|
|||
{
|
||||
WORD32 row, col;
|
||||
UWORD8 au1_mask[MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_left_tmp[2 * MAX_CTB_SIZE], au2_src_top_tmp[MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_left_tmp[2 * MAX_CTB_SIZE], au2_src_top_tmp[2 * MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_top_left_tmp[2];
|
||||
WORD8 au1_sign_up[MAX_CTB_SIZE + 2], au1_sign_up_tmp[MAX_CTB_SIZE + 2];
|
||||
WORD8 au1_sign_up[2 * MAX_CTB_SIZE + 2], au1_sign_up_tmp[2 * MAX_CTB_SIZE + 2];
|
||||
WORD8 u1_sign_down;
|
||||
WORD8 *pu1_sign_up;
|
||||
WORD8 *pu1_sign_up_tmp;
|
||||
|
|
@ -1110,9 +1110,9 @@ void ihevc_hbd_sao_edge_offset_class3_chroma(UWORD16 *pu2_src,
|
|||
{
|
||||
WORD32 row, col;
|
||||
UWORD8 au1_mask[MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_left_tmp[2 * MAX_CTB_SIZE], au2_src_top_tmp[MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_left_tmp[2 * MAX_CTB_SIZE], au2_src_top_tmp[2 * MAX_CTB_SIZE];
|
||||
UWORD16 au2_src_top_left_tmp[2];
|
||||
WORD8 au1_sign_up[MAX_CTB_SIZE];
|
||||
WORD8 au1_sign_up[2 * MAX_CTB_SIZE];
|
||||
UWORD16 *pu2_src_left_cpy;
|
||||
WORD8 u1_sign_down;
|
||||
|
||||
|
|
|
|||
1331
decoder/ihevcd_sao.c
1331
decoder/ihevcd_sao.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue