Lines Matching refs:ps_sao
92 sao_t *ps_sao;
123 ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb;
153 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
154 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
155 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
156 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
158 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
159 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
160 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
161 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
163 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
164 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
165 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
166 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
220 if(0 == ps_sao->b3_y_type_idx)
289 if(1 == ps_sao->b3_y_type_idx)
296 ps_sao->b5_y_band_pos,
301 else // if(2 <= ps_sao->b3_y_type_idx)
305 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
369 if(0 == ps_sao->b3_cb_type_idx)
437 if(1 == ps_sao->b3_cb_type_idx)
444 ps_sao->b5_cb_band_pos,
445 ps_sao->b5_cr_band_pos,
452 else // if(2 <= ps_sao->b3_cb_type_idx)
458 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
535 sao_t *ps_sao;
610 ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb;
804 ps_sao -= (1 + ps_sps->i2_pic_wd_in_ctb);
812 if(0 == ps_sao->b3_y_type_idx)
826 else if(1 == ps_sao->b3_y_type_idx)
828 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
829 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
830 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
831 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
838 ps_sao->b5_y_band_pos,
845 else // if(2 <= ps_sao->b3_y_type_idx)
847 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
848 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
849 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
850 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
1095 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
1124 if(0 == ps_sao->b3_cb_type_idx)
1138 else if(1 == ps_sao->b3_cb_type_idx)
1140 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1141 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1142 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1143 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1145 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1146 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1147 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1148 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
1157 ps_sao->b5_cr_band_pos,
1158 ps_sao->b5_cb_band_pos,
1172 ps_sao->b5_cb_band_pos,
1173 ps_sao->b5_cr_band_pos,
1182 else // if(2 <= ps_sao->b3_cb_type_idx)
1184 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1185 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1186 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1187 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1189 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1190 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1191 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1192 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
1412 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
1427 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
1458 ps_sao += (1 + ps_sps->i2_pic_wd_in_ctb);
1496 ps_sao -= (ps_sps->i2_pic_wd_in_ctb);
1506 if(0 == ps_sao->b3_y_type_idx)
1519 else if(1 == ps_sao->b3_y_type_idx)
1521 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
1522 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
1523 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
1524 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
1531 ps_sao->b5_y_band_pos,
1538 else // if(2 <= ps_sao->b3_y_type_idx)
1540 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
1541 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
1542 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
1543 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
1742 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
1773 if(0 == ps_sao->b3_cb_type_idx)
1788 else if(1 == ps_sao->b3_cb_type_idx)
1790 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1791 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1792 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1793 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1795 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1796 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1797 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1798 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
1807 ps_sao->b5_cr_band_pos,
1808 ps_sao->b5_cb_band_pos,
1822 ps_sao->b5_cb_band_pos,
1823 ps_sao->b5_cr_band_pos,
1831 else // if(2 <= ps_sao->b3_cb_type_idx)
1833 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1834 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1835 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1836 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1838 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1839 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1840 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1841 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
2019 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2034 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2067 ps_sao += (ps_sps->i2_pic_wd_in_ctb);
2103 ps_sao -= 1;
2114 if(0 == ps_sao->b3_y_type_idx)
2128 else if(1 == ps_sao->b3_y_type_idx)
2130 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2131 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2132 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2133 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2140 ps_sao->b5_y_band_pos,
2147 else // if(2 <= ps_sao->b3_y_type_idx)
2149 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2150 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2151 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2152 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2339 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
2372 if(0 == ps_sao->b3_cb_type_idx)
2385 else if(1 == ps_sao->b3_cb_type_idx)
2387 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
2388 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
2389 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
2390 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
2392 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
2393 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
2394 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
2395 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
2404 ps_sao->b5_cr_band_pos,
2405 ps_sao->b5_cb_band_pos,
2419 ps_sao->b5_cb_band_pos,
2420 ps_sao->b5_cr_band_pos,
2429 else // if(2 <= ps_sao->b3_cb_type_idx)
2431 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
2432 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
2433 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
2434 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
2436 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
2437 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
2438 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
2439 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
2620 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2635 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2668 ps_sao += 1;
2716 if(0 == ps_sao->b3_y_type_idx)
2731 else if(1 == ps_sao->b3_y_type_idx)
2733 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2734 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2735 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2736 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2743 ps_sao->b5_y_band_pos,
2750 else // if(2 <= ps_sao->b3_y_type_idx)
2752 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2753 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2754 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2755 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2972 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
3007 if(0 == ps_sao->b3_cb_type_idx)
3023 else if(1 == ps_sao->b3_cb_type_idx)
3025 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
3026 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
3027 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
3028 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
3030 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
3031 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
3032 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
3033 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
3042 ps_sao->b5_cr_band_pos,
3043 ps_sao->b5_cb_band_pos,
3057 ps_sao->b5_cb_band_pos,
3058 ps_sao->b5_cr_band_pos,
3067 else // if(2 <= ps_sao->b3_cb_type_idx)
3069 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
3070 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
3071 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
3072 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
3074 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
3075 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
3076 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
3077 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
3283 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
3298 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,