Searched refs:sao_offset (Results 1 – 3 of 3) sorted by relevance
/external/libhevc/encoder/ |
D | ihevce_cabac_cu_pu.c | 1521 WORD8 *sao_offset; in ihevce_cabac_encode_sao() local 1532 sao_offset = &ps_sao->u1_y_offset[1]; in ihevce_cabac_encode_sao() 1541 sao_offset = &ps_sao->u1_cb_offset[1]; in ihevce_cabac_encode_sao() 1550 sao_offset = &ps_sao->u1_cr_offset[1]; in ihevce_cabac_encode_sao() 1558 ihevce_cabac_encode_tunary_bypass(ps_cabac, abs(sao_offset[i]), c_max); in ihevce_cabac_encode_sao() 1560 AEV_TRACE("sao_offset_abs", abs(sao_offset[i]), ps_cabac->u4_range); in ihevce_cabac_encode_sao() 1568 if(sao_offset[i] != 0) in ihevce_cabac_encode_sao() 1573 (abs(sao_offset[i]) + sao_offset[i] == 0)); //, in ihevce_cabac_encode_sao() 1579 (abs(sao_offset[i]) + sao_offset[i] == 0), in ihevce_cabac_encode_sao()
|
/external/libhevc/decoder/ |
D | ihevcd_parse_slice.c | 2088 WORD32 sao_offset[4]; in ihevcd_parse_sao() local 2093 … sao_offset[i] = ihevcd_cabac_decode_bypass_bins_tunary(ps_cabac, ps_bitstrm, c_max); in ihevcd_parse_sao() 2094 AEV_TRACE("sao_offset_abs", sao_offset[i], ps_cabac->u4_range); in ihevcd_parse_sao() 2098 sao_offset[i] = -sao_offset[i]; in ihevcd_parse_sao() 2106 if(sao_offset[i] != 0) in ihevcd_parse_sao() 2113 sao_offset[i] = -sao_offset[i]; in ihevcd_parse_sao() 2144 ps_sao->b4_y_offset_1 = sao_offset[0]; in ihevcd_parse_sao() 2145 ps_sao->b4_y_offset_2 = sao_offset[1]; in ihevcd_parse_sao() 2146 ps_sao->b4_y_offset_3 = sao_offset[2]; in ihevcd_parse_sao() 2147 ps_sao->b4_y_offset_4 = sao_offset[3]; in ihevcd_parse_sao() [all …]
|
/external/libhevc/common/x86/ |
D | ihevc_sao_ssse3_intr.c | 140 __m128i sao_offset; in ihevc_sao_band_offset_luma_ssse3() local 167 sao_offset = _mm_loadl_epi64((__m128i *)pi1_sao_offset); in ihevc_sao_band_offset_luma_ssse3() 181 tmp_set_128i_1 = _mm_shuffle_epi8(sao_offset, tmp_set_128i_1); in ihevc_sao_band_offset_luma_ssse3() 182 tmp_set_128i_2 = _mm_shuffle_epi8(sao_offset, tmp_set_128i_2); in ihevc_sao_band_offset_luma_ssse3() 183 tmp_set_128i_3 = _mm_shuffle_epi8(sao_offset, tmp_set_128i_3); in ihevc_sao_band_offset_luma_ssse3() 184 tmp_set_128i_4 = _mm_shuffle_epi8(sao_offset, tmp_set_128i_4); in ihevc_sao_band_offset_luma_ssse3() 232 sao_offset = _mm_setzero_si128(); in ihevc_sao_band_offset_luma_ssse3() 272 tmp_set_128i_2 = _mm_cmpgt_epi8(sao_offset, tmp_set_128i_1); in ihevc_sao_band_offset_luma_ssse3() 273 tmp_set_128i_4 = _mm_cmpgt_epi8(sao_offset, tmp_set_128i_3); in ihevc_sao_band_offset_luma_ssse3() 291 cmp_store = _mm_cmpeq_epi8(tmp_set_128i_2, sao_offset); in ihevc_sao_band_offset_luma_ssse3() [all …]
|