Home | History | Annotate | Download | only in decoder

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;
611 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;
805 ps_sao -= (1 + ps_sps->i2_pic_wd_in_ctb);
813 if(0 == ps_sao->b3_y_type_idx)
827 else if(1 == ps_sao->b3_y_type_idx)
829 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
830 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
831 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
832 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
839 ps_sao->b5_y_band_pos,
846 else // if(2 <= ps_sao->b3_y_type_idx)
848 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
849 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
850 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
851 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
1096 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
1125 if(0 == ps_sao->b3_cb_type_idx)
1139 else if(1 == ps_sao->b3_cb_type_idx)
1141 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1142 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1143 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1144 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1146 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1147 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1148 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1149 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
1158 ps_sao->b5_cr_band_pos,
1159 ps_sao->b5_cb_band_pos,
1173 ps_sao->b5_cb_band_pos,
1174 ps_sao->b5_cr_band_pos,
1183 else // if(2 <= ps_sao->b3_cb_type_idx)
1185 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1186 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1187 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1188 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1190 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1191 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1192 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1193 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
1413 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
1428 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
1459 ps_sao += (1 + ps_sps->i2_pic_wd_in_ctb);
1497 ps_sao -= (ps_sps->i2_pic_wd_in_ctb);
1507 if(0 == ps_sao->b3_y_type_idx)
1520 else if(1 == ps_sao->b3_y_type_idx)
1522 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
1523 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
1524 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
1525 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
1532 ps_sao->b5_y_band_pos,
1539 else // if(2 <= ps_sao->b3_y_type_idx)
1541 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
1542 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
1543 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
1544 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
1743 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
1774 if(0 == ps_sao->b3_cb_type_idx)
1789 else if(1 == ps_sao->b3_cb_type_idx)
1791 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1792 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1793 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1794 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1796 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1797 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1798 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1799 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
1808 ps_sao->b5_cr_band_pos,
1809 ps_sao->b5_cb_band_pos,
1823 ps_sao->b5_cb_band_pos,
1824 ps_sao->b5_cr_band_pos,
1832 else // if(2 <= ps_sao->b3_cb_type_idx)
1834 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
1835 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
1836 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
1837 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
1839 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
1840 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
1841 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
1842 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
2020 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2035 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2068 ps_sao += (ps_sps->i2_pic_wd_in_ctb);
2104 ps_sao -= 1;
2115 if(0 == ps_sao->b3_y_type_idx)
2129 else if(1 == ps_sao->b3_y_type_idx)
2131 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2132 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2133 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2134 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2141 ps_sao->b5_y_band_pos,
2148 else // if(2 <= ps_sao->b3_y_type_idx)
2150 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2151 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2152 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2153 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2340 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
2373 if(0 == ps_sao->b3_cb_type_idx)
2386 else if(1 == ps_sao->b3_cb_type_idx)
2388 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
2389 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
2390 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
2391 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
2393 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
2394 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
2395 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
2396 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
2405 ps_sao->b5_cr_band_pos,
2406 ps_sao->b5_cb_band_pos,
2420 ps_sao->b5_cb_band_pos,
2421 ps_sao->b5_cr_band_pos,
2430 else // if(2 <= ps_sao->b3_cb_type_idx)
2432 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
2433 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
2434 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
2435 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
2437 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
2438 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
2439 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
2440 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
2621 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2636 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
2669 ps_sao += 1;
2717 if(0 == ps_sao->b3_y_type_idx)
2732 else if(1 == ps_sao->b3_y_type_idx)
2734 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2735 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2736 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2737 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2744 ps_sao->b5_y_band_pos,
2751 else // if(2 <= ps_sao->b3_y_type_idx)
2753 ai1_offset_y[1] = ps_sao->b4_y_offset_1;
2754 ai1_offset_y[2] = ps_sao->b4_y_offset_2;
2755 ai1_offset_y[3] = ps_sao->b4_y_offset_3;
2756 ai1_offset_y[4] = ps_sao->b4_y_offset_4;
2973 ps_codec->apf_sao_luma[ps_sao->b3_y_type_idx - 2](pu1_src_luma,
3008 if(0 == ps_sao->b3_cb_type_idx)
3024 else if(1 == ps_sao->b3_cb_type_idx)
3026 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
3027 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
3028 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
3029 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
3031 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
3032 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
3033 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
3034 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
3043 ps_sao->b5_cr_band_pos,
3044 ps_sao->b5_cb_band_pos,
3058 ps_sao->b5_cb_band_pos,
3059 ps_sao->b5_cr_band_pos,
3068 else // if(2 <= ps_sao->b3_cb_type_idx)
3070 ai1_offset_cb[1] = ps_sao->b4_cb_offset_1;
3071 ai1_offset_cb[2] = ps_sao->b4_cb_offset_2;
3072 ai1_offset_cb[3] = ps_sao->b4_cb_offset_3;
3073 ai1_offset_cb[4] = ps_sao->b4_cb_offset_4;
3075 ai1_offset_cr[1] = ps_sao->b4_cr_offset_1;
3076 ai1_offset_cr[2] = ps_sao->b4_cr_offset_2;
3077 ai1_offset_cr[3] = ps_sao->b4_cr_offset_3;
3078 ai1_offset_cr[4] = ps_sao->b4_cr_offset_4;
3284 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,
3299 ps_codec->apf_sao_chroma[ps_sao->b3_cb_type_idx - 2](pu1_src_chroma,